| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 GrGLFunction<GrGLInvalidateSubFramebufferProc> fInvalidateSubFramebuffer
; | 199 GrGLFunction<GrGLInvalidateSubFramebufferProc> fInvalidateSubFramebuffer
; |
| 200 GrGLFunction<GrGLInvalidateTexImageProc> fInvalidateTexImage; | 200 GrGLFunction<GrGLInvalidateTexImageProc> fInvalidateTexImage; |
| 201 GrGLFunction<GrGLInvalidateTexSubImageProc> fInvalidateTexSubImage; | 201 GrGLFunction<GrGLInvalidateTexSubImageProc> fInvalidateTexSubImage; |
| 202 GrGLFunction<GrGLIsTextureProc> fIsTexture; | 202 GrGLFunction<GrGLIsTextureProc> fIsTexture; |
| 203 GrGLFunction<GrGLLineWidthProc> fLineWidth; | 203 GrGLFunction<GrGLLineWidthProc> fLineWidth; |
| 204 GrGLFunction<GrGLLinkProgramProc> fLinkProgram; | 204 GrGLFunction<GrGLLinkProgramProc> fLinkProgram; |
| 205 GrGLFunction<GrGLMapBufferProc> fMapBuffer; | 205 GrGLFunction<GrGLMapBufferProc> fMapBuffer; |
| 206 GrGLFunction<GrGLMapBufferRangeProc> fMapBufferRange; | 206 GrGLFunction<GrGLMapBufferRangeProc> fMapBufferRange; |
| 207 GrGLFunction<GrGLMapBufferSubDataProc> fMapBufferSubData; | 207 GrGLFunction<GrGLMapBufferSubDataProc> fMapBufferSubData; |
| 208 GrGLFunction<GrGLMapTexSubImage2DProc> fMapTexSubImage2D; | 208 GrGLFunction<GrGLMapTexSubImage2DProc> fMapTexSubImage2D; |
| 209 GrGLFunction<GrGLMultiDrawArraysIndirectProc> fMultiDrawArraysIndirect; |
| 210 GrGLFunction<GrGLMultiDrawElementsIndirectProc> fMultiDrawElementsIndire
ct; |
| 209 GrGLFunction<GrGLPixelStoreiProc> fPixelStorei; | 211 GrGLFunction<GrGLPixelStoreiProc> fPixelStorei; |
| 210 GrGLFunction<GrGLPopGroupMarkerProc> fPopGroupMarker; | 212 GrGLFunction<GrGLPopGroupMarkerProc> fPopGroupMarker; |
| 211 GrGLFunction<GrGLPushGroupMarkerProc> fPushGroupMarker; | 213 GrGLFunction<GrGLPushGroupMarkerProc> fPushGroupMarker; |
| 212 GrGLFunction<GrGLQueryCounterProc> fQueryCounter; | 214 GrGLFunction<GrGLQueryCounterProc> fQueryCounter; |
| 213 GrGLFunction<GrGLRasterSamplesProc> fRasterSamples; | 215 GrGLFunction<GrGLRasterSamplesProc> fRasterSamples; |
| 214 GrGLFunction<GrGLReadBufferProc> fReadBuffer; | 216 GrGLFunction<GrGLReadBufferProc> fReadBuffer; |
| 215 GrGLFunction<GrGLReadPixelsProc> fReadPixels; | 217 GrGLFunction<GrGLReadPixelsProc> fReadPixels; |
| 216 GrGLFunction<GrGLRenderbufferStorageProc> fRenderbufferStorage; | 218 GrGLFunction<GrGLRenderbufferStorageProc> fRenderbufferStorage; |
| 217 | 219 |
| 218 // On OpenGL ES there are multiple incompatible extensions that add sup
port for MSAA | 220 // On OpenGL ES there are multiple incompatible extensions that add sup
port for MSAA |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 GrGLFunction<GrGLStencilThenCoverFillPathInstancedProc> fStencilThenCove
rFillPathInstanced; | 318 GrGLFunction<GrGLStencilThenCoverFillPathInstancedProc> fStencilThenCove
rFillPathInstanced; |
| 317 GrGLFunction<GrGLStencilThenCoverStrokePathInstancedProc> fStencilThenCo
verStrokePathInstanced; | 319 GrGLFunction<GrGLStencilThenCoverStrokePathInstancedProc> fStencilThenCo
verStrokePathInstanced; |
| 318 // NV_path_rendering v1.3 | 320 // NV_path_rendering v1.3 |
| 319 GrGLFunction<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentIn
putGen; | 321 GrGLFunction<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentIn
putGen; |
| 320 // CHROMIUM_path_rendering | 322 // CHROMIUM_path_rendering |
| 321 GrGLFunction<GrGLBindFragmentInputLocationProc> fBindFragmentInputLocati
on; | 323 GrGLFunction<GrGLBindFragmentInputLocationProc> fBindFragmentInputLocati
on; |
| 322 | 324 |
| 323 /* NV_framebuffer_mixed_samples */ | 325 /* NV_framebuffer_mixed_samples */ |
| 324 GrGLFunction<GrGLCoverageModulationProc> fCoverageModulation; | 326 GrGLFunction<GrGLCoverageModulationProc> fCoverageModulation; |
| 325 | 327 |
| 326 /* EXT_multi_draw_indirect */ | |
| 327 GrGLFunction<GrGLMultiDrawArraysIndirectProc> fMultiDrawArraysIndirect; | |
| 328 GrGLFunction<GrGLMultiDrawElementsIndirectProc> fMultiDrawElementsIndire
ct; | |
| 329 | |
| 330 /* NV_bindless_texture */ | 328 /* NV_bindless_texture */ |
| 331 // We use the NVIDIA verson for now because it does not require dynamica
lly uniform handles. | 329 // We use the NVIDIA verson for now because it does not require dynamica
lly uniform handles. |
| 332 // We may switch the the ARB version and/or omit methods in the future. | 330 // We may switch the the ARB version and/or omit methods in the future. |
| 333 GrGLFunction<GrGLGetTextureHandleProc> fGetTextureHandle; | 331 GrGLFunction<GrGLGetTextureHandleProc> fGetTextureHandle; |
| 334 GrGLFunction<GrGLGetTextureSamplerHandleProc> fGetTextureSamplerHandle; | 332 GrGLFunction<GrGLGetTextureSamplerHandleProc> fGetTextureSamplerHandle; |
| 335 GrGLFunction<GrGLMakeTextureHandleResidentProc> fMakeTextureHandleReside
nt; | 333 GrGLFunction<GrGLMakeTextureHandleResidentProc> fMakeTextureHandleReside
nt; |
| 336 GrGLFunction<GrGLMakeTextureHandleNonResidentProc> fMakeTextureHandleNon
Resident; | 334 GrGLFunction<GrGLMakeTextureHandleNonResidentProc> fMakeTextureHandleNon
Resident; |
| 337 GrGLFunction<GrGLGetImageHandleProc> fGetImageHandle; | 335 GrGLFunction<GrGLGetImageHandleProc> fGetImageHandle; |
| 338 GrGLFunction<GrGLMakeImageHandleResidentProc> fMakeImageHandleResident; | 336 GrGLFunction<GrGLMakeImageHandleResidentProc> fMakeImageHandleResident; |
| 339 GrGLFunction<GrGLMakeImageHandleNonResidentProc> fMakeImageHandleNonResi
dent; | 337 GrGLFunction<GrGLMakeImageHandleNonResidentProc> fMakeImageHandleNonResi
dent; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 /* EGL functions */ | 463 /* EGL functions */ |
| 466 GrGLFunction<GrEGLCreateImageProc> fEGLCreateImage; | 464 GrGLFunction<GrEGLCreateImageProc> fEGLCreateImage; |
| 467 GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage; | 465 GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage; |
| 468 } fFunctions; | 466 } fFunctions; |
| 469 | 467 |
| 470 // This exists for internal testing. | 468 // This exists for internal testing. |
| 471 virtual void abandon() const {} | 469 virtual void abandon() const {} |
| 472 }; | 470 }; |
| 473 | 471 |
| 474 #endif | 472 #endif |
| OLD | NEW |