| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 #include "gl/GrGLInterface.h" | 8 #include "gl/GrGLInterface.h" |
| 10 | 9 |
| 11 typedef GrGLFuncPtr (*GrGLGetProc)(void* ctx, const char name[]); | 10 typedef GrGLFuncPtr (*GrGLGetProc)(void* ctx, const char name[]); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 22 * 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(). |
| 23 */ | 22 */ |
| 24 const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get); | 23 const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get); |
| 25 | 24 |
| 26 /** | 25 /** |
| 27 * 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 |
| 28 * 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 |
| 29 * get(). | 28 * get(). |
| 30 */ | 29 */ |
| 31 const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get); | 30 const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get); |
| OLD | NEW |