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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 GrGLFunction<GrGLGetImageHandleProc> fGetImageHandle; | 362 GrGLFunction<GrGLGetImageHandleProc> fGetImageHandle; |
363 GrGLFunction<GrGLMakeImageHandleResidentProc> fMakeImageHandleResident; | 363 GrGLFunction<GrGLMakeImageHandleResidentProc> fMakeImageHandleResident; |
364 GrGLFunction<GrGLMakeImageHandleNonResidentProc> fMakeImageHandleNonResi
dent; | 364 GrGLFunction<GrGLMakeImageHandleNonResidentProc> fMakeImageHandleNonResi
dent; |
365 GrGLFunction<GrGLIsTextureHandleResidentProc> fIsTextureHandleResident; | 365 GrGLFunction<GrGLIsTextureHandleResidentProc> fIsTextureHandleResident; |
366 GrGLFunction<GrGLIsImageHandleResidentProc> fIsImageHandleResident; | 366 GrGLFunction<GrGLIsImageHandleResidentProc> fIsImageHandleResident; |
367 GrGLFunction<GrGLUniformHandleui64Proc> fUniformHandleui64; | 367 GrGLFunction<GrGLUniformHandleui64Proc> fUniformHandleui64; |
368 GrGLFunction<GrGLUniformHandleui64vProc> fUniformHandleui64v; | 368 GrGLFunction<GrGLUniformHandleui64vProc> fUniformHandleui64v; |
369 GrGLFunction<GrGLProgramUniformHandleui64Proc> fProgramUniformHandleui64
; | 369 GrGLFunction<GrGLProgramUniformHandleui64Proc> fProgramUniformHandleui64
; |
370 GrGLFunction<GrGLProgramUniformHandleui64vProc> fProgramUniformHandleui6
4v; | 370 GrGLFunction<GrGLProgramUniformHandleui64vProc> fProgramUniformHandleui6
4v; |
371 | 371 |
| 372 /* ARB_sample_shading */ |
| 373 GrGLFunction<GrGLMinSampleShadingProc> fMinSampleShading; |
| 374 |
372 /* EXT_direct_state_access */ | 375 /* EXT_direct_state_access */ |
373 // We use the EXT verson because it is more expansive and interacts with
more extensions | 376 // We use the EXT verson because it is more expansive and interacts with
more extensions |
374 // than the ARB or core (4.5) versions. We may switch and/or omit method
s in the future. | 377 // than the ARB or core (4.5) versions. We may switch and/or omit method
s in the future. |
375 GrGLFunction<GrGLTextureParameteriProc> fTextureParameteri; | 378 GrGLFunction<GrGLTextureParameteriProc> fTextureParameteri; |
376 GrGLFunction<GrGLTextureParameterivProc> fTextureParameteriv; | 379 GrGLFunction<GrGLTextureParameterivProc> fTextureParameteriv; |
377 GrGLFunction<GrGLTextureParameterfProc> fTextureParameterf; | 380 GrGLFunction<GrGLTextureParameterfProc> fTextureParameterf; |
378 GrGLFunction<GrGLTextureParameterfvProc> fTextureParameterfv; | 381 GrGLFunction<GrGLTextureParameterfvProc> fTextureParameterfv; |
379 GrGLFunction<GrGLTextureImage1DProc> fTextureImage1D; | 382 GrGLFunction<GrGLTextureImage1DProc> fTextureImage1D; |
380 GrGLFunction<GrGLTextureImage2DProc> fTextureImage2D; | 383 GrGLFunction<GrGLTextureImage2DProc> fTextureImage2D; |
381 GrGLFunction<GrGLTextureSubImage1DProc> fTextureSubImage1D; | 384 GrGLFunction<GrGLTextureSubImage1DProc> fTextureSubImage1D; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 #if GR_GL_PER_GL_FUNC_CALLBACK | 496 #if GR_GL_PER_GL_FUNC_CALLBACK |
494 GrGLInterfaceCallbackProc fCallback; | 497 GrGLInterfaceCallbackProc fCallback; |
495 GrGLInterfaceCallbackData fCallbackData; | 498 GrGLInterfaceCallbackData fCallbackData; |
496 #endif | 499 #endif |
497 | 500 |
498 // This exists for internal testing. | 501 // This exists for internal testing. |
499 virtual void abandon() const {} | 502 virtual void abandon() const {} |
500 }; | 503 }; |
501 | 504 |
502 #endif | 505 #endif |
OLD | NEW |