diff options
| author | 2017-06-01 10:45:36 -0700 | |
|---|---|---|
| committer | 2017-06-01 14:48:30 -0700 | |
| commit | d17b63cbfc53ca4eb44b6a007aa7b833ef96c59c (patch) | |
| tree | 2748f244911a4aa94a8198bc504d29a8f01ba0d7 /libs | |
| parent | 392205d5e3ed3677dd416bb04b7dc69b9750d87f (diff) | |
Temporarily enable HWUI opengl validation
Bug: 38416992
Test: full make, device boots
Change-Id: Ib4c058ec24a8cb46b18964635d51e266d7dcd196
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/hwui/Android.bp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp index 07ff27de794f..4cfb9d88c716 100644 --- a/libs/hwui/Android.bp +++ b/libs/hwui/Android.bp @@ -5,11 +5,6 @@ cc_defaults { //"hwui_bugreport_font_cache_usage", //"hwui_compile_for_perf", - - // Enables fine-grained GLES error checking - // If enabled, every GLES call is wrapped & error checked - // Has moderate overhead - //"hwui_enable_opengl-validation", ], cflags: [ @@ -108,7 +103,6 @@ cc_defaults { name: "hwui_enable_opengl_validation", defaults: ["hwui_debug"], cflags: ["-DDEBUG_OPENGL=3"], - srcs: ["debug/wrap_gles.cpp"], include_dirs: ["frameworks/native/opengl/libs/GLES2"], } @@ -242,7 +236,14 @@ cc_defaults { cc_library { name: "libhwui", - defaults: ["libhwui_defaults"], + defaults: [ + "libhwui_defaults", + + // Enables fine-grained GLES error checking + // If enabled, every GLES call is wrapped & error checked + // Has moderate overhead + "hwui_enable_opengl_validation", +], } // ------------------------ |