Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55a88b0e authored by Romain Guy's avatar Romain Guy Committed by Android Git Automerger
Browse files

am 8889eb8d: Merge "Rename debug property and expose it in HardwareRenderer" into jb-mr2-dev

* commit '8889eb8d':
  Rename debug property and expose it in HardwareRenderer
parents d2433e19 8889eb8d
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -172,6 +172,19 @@ public abstract class HardwareRenderer {
     */
    public static final String DEBUG_SHOW_OVERDRAW_PROPERTY = "debug.hwui.show_overdraw";

    /**
     * Turn on to debug non-rectangular clip operations.
     *
     * Possible values:
     * "hide", to disable this debug mode
     * "highlight", highlight drawing commands tested against a non-rectangular clip
     * "stencil", renders the clip region on screen when set
     *
     * @hide
     */
    public static final String DEBUG_SHOW_NON_RECTANGULAR_CLIP_PROPERTY =
            "debug.hwui.show_non_rect_clip";

    /**
     * A process can set this flag to false to prevent the use of hardware
     * rendering.
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ enum DebugLevel {
 *
 * The default value is "hide".
 */
#define PROPERTY_DEBUG_STENCIL_CLIP "debug.hwui.show_stencil_clip"
#define PROPERTY_DEBUG_STENCIL_CLIP "debug.hwui.show_non_rect_clip"

/**
 * Used to enable/disable scissor optimization. The accepted values are