зеркало из https://github.com/mozilla/gecko-dev.git
Bug 987563 - Set correct default composition type for fake layer in GPU composition. r=sotaro
This commit is contained in:
Родитель
d86b77bad9
Коммит
4de78755cb
|
@ -615,7 +615,7 @@ HwcComposer2D::Render(EGLDisplay dpy, EGLSurface sur)
|
|||
} else {
|
||||
mList->numHwLayers = 2;
|
||||
mList->hwLayers[0].hints = 0;
|
||||
mList->hwLayers[0].compositionType = HWC_BACKGROUND;
|
||||
mList->hwLayers[0].compositionType = HWC_FRAMEBUFFER;
|
||||
mList->hwLayers[0].flags = HWC_SKIP_LAYER;
|
||||
mList->hwLayers[0].backgroundColor = {0};
|
||||
mList->hwLayers[0].acquireFenceFd = -1;
|
||||
|
|
|
@ -234,7 +234,7 @@ GonkDisplayJB::Post(buffer_handle_t buf, int fence)
|
|||
mList->retireFenceFd = -1;
|
||||
mList->numHwLayers = 2;
|
||||
mList->flags = HWC_GEOMETRY_CHANGED;
|
||||
mList->hwLayers[0].compositionType = HWC_BACKGROUND;
|
||||
mList->hwLayers[0].compositionType = HWC_FRAMEBUFFER;
|
||||
mList->hwLayers[0].hints = 0;
|
||||
/* Skip this layer so the hwc module doesn't complain about null handles */
|
||||
mList->hwLayers[0].flags = HWC_SKIP_LAYER;
|
||||
|
|
Загрузка…
Ссылка в новой задаче