liboverlay: Remove evening-out of layer destination coords.
Evening-out of layer destination coords causes a noticeable up & down shift in the screen when video layer drawing switches between Overlay and GPU. This is most easily observed during video playback or pause, when a UI layer (like Menu) is displayed / hidden. Remove evening-out of layer destination coords to fix the video layer "twitching" issue. Change-Id: I3f43b53a7609c9ad8cc983c353fba6dc97460158 CRs-fixed: 348856 350073
This commit is contained in:
parent
73b4678d06
commit
8f3c0e6d8c
@ -504,9 +504,7 @@ bool Overlay::setPosition(int x, int y, uint32_t w, uint32_t h) {
|
||||
overlay_rect priDest;
|
||||
int currX, currY;
|
||||
uint32_t currW, currH;
|
||||
// Set even destination co-ordinates
|
||||
EVEN_OUT(x); EVEN_OUT(y);
|
||||
EVEN_OUT(w); EVEN_OUT(h);
|
||||
|
||||
objOvCtrlChannel[VG0_PIPE].getPosition(currX, currY, currW, currH);
|
||||
priDest.x = x, priDest.y = y;
|
||||
priDest.w = w, priDest.h = h;
|
||||
|
Loading…
Reference in New Issue
Block a user