EGL: make x86/64 wrappers resistant to -fno-omit-frame-pointer flag
Wrapper functions were broken on builds that forced -fno-omit-frame-pointer flag. Change-Id: I5a80f9587fb3db821b4156af56acda59a0b4579b Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Signed-off-by: Yong Yao <yong.yao@intel.com>
This commit is contained in:
parent
c6f93a43d6
commit
701048cbe8
@ -78,7 +78,7 @@ namespace android {
|
||||
|
||||
#elif defined(__i386__)
|
||||
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
#define API_ENTRY(_api) __attribute__((noinline,optimize("omit-frame-pointer"))) _api
|
||||
|
||||
#define CALL_GL_EXTENSION_API(_api) \
|
||||
register void** fn; \
|
||||
@ -100,7 +100,7 @@ namespace android {
|
||||
|
||||
#elif defined(__x86_64__)
|
||||
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
#define API_ENTRY(_api) __attribute__((noinline,optimize("omit-frame-pointer"))) _api
|
||||
|
||||
#define CALL_GL_EXTENSION_API(_api) \
|
||||
register void** fn; \
|
||||
|
@ -82,7 +82,7 @@ using namespace android;
|
||||
|
||||
#elif defined(__i386__)
|
||||
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
#define API_ENTRY(_api) __attribute__((noinline,optimize("omit-frame-pointer"))) _api
|
||||
|
||||
#define CALL_GL_API(_api, ...) \
|
||||
register void** fn; \
|
||||
@ -101,7 +101,7 @@ using namespace android;
|
||||
|
||||
#elif defined(__x86_64__)
|
||||
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
#define API_ENTRY(_api) __attribute__((noinline,optimize("omit-frame-pointer"))) _api
|
||||
|
||||
#define CALL_GL_API(_api, ...) \
|
||||
register void** fn; \
|
||||
|
@ -138,7 +138,7 @@ GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
|
||||
|
||||
#elif defined(__i386__)
|
||||
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
#define API_ENTRY(_api) __attribute__((noinline,optimize("omit-frame-pointer"))) _api
|
||||
|
||||
#define CALL_GL_API(_api, ...) \
|
||||
register void* fn; \
|
||||
@ -157,7 +157,7 @@ GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
|
||||
|
||||
#elif defined(__x86_64__)
|
||||
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
#define API_ENTRY(_api) __attribute__((noinline,optimize("omit-frame-pointer"))) _api
|
||||
|
||||
#define CALL_GL_API(_api, ...) \
|
||||
register void** fn; \
|
||||
|
Loading…
Reference in New Issue
Block a user