summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-06-21 16:40:30 -0700
committerRomain Guy <romainguy@google.com>2013-06-21 16:40:30 -0700
commitc8ba0b46161e55b16e43d8872ab67b47038cafa7 (patch)
tree94820b720bd8b2a80ed478e559b52cf1381f2827 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent27e0bf627883e7042384d34cf37fbedf276ff553 (diff)
When destroying a surface, only unmake current if necessary
Bug #9404946 The Calendar app destroys one of its popup windows during a draw traversal. Without this patch, we end up with no current context nor surface after we're done gathering display lists. This means that all of our EGL/GL calls will either fail or have undefined behaviors. This could explain the PBO crash we are seeing with the monkeys. Without a proper GL context, the driver returns NULL when we map the PBO in CPU memory. Change-Id: I210cf724be73da909a7621f807298a9f4a58e61d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions