summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Bo Liu <boliu@google.com> 2019-03-24 08:26:11 -0400
committer Bo Liu <boliu@google.com> 2019-03-25 09:34:27 -0400
commitd336f5d95fb4a0edead0476e5623377e4c1ec4a6 (patch)
tree68f502f314f6f7492412e68a54f849e35225a028 /libs
parent4b58630ef2d5fd776bb393b07fcd61e51063774d (diff)
Deprecate is_layer for vulkan functor
Webview no longer needs this. Bug: 124123583 Test: comppiles and vulkan webview in layer keeps working Change-Id: Ib54e33649eb027a03184c5d7588cfd9568c90a6c
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/pipeline/skia/VkFunctorDrawable.cpp1
-rw-r--r--libs/hwui/private/hwui/DrawVkInfo.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/libs/hwui/pipeline/skia/VkFunctorDrawable.cpp b/libs/hwui/pipeline/skia/VkFunctorDrawable.cpp
index fe2d41ef630b..ceab407cb939 100644
--- a/libs/hwui/pipeline/skia/VkFunctorDrawable.cpp
+++ b/libs/hwui/pipeline/skia/VkFunctorDrawable.cpp
@@ -65,7 +65,6 @@ void VkFunctorDrawHandler::draw(const GrBackendDrawableInfo& info) {
VkFunctorDrawParams params{
.width = mImageInfo.width(),
.height = mImageInfo.height(),
- .is_layer = false, // TODO(boliu): Populate is_layer.
.color_space_ptr = mImageInfo.colorSpace(),
.clip_left = mClip.fLeft,
.clip_top = mClip.fTop,
diff --git a/libs/hwui/private/hwui/DrawVkInfo.h b/libs/hwui/private/hwui/DrawVkInfo.h
index fb55f5ca4c93..4ae0f5a0a2e5 100644
--- a/libs/hwui/private/hwui/DrawVkInfo.h
+++ b/libs/hwui/private/hwui/DrawVkInfo.h
@@ -42,9 +42,6 @@ struct VkFunctorDrawParams {
int width;
int height;
- // Input: is the render target a FBO
- bool is_layer;
-
// Input: current transform matrix
float transform[16];