Loading core/java/android/view/HardwareRenderer.java +3 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ package android.view; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.os.SystemClock; import android.os.*; import android.util.EventLog; import android.util.Log; Loading Loading @@ -256,6 +256,7 @@ public abstract class HardwareRenderer { @SuppressWarnings({"deprecation"}) static abstract class GlRenderer extends HardwareRenderer { // These values are not exposed in our EGL APIs private static final int EGL_CONTEXT_CLIENT_VERSION = 0x3098; private static final int EGL_SURFACE_TYPE = 0x3033; private static final int EGL_SWAP_BEHAVIOR_PRESERVED_BIT = 0x0400; Loading Loading @@ -290,7 +291,7 @@ public abstract class HardwareRenderer { GlRenderer(int glVersion, boolean translucent) { mGlVersion = glVersion; mTranslucent = translucent; final String dirtyProperty = System.getProperty(RENDER_DIRTY_REGIONS_PROPERTY, "true"); final String dirtyProperty = SystemProperties.get(RENDER_DIRTY_REGIONS_PROPERTY, "true"); //noinspection PointlessBooleanExpression,ConstantConditions mDirtyRegions = RENDER_DIRTY_REGIONS && "true".equalsIgnoreCase(dirtyProperty); } Loading libs/hwui/Debug.h +2 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ // Turn on to enable memory usage summary on each frame #define DEBUG_MEMORY_USAGE 0 // Turn on to enable layers debugging when renderered as regions // Turn on to enable layers debugging when rendered as regions #define DEBUG_LAYERS_AS_REGIONS 0 // Turn on to display debug info about vertex/fragment shaders Loading @@ -35,7 +35,7 @@ // Turn on to display info about layers #define DEBUG_LAYERS 0 // Turn on to display debug infor about 9patch objects // Turn on to display debug info about 9patch objects #define DEBUG_PATCHES 0 // Turn on to display vertex and tex coords data about 9patch objects // This flag requires DEBUG_PATCHES to be turned on Loading Loading
core/java/android/view/HardwareRenderer.java +3 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ package android.view; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.os.SystemClock; import android.os.*; import android.util.EventLog; import android.util.Log; Loading Loading @@ -256,6 +256,7 @@ public abstract class HardwareRenderer { @SuppressWarnings({"deprecation"}) static abstract class GlRenderer extends HardwareRenderer { // These values are not exposed in our EGL APIs private static final int EGL_CONTEXT_CLIENT_VERSION = 0x3098; private static final int EGL_SURFACE_TYPE = 0x3033; private static final int EGL_SWAP_BEHAVIOR_PRESERVED_BIT = 0x0400; Loading Loading @@ -290,7 +291,7 @@ public abstract class HardwareRenderer { GlRenderer(int glVersion, boolean translucent) { mGlVersion = glVersion; mTranslucent = translucent; final String dirtyProperty = System.getProperty(RENDER_DIRTY_REGIONS_PROPERTY, "true"); final String dirtyProperty = SystemProperties.get(RENDER_DIRTY_REGIONS_PROPERTY, "true"); //noinspection PointlessBooleanExpression,ConstantConditions mDirtyRegions = RENDER_DIRTY_REGIONS && "true".equalsIgnoreCase(dirtyProperty); } Loading
libs/hwui/Debug.h +2 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ // Turn on to enable memory usage summary on each frame #define DEBUG_MEMORY_USAGE 0 // Turn on to enable layers debugging when renderered as regions // Turn on to enable layers debugging when rendered as regions #define DEBUG_LAYERS_AS_REGIONS 0 // Turn on to display debug info about vertex/fragment shaders Loading @@ -35,7 +35,7 @@ // Turn on to display info about layers #define DEBUG_LAYERS 0 // Turn on to display debug infor about 9patch objects // Turn on to display debug info about 9patch objects #define DEBUG_PATCHES 0 // Turn on to display vertex and tex coords data about 9patch objects // This flag requires DEBUG_PATCHES to be turned on Loading