summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-09-24 11:37:12 -0700
committerRomain Guy <romainguy@google.com>2012-09-24 11:47:52 -0700
commit87e2f757be9b24d369bab354e37c276e851b1fc7 (patch)
treedd8a123cd63666a7f767cb0c38afcc9726d007db /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent97dc9172b0e58979c63de0dedbab656399a62281 (diff)
Add a property to disable libhwui's scissor optimization
Bug #7158326 When scissor optimization is enabled, OpenGLRenderer will attempt to minimize the use of scissor by selectively enabling and disabling the GL scissor test. When the optimization is disabled, OpenGLRenderer will keep the GL scissor test enabled and change the scissor rect as needed. Some GPUs (for instance the SGX 540) perform better when changing the scissor rect often than when enabling/disabling the scissor test often. Change-Id: Idb68862e287a23358f9188d577ae0f86161902fd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions