summaryrefslogtreecommitdiff
path: root/libs/hwui/tests/common/TestUtils.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-04-30 21:05:29 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-04-30 21:05:29 +0000
commit635dc181eda0e508d0960fae6c3bedbac7a8381c (patch)
tree1d9505870ae7d12f3d3da28bc17e0d41cbc6cd54 /libs/hwui/tests/common/TestUtils.cpp
parent913f22a7fc47df578bbbf7008779747c5f0d85c9 (diff)
parentbe3876c434864d6c05212158b25d778d29b07eb0 (diff)
Merge "Respect a Layer's (e.g. SurfaceTexture) colorSpace when compositing"
Diffstat (limited to 'libs/hwui/tests/common/TestUtils.cpp')
-rw-r--r--libs/hwui/tests/common/TestUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/tests/common/TestUtils.cpp b/libs/hwui/tests/common/TestUtils.cpp
index b2fccd4cac53..a7ac930ff713 100644
--- a/libs/hwui/tests/common/TestUtils.cpp
+++ b/libs/hwui/tests/common/TestUtils.cpp
@@ -72,7 +72,7 @@ sp<DeferredLayerUpdater> TestUtils::createTextureLayerUpdater(
layerUpdater->setTransform(&transform);
// updateLayer so it's ready to draw
- layerUpdater->updateLayer(true, Matrix4::identity().data);
+ layerUpdater->updateLayer(true, Matrix4::identity().data, HAL_DATASPACE_UNKNOWN);
if (layerUpdater->backingLayer()->getApi() == Layer::Api::OpenGL) {
static_cast<GlLayer*>(layerUpdater->backingLayer())
->setRenderTarget(GL_TEXTURE_EXTERNAL_OES);