summaryrefslogtreecommitdiff
path: root/opengl/libs/hooks.h
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2016-03-22 23:35:27 -0700
committer Nikola Veljkovic <Nikola.Veljkovic@imgtec.com> 2016-03-28 19:13:17 +0200
commit3e8fce48a6c768036c11290b93116665e8e8bdda (patch)
tree2fd1b823ca44198da04bc42e30f71f78ee1ed70f /opengl/libs/hooks.h
parent88521f6219b5a8c81e08c347bbdf1413b852fa17 (diff)
Switch GLES wrappers over to using Clang (and fix inline assembly).
Bug: http://b/18003438 The GLES wrapper implementations make direct calls to their underlying function without specifying that they are retaining the original argument register(s). This change makes the retention of these argument registers more explicit, and then removes the LOCAL_CLANG override, since Clang no longer optimizes the code into a bad state. We also switch to "naked" functions, so that we control all stack layout information. This prevents us from accidentally still corrupting arguments on x86 (and for other functions with many parameters). Change-Id: I37f2ef4a697373388950b41f0a292393c9fcbac7
Diffstat (limited to 'opengl/libs/hooks.h')
0 files changed, 0 insertions, 0 deletions