Merge "hwc: Support for reading FB format from driver"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
2ce22c9b76
@@ -54,7 +54,7 @@ IFBUpdate::IFBUpdate(hwc_context_t *ctx, const int& dpy) : mDpy(dpy) {
|
||||
yres = ctx->dpyAttr[mDpy].yresFB;
|
||||
}
|
||||
getBufferAttributes((int)xres, (int)yres,
|
||||
HAL_PIXEL_FORMAT_RGBA_8888,
|
||||
ctx->dpyAttr[mDpy].fbformat,
|
||||
0,
|
||||
mAlignedFBWidth,
|
||||
mAlignedFBHeight,
|
||||
@@ -134,7 +134,7 @@ bool FBUpdateNonSplit::configure(hwc_context_t *ctx, hwc_display_contents_1 *lis
|
||||
int flags = mTileEnabled ?
|
||||
private_handle_t::PRIV_FLAGS_TILE_RENDERED : 0;
|
||||
ovutils::Whf info(mAlignedFBWidth, mAlignedFBHeight,
|
||||
ovutils::getMdpFormat(HAL_PIXEL_FORMAT_RGBA_8888, flags));
|
||||
ovutils::getMdpFormat(ctx->dpyAttr[mDpy].fbformat, flags));
|
||||
|
||||
Overlay::PipeSpecs pipeSpecs;
|
||||
pipeSpecs.formatClass = Overlay::FORMAT_RGB;
|
||||
|
||||
Reference in New Issue
Block a user