diff options
author | Mathias Agopian <mathias@google.com> | 2013-06-14 19:08:36 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-07-01 15:52:47 -0700 |
commit | e0ea89ceef3b0fc5f3efc5d709a8156f0628c6c8 (patch) | |
tree | abba17453cbddd66e9137d936007536089ed7c1a /opengl/libs/EGL/eglApi.cpp | |
parent | 23e81a2103b08fa14f208fec1d1e2e16347f8b2f (diff) | |
download | frameworks_native-e0ea89ceef3b0fc5f3efc5d709a8156f0628c6c8.zip frameworks_native-e0ea89ceef3b0fc5f3efc5d709a8156f0628c6c8.tar.gz frameworks_native-e0ea89ceef3b0fc5f3efc5d709a8156f0628c6c8.tar.bz2 |
improve GLES jumptables
in the common case this saves one instructions per jump
(which will help with the i-cache).
this change also gets rid of the "use slow tls" option,
which was useless. So at least now architectures that don't have
assembly bindings will perform much better.
Change-Id: I31be6c06ad2136b50ef3a1ac14682d7812ad40d2
Diffstat (limited to 'opengl/libs/EGL/eglApi.cpp')
-rw-r--r-- | opengl/libs/EGL/eglApi.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/opengl/libs/EGL/eglApi.cpp b/opengl/libs/EGL/eglApi.cpp index 2bc9851..0358fcc 100644 --- a/opengl/libs/EGL/eglApi.cpp +++ b/opengl/libs/EGL/eglApi.cpp @@ -849,9 +849,7 @@ __eglMustCastToProperFunctionPointerType eglGetProcAddress(const char *procname) } if (found) { -#if USE_FAST_TLS_KEY addr = gExtensionForwarders[slot]; -#endif sGLExtentionMap.add(name, addr); sGLExtentionSlot++; } |