mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 889192 - Call blank instead of SetEnabled for initial display power up, r=vlad
This commit is contained in:
parent
263220df7e
commit
5c754cbd22
@ -88,7 +88,8 @@ GonkDisplayJB::GonkDisplayJB()
|
||||
mSTClient = stc;
|
||||
|
||||
mList = (hwc_display_contents_1_t *)malloc(sizeof(*mList) + (sizeof(hwc_layer_1_t)*2));
|
||||
SetEnabled(true);
|
||||
if (mHwc)
|
||||
mHwc->blank(mHwc, HWC_DISPLAY_PRIMARY, 0);
|
||||
|
||||
status_t error;
|
||||
mBootAnimBuffer = mAlloc->createGraphicBuffer(mWidth, mHeight, surfaceformat, GRALLOC_USAGE_HW_FB | GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_HW_COMPOSER, &error);
|
||||
|
Loading…
Reference in New Issue
Block a user