OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #ifndef GrGLFunctions_DEFINED | 9 #ifndef GrGLFunctions_DEFINED |
10 #define GrGLFunctions_DEFINED | 10 #define GrGLFunctions_DEFINED |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPopDebugGroupProc)(); | 347 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPopDebugGroupProc)(); |
348 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLObjectLabelProc)(GrGLenum identifier,
GrGLuint name, GrGLsizei length, const GrGLchar *label); | 348 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLObjectLabelProc)(GrGLenum identifier,
GrGLuint name, GrGLsizei length, const GrGLchar *label); |
349 | 349 |
350 /** EGL functions */ | 350 /** EGL functions */ |
351 typedef const char* (GR_GL_FUNCTION_TYPE* GrEGLQueryStringProc)(GrEGLDisplay dpy
, GrEGLint name); | 351 typedef const char* (GR_GL_FUNCTION_TYPE* GrEGLQueryStringProc)(GrEGLDisplay dpy
, GrEGLint name); |
352 typedef GrEGLDisplay (GR_GL_FUNCTION_TYPE* GrEGLGetCurrentDisplayProc)(); | 352 typedef GrEGLDisplay (GR_GL_FUNCTION_TYPE* GrEGLGetCurrentDisplayProc)(); |
353 typedef GrEGLImage (GR_GL_FUNCTION_TYPE* GrEGLCreateImageProc)(GrEGLDisplay dpy,
GrEGLContext ctx, GrEGLenum target, GrEGLClientBuffer buffer, const GrEGLint *a
ttrib_list); | 353 typedef GrEGLImage (GR_GL_FUNCTION_TYPE* GrEGLCreateImageProc)(GrEGLDisplay dpy,
GrEGLContext ctx, GrEGLenum target, GrEGLClientBuffer buffer, const GrEGLint *a
ttrib_list); |
354 typedef GrEGLBoolean (GR_GL_FUNCTION_TYPE* GrEGLDestroyImageProc)(GrEGLDisplay d
py, GrEGLImage image); | 354 typedef GrEGLBoolean (GR_GL_FUNCTION_TYPE* GrEGLDestroyImageProc)(GrEGLDisplay d
py, GrEGLImage image); |
355 } // extern "C" | 355 } // extern "C" |
356 | 356 |
357 template <typename GLPTR> using GrGLFunction = | 357 template <typename GLPTR> using GrGLFunction = std::function<skstd::remove_point
er_t<GLPTR>>; |
358 std::function<typename std::remove_pointer<GLPTR>::type>; | |
359 | 358 |
360 #endif | 359 #endif |
OLD | NEW |