Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(831)

Side by Side Diff: include/gpu/gl/GrGLAssembleInterface.h

Issue 1842363003: Expose GrGLAssembleInterface (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Fix gpu.gypi Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/gl/GrGLAssembleInterface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "gl/GrGLInterface.h" 8 #include "gl/GrGLInterface.h"
9 9
10 typedef GrGLFuncPtr (*GrGLGetProc)(void* ctx, const char name[]); 10 typedef GrGLFuncPtr (*GrGLGetProc)(void* ctx, const char name[]);
11 11
12 12
13 /** 13 /**
14 * Generic function for creating a GrGLInterface for an either OpenGL or GLES. I t calls 14 * Generic function for creating a GrGLInterface for an either OpenGL or GLES. I t calls
15 * get() to get each function address. ctx is a generic ptr passed to and interp reted by get(). 15 * get() to get each function address. ctx is a generic ptr passed to and interp reted by get().
16 */ 16 */
17 const GrGLInterface* GrGLAssembleInterface(void* ctx, GrGLGetProc get); 17 SK_API const GrGLInterface* GrGLAssembleInterface(void* ctx, GrGLGetProc get);
18 18
19 /** 19 /**
20 * Generic function for creating a GrGLInterface for an OpenGL (but not GLES) co ntext. It calls 20 * Generic function for creating a GrGLInterface for an OpenGL (but not GLES) co ntext. It calls
21 * get() to get each function address. ctx is a generic ptr passed to and interp reted by get(). 21 * get() to get each function address. ctx is a generic ptr passed to and interp reted by get().
22 */ 22 */
23 const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get); 23 SK_API const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get);
24 24
25 /** 25 /**
26 * Generic function for creating a GrGLInterface for an OpenGL ES (but not Open GL) context. It 26 * Generic function for creating a GrGLInterface for an OpenGL ES (but not Open GL) context. It
27 * calls get() to get each function address. ctx is a generic ptr passed to and interpreted by 27 * calls get() to get each function address. ctx is a generic ptr passed to and interpreted by
28 * get(). 28 * get().
29 */ 29 */
30 const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get); 30 SK_API const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get );
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/gl/GrGLAssembleInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698