cancel
Showing results for 
Search instead for 
Did you mean: 

How to get current videobufer (videopage)?

EEuge
Senior

Hello!

I have a 3D libray, which generates pixeldata.

I didn't found functions or widgets, which allow to draw on it's canvas.

So, I want to direct write image to memory.

Like this

for(uint16_t x = 0; x <= 700; x++)
	 		for(uint16_t y = 0; y <= 200; y++)
					*(__IO uint32_t*)(0xD0000000 + (x + y * 1024)*3)=0x0000FF00;

How can I get page, which is displayed now (because I need to write to another page) ?

functions

 virtual uint16_t* getTFTFrameBuffer() const;

  virtual void setTFTFrameBuffer(uint16_t* adr);

declared in TouchGFXGeneratedHAL.hpp, are inaccessible

0 REPLIES 0