diff options
author | Romain Guy <romainguy@google.com> | 2013-09-26 14:57:30 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2013-09-26 22:01:01 +0000 |
commit | 33ed738d49dce3af5851d0566739e9ed593057a5 (patch) | |
tree | a3505e10b1cb75eec8e6ffa1d3bb23b99857a897 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c449613ec6ffed7b4605a6708a3341ab2dd5320f (diff) |
Expose View.executeHardwareAction()
Bug #10911502
Views creating hardware resources need a way to safely interact
with the hardware. This new method invokes HardwareRenderer.safelyRun()
which executes a Runnable after making sure the hardawre rendering
context is in a valid state.
With the OpenGL backend, executeHardwareAction() tries to call
eglMakeCurrent() if needed. This method is not guaranteed to
work.
Change-Id: I38ec65132eeba85605cffb1a6de12b7a0184e213
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions