From 062bd860338dbaa8cae38486a338ea97435aed92 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Thu, 31 Mar 2016 10:22:20 -0700 Subject: Expose GrGLAssembleInterface GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1842363003 Review URL: https://codereview.chromium.org/1842363003 --- src/gpu/gl/GrGLAssembleInterface.cpp | 2 +- src/gpu/gl/GrGLAssembleInterface.h | 30 ------------------------------ 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 src/gpu/gl/GrGLAssembleInterface.h (limited to 'src/gpu/gl') 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); -- cgit v1.2.3