summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/ReliableSurface.cpp
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-04-15 21:00:08 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-04-15 21:00:08 +0000
commit8d8d704cf7a2c0f94352057ebe45e4343fd8eba4 (patch)
tree355f02e8ab1035d81b90e51810282047ce171c2e /libs/hwui/renderthread/ReliableSurface.cpp
parentab662fe8a5dcc20541e8a20194f8e63127a5c7e8 (diff)
parent321d8e538dab448a61c6b510fe080e4b62c5644e (diff)
Merge "Fix set_buffers_damage in VulkanSurface" into qt-dev
Diffstat (limited to 'libs/hwui/renderthread/ReliableSurface.cpp')
-rw-r--r--libs/hwui/renderthread/ReliableSurface.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/libs/hwui/renderthread/ReliableSurface.cpp b/libs/hwui/renderthread/ReliableSurface.cpp
index b9410c24366f..ad1fc4921781 100644
--- a/libs/hwui/renderthread/ReliableSurface.cpp
+++ b/libs/hwui/renderthread/ReliableSurface.cpp
@@ -300,17 +300,9 @@ int ReliableSurface::hook_perform(ANativeWindow* window, int operation, ...) {
int result = callProtected(getWrapped(window), perform, operation, args);
va_end(args);
- switch (operation) {
- case NATIVE_WINDOW_SET_BUFFERS_FORMAT:
- case NATIVE_WINDOW_SET_USAGE:
- case NATIVE_WINDOW_SET_USAGE64:
- va_start(args, operation);
- getSelf(window)->perform(operation, args);
- va_end(args);
- break;
- default:
- break;
- }
+ va_start(args, operation);
+ getSelf(window)->perform(operation, args);
+ va_end(args);
return result;
}