OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 #ifndef GrGLInterface_DEFINED | 8 #ifndef GrGLInterface_DEFINED |
9 #define GrGLInterface_DEFINED | 9 #define GrGLInterface_DEFINED |
10 | 10 |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 GLPtr<GrGLGetUniformLocationProc> fGetUniformLocation; | 223 GLPtr<GrGLGetUniformLocationProc> fGetUniformLocation; |
224 GLPtr<GrGLInsertEventMarkerProc> fInsertEventMarker; | 224 GLPtr<GrGLInsertEventMarkerProc> fInsertEventMarker; |
225 GLPtr<GrGLInvalidateBufferDataProc> fInvalidateBufferData; | 225 GLPtr<GrGLInvalidateBufferDataProc> fInvalidateBufferData; |
226 GLPtr<GrGLInvalidateBufferSubDataProc> fInvalidateBufferSubData; | 226 GLPtr<GrGLInvalidateBufferSubDataProc> fInvalidateBufferSubData; |
227 GLPtr<GrGLInvalidateFramebufferProc> fInvalidateFramebuffer; | 227 GLPtr<GrGLInvalidateFramebufferProc> fInvalidateFramebuffer; |
228 GLPtr<GrGLInvalidateSubFramebufferProc> fInvalidateSubFramebuffer; | 228 GLPtr<GrGLInvalidateSubFramebufferProc> fInvalidateSubFramebuffer; |
229 GLPtr<GrGLInvalidateTexImageProc> fInvalidateTexImage; | 229 GLPtr<GrGLInvalidateTexImageProc> fInvalidateTexImage; |
230 GLPtr<GrGLInvalidateTexSubImageProc> fInvalidateTexSubImage; | 230 GLPtr<GrGLInvalidateTexSubImageProc> fInvalidateTexSubImage; |
231 GLPtr<GrGLLineWidthProc> fLineWidth; | 231 GLPtr<GrGLLineWidthProc> fLineWidth; |
232 GLPtr<GrGLLinkProgramProc> fLinkProgram; | 232 GLPtr<GrGLLinkProgramProc> fLinkProgram; |
233 GLPtr<GrGLLoadIdentityProc> fLoadIdentity; | |
234 GLPtr<GrGLLoadMatrixfProc> fLoadMatrixf; | |
235 GLPtr<GrGLMapBufferProc> fMapBuffer; | 233 GLPtr<GrGLMapBufferProc> fMapBuffer; |
236 GLPtr<GrGLMapBufferSubDataProc> fMapBufferSubData; | 234 GLPtr<GrGLMapBufferSubDataProc> fMapBufferSubData; |
237 GLPtr<GrGLMapTexSubImage2DProc> fMapTexSubImage2D; | 235 GLPtr<GrGLMapTexSubImage2DProc> fMapTexSubImage2D; |
238 GLPtr<GrGLMatrixModeProc> fMatrixMode; | 236 GLPtr<GrGLMatrixLoadfProc> fMatrixLoadf; |
| 237 GLPtr<GrGLMatrixLoadIdentityProc> fMatrixLoadIdentity; |
239 GLPtr<GrGLPixelStoreiProc> fPixelStorei; | 238 GLPtr<GrGLPixelStoreiProc> fPixelStorei; |
240 GLPtr<GrGLPopGroupMarkerProc> fPopGroupMarker; | 239 GLPtr<GrGLPopGroupMarkerProc> fPopGroupMarker; |
241 GLPtr<GrGLPushGroupMarkerProc> fPushGroupMarker; | 240 GLPtr<GrGLPushGroupMarkerProc> fPushGroupMarker; |
242 GLPtr<GrGLQueryCounterProc> fQueryCounter; | 241 GLPtr<GrGLQueryCounterProc> fQueryCounter; |
243 GLPtr<GrGLReadBufferProc> fReadBuffer; | 242 GLPtr<GrGLReadBufferProc> fReadBuffer; |
244 GLPtr<GrGLReadPixelsProc> fReadPixels; | 243 GLPtr<GrGLReadPixelsProc> fReadPixels; |
245 GLPtr<GrGLRenderbufferStorageProc> fRenderbufferStorage; | 244 GLPtr<GrGLRenderbufferStorageProc> fRenderbufferStorage; |
246 | 245 |
247 // On OpenGL ES there are multiple incompatible extensions that add sup
port for MSAA | 246 // On OpenGL ES there are multiple incompatible extensions that add sup
port for MSAA |
248 // and ES3 adds MSAA support to the standard. On an ES3 driver we may s
till use the | 247 // and ES3 adds MSAA support to the standard. On an ES3 driver we may s
till use the |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 } fFunctions; | 366 } fFunctions; |
368 | 367 |
369 // Per-GL func callback | 368 // Per-GL func callback |
370 #if GR_GL_PER_GL_FUNC_CALLBACK | 369 #if GR_GL_PER_GL_FUNC_CALLBACK |
371 GrGLInterfaceCallbackProc fCallback; | 370 GrGLInterfaceCallbackProc fCallback; |
372 GrGLInterfaceCallbackData fCallbackData; | 371 GrGLInterfaceCallbackData fCallbackData; |
373 #endif | 372 #endif |
374 }; | 373 }; |
375 | 374 |
376 #endif | 375 #endif |
OLD | NEW |