Loading services/surfaceflinger/Layer.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -1898,6 +1898,7 @@ void Layer::writeToProto(LayerProto* layerInfo, LayerVector::StateSet stateSet, layerInfo->set_is_opaque(isOpaque(state)); layerInfo->set_invalidate(contentDirty); layerInfo->set_is_protected(isProtected()); // XXX (b/79210409) mCurrentDataSpace is not protected layerInfo->set_dataspace( Loading services/surfaceflinger/layerproto/LayerProtoParser.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -299,6 +299,7 @@ std::string LayerProtoParser::Layer::to_string() const { StringAppendF(&result, "crop=%s, ", crop.to_string().c_str()); StringAppendF(&result, "cornerRadius=%f, ", cornerRadius); StringAppendF(&result, "isProtected=%1d, ", isProtected); StringAppendF(&result, "isOpaque=%1d, invalidate=%1d, ", isOpaque, invalidate); StringAppendF(&result, "dataspace=%s, ", dataspace.c_str()); StringAppendF(&result, "defaultPixelFormat=%s, ", pixelFormat.c_str()); Loading Loading
services/surfaceflinger/Layer.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -1898,6 +1898,7 @@ void Layer::writeToProto(LayerProto* layerInfo, LayerVector::StateSet stateSet, layerInfo->set_is_opaque(isOpaque(state)); layerInfo->set_invalidate(contentDirty); layerInfo->set_is_protected(isProtected()); // XXX (b/79210409) mCurrentDataSpace is not protected layerInfo->set_dataspace( Loading
services/surfaceflinger/layerproto/LayerProtoParser.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -299,6 +299,7 @@ std::string LayerProtoParser::Layer::to_string() const { StringAppendF(&result, "crop=%s, ", crop.to_string().c_str()); StringAppendF(&result, "cornerRadius=%f, ", cornerRadius); StringAppendF(&result, "isProtected=%1d, ", isProtected); StringAppendF(&result, "isOpaque=%1d, invalidate=%1d, ", isOpaque, invalidate); StringAppendF(&result, "dataspace=%s, ", dataspace.c_str()); StringAppendF(&result, "defaultPixelFormat=%s, ", pixelFormat.c_str()); Loading