diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/gl/GrGLAssembleInterface.cpp | 2 | ||||
-rw-r--r-- | src/gpu/gl/GrGLAssembleInterface.h | 30 |
2 files changed, 1 insertions, 31 deletions
diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp index 91aa045458..bc7dc8a100 100644 --- a/src/gpu/gl/GrGLAssembleInterface.cpp +++ b/src/gpu/gl/GrGLAssembleInterface.cpp @@ -6,7 +6,7 @@ */ -#include "GrGLAssembleInterface.h" +#include "gl/GrGLAssembleInterface.h" #include "GrGLUtil.h" #define GET_PROC(F) functions->f ## F = (GrGL ## F ## Proc) get(ctx, "gl" #F) diff --git a/src/gpu/gl/GrGLAssembleInterface.h b/src/gpu/gl/GrGLAssembleInterface.h deleted file mode 100644 index 3882f71ee2..0000000000 --- a/src/gpu/gl/GrGLAssembleInterface.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2014 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "gl/GrGLInterface.h" - -typedef GrGLFuncPtr (*GrGLGetProc)(void* ctx, const char name[]); - - -/** - * Generic function for creating a GrGLInterface for an either OpenGL or GLES. It calls - * get() to get each function address. ctx is a generic ptr passed to and interpreted by get(). - */ -const GrGLInterface* GrGLAssembleInterface(void* ctx, GrGLGetProc get); - -/** - * Generic function for creating a GrGLInterface for an OpenGL (but not GLES) context. It calls - * get() to get each function address. ctx is a generic ptr passed to and interpreted by get(). - */ -const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get); - -/** - * Generic function for creating a GrGLInterface for an OpenGL ES (but not Open GL) context. It - * calls get() to get each function address. ctx is a generic ptr passed to and interpreted by - * get(). - */ -const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get); |