AnsweredAssumed Answered

How to Change resolution of drawing device?

Question asked by rakeshmanad on Mar 26, 2013
Latest reply on Jun 2, 2013 by Jeffrey Chen
Branched to a new discussion

I'm using IMX6Q board(android R13.3) with ICS 4.0.4 .


In which API resolution of drawing device is set ?

While drawing something on screen which API is responsible for managing resolution and location of different surfaces ? For example assume a app needs both a 2D and a 3D surface.which API is responsible to set location of these surfaces on screen and resolution of these two surfaces ?

And also xres and yres values ,which are used in framebuffer.cpp .Where their values get assigned ?

I know that android HAL layer(gralloc.cpp,framebuffer.cpp) call IOCTLs to get frame buffer data from display driver(Framebuffer driver).But I'm not finding in which API  framebuffer data will be collected?(I mean where the members of structure fb_var_screeninfo i.e xres,yres etc will get assigned with some values)