summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorThomas Buhot <thomas.buhot@intel.com>2015-12-04 12:18:03 +0100
committerZhiquan Liu <zhiquan.liu@intel.com>2015-12-10 14:51:58 +0800
commit0bcd0cb6b1193168fa2840855195347488daab9e (patch)
tree6123412bc7a325a1021e37082b60c832a3bce700 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentcb299b858f4f073e2abd4ad45aa944dc0dfd0aa2 (diff)
libhwui: make setSurface asynchronous
On the critical path of the cold launch of applications the main thread of the started application tells the RenderThread to create a surface. This process is synchronous and blocks the main thread of the application until the creation of the EGLContext is complete. As a consequence the launch time of the application is delayed by time spent allocating the EGL Context in the RenderThread. With this optimization the launch time of any application is improved (for example settings by 20 to 40 ms). Change-Id: Ibf47aaa0abb8dedf7aa00693073db3785d9d6b08 Signed-off-by: Thomas Buhot <thomas.buhot@intel.com> Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions