From 1acd6961737cc32627d8298999878c2674328b6b Mon Sep 17 00:00:00 2001 From: Valerie Hau Date: Mon, 28 Oct 2019 16:35:48 -0700 Subject: Pass back transformHint on Surface Creation Bug: 141939598 Test: build, boot, SurfaceFlinger_test, libgui_test, libsurfaceflinger_unittest Change-Id: I35a77ac1399ad4248cb1c2357afb869de4c15170 --- libs/gui/ISurfaceComposerClient.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'libs/gui/ISurfaceComposerClient.cpp') diff --git a/libs/gui/ISurfaceComposerClient.cpp b/libs/gui/ISurfaceComposerClient.cpp index b98e48b52a..621cf5950b 100644 --- a/libs/gui/ISurfaceComposerClient.cpp +++ b/libs/gui/ISurfaceComposerClient.cpp @@ -49,25 +49,28 @@ public: status_t createSurface(const String8& name, uint32_t width, uint32_t height, PixelFormat format, uint32_t flags, const sp& parent, LayerMetadata metadata, - sp* handle, sp* gbp) override { + sp* handle, sp* gbp, + uint32_t* outTransformHint) override { return callRemote(Tag::CREATE_SURFACE, name, width, height, format, flags, parent, std::move(metadata), - handle, gbp); + handle, gbp, + outTransformHint); } status_t createWithSurfaceParent(const String8& name, uint32_t width, uint32_t height, PixelFormat format, uint32_t flags, const sp& parent, LayerMetadata metadata, sp* handle, - sp* gbp) override { + sp* gbp, + uint32_t* outTransformHint) override { return callRemote(Tag::CREATE_WITH_SURFACE_PARENT, name, width, height, format, flags, parent, - std::move(metadata), handle, - gbp); + std::move(metadata), handle, gbp, + outTransformHint); } status_t clearLayerFrameStats(const sp& handle) const override { -- cgit v1.2.3-59-g8ed1b