summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ScriptC.java
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-04-03 17:28:14 -0700
committerMathias Agopian <mathias@google.com>2013-04-09 17:55:32 -0700
commit57d019e222abc0de3f8876e682617d42872230c6 (patch)
tree520fc4b9aac469fa18ca180f6c509e00f9b780de /graphics/java/android/renderscript/ScriptC.java
parentcf5ccb8f81f038112e13ce2c9ff73602005595f7 (diff)
rework GLSurfaceView so it can use the choreographer
GLSurfaceView will now automatically use the Choreographer to schedule render updates on VSYNC. This happens only in RENDERMODE_CONTINUOUSLY. GLSurfaceView was rewriten to use a Looper and a HandlerThread instead of a custom thread. The basic mode of operation is unchanged, however the implementation is largely different. Removed support for older GPUs which had a limited number of contexts. Bug: 8485730 Change-Id: I7b270f7ad7bb1259e858429054b1c8c9cc159dc6
Diffstat (limited to 'graphics/java/android/renderscript/ScriptC.java')
0 files changed, 0 insertions, 0 deletions