提交 64d56de6 编写于 作者: S Simon Fels

Ignore certain layers SurfaceFlinger marks as such

上级 80189423
......@@ -180,6 +180,10 @@ static int hwc_set(hwc_composer_device_1_t* dev, size_t numDisplays,
for (size_t i = 0 ; i < displays[0]->numHwLayers ; i++) {
const auto layer = &displays[0]->hwLayers[i];
if (layer->flags & HWC_SKIP_LAYER ||
layer->flags & HWC_IS_CURSOR_LAYER)
continue;
dump_layer(layer);
// FIXME this is just dirty ... but layer->handle is a const native_handle_t and canBePosted
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册