/frameworks/native/opengl/libs/GLES2/ |
D | gl2.cpp | 55 #define API_ENTRY(_api) __attribute__((naked)) _api argument 57 #define CALL_GL_API(_api, ...) \ argument 67 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 71 #define CALL_GL_API_RETURN(_api, ...) \ argument 72 CALL_GL_API(_api, __VA_ARGS__) \ 77 #define API_ENTRY(_api) _api argument 81 #define CALL_GL_API(_api, ...) \ argument 83 _c->_api(__VA_ARGS__); \ 86 ALOGD("[" #_api "] 0x%x", status); \ 91 #define CALL_GL_API(_api, ...) \ argument [all …]
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | gl.cpp | 109 #define API_ENTRY(_api) __attribute__((naked)) _api argument 111 #define CALL_GL_API(_api, ...) \ argument 121 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 125 #define CALL_GL_API_RETURN(_api, ...) \ argument 126 CALL_GL_API(_api, __VA_ARGS__) \ 133 #define CHECK_GL_ERRORS(_api) \ argument 135 ALOGE_IF(err != GL_NO_ERROR, "%s failed (0x%04X)", #_api, err); \ 140 #define CHECK_GL_ERRORS(_api) do { } while(false); argument 145 #define API_ENTRY(_api) _api argument 147 #define CALL_GL_API(_api, ...) \ argument [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | trace.cpp | 320 #define TRACE_GL_VOID(_api, _args, _argList, ...) \ argument 321 static void Tracing_ ## _api _args { \ 322 TraceGL(#_api, __VA_ARGS__); \ 324 _c->_api _argList; \ 327 #define TRACE_GL(_type, _api, _args, _argList, ...) \ argument 328 static _type Tracing_ ## _api _args { \ 329 TraceGL(#_api, __VA_ARGS__); \ 331 return _c->_api _argList; \ 341 #define GL_ENTRY(_r, _api, ...) Tracing_ ## _api, argument 357 #define TRACE_GL_VOID(_api, _args, _argList, ...) \ argument [all …]
|
D | getProcAddress.cpp | 49 #define API_ENTRY(_api) __attribute__((naked)) _api argument 51 #define CALL_GL_EXTENSION_API(_api) \ argument 63 ext.extensions[_api])) \
|
D | egl.cpp | 338 #define GL_ENTRY(_r, _api, ...) #_api, argument 339 #define EGL_ENTRY(_r, _api, ...) #_api, argument
|
/frameworks/native/opengl/libs/ |
D | hooks.h | 66 #define GL_ENTRY(_r, _api, ...) _r (*_api)(__VA_ARGS__); argument 67 #define EGL_ENTRY(_r, _api, ...) _r (*_api)(__VA_ARGS__); argument
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_hooks.cpp | 25 #define GL_ENTRY(_r, _api, ...) GLTrace_ ## _api, argument
|