Home
last modified time | relevance | path

Searched refs:GrGLFuncPtr (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/src/gpu/gl/win/
DGrGLMakeNativeInterface_win.cpp42 if (GrGLFuncPtr p = (GrGLFuncPtr)GetProcAddress((HMODULE)ctx, name)) { in GrGLMakeNativeInterface()
45 if (GrGLFuncPtr p = (GrGLFuncPtr)wglGetProcAddress(name)) { in GrGLMakeNativeInterface()
48 return (GrGLFuncPtr)nullptr; in GrGLMakeNativeInterface()
/third_party/skia/tools/gpu/gl/mac/
DCreatePlatformGLTestContext_mac.cpp34 GrGLFuncPtr onPlatformGetProcAddress(const char*) const override;
147 GrGLFuncPtr MacGLTestContext::onPlatformGetProcAddress(const char* procName) const { in onPlatformGetProcAddress()
149 return reinterpret_cast<GrGLFuncPtr>(dlsym(handle, procName)); in onPlatformGetProcAddress()
/third_party/skia/src/gpu/gl/webgl/
DGrGLMakeNativeInterface_webgl.cpp16 static GrGLFuncPtr webgl_get_gl_proc(void* ctx, const char name[]) { in webgl_get_gl_proc()
18 #define M(X) if (0 == strcmp(#X, name)) { return (GrGLFuncPtr) emscripten_##X; } in webgl_get_gl_proc()
/third_party/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp52 static GrGLFuncPtr angle_get_gl_proc(void* ctx, const char name[]) { in angle_get_gl_proc()
54 GrGLFuncPtr proc = (GrGLFuncPtr) SkGetProcedureAddress(libs->fGLLib, name); in angle_get_gl_proc()
58 proc = (GrGLFuncPtr) SkGetProcedureAddress(libs->fEGLLib, name); in angle_get_gl_proc()
107 GrGLFuncPtr onPlatformGetProcAddress(const char* name) const override;
489 GrGLFuncPtr ANGLEGLContext::onPlatformGetProcAddress(const char* name) const { in onPlatformGetProcAddress()
/third_party/skia/tools/gpu/gl/win/
DCreatePlatformGLTestContext_win.cpp47 GrGLFuncPtr onPlatformGetProcAddress(const char* name) const override;
216 GrGLFuncPtr WinGLTestContext::onPlatformGetProcAddress(const char* name) const { in onPlatformGetProcAddress()
217 return reinterpret_cast<GrGLFuncPtr>(wglGetProcAddress(name)); in onPlatformGetProcAddress()
/third_party/skia/tools/gpu/gl/iOS/
DCreatePlatformGLTestContext_iOS.mm35 GrGLFuncPtr onPlatformGetProcAddress(const char*) const override;
117 GrGLFuncPtr IOSGLTestContext::onPlatformGetProcAddress(const char* procName) const {
119 return reinterpret_cast<GrGLFuncPtr>(dlsym(handle, procName));
/third_party/skia/src/gpu/gl/egl/
DGrGLMakeEGLInterface.cpp17 static GrGLFuncPtr egl_get_gl_proc(void* ctx, const char name[]) { in egl_get_gl_proc()
21 #define M(X) if (0 == strcmp(#X, name)) { return (GrGLFuncPtr) X; } in egl_get_gl_proc()
/third_party/skia/src/gpu/gl/glfw/
DGrGLMakeNativeInterface_glfw.cpp15 static GrGLFuncPtr glfw_get(void* ctx, const char name[]) { in glfw_get()
/third_party/skia/src/gpu/gl/glx/
DGrGLMakeGLXInterface.cpp16 static GrGLFuncPtr glx_get(void* ctx, const char name[]) { in glx_get()
/third_party/skia/src/gpu/gl/iOS/
DGrGLMakeNativeInterface_iOS.cpp23 return (GrGLFuncPtr)dlsym(ctx ? ctx : RTLD_DEFAULT, name); }); in GrGLMakeNativeInterface()
/third_party/skia/src/gpu/gl/mac/
DGrGLMakeNativeInterface_mac.cpp23 return (GrGLFuncPtr)dlsym(ctx ? ctx : RTLD_DEFAULT, name); }); in GrGLMakeNativeInterface()
/third_party/skia/include/gpu/gl/
DGrGLAssembleInterface.h10 typedef GrGLFuncPtr (*GrGLGetProc)(void* ctx, const char name[]);
DGrGLInterface.h17 typedef void(*GrGLFuncPtr)(); typedef
/third_party/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.h48 GrGLFuncPtr onPlatformGetProcAddress(const char *name) const override;
DGLTestContext_command_buffer.cpp121 static GrGLFuncPtr command_buffer_get_gl_proc(void* ctx, const char name[]) { in command_buffer_get_gl_proc()
392 GrGLFuncPtr CommandBufferGLTestContext::onPlatformGetProcAddress(const char *name) const { in onPlatformGetProcAddress()
/third_party/skia/tools/gpu/gl/glx/
DCreatePlatformGLTestContext_glx.cpp67 GrGLFuncPtr onPlatformGetProcAddress(const char*) const override;
374 GrGLFuncPtr GLXGLTestContext::onPlatformGetProcAddress(const char* procName) const { in onPlatformGetProcAddress()
/third_party/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp44 GrGLFuncPtr onPlatformGetProcAddress(const char*) const override;
314 GrGLFuncPtr EGLGLTestContext::onPlatformGetProcAddress(const char* procName) const { in onPlatformGetProcAddress()
/third_party/skia/tools/gpu/gl/
DGLTestContext.h84 virtual GrGLFuncPtr onPlatformGetProcAddress(const char *) const = 0;
/third_party/skia/tools/sk_app/win/
DANGLEWindowContext_win.cpp124 [](void* ctx, const char name[]) -> GrGLFuncPtr { return eglGetProcAddress(name); })); in onInitializeContext()
/third_party/skia/modules/canvaskit/
Dgm_bindings.cpp333 GrGLFuncPtr onPlatformGetProcAddress(const char* procName) const override { in onPlatformGetProcAddress()