OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This file is auto-generated from | 5 // This file is auto-generated from |
6 // ui/gl/generate_bindings.py | 6 // ui/gl/generate_bindings.py |
7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 fn.glCompressedTexSubImage2DFn = | 87 fn.glCompressedTexSubImage2DFn = |
88 reinterpret_cast<glCompressedTexSubImage2DProc>( | 88 reinterpret_cast<glCompressedTexSubImage2DProc>( |
89 GetGLProcAddress("glCompressedTexSubImage2D")); | 89 GetGLProcAddress("glCompressedTexSubImage2D")); |
90 fn.glCompressedTexSubImage3DFn = 0; | 90 fn.glCompressedTexSubImage3DFn = 0; |
91 fn.glCopyBufferSubDataFn = 0; | 91 fn.glCopyBufferSubDataFn = 0; |
92 fn.glCopyTexImage2DFn = reinterpret_cast<glCopyTexImage2DProc>( | 92 fn.glCopyTexImage2DFn = reinterpret_cast<glCopyTexImage2DProc>( |
93 GetGLProcAddress("glCopyTexImage2D")); | 93 GetGLProcAddress("glCopyTexImage2D")); |
94 fn.glCopyTexSubImage2DFn = reinterpret_cast<glCopyTexSubImage2DProc>( | 94 fn.glCopyTexSubImage2DFn = reinterpret_cast<glCopyTexSubImage2DProc>( |
95 GetGLProcAddress("glCopyTexSubImage2D")); | 95 GetGLProcAddress("glCopyTexSubImage2D")); |
96 fn.glCopyTexSubImage3DFn = 0; | 96 fn.glCopyTexSubImage3DFn = 0; |
| 97 fn.glCoverFillPathNVFn = 0; |
| 98 fn.glCoverStrokePathNVFn = 0; |
97 fn.glCreateProgramFn = reinterpret_cast<glCreateProgramProc>( | 99 fn.glCreateProgramFn = reinterpret_cast<glCreateProgramProc>( |
98 GetGLProcAddress("glCreateProgram")); | 100 GetGLProcAddress("glCreateProgram")); |
99 fn.glCreateShaderFn = | 101 fn.glCreateShaderFn = |
100 reinterpret_cast<glCreateShaderProc>(GetGLProcAddress("glCreateShader")); | 102 reinterpret_cast<glCreateShaderProc>(GetGLProcAddress("glCreateShader")); |
101 fn.glCullFaceFn = | 103 fn.glCullFaceFn = |
102 reinterpret_cast<glCullFaceProc>(GetGLProcAddress("glCullFace")); | 104 reinterpret_cast<glCullFaceProc>(GetGLProcAddress("glCullFace")); |
103 fn.glDeleteBuffersARBFn = reinterpret_cast<glDeleteBuffersARBProc>( | 105 fn.glDeleteBuffersARBFn = reinterpret_cast<glDeleteBuffersARBProc>( |
104 GetGLProcAddress("glDeleteBuffers")); | 106 GetGLProcAddress("glDeleteBuffers")); |
105 fn.glDeleteFencesAPPLEFn = 0; | 107 fn.glDeleteFencesAPPLEFn = 0; |
106 fn.glDeleteFencesNVFn = 0; | 108 fn.glDeleteFencesNVFn = 0; |
107 fn.glDeleteFramebuffersEXTFn = 0; | 109 fn.glDeleteFramebuffersEXTFn = 0; |
| 110 fn.glDeletePathsNVFn = 0; |
108 fn.glDeleteProgramFn = reinterpret_cast<glDeleteProgramProc>( | 111 fn.glDeleteProgramFn = reinterpret_cast<glDeleteProgramProc>( |
109 GetGLProcAddress("glDeleteProgram")); | 112 GetGLProcAddress("glDeleteProgram")); |
110 fn.glDeleteQueriesFn = 0; | 113 fn.glDeleteQueriesFn = 0; |
111 fn.glDeleteRenderbuffersEXTFn = 0; | 114 fn.glDeleteRenderbuffersEXTFn = 0; |
112 fn.glDeleteSamplersFn = 0; | 115 fn.glDeleteSamplersFn = 0; |
113 fn.glDeleteShaderFn = | 116 fn.glDeleteShaderFn = |
114 reinterpret_cast<glDeleteShaderProc>(GetGLProcAddress("glDeleteShader")); | 117 reinterpret_cast<glDeleteShaderProc>(GetGLProcAddress("glDeleteShader")); |
115 fn.glDeleteSyncFn = 0; | 118 fn.glDeleteSyncFn = 0; |
116 fn.glDeleteTexturesFn = reinterpret_cast<glDeleteTexturesProc>( | 119 fn.glDeleteTexturesFn = reinterpret_cast<glDeleteTexturesProc>( |
117 GetGLProcAddress("glDeleteTextures")); | 120 GetGLProcAddress("glDeleteTextures")); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 fn.glFramebufferTexture2DMultisampleIMGFn = 0; | 164 fn.glFramebufferTexture2DMultisampleIMGFn = 0; |
162 fn.glFramebufferTextureLayerFn = 0; | 165 fn.glFramebufferTextureLayerFn = 0; |
163 fn.glFrontFaceFn = | 166 fn.glFrontFaceFn = |
164 reinterpret_cast<glFrontFaceProc>(GetGLProcAddress("glFrontFace")); | 167 reinterpret_cast<glFrontFaceProc>(GetGLProcAddress("glFrontFace")); |
165 fn.glGenBuffersARBFn = | 168 fn.glGenBuffersARBFn = |
166 reinterpret_cast<glGenBuffersARBProc>(GetGLProcAddress("glGenBuffers")); | 169 reinterpret_cast<glGenBuffersARBProc>(GetGLProcAddress("glGenBuffers")); |
167 fn.glGenerateMipmapEXTFn = 0; | 170 fn.glGenerateMipmapEXTFn = 0; |
168 fn.glGenFencesAPPLEFn = 0; | 171 fn.glGenFencesAPPLEFn = 0; |
169 fn.glGenFencesNVFn = 0; | 172 fn.glGenFencesNVFn = 0; |
170 fn.glGenFramebuffersEXTFn = 0; | 173 fn.glGenFramebuffersEXTFn = 0; |
| 174 fn.glGenPathsNVFn = 0; |
171 fn.glGenQueriesFn = 0; | 175 fn.glGenQueriesFn = 0; |
172 fn.glGenRenderbuffersEXTFn = 0; | 176 fn.glGenRenderbuffersEXTFn = 0; |
173 fn.glGenSamplersFn = 0; | 177 fn.glGenSamplersFn = 0; |
174 fn.glGenTexturesFn = | 178 fn.glGenTexturesFn = |
175 reinterpret_cast<glGenTexturesProc>(GetGLProcAddress("glGenTextures")); | 179 reinterpret_cast<glGenTexturesProc>(GetGLProcAddress("glGenTextures")); |
176 fn.glGenTransformFeedbacksFn = 0; | 180 fn.glGenTransformFeedbacksFn = 0; |
177 fn.glGenVertexArraysOESFn = 0; | 181 fn.glGenVertexArraysOESFn = 0; |
178 fn.glGetActiveAttribFn = reinterpret_cast<glGetActiveAttribProc>( | 182 fn.glGetActiveAttribFn = reinterpret_cast<glGetActiveAttribProc>( |
179 GetGLProcAddress("glGetActiveAttrib")); | 183 GetGLProcAddress("glGetActiveAttrib")); |
180 fn.glGetActiveUniformFn = reinterpret_cast<glGetActiveUniformProc>( | 184 fn.glGetActiveUniformFn = reinterpret_cast<glGetActiveUniformProc>( |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 fn.glInsertEventMarkerEXTFn = 0; | 262 fn.glInsertEventMarkerEXTFn = 0; |
259 fn.glInvalidateFramebufferFn = 0; | 263 fn.glInvalidateFramebufferFn = 0; |
260 fn.glInvalidateSubFramebufferFn = 0; | 264 fn.glInvalidateSubFramebufferFn = 0; |
261 fn.glIsBufferFn = | 265 fn.glIsBufferFn = |
262 reinterpret_cast<glIsBufferProc>(GetGLProcAddress("glIsBuffer")); | 266 reinterpret_cast<glIsBufferProc>(GetGLProcAddress("glIsBuffer")); |
263 fn.glIsEnabledFn = | 267 fn.glIsEnabledFn = |
264 reinterpret_cast<glIsEnabledProc>(GetGLProcAddress("glIsEnabled")); | 268 reinterpret_cast<glIsEnabledProc>(GetGLProcAddress("glIsEnabled")); |
265 fn.glIsFenceAPPLEFn = 0; | 269 fn.glIsFenceAPPLEFn = 0; |
266 fn.glIsFenceNVFn = 0; | 270 fn.glIsFenceNVFn = 0; |
267 fn.glIsFramebufferEXTFn = 0; | 271 fn.glIsFramebufferEXTFn = 0; |
| 272 fn.glIsPathNVFn = 0; |
268 fn.glIsProgramFn = | 273 fn.glIsProgramFn = |
269 reinterpret_cast<glIsProgramProc>(GetGLProcAddress("glIsProgram")); | 274 reinterpret_cast<glIsProgramProc>(GetGLProcAddress("glIsProgram")); |
270 fn.glIsQueryFn = 0; | 275 fn.glIsQueryFn = 0; |
271 fn.glIsRenderbufferEXTFn = 0; | 276 fn.glIsRenderbufferEXTFn = 0; |
272 fn.glIsSamplerFn = 0; | 277 fn.glIsSamplerFn = 0; |
273 fn.glIsShaderFn = | 278 fn.glIsShaderFn = |
274 reinterpret_cast<glIsShaderProc>(GetGLProcAddress("glIsShader")); | 279 reinterpret_cast<glIsShaderProc>(GetGLProcAddress("glIsShader")); |
275 fn.glIsSyncFn = 0; | 280 fn.glIsSyncFn = 0; |
276 fn.glIsTextureFn = | 281 fn.glIsTextureFn = |
277 reinterpret_cast<glIsTextureProc>(GetGLProcAddress("glIsTexture")); | 282 reinterpret_cast<glIsTextureProc>(GetGLProcAddress("glIsTexture")); |
278 fn.glIsTransformFeedbackFn = 0; | 283 fn.glIsTransformFeedbackFn = 0; |
279 fn.glIsVertexArrayOESFn = 0; | 284 fn.glIsVertexArrayOESFn = 0; |
280 fn.glLineWidthFn = | 285 fn.glLineWidthFn = |
281 reinterpret_cast<glLineWidthProc>(GetGLProcAddress("glLineWidth")); | 286 reinterpret_cast<glLineWidthProc>(GetGLProcAddress("glLineWidth")); |
282 fn.glLinkProgramFn = | 287 fn.glLinkProgramFn = |
283 reinterpret_cast<glLinkProgramProc>(GetGLProcAddress("glLinkProgram")); | 288 reinterpret_cast<glLinkProgramProc>(GetGLProcAddress("glLinkProgram")); |
284 fn.glMapBufferFn = 0; | 289 fn.glMapBufferFn = 0; |
285 fn.glMapBufferRangeFn = 0; | 290 fn.glMapBufferRangeFn = 0; |
286 fn.glMatrixLoadfEXTFn = 0; | 291 fn.glMatrixLoadfEXTFn = 0; |
287 fn.glMatrixLoadIdentityEXTFn = 0; | 292 fn.glMatrixLoadIdentityEXTFn = 0; |
| 293 fn.glPathCommandsNVFn = 0; |
| 294 fn.glPathParameterfNVFn = 0; |
| 295 fn.glPathParameteriNVFn = 0; |
| 296 fn.glPathStencilFuncNVFn = 0; |
288 fn.glPauseTransformFeedbackFn = 0; | 297 fn.glPauseTransformFeedbackFn = 0; |
289 fn.glPixelStoreiFn = | 298 fn.glPixelStoreiFn = |
290 reinterpret_cast<glPixelStoreiProc>(GetGLProcAddress("glPixelStorei")); | 299 reinterpret_cast<glPixelStoreiProc>(GetGLProcAddress("glPixelStorei")); |
291 fn.glPointParameteriFn = 0; | 300 fn.glPointParameteriFn = 0; |
292 fn.glPolygonOffsetFn = reinterpret_cast<glPolygonOffsetProc>( | 301 fn.glPolygonOffsetFn = reinterpret_cast<glPolygonOffsetProc>( |
293 GetGLProcAddress("glPolygonOffset")); | 302 GetGLProcAddress("glPolygonOffset")); |
294 fn.glPopGroupMarkerEXTFn = 0; | 303 fn.glPopGroupMarkerEXTFn = 0; |
295 fn.glProgramBinaryFn = 0; | 304 fn.glProgramBinaryFn = 0; |
296 fn.glProgramParameteriFn = 0; | 305 fn.glProgramParameteriFn = 0; |
297 fn.glPushGroupMarkerEXTFn = 0; | 306 fn.glPushGroupMarkerEXTFn = 0; |
(...skipping 14 matching lines...) Expand all Loading... |
312 fn.glSamplerParameterfvFn = 0; | 321 fn.glSamplerParameterfvFn = 0; |
313 fn.glSamplerParameteriFn = 0; | 322 fn.glSamplerParameteriFn = 0; |
314 fn.glSamplerParameterivFn = 0; | 323 fn.glSamplerParameterivFn = 0; |
315 fn.glScissorFn = | 324 fn.glScissorFn = |
316 reinterpret_cast<glScissorProc>(GetGLProcAddress("glScissor")); | 325 reinterpret_cast<glScissorProc>(GetGLProcAddress("glScissor")); |
317 fn.glSetFenceAPPLEFn = 0; | 326 fn.glSetFenceAPPLEFn = 0; |
318 fn.glSetFenceNVFn = 0; | 327 fn.glSetFenceNVFn = 0; |
319 fn.glShaderBinaryFn = 0; | 328 fn.glShaderBinaryFn = 0; |
320 fn.glShaderSourceFn = | 329 fn.glShaderSourceFn = |
321 reinterpret_cast<glShaderSourceProc>(GetGLProcAddress("glShaderSource")); | 330 reinterpret_cast<glShaderSourceProc>(GetGLProcAddress("glShaderSource")); |
| 331 fn.glStencilFillPathNVFn = 0; |
322 fn.glStencilFuncFn = | 332 fn.glStencilFuncFn = |
323 reinterpret_cast<glStencilFuncProc>(GetGLProcAddress("glStencilFunc")); | 333 reinterpret_cast<glStencilFuncProc>(GetGLProcAddress("glStencilFunc")); |
324 fn.glStencilFuncSeparateFn = reinterpret_cast<glStencilFuncSeparateProc>( | 334 fn.glStencilFuncSeparateFn = reinterpret_cast<glStencilFuncSeparateProc>( |
325 GetGLProcAddress("glStencilFuncSeparate")); | 335 GetGLProcAddress("glStencilFuncSeparate")); |
326 fn.glStencilMaskFn = | 336 fn.glStencilMaskFn = |
327 reinterpret_cast<glStencilMaskProc>(GetGLProcAddress("glStencilMask")); | 337 reinterpret_cast<glStencilMaskProc>(GetGLProcAddress("glStencilMask")); |
328 fn.glStencilMaskSeparateFn = reinterpret_cast<glStencilMaskSeparateProc>( | 338 fn.glStencilMaskSeparateFn = reinterpret_cast<glStencilMaskSeparateProc>( |
329 GetGLProcAddress("glStencilMaskSeparate")); | 339 GetGLProcAddress("glStencilMaskSeparate")); |
330 fn.glStencilOpFn = | 340 fn.glStencilOpFn = |
331 reinterpret_cast<glStencilOpProc>(GetGLProcAddress("glStencilOp")); | 341 reinterpret_cast<glStencilOpProc>(GetGLProcAddress("glStencilOp")); |
332 fn.glStencilOpSeparateFn = reinterpret_cast<glStencilOpSeparateProc>( | 342 fn.glStencilOpSeparateFn = reinterpret_cast<glStencilOpSeparateProc>( |
333 GetGLProcAddress("glStencilOpSeparate")); | 343 GetGLProcAddress("glStencilOpSeparate")); |
| 344 fn.glStencilStrokePathNVFn = 0; |
| 345 fn.glStencilThenCoverFillPathNVFn = 0; |
| 346 fn.glStencilThenCoverStrokePathNVFn = 0; |
334 fn.glTestFenceAPPLEFn = 0; | 347 fn.glTestFenceAPPLEFn = 0; |
335 fn.glTestFenceNVFn = 0; | 348 fn.glTestFenceNVFn = 0; |
336 fn.glTexImage2DFn = | 349 fn.glTexImage2DFn = |
337 reinterpret_cast<glTexImage2DProc>(GetGLProcAddress("glTexImage2D")); | 350 reinterpret_cast<glTexImage2DProc>(GetGLProcAddress("glTexImage2D")); |
338 fn.glTexImage3DFn = 0; | 351 fn.glTexImage3DFn = 0; |
339 fn.glTexParameterfFn = reinterpret_cast<glTexParameterfProc>( | 352 fn.glTexParameterfFn = reinterpret_cast<glTexParameterfProc>( |
340 GetGLProcAddress("glTexParameterf")); | 353 GetGLProcAddress("glTexParameterf")); |
341 fn.glTexParameterfvFn = reinterpret_cast<glTexParameterfvProc>( | 354 fn.glTexParameterfvFn = reinterpret_cast<glTexParameterfvProc>( |
342 GetGLProcAddress("glTexParameterfv")); | 355 GetGLProcAddress("glTexParameterfv")); |
343 fn.glTexParameteriFn = reinterpret_cast<glTexParameteriProc>( | 356 fn.glTexParameteriFn = reinterpret_cast<glTexParameteriProc>( |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 DCHECK(fn.glCopyBufferSubDataFn); | 770 DCHECK(fn.glCopyBufferSubDataFn); |
758 } | 771 } |
759 | 772 |
760 debug_fn.glCopyTexSubImage3DFn = 0; | 773 debug_fn.glCopyTexSubImage3DFn = 0; |
761 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { | 774 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { |
762 fn.glCopyTexSubImage3DFn = reinterpret_cast<glCopyTexSubImage3DProc>( | 775 fn.glCopyTexSubImage3DFn = reinterpret_cast<glCopyTexSubImage3DProc>( |
763 GetGLProcAddress("glCopyTexSubImage3D")); | 776 GetGLProcAddress("glCopyTexSubImage3D")); |
764 DCHECK(fn.glCopyTexSubImage3DFn); | 777 DCHECK(fn.glCopyTexSubImage3DFn); |
765 } | 778 } |
766 | 779 |
| 780 debug_fn.glCoverFillPathNVFn = 0; |
| 781 if (ext.b_GL_NV_path_rendering) { |
| 782 fn.glCoverFillPathNVFn = reinterpret_cast<glCoverFillPathNVProc>( |
| 783 GetGLProcAddress("glCoverFillPathNV")); |
| 784 DCHECK(fn.glCoverFillPathNVFn); |
| 785 } |
| 786 |
| 787 debug_fn.glCoverStrokePathNVFn = 0; |
| 788 if (ext.b_GL_NV_path_rendering) { |
| 789 fn.glCoverStrokePathNVFn = reinterpret_cast<glCoverStrokePathNVProc>( |
| 790 GetGLProcAddress("glCoverStrokePathNV")); |
| 791 DCHECK(fn.glCoverStrokePathNVFn); |
| 792 } |
| 793 |
767 debug_fn.glDeleteFencesAPPLEFn = 0; | 794 debug_fn.glDeleteFencesAPPLEFn = 0; |
768 if (ext.b_GL_APPLE_fence) { | 795 if (ext.b_GL_APPLE_fence) { |
769 fn.glDeleteFencesAPPLEFn = reinterpret_cast<glDeleteFencesAPPLEProc>( | 796 fn.glDeleteFencesAPPLEFn = reinterpret_cast<glDeleteFencesAPPLEProc>( |
770 GetGLProcAddress("glDeleteFencesAPPLE")); | 797 GetGLProcAddress("glDeleteFencesAPPLE")); |
771 DCHECK(fn.glDeleteFencesAPPLEFn); | 798 DCHECK(fn.glDeleteFencesAPPLEFn); |
772 } | 799 } |
773 | 800 |
774 debug_fn.glDeleteFencesNVFn = 0; | 801 debug_fn.glDeleteFencesNVFn = 0; |
775 if (ext.b_GL_NV_fence) { | 802 if (ext.b_GL_NV_fence) { |
776 fn.glDeleteFencesNVFn = reinterpret_cast<glDeleteFencesNVProc>( | 803 fn.glDeleteFencesNVFn = reinterpret_cast<glDeleteFencesNVProc>( |
777 GetGLProcAddress("glDeleteFencesNV")); | 804 GetGLProcAddress("glDeleteFencesNV")); |
778 DCHECK(fn.glDeleteFencesNVFn); | 805 DCHECK(fn.glDeleteFencesNVFn); |
779 } | 806 } |
780 | 807 |
781 debug_fn.glDeleteFramebuffersEXTFn = 0; | 808 debug_fn.glDeleteFramebuffersEXTFn = 0; |
782 if (ver->IsAtLeastGL(3u, 0u) || ver->is_es) { | 809 if (ver->IsAtLeastGL(3u, 0u) || ver->is_es) { |
783 fn.glDeleteFramebuffersEXTFn = | 810 fn.glDeleteFramebuffersEXTFn = |
784 reinterpret_cast<glDeleteFramebuffersEXTProc>( | 811 reinterpret_cast<glDeleteFramebuffersEXTProc>( |
785 GetGLProcAddress("glDeleteFramebuffers")); | 812 GetGLProcAddress("glDeleteFramebuffers")); |
786 DCHECK(fn.glDeleteFramebuffersEXTFn); | 813 DCHECK(fn.glDeleteFramebuffersEXTFn); |
787 } else if (ext.b_GL_EXT_framebuffer_object) { | 814 } else if (ext.b_GL_EXT_framebuffer_object) { |
788 fn.glDeleteFramebuffersEXTFn = | 815 fn.glDeleteFramebuffersEXTFn = |
789 reinterpret_cast<glDeleteFramebuffersEXTProc>( | 816 reinterpret_cast<glDeleteFramebuffersEXTProc>( |
790 GetGLProcAddress("glDeleteFramebuffersEXT")); | 817 GetGLProcAddress("glDeleteFramebuffersEXT")); |
791 DCHECK(fn.glDeleteFramebuffersEXTFn); | 818 DCHECK(fn.glDeleteFramebuffersEXTFn); |
792 } | 819 } |
793 | 820 |
| 821 debug_fn.glDeletePathsNVFn = 0; |
| 822 if (ext.b_GL_NV_path_rendering) { |
| 823 fn.glDeletePathsNVFn = reinterpret_cast<glDeletePathsNVProc>( |
| 824 GetGLProcAddress("glDeletePathsNV")); |
| 825 DCHECK(fn.glDeletePathsNVFn); |
| 826 } |
| 827 |
794 debug_fn.glDeleteQueriesFn = 0; | 828 debug_fn.glDeleteQueriesFn = 0; |
795 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { | 829 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { |
796 fn.glDeleteQueriesFn = reinterpret_cast<glDeleteQueriesProc>( | 830 fn.glDeleteQueriesFn = reinterpret_cast<glDeleteQueriesProc>( |
797 GetGLProcAddress("glDeleteQueries")); | 831 GetGLProcAddress("glDeleteQueries")); |
798 DCHECK(fn.glDeleteQueriesFn); | 832 DCHECK(fn.glDeleteQueriesFn); |
799 } else if (ext.b_GL_ARB_occlusion_query) { | 833 } else if (ext.b_GL_ARB_occlusion_query) { |
800 fn.glDeleteQueriesFn = reinterpret_cast<glDeleteQueriesProc>( | 834 fn.glDeleteQueriesFn = reinterpret_cast<glDeleteQueriesProc>( |
801 GetGLProcAddress("glDeleteQueriesARB")); | 835 GetGLProcAddress("glDeleteQueriesARB")); |
802 DCHECK(fn.glDeleteQueriesFn); | 836 DCHECK(fn.glDeleteQueriesFn); |
803 } else if (ext.b_GL_EXT_disjoint_timer_query || | 837 } else if (ext.b_GL_EXT_disjoint_timer_query || |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1090 if (ver->IsAtLeastGL(3u, 0u) || ver->is_es) { | 1124 if (ver->IsAtLeastGL(3u, 0u) || ver->is_es) { |
1091 fn.glGenFramebuffersEXTFn = reinterpret_cast<glGenFramebuffersEXTProc>( | 1125 fn.glGenFramebuffersEXTFn = reinterpret_cast<glGenFramebuffersEXTProc>( |
1092 GetGLProcAddress("glGenFramebuffers")); | 1126 GetGLProcAddress("glGenFramebuffers")); |
1093 DCHECK(fn.glGenFramebuffersEXTFn); | 1127 DCHECK(fn.glGenFramebuffersEXTFn); |
1094 } else if (ext.b_GL_EXT_framebuffer_object) { | 1128 } else if (ext.b_GL_EXT_framebuffer_object) { |
1095 fn.glGenFramebuffersEXTFn = reinterpret_cast<glGenFramebuffersEXTProc>( | 1129 fn.glGenFramebuffersEXTFn = reinterpret_cast<glGenFramebuffersEXTProc>( |
1096 GetGLProcAddress("glGenFramebuffersEXT")); | 1130 GetGLProcAddress("glGenFramebuffersEXT")); |
1097 DCHECK(fn.glGenFramebuffersEXTFn); | 1131 DCHECK(fn.glGenFramebuffersEXTFn); |
1098 } | 1132 } |
1099 | 1133 |
| 1134 debug_fn.glGenPathsNVFn = 0; |
| 1135 if (ext.b_GL_NV_path_rendering) { |
| 1136 fn.glGenPathsNVFn = |
| 1137 reinterpret_cast<glGenPathsNVProc>(GetGLProcAddress("glGenPathsNV")); |
| 1138 DCHECK(fn.glGenPathsNVFn); |
| 1139 } |
| 1140 |
1100 debug_fn.glGenQueriesFn = 0; | 1141 debug_fn.glGenQueriesFn = 0; |
1101 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { | 1142 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { |
1102 fn.glGenQueriesFn = | 1143 fn.glGenQueriesFn = |
1103 reinterpret_cast<glGenQueriesProc>(GetGLProcAddress("glGenQueries")); | 1144 reinterpret_cast<glGenQueriesProc>(GetGLProcAddress("glGenQueries")); |
1104 DCHECK(fn.glGenQueriesFn); | 1145 DCHECK(fn.glGenQueriesFn); |
1105 } else if (ext.b_GL_ARB_occlusion_query) { | 1146 } else if (ext.b_GL_ARB_occlusion_query) { |
1106 fn.glGenQueriesFn = | 1147 fn.glGenQueriesFn = |
1107 reinterpret_cast<glGenQueriesProc>(GetGLProcAddress("glGenQueriesARB")); | 1148 reinterpret_cast<glGenQueriesProc>(GetGLProcAddress("glGenQueriesARB")); |
1108 DCHECK(fn.glGenQueriesFn); | 1149 DCHECK(fn.glGenQueriesFn); |
1109 } else if (ext.b_GL_EXT_disjoint_timer_query || | 1150 } else if (ext.b_GL_EXT_disjoint_timer_query || |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1484 if (ver->IsAtLeastGL(3u, 0u) || ver->is_es) { | 1525 if (ver->IsAtLeastGL(3u, 0u) || ver->is_es) { |
1485 fn.glIsFramebufferEXTFn = reinterpret_cast<glIsFramebufferEXTProc>( | 1526 fn.glIsFramebufferEXTFn = reinterpret_cast<glIsFramebufferEXTProc>( |
1486 GetGLProcAddress("glIsFramebuffer")); | 1527 GetGLProcAddress("glIsFramebuffer")); |
1487 DCHECK(fn.glIsFramebufferEXTFn); | 1528 DCHECK(fn.glIsFramebufferEXTFn); |
1488 } else if (ext.b_GL_EXT_framebuffer_object) { | 1529 } else if (ext.b_GL_EXT_framebuffer_object) { |
1489 fn.glIsFramebufferEXTFn = reinterpret_cast<glIsFramebufferEXTProc>( | 1530 fn.glIsFramebufferEXTFn = reinterpret_cast<glIsFramebufferEXTProc>( |
1490 GetGLProcAddress("glIsFramebufferEXT")); | 1531 GetGLProcAddress("glIsFramebufferEXT")); |
1491 DCHECK(fn.glIsFramebufferEXTFn); | 1532 DCHECK(fn.glIsFramebufferEXTFn); |
1492 } | 1533 } |
1493 | 1534 |
| 1535 debug_fn.glIsPathNVFn = 0; |
| 1536 if (ext.b_GL_NV_path_rendering) { |
| 1537 fn.glIsPathNVFn = |
| 1538 reinterpret_cast<glIsPathNVProc>(GetGLProcAddress("glIsPathNV")); |
| 1539 DCHECK(fn.glIsPathNVFn); |
| 1540 } |
| 1541 |
1494 debug_fn.glIsQueryFn = 0; | 1542 debug_fn.glIsQueryFn = 0; |
1495 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { | 1543 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { |
1496 fn.glIsQueryFn = | 1544 fn.glIsQueryFn = |
1497 reinterpret_cast<glIsQueryProc>(GetGLProcAddress("glIsQuery")); | 1545 reinterpret_cast<glIsQueryProc>(GetGLProcAddress("glIsQuery")); |
1498 DCHECK(fn.glIsQueryFn); | 1546 DCHECK(fn.glIsQueryFn); |
1499 } else if (ext.b_GL_ARB_occlusion_query) { | 1547 } else if (ext.b_GL_ARB_occlusion_query) { |
1500 fn.glIsQueryFn = | 1548 fn.glIsQueryFn = |
1501 reinterpret_cast<glIsQueryProc>(GetGLProcAddress("glIsQueryARB")); | 1549 reinterpret_cast<glIsQueryProc>(GetGLProcAddress("glIsQueryARB")); |
1502 DCHECK(fn.glIsQueryFn); | 1550 DCHECK(fn.glIsQueryFn); |
1503 } else if (ext.b_GL_EXT_disjoint_timer_query || | 1551 } else if (ext.b_GL_EXT_disjoint_timer_query || |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1587 } | 1635 } |
1588 | 1636 |
1589 debug_fn.glMatrixLoadIdentityEXTFn = 0; | 1637 debug_fn.glMatrixLoadIdentityEXTFn = 0; |
1590 if (ext.b_GL_EXT_direct_state_access || ext.b_GL_NV_path_rendering) { | 1638 if (ext.b_GL_EXT_direct_state_access || ext.b_GL_NV_path_rendering) { |
1591 fn.glMatrixLoadIdentityEXTFn = | 1639 fn.glMatrixLoadIdentityEXTFn = |
1592 reinterpret_cast<glMatrixLoadIdentityEXTProc>( | 1640 reinterpret_cast<glMatrixLoadIdentityEXTProc>( |
1593 GetGLProcAddress("glMatrixLoadIdentityEXT")); | 1641 GetGLProcAddress("glMatrixLoadIdentityEXT")); |
1594 DCHECK(fn.glMatrixLoadIdentityEXTFn); | 1642 DCHECK(fn.glMatrixLoadIdentityEXTFn); |
1595 } | 1643 } |
1596 | 1644 |
| 1645 debug_fn.glPathCommandsNVFn = 0; |
| 1646 if (ext.b_GL_NV_path_rendering) { |
| 1647 fn.glPathCommandsNVFn = reinterpret_cast<glPathCommandsNVProc>( |
| 1648 GetGLProcAddress("glPathCommandsNV")); |
| 1649 DCHECK(fn.glPathCommandsNVFn); |
| 1650 } |
| 1651 |
| 1652 debug_fn.glPathParameterfNVFn = 0; |
| 1653 if (ext.b_GL_NV_path_rendering) { |
| 1654 fn.glPathParameterfNVFn = reinterpret_cast<glPathParameterfNVProc>( |
| 1655 GetGLProcAddress("glPathParameterfNV")); |
| 1656 DCHECK(fn.glPathParameterfNVFn); |
| 1657 } |
| 1658 |
| 1659 debug_fn.glPathParameteriNVFn = 0; |
| 1660 if (ext.b_GL_NV_path_rendering) { |
| 1661 fn.glPathParameteriNVFn = reinterpret_cast<glPathParameteriNVProc>( |
| 1662 GetGLProcAddress("glPathParameteriNV")); |
| 1663 DCHECK(fn.glPathParameteriNVFn); |
| 1664 } |
| 1665 |
| 1666 debug_fn.glPathStencilFuncNVFn = 0; |
| 1667 if (ext.b_GL_NV_path_rendering) { |
| 1668 fn.glPathStencilFuncNVFn = reinterpret_cast<glPathStencilFuncNVProc>( |
| 1669 GetGLProcAddress("glPathStencilFuncNV")); |
| 1670 DCHECK(fn.glPathStencilFuncNVFn); |
| 1671 } |
| 1672 |
1597 debug_fn.glPauseTransformFeedbackFn = 0; | 1673 debug_fn.glPauseTransformFeedbackFn = 0; |
1598 if (ver->IsAtLeastGLES(3u, 0u) || ver->IsAtLeastGL(4u, 0u)) { | 1674 if (ver->IsAtLeastGLES(3u, 0u) || ver->IsAtLeastGL(4u, 0u)) { |
1599 fn.glPauseTransformFeedbackFn = | 1675 fn.glPauseTransformFeedbackFn = |
1600 reinterpret_cast<glPauseTransformFeedbackProc>( | 1676 reinterpret_cast<glPauseTransformFeedbackProc>( |
1601 GetGLProcAddress("glPauseTransformFeedback")); | 1677 GetGLProcAddress("glPauseTransformFeedback")); |
1602 DCHECK(fn.glPauseTransformFeedbackFn); | 1678 DCHECK(fn.glPauseTransformFeedbackFn); |
1603 } | 1679 } |
1604 | 1680 |
1605 debug_fn.glPointParameteriFn = 0; | 1681 debug_fn.glPointParameteriFn = 0; |
1606 if (!ver->is_es) { | 1682 if (!ver->is_es) { |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1765 DCHECK(fn.glSetFenceNVFn); | 1841 DCHECK(fn.glSetFenceNVFn); |
1766 } | 1842 } |
1767 | 1843 |
1768 debug_fn.glShaderBinaryFn = 0; | 1844 debug_fn.glShaderBinaryFn = 0; |
1769 if (ver->IsAtLeastGL(4u, 1u) || ver->is_es) { | 1845 if (ver->IsAtLeastGL(4u, 1u) || ver->is_es) { |
1770 fn.glShaderBinaryFn = reinterpret_cast<glShaderBinaryProc>( | 1846 fn.glShaderBinaryFn = reinterpret_cast<glShaderBinaryProc>( |
1771 GetGLProcAddress("glShaderBinary")); | 1847 GetGLProcAddress("glShaderBinary")); |
1772 DCHECK(fn.glShaderBinaryFn); | 1848 DCHECK(fn.glShaderBinaryFn); |
1773 } | 1849 } |
1774 | 1850 |
| 1851 debug_fn.glStencilFillPathNVFn = 0; |
| 1852 if (ext.b_GL_NV_path_rendering) { |
| 1853 fn.glStencilFillPathNVFn = reinterpret_cast<glStencilFillPathNVProc>( |
| 1854 GetGLProcAddress("glStencilFillPathNV")); |
| 1855 DCHECK(fn.glStencilFillPathNVFn); |
| 1856 } |
| 1857 |
| 1858 debug_fn.glStencilStrokePathNVFn = 0; |
| 1859 if (ext.b_GL_NV_path_rendering) { |
| 1860 fn.glStencilStrokePathNVFn = reinterpret_cast<glStencilStrokePathNVProc>( |
| 1861 GetGLProcAddress("glStencilStrokePathNV")); |
| 1862 DCHECK(fn.glStencilStrokePathNVFn); |
| 1863 } |
| 1864 |
| 1865 debug_fn.glStencilThenCoverFillPathNVFn = 0; |
| 1866 if (ext.b_GL_NV_path_rendering) { |
| 1867 fn.glStencilThenCoverFillPathNVFn = |
| 1868 reinterpret_cast<glStencilThenCoverFillPathNVProc>( |
| 1869 GetGLProcAddress("glStencilThenCoverFillPathNV")); |
| 1870 } |
| 1871 |
| 1872 debug_fn.glStencilThenCoverStrokePathNVFn = 0; |
| 1873 if (ext.b_GL_NV_path_rendering) { |
| 1874 fn.glStencilThenCoverStrokePathNVFn = |
| 1875 reinterpret_cast<glStencilThenCoverStrokePathNVProc>( |
| 1876 GetGLProcAddress("glStencilThenCoverStrokePathNV")); |
| 1877 } |
| 1878 |
1775 debug_fn.glTestFenceAPPLEFn = 0; | 1879 debug_fn.glTestFenceAPPLEFn = 0; |
1776 if (ext.b_GL_APPLE_fence) { | 1880 if (ext.b_GL_APPLE_fence) { |
1777 fn.glTestFenceAPPLEFn = reinterpret_cast<glTestFenceAPPLEProc>( | 1881 fn.glTestFenceAPPLEFn = reinterpret_cast<glTestFenceAPPLEProc>( |
1778 GetGLProcAddress("glTestFenceAPPLE")); | 1882 GetGLProcAddress("glTestFenceAPPLE")); |
1779 DCHECK(fn.glTestFenceAPPLEFn); | 1883 DCHECK(fn.glTestFenceAPPLEFn); |
1780 } | 1884 } |
1781 | 1885 |
1782 debug_fn.glTestFenceNVFn = 0; | 1886 debug_fn.glTestFenceNVFn = 0; |
1783 if (ext.b_GL_NV_fence) { | 1887 if (ext.b_GL_NV_fence) { |
1784 fn.glTestFenceNVFn = | 1888 fn.glTestFenceNVFn = |
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2501 GLsizei height) { | 2605 GLsizei height) { |
2502 GL_SERVICE_LOG("glCopyTexSubImage3D" | 2606 GL_SERVICE_LOG("glCopyTexSubImage3D" |
2503 << "(" << GLEnums::GetStringEnum(target) << ", " << level | 2607 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
2504 << ", " << xoffset << ", " << yoffset << ", " << zoffset | 2608 << ", " << xoffset << ", " << yoffset << ", " << zoffset |
2505 << ", " << x << ", " << y << ", " << width << ", " << height | 2609 << ", " << x << ", " << y << ", " << width << ", " << height |
2506 << ")"); | 2610 << ")"); |
2507 g_driver_gl.debug_fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, | 2611 g_driver_gl.debug_fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, |
2508 zoffset, x, y, width, height); | 2612 zoffset, x, y, width, height); |
2509 } | 2613 } |
2510 | 2614 |
| 2615 static void GL_BINDING_CALL |
| 2616 Debug_glCoverFillPathNV(GLuint path, GLenum coverMode) { |
| 2617 GL_SERVICE_LOG("glCoverFillPathNV" |
| 2618 << "(" << path << ", " << GLEnums::GetStringEnum(coverMode) |
| 2619 << ")"); |
| 2620 g_driver_gl.debug_fn.glCoverFillPathNVFn(path, coverMode); |
| 2621 } |
| 2622 |
| 2623 static void GL_BINDING_CALL |
| 2624 Debug_glCoverStrokePathNV(GLuint name, GLenum coverMode) { |
| 2625 GL_SERVICE_LOG("glCoverStrokePathNV" |
| 2626 << "(" << name << ", " << GLEnums::GetStringEnum(coverMode) |
| 2627 << ")"); |
| 2628 g_driver_gl.debug_fn.glCoverStrokePathNVFn(name, coverMode); |
| 2629 } |
| 2630 |
2511 static GLuint GL_BINDING_CALL Debug_glCreateProgram(void) { | 2631 static GLuint GL_BINDING_CALL Debug_glCreateProgram(void) { |
2512 GL_SERVICE_LOG("glCreateProgram" | 2632 GL_SERVICE_LOG("glCreateProgram" |
2513 << "(" | 2633 << "(" |
2514 << ")"); | 2634 << ")"); |
2515 GLuint result = g_driver_gl.debug_fn.glCreateProgramFn(); | 2635 GLuint result = g_driver_gl.debug_fn.glCreateProgramFn(); |
2516 GL_SERVICE_LOG("GL_RESULT: " << result); | 2636 GL_SERVICE_LOG("GL_RESULT: " << result); |
2517 return result; | 2637 return result; |
2518 } | 2638 } |
2519 | 2639 |
2520 static GLuint GL_BINDING_CALL Debug_glCreateShader(GLenum type) { | 2640 static GLuint GL_BINDING_CALL Debug_glCreateShader(GLenum type) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2556 } | 2676 } |
2557 | 2677 |
2558 static void GL_BINDING_CALL | 2678 static void GL_BINDING_CALL |
2559 Debug_glDeleteFramebuffersEXT(GLsizei n, const GLuint* framebuffers) { | 2679 Debug_glDeleteFramebuffersEXT(GLsizei n, const GLuint* framebuffers) { |
2560 GL_SERVICE_LOG("glDeleteFramebuffersEXT" | 2680 GL_SERVICE_LOG("glDeleteFramebuffersEXT" |
2561 << "(" << n << ", " << static_cast<const void*>(framebuffers) | 2681 << "(" << n << ", " << static_cast<const void*>(framebuffers) |
2562 << ")"); | 2682 << ")"); |
2563 g_driver_gl.debug_fn.glDeleteFramebuffersEXTFn(n, framebuffers); | 2683 g_driver_gl.debug_fn.glDeleteFramebuffersEXTFn(n, framebuffers); |
2564 } | 2684 } |
2565 | 2685 |
| 2686 static void GL_BINDING_CALL Debug_glDeletePathsNV(GLuint path, GLsizei range) { |
| 2687 GL_SERVICE_LOG("glDeletePathsNV" |
| 2688 << "(" << path << ", " << range << ")"); |
| 2689 g_driver_gl.debug_fn.glDeletePathsNVFn(path, range); |
| 2690 } |
| 2691 |
2566 static void GL_BINDING_CALL Debug_glDeleteProgram(GLuint program) { | 2692 static void GL_BINDING_CALL Debug_glDeleteProgram(GLuint program) { |
2567 GL_SERVICE_LOG("glDeleteProgram" | 2693 GL_SERVICE_LOG("glDeleteProgram" |
2568 << "(" << program << ")"); | 2694 << "(" << program << ")"); |
2569 g_driver_gl.debug_fn.glDeleteProgramFn(program); | 2695 g_driver_gl.debug_fn.glDeleteProgramFn(program); |
2570 } | 2696 } |
2571 | 2697 |
2572 static void GL_BINDING_CALL | 2698 static void GL_BINDING_CALL |
2573 Debug_glDeleteQueries(GLsizei n, const GLuint* ids) { | 2699 Debug_glDeleteQueries(GLsizei n, const GLuint* ids) { |
2574 GL_SERVICE_LOG("glDeleteQueries" | 2700 GL_SERVICE_LOG("glDeleteQueries" |
2575 << "(" << n << ", " << static_cast<const void*>(ids) << ")"); | 2701 << "(" << n << ", " << static_cast<const void*>(ids) << ")"); |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2949 } | 3075 } |
2950 | 3076 |
2951 static void GL_BINDING_CALL | 3077 static void GL_BINDING_CALL |
2952 Debug_glGenFramebuffersEXT(GLsizei n, GLuint* framebuffers) { | 3078 Debug_glGenFramebuffersEXT(GLsizei n, GLuint* framebuffers) { |
2953 GL_SERVICE_LOG("glGenFramebuffersEXT" | 3079 GL_SERVICE_LOG("glGenFramebuffersEXT" |
2954 << "(" << n << ", " << static_cast<const void*>(framebuffers) | 3080 << "(" << n << ", " << static_cast<const void*>(framebuffers) |
2955 << ")"); | 3081 << ")"); |
2956 g_driver_gl.debug_fn.glGenFramebuffersEXTFn(n, framebuffers); | 3082 g_driver_gl.debug_fn.glGenFramebuffersEXTFn(n, framebuffers); |
2957 } | 3083 } |
2958 | 3084 |
| 3085 static GLuint GL_BINDING_CALL Debug_glGenPathsNV(GLsizei range) { |
| 3086 GL_SERVICE_LOG("glGenPathsNV" |
| 3087 << "(" << range << ")"); |
| 3088 GLuint result = g_driver_gl.debug_fn.glGenPathsNVFn(range); |
| 3089 GL_SERVICE_LOG("GL_RESULT: " << result); |
| 3090 return result; |
| 3091 } |
| 3092 |
2959 static void GL_BINDING_CALL Debug_glGenQueries(GLsizei n, GLuint* ids) { | 3093 static void GL_BINDING_CALL Debug_glGenQueries(GLsizei n, GLuint* ids) { |
2960 GL_SERVICE_LOG("glGenQueries" | 3094 GL_SERVICE_LOG("glGenQueries" |
2961 << "(" << n << ", " << static_cast<const void*>(ids) << ")"); | 3095 << "(" << n << ", " << static_cast<const void*>(ids) << ")"); |
2962 g_driver_gl.debug_fn.glGenQueriesFn(n, ids); | 3096 g_driver_gl.debug_fn.glGenQueriesFn(n, ids); |
2963 } | 3097 } |
2964 | 3098 |
2965 static void GL_BINDING_CALL | 3099 static void GL_BINDING_CALL |
2966 Debug_glGenRenderbuffersEXT(GLsizei n, GLuint* renderbuffers) { | 3100 Debug_glGenRenderbuffersEXT(GLsizei n, GLuint* renderbuffers) { |
2967 GL_SERVICE_LOG("glGenRenderbuffersEXT" | 3101 GL_SERVICE_LOG("glGenRenderbuffersEXT" |
2968 << "(" << n << ", " << static_cast<const void*>(renderbuffers) | 3102 << "(" << n << ", " << static_cast<const void*>(renderbuffers) |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3631 } | 3765 } |
3632 | 3766 |
3633 static GLboolean GL_BINDING_CALL Debug_glIsFramebufferEXT(GLuint framebuffer) { | 3767 static GLboolean GL_BINDING_CALL Debug_glIsFramebufferEXT(GLuint framebuffer) { |
3634 GL_SERVICE_LOG("glIsFramebufferEXT" | 3768 GL_SERVICE_LOG("glIsFramebufferEXT" |
3635 << "(" << framebuffer << ")"); | 3769 << "(" << framebuffer << ")"); |
3636 GLboolean result = g_driver_gl.debug_fn.glIsFramebufferEXTFn(framebuffer); | 3770 GLboolean result = g_driver_gl.debug_fn.glIsFramebufferEXTFn(framebuffer); |
3637 GL_SERVICE_LOG("GL_RESULT: " << result); | 3771 GL_SERVICE_LOG("GL_RESULT: " << result); |
3638 return result; | 3772 return result; |
3639 } | 3773 } |
3640 | 3774 |
| 3775 static GLboolean GL_BINDING_CALL Debug_glIsPathNV(GLuint path) { |
| 3776 GL_SERVICE_LOG("glIsPathNV" |
| 3777 << "(" << path << ")"); |
| 3778 GLboolean result = g_driver_gl.debug_fn.glIsPathNVFn(path); |
| 3779 GL_SERVICE_LOG("GL_RESULT: " << result); |
| 3780 return result; |
| 3781 } |
| 3782 |
3641 static GLboolean GL_BINDING_CALL Debug_glIsProgram(GLuint program) { | 3783 static GLboolean GL_BINDING_CALL Debug_glIsProgram(GLuint program) { |
3642 GL_SERVICE_LOG("glIsProgram" | 3784 GL_SERVICE_LOG("glIsProgram" |
3643 << "(" << program << ")"); | 3785 << "(" << program << ")"); |
3644 GLboolean result = g_driver_gl.debug_fn.glIsProgramFn(program); | 3786 GLboolean result = g_driver_gl.debug_fn.glIsProgramFn(program); |
3645 GL_SERVICE_LOG("GL_RESULT: " << result); | 3787 GL_SERVICE_LOG("GL_RESULT: " << result); |
3646 return result; | 3788 return result; |
3647 } | 3789 } |
3648 | 3790 |
3649 static GLboolean GL_BINDING_CALL Debug_glIsQuery(GLuint query) { | 3791 static GLboolean GL_BINDING_CALL Debug_glIsQuery(GLuint query) { |
3650 GL_SERVICE_LOG("glIsQuery" | 3792 GL_SERVICE_LOG("glIsQuery" |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3752 << static_cast<const void*>(m) << ")"); | 3894 << static_cast<const void*>(m) << ")"); |
3753 g_driver_gl.debug_fn.glMatrixLoadfEXTFn(matrixMode, m); | 3895 g_driver_gl.debug_fn.glMatrixLoadfEXTFn(matrixMode, m); |
3754 } | 3896 } |
3755 | 3897 |
3756 static void GL_BINDING_CALL Debug_glMatrixLoadIdentityEXT(GLenum matrixMode) { | 3898 static void GL_BINDING_CALL Debug_glMatrixLoadIdentityEXT(GLenum matrixMode) { |
3757 GL_SERVICE_LOG("glMatrixLoadIdentityEXT" | 3899 GL_SERVICE_LOG("glMatrixLoadIdentityEXT" |
3758 << "(" << GLEnums::GetStringEnum(matrixMode) << ")"); | 3900 << "(" << GLEnums::GetStringEnum(matrixMode) << ")"); |
3759 g_driver_gl.debug_fn.glMatrixLoadIdentityEXTFn(matrixMode); | 3901 g_driver_gl.debug_fn.glMatrixLoadIdentityEXTFn(matrixMode); |
3760 } | 3902 } |
3761 | 3903 |
| 3904 static void GL_BINDING_CALL Debug_glPathCommandsNV(GLuint path, |
| 3905 GLsizei numCommands, |
| 3906 const GLubyte* commands, |
| 3907 GLsizei numCoords, |
| 3908 GLenum coordType, |
| 3909 const GLvoid* coords) { |
| 3910 GL_SERVICE_LOG("glPathCommandsNV" |
| 3911 << "(" << path << ", " << numCommands << ", " |
| 3912 << static_cast<const void*>(commands) << ", " << numCoords |
| 3913 << ", " << GLEnums::GetStringEnum(coordType) << ", " |
| 3914 << static_cast<const void*>(coords) << ")"); |
| 3915 g_driver_gl.debug_fn.glPathCommandsNVFn(path, numCommands, commands, |
| 3916 numCoords, coordType, coords); |
| 3917 } |
| 3918 |
| 3919 static void GL_BINDING_CALL |
| 3920 Debug_glPathParameterfNV(GLuint path, GLenum pname, GLfloat value) { |
| 3921 GL_SERVICE_LOG("glPathParameterfNV" |
| 3922 << "(" << path << ", " << GLEnums::GetStringEnum(pname) << ", " |
| 3923 << value << ")"); |
| 3924 g_driver_gl.debug_fn.glPathParameterfNVFn(path, pname, value); |
| 3925 } |
| 3926 |
| 3927 static void GL_BINDING_CALL |
| 3928 Debug_glPathParameteriNV(GLuint path, GLenum pname, GLint value) { |
| 3929 GL_SERVICE_LOG("glPathParameteriNV" |
| 3930 << "(" << path << ", " << GLEnums::GetStringEnum(pname) << ", " |
| 3931 << value << ")"); |
| 3932 g_driver_gl.debug_fn.glPathParameteriNVFn(path, pname, value); |
| 3933 } |
| 3934 |
| 3935 static void GL_BINDING_CALL |
| 3936 Debug_glPathStencilFuncNV(GLenum func, GLint ref, GLuint mask) { |
| 3937 GL_SERVICE_LOG("glPathStencilFuncNV" |
| 3938 << "(" << GLEnums::GetStringEnum(func) << ", " << ref << ", " |
| 3939 << mask << ")"); |
| 3940 g_driver_gl.debug_fn.glPathStencilFuncNVFn(func, ref, mask); |
| 3941 } |
| 3942 |
3762 static void GL_BINDING_CALL Debug_glPauseTransformFeedback(void) { | 3943 static void GL_BINDING_CALL Debug_glPauseTransformFeedback(void) { |
3763 GL_SERVICE_LOG("glPauseTransformFeedback" | 3944 GL_SERVICE_LOG("glPauseTransformFeedback" |
3764 << "(" | 3945 << "(" |
3765 << ")"); | 3946 << ")"); |
3766 g_driver_gl.debug_fn.glPauseTransformFeedbackFn(); | 3947 g_driver_gl.debug_fn.glPauseTransformFeedbackFn(); |
3767 } | 3948 } |
3768 | 3949 |
3769 static void GL_BINDING_CALL Debug_glPixelStorei(GLenum pname, GLint param) { | 3950 static void GL_BINDING_CALL Debug_glPixelStorei(GLenum pname, GLint param) { |
3770 GL_SERVICE_LOG("glPixelStorei" | 3951 GL_SERVICE_LOG("glPixelStorei" |
3771 << "(" << GLEnums::GetStringEnum(pname) << ", " << param | 3952 << "(" << GLEnums::GetStringEnum(pname) << ", " << param |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4026 GL_SERVICE_LOG(" " << ii << ": ---\n" << str[ii] << "\n---"); | 4207 GL_SERVICE_LOG(" " << ii << ": ---\n" << str[ii] << "\n---"); |
4027 } | 4208 } |
4028 } else { | 4209 } else { |
4029 GL_SERVICE_LOG(" " << ii << ": NULL"); | 4210 GL_SERVICE_LOG(" " << ii << ": NULL"); |
4030 } | 4211 } |
4031 } | 4212 } |
4032 }); | 4213 }); |
4033 } | 4214 } |
4034 | 4215 |
4035 static void GL_BINDING_CALL | 4216 static void GL_BINDING_CALL |
| 4217 Debug_glStencilFillPathNV(GLuint path, GLenum fillMode, GLuint mask) { |
| 4218 GL_SERVICE_LOG("glStencilFillPathNV" |
| 4219 << "(" << path << ", " << GLEnums::GetStringEnum(fillMode) |
| 4220 << ", " << mask << ")"); |
| 4221 g_driver_gl.debug_fn.glStencilFillPathNVFn(path, fillMode, mask); |
| 4222 } |
| 4223 |
| 4224 static void GL_BINDING_CALL |
4036 Debug_glStencilFunc(GLenum func, GLint ref, GLuint mask) { | 4225 Debug_glStencilFunc(GLenum func, GLint ref, GLuint mask) { |
4037 GL_SERVICE_LOG("glStencilFunc" | 4226 GL_SERVICE_LOG("glStencilFunc" |
4038 << "(" << GLEnums::GetStringEnum(func) << ", " << ref << ", " | 4227 << "(" << GLEnums::GetStringEnum(func) << ", " << ref << ", " |
4039 << mask << ")"); | 4228 << mask << ")"); |
4040 g_driver_gl.debug_fn.glStencilFuncFn(func, ref, mask); | 4229 g_driver_gl.debug_fn.glStencilFuncFn(func, ref, mask); |
4041 } | 4230 } |
4042 | 4231 |
4043 static void GL_BINDING_CALL | 4232 static void GL_BINDING_CALL |
4044 Debug_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) { | 4233 Debug_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) { |
4045 GL_SERVICE_LOG("glStencilFuncSeparate" | 4234 GL_SERVICE_LOG("glStencilFuncSeparate" |
(...skipping 30 matching lines...) Expand all Loading... |
4076 GLenum zfail, | 4265 GLenum zfail, |
4077 GLenum zpass) { | 4266 GLenum zpass) { |
4078 GL_SERVICE_LOG("glStencilOpSeparate" | 4267 GL_SERVICE_LOG("glStencilOpSeparate" |
4079 << "(" << GLEnums::GetStringEnum(face) << ", " | 4268 << "(" << GLEnums::GetStringEnum(face) << ", " |
4080 << GLEnums::GetStringEnum(fail) << ", " | 4269 << GLEnums::GetStringEnum(fail) << ", " |
4081 << GLEnums::GetStringEnum(zfail) << ", " | 4270 << GLEnums::GetStringEnum(zfail) << ", " |
4082 << GLEnums::GetStringEnum(zpass) << ")"); | 4271 << GLEnums::GetStringEnum(zpass) << ")"); |
4083 g_driver_gl.debug_fn.glStencilOpSeparateFn(face, fail, zfail, zpass); | 4272 g_driver_gl.debug_fn.glStencilOpSeparateFn(face, fail, zfail, zpass); |
4084 } | 4273 } |
4085 | 4274 |
| 4275 static void GL_BINDING_CALL |
| 4276 Debug_glStencilStrokePathNV(GLuint path, GLint reference, GLuint mask) { |
| 4277 GL_SERVICE_LOG("glStencilStrokePathNV" |
| 4278 << "(" << path << ", " << reference << ", " << mask << ")"); |
| 4279 g_driver_gl.debug_fn.glStencilStrokePathNVFn(path, reference, mask); |
| 4280 } |
| 4281 |
| 4282 static void GL_BINDING_CALL |
| 4283 Debug_glStencilThenCoverFillPathNV(GLuint path, |
| 4284 GLenum fillMode, |
| 4285 GLuint mask, |
| 4286 GLenum coverMode) { |
| 4287 GL_SERVICE_LOG("glStencilThenCoverFillPathNV" |
| 4288 << "(" << path << ", " << GLEnums::GetStringEnum(fillMode) |
| 4289 << ", " << mask << ", " << GLEnums::GetStringEnum(coverMode) |
| 4290 << ")"); |
| 4291 g_driver_gl.debug_fn.glStencilThenCoverFillPathNVFn(path, fillMode, mask, |
| 4292 coverMode); |
| 4293 } |
| 4294 |
| 4295 static void GL_BINDING_CALL |
| 4296 Debug_glStencilThenCoverStrokePathNV(GLuint path, |
| 4297 GLint reference, |
| 4298 GLuint mask, |
| 4299 GLenum coverMode) { |
| 4300 GL_SERVICE_LOG("glStencilThenCoverStrokePathNV" |
| 4301 << "(" << path << ", " << reference << ", " << mask << ", " |
| 4302 << GLEnums::GetStringEnum(coverMode) << ")"); |
| 4303 g_driver_gl.debug_fn.glStencilThenCoverStrokePathNVFn(path, reference, mask, |
| 4304 coverMode); |
| 4305 } |
| 4306 |
4086 static GLboolean GL_BINDING_CALL Debug_glTestFenceAPPLE(GLuint fence) { | 4307 static GLboolean GL_BINDING_CALL Debug_glTestFenceAPPLE(GLuint fence) { |
4087 GL_SERVICE_LOG("glTestFenceAPPLE" | 4308 GL_SERVICE_LOG("glTestFenceAPPLE" |
4088 << "(" << fence << ")"); | 4309 << "(" << fence << ")"); |
4089 GLboolean result = g_driver_gl.debug_fn.glTestFenceAPPLEFn(fence); | 4310 GLboolean result = g_driver_gl.debug_fn.glTestFenceAPPLEFn(fence); |
4090 GL_SERVICE_LOG("GL_RESULT: " << result); | 4311 GL_SERVICE_LOG("GL_RESULT: " << result); |
4091 return result; | 4312 return result; |
4092 } | 4313 } |
4093 | 4314 |
4094 static GLboolean GL_BINDING_CALL Debug_glTestFenceNV(GLuint fence) { | 4315 static GLboolean GL_BINDING_CALL Debug_glTestFenceNV(GLuint fence) { |
4095 GL_SERVICE_LOG("glTestFenceNV" | 4316 GL_SERVICE_LOG("glTestFenceNV" |
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4909 fn.glCopyTexImage2DFn = Debug_glCopyTexImage2D; | 5130 fn.glCopyTexImage2DFn = Debug_glCopyTexImage2D; |
4910 } | 5131 } |
4911 if (!debug_fn.glCopyTexSubImage2DFn) { | 5132 if (!debug_fn.glCopyTexSubImage2DFn) { |
4912 debug_fn.glCopyTexSubImage2DFn = fn.glCopyTexSubImage2DFn; | 5133 debug_fn.glCopyTexSubImage2DFn = fn.glCopyTexSubImage2DFn; |
4913 fn.glCopyTexSubImage2DFn = Debug_glCopyTexSubImage2D; | 5134 fn.glCopyTexSubImage2DFn = Debug_glCopyTexSubImage2D; |
4914 } | 5135 } |
4915 if (!debug_fn.glCopyTexSubImage3DFn) { | 5136 if (!debug_fn.glCopyTexSubImage3DFn) { |
4916 debug_fn.glCopyTexSubImage3DFn = fn.glCopyTexSubImage3DFn; | 5137 debug_fn.glCopyTexSubImage3DFn = fn.glCopyTexSubImage3DFn; |
4917 fn.glCopyTexSubImage3DFn = Debug_glCopyTexSubImage3D; | 5138 fn.glCopyTexSubImage3DFn = Debug_glCopyTexSubImage3D; |
4918 } | 5139 } |
| 5140 if (!debug_fn.glCoverFillPathNVFn) { |
| 5141 debug_fn.glCoverFillPathNVFn = fn.glCoverFillPathNVFn; |
| 5142 fn.glCoverFillPathNVFn = Debug_glCoverFillPathNV; |
| 5143 } |
| 5144 if (!debug_fn.glCoverStrokePathNVFn) { |
| 5145 debug_fn.glCoverStrokePathNVFn = fn.glCoverStrokePathNVFn; |
| 5146 fn.glCoverStrokePathNVFn = Debug_glCoverStrokePathNV; |
| 5147 } |
4919 if (!debug_fn.glCreateProgramFn) { | 5148 if (!debug_fn.glCreateProgramFn) { |
4920 debug_fn.glCreateProgramFn = fn.glCreateProgramFn; | 5149 debug_fn.glCreateProgramFn = fn.glCreateProgramFn; |
4921 fn.glCreateProgramFn = Debug_glCreateProgram; | 5150 fn.glCreateProgramFn = Debug_glCreateProgram; |
4922 } | 5151 } |
4923 if (!debug_fn.glCreateShaderFn) { | 5152 if (!debug_fn.glCreateShaderFn) { |
4924 debug_fn.glCreateShaderFn = fn.glCreateShaderFn; | 5153 debug_fn.glCreateShaderFn = fn.glCreateShaderFn; |
4925 fn.glCreateShaderFn = Debug_glCreateShader; | 5154 fn.glCreateShaderFn = Debug_glCreateShader; |
4926 } | 5155 } |
4927 if (!debug_fn.glCullFaceFn) { | 5156 if (!debug_fn.glCullFaceFn) { |
4928 debug_fn.glCullFaceFn = fn.glCullFaceFn; | 5157 debug_fn.glCullFaceFn = fn.glCullFaceFn; |
4929 fn.glCullFaceFn = Debug_glCullFace; | 5158 fn.glCullFaceFn = Debug_glCullFace; |
4930 } | 5159 } |
4931 if (!debug_fn.glDeleteBuffersARBFn) { | 5160 if (!debug_fn.glDeleteBuffersARBFn) { |
4932 debug_fn.glDeleteBuffersARBFn = fn.glDeleteBuffersARBFn; | 5161 debug_fn.glDeleteBuffersARBFn = fn.glDeleteBuffersARBFn; |
4933 fn.glDeleteBuffersARBFn = Debug_glDeleteBuffersARB; | 5162 fn.glDeleteBuffersARBFn = Debug_glDeleteBuffersARB; |
4934 } | 5163 } |
4935 if (!debug_fn.glDeleteFencesAPPLEFn) { | 5164 if (!debug_fn.glDeleteFencesAPPLEFn) { |
4936 debug_fn.glDeleteFencesAPPLEFn = fn.glDeleteFencesAPPLEFn; | 5165 debug_fn.glDeleteFencesAPPLEFn = fn.glDeleteFencesAPPLEFn; |
4937 fn.glDeleteFencesAPPLEFn = Debug_glDeleteFencesAPPLE; | 5166 fn.glDeleteFencesAPPLEFn = Debug_glDeleteFencesAPPLE; |
4938 } | 5167 } |
4939 if (!debug_fn.glDeleteFencesNVFn) { | 5168 if (!debug_fn.glDeleteFencesNVFn) { |
4940 debug_fn.glDeleteFencesNVFn = fn.glDeleteFencesNVFn; | 5169 debug_fn.glDeleteFencesNVFn = fn.glDeleteFencesNVFn; |
4941 fn.glDeleteFencesNVFn = Debug_glDeleteFencesNV; | 5170 fn.glDeleteFencesNVFn = Debug_glDeleteFencesNV; |
4942 } | 5171 } |
4943 if (!debug_fn.glDeleteFramebuffersEXTFn) { | 5172 if (!debug_fn.glDeleteFramebuffersEXTFn) { |
4944 debug_fn.glDeleteFramebuffersEXTFn = fn.glDeleteFramebuffersEXTFn; | 5173 debug_fn.glDeleteFramebuffersEXTFn = fn.glDeleteFramebuffersEXTFn; |
4945 fn.glDeleteFramebuffersEXTFn = Debug_glDeleteFramebuffersEXT; | 5174 fn.glDeleteFramebuffersEXTFn = Debug_glDeleteFramebuffersEXT; |
4946 } | 5175 } |
| 5176 if (!debug_fn.glDeletePathsNVFn) { |
| 5177 debug_fn.glDeletePathsNVFn = fn.glDeletePathsNVFn; |
| 5178 fn.glDeletePathsNVFn = Debug_glDeletePathsNV; |
| 5179 } |
4947 if (!debug_fn.glDeleteProgramFn) { | 5180 if (!debug_fn.glDeleteProgramFn) { |
4948 debug_fn.glDeleteProgramFn = fn.glDeleteProgramFn; | 5181 debug_fn.glDeleteProgramFn = fn.glDeleteProgramFn; |
4949 fn.glDeleteProgramFn = Debug_glDeleteProgram; | 5182 fn.glDeleteProgramFn = Debug_glDeleteProgram; |
4950 } | 5183 } |
4951 if (!debug_fn.glDeleteQueriesFn) { | 5184 if (!debug_fn.glDeleteQueriesFn) { |
4952 debug_fn.glDeleteQueriesFn = fn.glDeleteQueriesFn; | 5185 debug_fn.glDeleteQueriesFn = fn.glDeleteQueriesFn; |
4953 fn.glDeleteQueriesFn = Debug_glDeleteQueries; | 5186 fn.glDeleteQueriesFn = Debug_glDeleteQueries; |
4954 } | 5187 } |
4955 if (!debug_fn.glDeleteRenderbuffersEXTFn) { | 5188 if (!debug_fn.glDeleteRenderbuffersEXTFn) { |
4956 debug_fn.glDeleteRenderbuffersEXTFn = fn.glDeleteRenderbuffersEXTFn; | 5189 debug_fn.glDeleteRenderbuffersEXTFn = fn.glDeleteRenderbuffersEXTFn; |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5131 fn.glGenFencesAPPLEFn = Debug_glGenFencesAPPLE; | 5364 fn.glGenFencesAPPLEFn = Debug_glGenFencesAPPLE; |
5132 } | 5365 } |
5133 if (!debug_fn.glGenFencesNVFn) { | 5366 if (!debug_fn.glGenFencesNVFn) { |
5134 debug_fn.glGenFencesNVFn = fn.glGenFencesNVFn; | 5367 debug_fn.glGenFencesNVFn = fn.glGenFencesNVFn; |
5135 fn.glGenFencesNVFn = Debug_glGenFencesNV; | 5368 fn.glGenFencesNVFn = Debug_glGenFencesNV; |
5136 } | 5369 } |
5137 if (!debug_fn.glGenFramebuffersEXTFn) { | 5370 if (!debug_fn.glGenFramebuffersEXTFn) { |
5138 debug_fn.glGenFramebuffersEXTFn = fn.glGenFramebuffersEXTFn; | 5371 debug_fn.glGenFramebuffersEXTFn = fn.glGenFramebuffersEXTFn; |
5139 fn.glGenFramebuffersEXTFn = Debug_glGenFramebuffersEXT; | 5372 fn.glGenFramebuffersEXTFn = Debug_glGenFramebuffersEXT; |
5140 } | 5373 } |
| 5374 if (!debug_fn.glGenPathsNVFn) { |
| 5375 debug_fn.glGenPathsNVFn = fn.glGenPathsNVFn; |
| 5376 fn.glGenPathsNVFn = Debug_glGenPathsNV; |
| 5377 } |
5141 if (!debug_fn.glGenQueriesFn) { | 5378 if (!debug_fn.glGenQueriesFn) { |
5142 debug_fn.glGenQueriesFn = fn.glGenQueriesFn; | 5379 debug_fn.glGenQueriesFn = fn.glGenQueriesFn; |
5143 fn.glGenQueriesFn = Debug_glGenQueries; | 5380 fn.glGenQueriesFn = Debug_glGenQueries; |
5144 } | 5381 } |
5145 if (!debug_fn.glGenRenderbuffersEXTFn) { | 5382 if (!debug_fn.glGenRenderbuffersEXTFn) { |
5146 debug_fn.glGenRenderbuffersEXTFn = fn.glGenRenderbuffersEXTFn; | 5383 debug_fn.glGenRenderbuffersEXTFn = fn.glGenRenderbuffersEXTFn; |
5147 fn.glGenRenderbuffersEXTFn = Debug_glGenRenderbuffersEXT; | 5384 fn.glGenRenderbuffersEXTFn = Debug_glGenRenderbuffersEXT; |
5148 } | 5385 } |
5149 if (!debug_fn.glGenSamplersFn) { | 5386 if (!debug_fn.glGenSamplersFn) { |
5150 debug_fn.glGenSamplersFn = fn.glGenSamplersFn; | 5387 debug_fn.glGenSamplersFn = fn.glGenSamplersFn; |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5414 fn.glIsFenceAPPLEFn = Debug_glIsFenceAPPLE; | 5651 fn.glIsFenceAPPLEFn = Debug_glIsFenceAPPLE; |
5415 } | 5652 } |
5416 if (!debug_fn.glIsFenceNVFn) { | 5653 if (!debug_fn.glIsFenceNVFn) { |
5417 debug_fn.glIsFenceNVFn = fn.glIsFenceNVFn; | 5654 debug_fn.glIsFenceNVFn = fn.glIsFenceNVFn; |
5418 fn.glIsFenceNVFn = Debug_glIsFenceNV; | 5655 fn.glIsFenceNVFn = Debug_glIsFenceNV; |
5419 } | 5656 } |
5420 if (!debug_fn.glIsFramebufferEXTFn) { | 5657 if (!debug_fn.glIsFramebufferEXTFn) { |
5421 debug_fn.glIsFramebufferEXTFn = fn.glIsFramebufferEXTFn; | 5658 debug_fn.glIsFramebufferEXTFn = fn.glIsFramebufferEXTFn; |
5422 fn.glIsFramebufferEXTFn = Debug_glIsFramebufferEXT; | 5659 fn.glIsFramebufferEXTFn = Debug_glIsFramebufferEXT; |
5423 } | 5660 } |
| 5661 if (!debug_fn.glIsPathNVFn) { |
| 5662 debug_fn.glIsPathNVFn = fn.glIsPathNVFn; |
| 5663 fn.glIsPathNVFn = Debug_glIsPathNV; |
| 5664 } |
5424 if (!debug_fn.glIsProgramFn) { | 5665 if (!debug_fn.glIsProgramFn) { |
5425 debug_fn.glIsProgramFn = fn.glIsProgramFn; | 5666 debug_fn.glIsProgramFn = fn.glIsProgramFn; |
5426 fn.glIsProgramFn = Debug_glIsProgram; | 5667 fn.glIsProgramFn = Debug_glIsProgram; |
5427 } | 5668 } |
5428 if (!debug_fn.glIsQueryFn) { | 5669 if (!debug_fn.glIsQueryFn) { |
5429 debug_fn.glIsQueryFn = fn.glIsQueryFn; | 5670 debug_fn.glIsQueryFn = fn.glIsQueryFn; |
5430 fn.glIsQueryFn = Debug_glIsQuery; | 5671 fn.glIsQueryFn = Debug_glIsQuery; |
5431 } | 5672 } |
5432 if (!debug_fn.glIsRenderbufferEXTFn) { | 5673 if (!debug_fn.glIsRenderbufferEXTFn) { |
5433 debug_fn.glIsRenderbufferEXTFn = fn.glIsRenderbufferEXTFn; | 5674 debug_fn.glIsRenderbufferEXTFn = fn.glIsRenderbufferEXTFn; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5474 fn.glMapBufferRangeFn = Debug_glMapBufferRange; | 5715 fn.glMapBufferRangeFn = Debug_glMapBufferRange; |
5475 } | 5716 } |
5476 if (!debug_fn.glMatrixLoadfEXTFn) { | 5717 if (!debug_fn.glMatrixLoadfEXTFn) { |
5477 debug_fn.glMatrixLoadfEXTFn = fn.glMatrixLoadfEXTFn; | 5718 debug_fn.glMatrixLoadfEXTFn = fn.glMatrixLoadfEXTFn; |
5478 fn.glMatrixLoadfEXTFn = Debug_glMatrixLoadfEXT; | 5719 fn.glMatrixLoadfEXTFn = Debug_glMatrixLoadfEXT; |
5479 } | 5720 } |
5480 if (!debug_fn.glMatrixLoadIdentityEXTFn) { | 5721 if (!debug_fn.glMatrixLoadIdentityEXTFn) { |
5481 debug_fn.glMatrixLoadIdentityEXTFn = fn.glMatrixLoadIdentityEXTFn; | 5722 debug_fn.glMatrixLoadIdentityEXTFn = fn.glMatrixLoadIdentityEXTFn; |
5482 fn.glMatrixLoadIdentityEXTFn = Debug_glMatrixLoadIdentityEXT; | 5723 fn.glMatrixLoadIdentityEXTFn = Debug_glMatrixLoadIdentityEXT; |
5483 } | 5724 } |
| 5725 if (!debug_fn.glPathCommandsNVFn) { |
| 5726 debug_fn.glPathCommandsNVFn = fn.glPathCommandsNVFn; |
| 5727 fn.glPathCommandsNVFn = Debug_glPathCommandsNV; |
| 5728 } |
| 5729 if (!debug_fn.glPathParameterfNVFn) { |
| 5730 debug_fn.glPathParameterfNVFn = fn.glPathParameterfNVFn; |
| 5731 fn.glPathParameterfNVFn = Debug_glPathParameterfNV; |
| 5732 } |
| 5733 if (!debug_fn.glPathParameteriNVFn) { |
| 5734 debug_fn.glPathParameteriNVFn = fn.glPathParameteriNVFn; |
| 5735 fn.glPathParameteriNVFn = Debug_glPathParameteriNV; |
| 5736 } |
| 5737 if (!debug_fn.glPathStencilFuncNVFn) { |
| 5738 debug_fn.glPathStencilFuncNVFn = fn.glPathStencilFuncNVFn; |
| 5739 fn.glPathStencilFuncNVFn = Debug_glPathStencilFuncNV; |
| 5740 } |
5484 if (!debug_fn.glPauseTransformFeedbackFn) { | 5741 if (!debug_fn.glPauseTransformFeedbackFn) { |
5485 debug_fn.glPauseTransformFeedbackFn = fn.glPauseTransformFeedbackFn; | 5742 debug_fn.glPauseTransformFeedbackFn = fn.glPauseTransformFeedbackFn; |
5486 fn.glPauseTransformFeedbackFn = Debug_glPauseTransformFeedback; | 5743 fn.glPauseTransformFeedbackFn = Debug_glPauseTransformFeedback; |
5487 } | 5744 } |
5488 if (!debug_fn.glPixelStoreiFn) { | 5745 if (!debug_fn.glPixelStoreiFn) { |
5489 debug_fn.glPixelStoreiFn = fn.glPixelStoreiFn; | 5746 debug_fn.glPixelStoreiFn = fn.glPixelStoreiFn; |
5490 fn.glPixelStoreiFn = Debug_glPixelStorei; | 5747 fn.glPixelStoreiFn = Debug_glPixelStorei; |
5491 } | 5748 } |
5492 if (!debug_fn.glPointParameteriFn) { | 5749 if (!debug_fn.glPointParameteriFn) { |
5493 debug_fn.glPointParameteriFn = fn.glPointParameteriFn; | 5750 debug_fn.glPointParameteriFn = fn.glPointParameteriFn; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5594 fn.glSetFenceNVFn = Debug_glSetFenceNV; | 5851 fn.glSetFenceNVFn = Debug_glSetFenceNV; |
5595 } | 5852 } |
5596 if (!debug_fn.glShaderBinaryFn) { | 5853 if (!debug_fn.glShaderBinaryFn) { |
5597 debug_fn.glShaderBinaryFn = fn.glShaderBinaryFn; | 5854 debug_fn.glShaderBinaryFn = fn.glShaderBinaryFn; |
5598 fn.glShaderBinaryFn = Debug_glShaderBinary; | 5855 fn.glShaderBinaryFn = Debug_glShaderBinary; |
5599 } | 5856 } |
5600 if (!debug_fn.glShaderSourceFn) { | 5857 if (!debug_fn.glShaderSourceFn) { |
5601 debug_fn.glShaderSourceFn = fn.glShaderSourceFn; | 5858 debug_fn.glShaderSourceFn = fn.glShaderSourceFn; |
5602 fn.glShaderSourceFn = Debug_glShaderSource; | 5859 fn.glShaderSourceFn = Debug_glShaderSource; |
5603 } | 5860 } |
| 5861 if (!debug_fn.glStencilFillPathNVFn) { |
| 5862 debug_fn.glStencilFillPathNVFn = fn.glStencilFillPathNVFn; |
| 5863 fn.glStencilFillPathNVFn = Debug_glStencilFillPathNV; |
| 5864 } |
5604 if (!debug_fn.glStencilFuncFn) { | 5865 if (!debug_fn.glStencilFuncFn) { |
5605 debug_fn.glStencilFuncFn = fn.glStencilFuncFn; | 5866 debug_fn.glStencilFuncFn = fn.glStencilFuncFn; |
5606 fn.glStencilFuncFn = Debug_glStencilFunc; | 5867 fn.glStencilFuncFn = Debug_glStencilFunc; |
5607 } | 5868 } |
5608 if (!debug_fn.glStencilFuncSeparateFn) { | 5869 if (!debug_fn.glStencilFuncSeparateFn) { |
5609 debug_fn.glStencilFuncSeparateFn = fn.glStencilFuncSeparateFn; | 5870 debug_fn.glStencilFuncSeparateFn = fn.glStencilFuncSeparateFn; |
5610 fn.glStencilFuncSeparateFn = Debug_glStencilFuncSeparate; | 5871 fn.glStencilFuncSeparateFn = Debug_glStencilFuncSeparate; |
5611 } | 5872 } |
5612 if (!debug_fn.glStencilMaskFn) { | 5873 if (!debug_fn.glStencilMaskFn) { |
5613 debug_fn.glStencilMaskFn = fn.glStencilMaskFn; | 5874 debug_fn.glStencilMaskFn = fn.glStencilMaskFn; |
5614 fn.glStencilMaskFn = Debug_glStencilMask; | 5875 fn.glStencilMaskFn = Debug_glStencilMask; |
5615 } | 5876 } |
5616 if (!debug_fn.glStencilMaskSeparateFn) { | 5877 if (!debug_fn.glStencilMaskSeparateFn) { |
5617 debug_fn.glStencilMaskSeparateFn = fn.glStencilMaskSeparateFn; | 5878 debug_fn.glStencilMaskSeparateFn = fn.glStencilMaskSeparateFn; |
5618 fn.glStencilMaskSeparateFn = Debug_glStencilMaskSeparate; | 5879 fn.glStencilMaskSeparateFn = Debug_glStencilMaskSeparate; |
5619 } | 5880 } |
5620 if (!debug_fn.glStencilOpFn) { | 5881 if (!debug_fn.glStencilOpFn) { |
5621 debug_fn.glStencilOpFn = fn.glStencilOpFn; | 5882 debug_fn.glStencilOpFn = fn.glStencilOpFn; |
5622 fn.glStencilOpFn = Debug_glStencilOp; | 5883 fn.glStencilOpFn = Debug_glStencilOp; |
5623 } | 5884 } |
5624 if (!debug_fn.glStencilOpSeparateFn) { | 5885 if (!debug_fn.glStencilOpSeparateFn) { |
5625 debug_fn.glStencilOpSeparateFn = fn.glStencilOpSeparateFn; | 5886 debug_fn.glStencilOpSeparateFn = fn.glStencilOpSeparateFn; |
5626 fn.glStencilOpSeparateFn = Debug_glStencilOpSeparate; | 5887 fn.glStencilOpSeparateFn = Debug_glStencilOpSeparate; |
5627 } | 5888 } |
| 5889 if (!debug_fn.glStencilStrokePathNVFn) { |
| 5890 debug_fn.glStencilStrokePathNVFn = fn.glStencilStrokePathNVFn; |
| 5891 fn.glStencilStrokePathNVFn = Debug_glStencilStrokePathNV; |
| 5892 } |
| 5893 if (!debug_fn.glStencilThenCoverFillPathNVFn) { |
| 5894 debug_fn.glStencilThenCoverFillPathNVFn = fn.glStencilThenCoverFillPathNVFn; |
| 5895 fn.glStencilThenCoverFillPathNVFn = Debug_glStencilThenCoverFillPathNV; |
| 5896 } |
| 5897 if (!debug_fn.glStencilThenCoverStrokePathNVFn) { |
| 5898 debug_fn.glStencilThenCoverStrokePathNVFn = |
| 5899 fn.glStencilThenCoverStrokePathNVFn; |
| 5900 fn.glStencilThenCoverStrokePathNVFn = Debug_glStencilThenCoverStrokePathNV; |
| 5901 } |
5628 if (!debug_fn.glTestFenceAPPLEFn) { | 5902 if (!debug_fn.glTestFenceAPPLEFn) { |
5629 debug_fn.glTestFenceAPPLEFn = fn.glTestFenceAPPLEFn; | 5903 debug_fn.glTestFenceAPPLEFn = fn.glTestFenceAPPLEFn; |
5630 fn.glTestFenceAPPLEFn = Debug_glTestFenceAPPLE; | 5904 fn.glTestFenceAPPLEFn = Debug_glTestFenceAPPLE; |
5631 } | 5905 } |
5632 if (!debug_fn.glTestFenceNVFn) { | 5906 if (!debug_fn.glTestFenceNVFn) { |
5633 debug_fn.glTestFenceNVFn = fn.glTestFenceNVFn; | 5907 debug_fn.glTestFenceNVFn = fn.glTestFenceNVFn; |
5634 fn.glTestFenceNVFn = Debug_glTestFenceNV; | 5908 fn.glTestFenceNVFn = Debug_glTestFenceNV; |
5635 } | 5909 } |
5636 if (!debug_fn.glTexImage2DFn) { | 5910 if (!debug_fn.glTexImage2DFn) { |
5637 debug_fn.glTexImage2DFn = fn.glTexImage2DFn; | 5911 debug_fn.glTexImage2DFn = fn.glTexImage2DFn; |
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6224 GLint yoffset, | 6498 GLint yoffset, |
6225 GLint zoffset, | 6499 GLint zoffset, |
6226 GLint x, | 6500 GLint x, |
6227 GLint y, | 6501 GLint y, |
6228 GLsizei width, | 6502 GLsizei width, |
6229 GLsizei height) { | 6503 GLsizei height) { |
6230 driver_->fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, | 6504 driver_->fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, |
6231 y, width, height); | 6505 y, width, height); |
6232 } | 6506 } |
6233 | 6507 |
| 6508 void GLApiBase::glCoverFillPathNVFn(GLuint path, GLenum coverMode) { |
| 6509 driver_->fn.glCoverFillPathNVFn(path, coverMode); |
| 6510 } |
| 6511 |
| 6512 void GLApiBase::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) { |
| 6513 driver_->fn.glCoverStrokePathNVFn(name, coverMode); |
| 6514 } |
| 6515 |
6234 GLuint GLApiBase::glCreateProgramFn(void) { | 6516 GLuint GLApiBase::glCreateProgramFn(void) { |
6235 return driver_->fn.glCreateProgramFn(); | 6517 return driver_->fn.glCreateProgramFn(); |
6236 } | 6518 } |
6237 | 6519 |
6238 GLuint GLApiBase::glCreateShaderFn(GLenum type) { | 6520 GLuint GLApiBase::glCreateShaderFn(GLenum type) { |
6239 return driver_->fn.glCreateShaderFn(type); | 6521 return driver_->fn.glCreateShaderFn(type); |
6240 } | 6522 } |
6241 | 6523 |
6242 void GLApiBase::glCullFaceFn(GLenum mode) { | 6524 void GLApiBase::glCullFaceFn(GLenum mode) { |
6243 driver_->fn.glCullFaceFn(mode); | 6525 driver_->fn.glCullFaceFn(mode); |
6244 } | 6526 } |
6245 | 6527 |
6246 void GLApiBase::glDeleteBuffersARBFn(GLsizei n, const GLuint* buffers) { | 6528 void GLApiBase::glDeleteBuffersARBFn(GLsizei n, const GLuint* buffers) { |
6247 driver_->fn.glDeleteBuffersARBFn(n, buffers); | 6529 driver_->fn.glDeleteBuffersARBFn(n, buffers); |
6248 } | 6530 } |
6249 | 6531 |
6250 void GLApiBase::glDeleteFencesAPPLEFn(GLsizei n, const GLuint* fences) { | 6532 void GLApiBase::glDeleteFencesAPPLEFn(GLsizei n, const GLuint* fences) { |
6251 driver_->fn.glDeleteFencesAPPLEFn(n, fences); | 6533 driver_->fn.glDeleteFencesAPPLEFn(n, fences); |
6252 } | 6534 } |
6253 | 6535 |
6254 void GLApiBase::glDeleteFencesNVFn(GLsizei n, const GLuint* fences) { | 6536 void GLApiBase::glDeleteFencesNVFn(GLsizei n, const GLuint* fences) { |
6255 driver_->fn.glDeleteFencesNVFn(n, fences); | 6537 driver_->fn.glDeleteFencesNVFn(n, fences); |
6256 } | 6538 } |
6257 | 6539 |
6258 void GLApiBase::glDeleteFramebuffersEXTFn(GLsizei n, | 6540 void GLApiBase::glDeleteFramebuffersEXTFn(GLsizei n, |
6259 const GLuint* framebuffers) { | 6541 const GLuint* framebuffers) { |
6260 driver_->fn.glDeleteFramebuffersEXTFn(n, framebuffers); | 6542 driver_->fn.glDeleteFramebuffersEXTFn(n, framebuffers); |
6261 } | 6543 } |
6262 | 6544 |
| 6545 void GLApiBase::glDeletePathsNVFn(GLuint path, GLsizei range) { |
| 6546 driver_->fn.glDeletePathsNVFn(path, range); |
| 6547 } |
| 6548 |
6263 void GLApiBase::glDeleteProgramFn(GLuint program) { | 6549 void GLApiBase::glDeleteProgramFn(GLuint program) { |
6264 driver_->fn.glDeleteProgramFn(program); | 6550 driver_->fn.glDeleteProgramFn(program); |
6265 } | 6551 } |
6266 | 6552 |
6267 void GLApiBase::glDeleteQueriesFn(GLsizei n, const GLuint* ids) { | 6553 void GLApiBase::glDeleteQueriesFn(GLsizei n, const GLuint* ids) { |
6268 driver_->fn.glDeleteQueriesFn(n, ids); | 6554 driver_->fn.glDeleteQueriesFn(n, ids); |
6269 } | 6555 } |
6270 | 6556 |
6271 void GLApiBase::glDeleteRenderbuffersEXTFn(GLsizei n, | 6557 void GLApiBase::glDeleteRenderbuffersEXTFn(GLsizei n, |
6272 const GLuint* renderbuffers) { | 6558 const GLuint* renderbuffers) { |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6490 } | 6776 } |
6491 | 6777 |
6492 void GLApiBase::glGenFencesNVFn(GLsizei n, GLuint* fences) { | 6778 void GLApiBase::glGenFencesNVFn(GLsizei n, GLuint* fences) { |
6493 driver_->fn.glGenFencesNVFn(n, fences); | 6779 driver_->fn.glGenFencesNVFn(n, fences); |
6494 } | 6780 } |
6495 | 6781 |
6496 void GLApiBase::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) { | 6782 void GLApiBase::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) { |
6497 driver_->fn.glGenFramebuffersEXTFn(n, framebuffers); | 6783 driver_->fn.glGenFramebuffersEXTFn(n, framebuffers); |
6498 } | 6784 } |
6499 | 6785 |
| 6786 GLuint GLApiBase::glGenPathsNVFn(GLsizei range) { |
| 6787 return driver_->fn.glGenPathsNVFn(range); |
| 6788 } |
| 6789 |
6500 void GLApiBase::glGenQueriesFn(GLsizei n, GLuint* ids) { | 6790 void GLApiBase::glGenQueriesFn(GLsizei n, GLuint* ids) { |
6501 driver_->fn.glGenQueriesFn(n, ids); | 6791 driver_->fn.glGenQueriesFn(n, ids); |
6502 } | 6792 } |
6503 | 6793 |
6504 void GLApiBase::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) { | 6794 void GLApiBase::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) { |
6505 driver_->fn.glGenRenderbuffersEXTFn(n, renderbuffers); | 6795 driver_->fn.glGenRenderbuffersEXTFn(n, renderbuffers); |
6506 } | 6796 } |
6507 | 6797 |
6508 void GLApiBase::glGenSamplersFn(GLsizei n, GLuint* samplers) { | 6798 void GLApiBase::glGenSamplersFn(GLsizei n, GLuint* samplers) { |
6509 driver_->fn.glGenSamplersFn(n, samplers); | 6799 driver_->fn.glGenSamplersFn(n, samplers); |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6892 } | 7182 } |
6893 | 7183 |
6894 GLboolean GLApiBase::glIsFenceNVFn(GLuint fence) { | 7184 GLboolean GLApiBase::glIsFenceNVFn(GLuint fence) { |
6895 return driver_->fn.glIsFenceNVFn(fence); | 7185 return driver_->fn.glIsFenceNVFn(fence); |
6896 } | 7186 } |
6897 | 7187 |
6898 GLboolean GLApiBase::glIsFramebufferEXTFn(GLuint framebuffer) { | 7188 GLboolean GLApiBase::glIsFramebufferEXTFn(GLuint framebuffer) { |
6899 return driver_->fn.glIsFramebufferEXTFn(framebuffer); | 7189 return driver_->fn.glIsFramebufferEXTFn(framebuffer); |
6900 } | 7190 } |
6901 | 7191 |
| 7192 GLboolean GLApiBase::glIsPathNVFn(GLuint path) { |
| 7193 return driver_->fn.glIsPathNVFn(path); |
| 7194 } |
| 7195 |
6902 GLboolean GLApiBase::glIsProgramFn(GLuint program) { | 7196 GLboolean GLApiBase::glIsProgramFn(GLuint program) { |
6903 return driver_->fn.glIsProgramFn(program); | 7197 return driver_->fn.glIsProgramFn(program); |
6904 } | 7198 } |
6905 | 7199 |
6906 GLboolean GLApiBase::glIsQueryFn(GLuint query) { | 7200 GLboolean GLApiBase::glIsQueryFn(GLuint query) { |
6907 return driver_->fn.glIsQueryFn(query); | 7201 return driver_->fn.glIsQueryFn(query); |
6908 } | 7202 } |
6909 | 7203 |
6910 GLboolean GLApiBase::glIsRenderbufferEXTFn(GLuint renderbuffer) { | 7204 GLboolean GLApiBase::glIsRenderbufferEXTFn(GLuint renderbuffer) { |
6911 return driver_->fn.glIsRenderbufferEXTFn(renderbuffer); | 7205 return driver_->fn.glIsRenderbufferEXTFn(renderbuffer); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6955 } | 7249 } |
6956 | 7250 |
6957 void GLApiBase::glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) { | 7251 void GLApiBase::glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) { |
6958 driver_->fn.glMatrixLoadfEXTFn(matrixMode, m); | 7252 driver_->fn.glMatrixLoadfEXTFn(matrixMode, m); |
6959 } | 7253 } |
6960 | 7254 |
6961 void GLApiBase::glMatrixLoadIdentityEXTFn(GLenum matrixMode) { | 7255 void GLApiBase::glMatrixLoadIdentityEXTFn(GLenum matrixMode) { |
6962 driver_->fn.glMatrixLoadIdentityEXTFn(matrixMode); | 7256 driver_->fn.glMatrixLoadIdentityEXTFn(matrixMode); |
6963 } | 7257 } |
6964 | 7258 |
| 7259 void GLApiBase::glPathCommandsNVFn(GLuint path, |
| 7260 GLsizei numCommands, |
| 7261 const GLubyte* commands, |
| 7262 GLsizei numCoords, |
| 7263 GLenum coordType, |
| 7264 const GLvoid* coords) { |
| 7265 driver_->fn.glPathCommandsNVFn(path, numCommands, commands, numCoords, |
| 7266 coordType, coords); |
| 7267 } |
| 7268 |
| 7269 void GLApiBase::glPathParameterfNVFn(GLuint path, GLenum pname, GLfloat value) { |
| 7270 driver_->fn.glPathParameterfNVFn(path, pname, value); |
| 7271 } |
| 7272 |
| 7273 void GLApiBase::glPathParameteriNVFn(GLuint path, GLenum pname, GLint value) { |
| 7274 driver_->fn.glPathParameteriNVFn(path, pname, value); |
| 7275 } |
| 7276 |
| 7277 void GLApiBase::glPathStencilFuncNVFn(GLenum func, GLint ref, GLuint mask) { |
| 7278 driver_->fn.glPathStencilFuncNVFn(func, ref, mask); |
| 7279 } |
| 7280 |
6965 void GLApiBase::glPauseTransformFeedbackFn(void) { | 7281 void GLApiBase::glPauseTransformFeedbackFn(void) { |
6966 driver_->fn.glPauseTransformFeedbackFn(); | 7282 driver_->fn.glPauseTransformFeedbackFn(); |
6967 } | 7283 } |
6968 | 7284 |
6969 void GLApiBase::glPixelStoreiFn(GLenum pname, GLint param) { | 7285 void GLApiBase::glPixelStoreiFn(GLenum pname, GLint param) { |
6970 driver_->fn.glPixelStoreiFn(pname, param); | 7286 driver_->fn.glPixelStoreiFn(pname, param); |
6971 } | 7287 } |
6972 | 7288 |
6973 void GLApiBase::glPointParameteriFn(GLenum pname, GLint param) { | 7289 void GLApiBase::glPointParameteriFn(GLenum pname, GLint param) { |
6974 driver_->fn.glPointParameteriFn(pname, param); | 7290 driver_->fn.glPointParameteriFn(pname, param); |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7116 driver_->fn.glShaderBinaryFn(n, shaders, binaryformat, binary, length); | 7432 driver_->fn.glShaderBinaryFn(n, shaders, binaryformat, binary, length); |
7117 } | 7433 } |
7118 | 7434 |
7119 void GLApiBase::glShaderSourceFn(GLuint shader, | 7435 void GLApiBase::glShaderSourceFn(GLuint shader, |
7120 GLsizei count, | 7436 GLsizei count, |
7121 const char* const* str, | 7437 const char* const* str, |
7122 const GLint* length) { | 7438 const GLint* length) { |
7123 driver_->fn.glShaderSourceFn(shader, count, str, length); | 7439 driver_->fn.glShaderSourceFn(shader, count, str, length); |
7124 } | 7440 } |
7125 | 7441 |
| 7442 void GLApiBase::glStencilFillPathNVFn(GLuint path, |
| 7443 GLenum fillMode, |
| 7444 GLuint mask) { |
| 7445 driver_->fn.glStencilFillPathNVFn(path, fillMode, mask); |
| 7446 } |
| 7447 |
7126 void GLApiBase::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { | 7448 void GLApiBase::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { |
7127 driver_->fn.glStencilFuncFn(func, ref, mask); | 7449 driver_->fn.glStencilFuncFn(func, ref, mask); |
7128 } | 7450 } |
7129 | 7451 |
7130 void GLApiBase::glStencilFuncSeparateFn(GLenum face, | 7452 void GLApiBase::glStencilFuncSeparateFn(GLenum face, |
7131 GLenum func, | 7453 GLenum func, |
7132 GLint ref, | 7454 GLint ref, |
7133 GLuint mask) { | 7455 GLuint mask) { |
7134 driver_->fn.glStencilFuncSeparateFn(face, func, ref, mask); | 7456 driver_->fn.glStencilFuncSeparateFn(face, func, ref, mask); |
7135 } | 7457 } |
(...skipping 10 matching lines...) Expand all Loading... |
7146 driver_->fn.glStencilOpFn(fail, zfail, zpass); | 7468 driver_->fn.glStencilOpFn(fail, zfail, zpass); |
7147 } | 7469 } |
7148 | 7470 |
7149 void GLApiBase::glStencilOpSeparateFn(GLenum face, | 7471 void GLApiBase::glStencilOpSeparateFn(GLenum face, |
7150 GLenum fail, | 7472 GLenum fail, |
7151 GLenum zfail, | 7473 GLenum zfail, |
7152 GLenum zpass) { | 7474 GLenum zpass) { |
7153 driver_->fn.glStencilOpSeparateFn(face, fail, zfail, zpass); | 7475 driver_->fn.glStencilOpSeparateFn(face, fail, zfail, zpass); |
7154 } | 7476 } |
7155 | 7477 |
| 7478 void GLApiBase::glStencilStrokePathNVFn(GLuint path, |
| 7479 GLint reference, |
| 7480 GLuint mask) { |
| 7481 driver_->fn.glStencilStrokePathNVFn(path, reference, mask); |
| 7482 } |
| 7483 |
| 7484 void GLApiBase::glStencilThenCoverFillPathNVFn(GLuint path, |
| 7485 GLenum fillMode, |
| 7486 GLuint mask, |
| 7487 GLenum coverMode) { |
| 7488 driver_->fn.glStencilThenCoverFillPathNVFn(path, fillMode, mask, coverMode); |
| 7489 } |
| 7490 |
| 7491 void GLApiBase::glStencilThenCoverStrokePathNVFn(GLuint path, |
| 7492 GLint reference, |
| 7493 GLuint mask, |
| 7494 GLenum coverMode) { |
| 7495 driver_->fn.glStencilThenCoverStrokePathNVFn(path, reference, mask, |
| 7496 coverMode); |
| 7497 } |
| 7498 |
7156 GLboolean GLApiBase::glTestFenceAPPLEFn(GLuint fence) { | 7499 GLboolean GLApiBase::glTestFenceAPPLEFn(GLuint fence) { |
7157 return driver_->fn.glTestFenceAPPLEFn(fence); | 7500 return driver_->fn.glTestFenceAPPLEFn(fence); |
7158 } | 7501 } |
7159 | 7502 |
7160 GLboolean GLApiBase::glTestFenceNVFn(GLuint fence) { | 7503 GLboolean GLApiBase::glTestFenceNVFn(GLuint fence) { |
7161 return driver_->fn.glTestFenceNVFn(fence); | 7504 return driver_->fn.glTestFenceNVFn(fence); |
7162 } | 7505 } |
7163 | 7506 |
7164 void GLApiBase::glTexImage2DFn(GLenum target, | 7507 void GLApiBase::glTexImage2DFn(GLenum target, |
7165 GLint level, | 7508 GLint level, |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7942 GLint zoffset, | 8285 GLint zoffset, |
7943 GLint x, | 8286 GLint x, |
7944 GLint y, | 8287 GLint y, |
7945 GLsizei width, | 8288 GLsizei width, |
7946 GLsizei height) { | 8289 GLsizei height) { |
7947 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyTexSubImage3D") | 8290 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyTexSubImage3D") |
7948 gl_api_->glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, y, | 8291 gl_api_->glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, y, |
7949 width, height); | 8292 width, height); |
7950 } | 8293 } |
7951 | 8294 |
| 8295 void TraceGLApi::glCoverFillPathNVFn(GLuint path, GLenum coverMode) { |
| 8296 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverFillPathNV") |
| 8297 gl_api_->glCoverFillPathNVFn(path, coverMode); |
| 8298 } |
| 8299 |
| 8300 void TraceGLApi::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) { |
| 8301 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverStrokePathNV") |
| 8302 gl_api_->glCoverStrokePathNVFn(name, coverMode); |
| 8303 } |
| 8304 |
7952 GLuint TraceGLApi::glCreateProgramFn(void) { | 8305 GLuint TraceGLApi::glCreateProgramFn(void) { |
7953 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCreateProgram") | 8306 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCreateProgram") |
7954 return gl_api_->glCreateProgramFn(); | 8307 return gl_api_->glCreateProgramFn(); |
7955 } | 8308 } |
7956 | 8309 |
7957 GLuint TraceGLApi::glCreateShaderFn(GLenum type) { | 8310 GLuint TraceGLApi::glCreateShaderFn(GLenum type) { |
7958 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCreateShader") | 8311 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCreateShader") |
7959 return gl_api_->glCreateShaderFn(type); | 8312 return gl_api_->glCreateShaderFn(type); |
7960 } | 8313 } |
7961 | 8314 |
(...skipping 16 matching lines...) Expand all Loading... |
7978 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteFencesNV") | 8331 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteFencesNV") |
7979 gl_api_->glDeleteFencesNVFn(n, fences); | 8332 gl_api_->glDeleteFencesNVFn(n, fences); |
7980 } | 8333 } |
7981 | 8334 |
7982 void TraceGLApi::glDeleteFramebuffersEXTFn(GLsizei n, | 8335 void TraceGLApi::glDeleteFramebuffersEXTFn(GLsizei n, |
7983 const GLuint* framebuffers) { | 8336 const GLuint* framebuffers) { |
7984 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteFramebuffersEXT") | 8337 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteFramebuffersEXT") |
7985 gl_api_->glDeleteFramebuffersEXTFn(n, framebuffers); | 8338 gl_api_->glDeleteFramebuffersEXTFn(n, framebuffers); |
7986 } | 8339 } |
7987 | 8340 |
| 8341 void TraceGLApi::glDeletePathsNVFn(GLuint path, GLsizei range) { |
| 8342 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeletePathsNV") |
| 8343 gl_api_->glDeletePathsNVFn(path, range); |
| 8344 } |
| 8345 |
7988 void TraceGLApi::glDeleteProgramFn(GLuint program) { | 8346 void TraceGLApi::glDeleteProgramFn(GLuint program) { |
7989 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteProgram") | 8347 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteProgram") |
7990 gl_api_->glDeleteProgramFn(program); | 8348 gl_api_->glDeleteProgramFn(program); |
7991 } | 8349 } |
7992 | 8350 |
7993 void TraceGLApi::glDeleteQueriesFn(GLsizei n, const GLuint* ids) { | 8351 void TraceGLApi::glDeleteQueriesFn(GLsizei n, const GLuint* ids) { |
7994 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteQueries") | 8352 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteQueries") |
7995 gl_api_->glDeleteQueriesFn(n, ids); | 8353 gl_api_->glDeleteQueriesFn(n, ids); |
7996 } | 8354 } |
7997 | 8355 |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8268 void TraceGLApi::glGenFencesNVFn(GLsizei n, GLuint* fences) { | 8626 void TraceGLApi::glGenFencesNVFn(GLsizei n, GLuint* fences) { |
8269 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenFencesNV") | 8627 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenFencesNV") |
8270 gl_api_->glGenFencesNVFn(n, fences); | 8628 gl_api_->glGenFencesNVFn(n, fences); |
8271 } | 8629 } |
8272 | 8630 |
8273 void TraceGLApi::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) { | 8631 void TraceGLApi::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) { |
8274 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenFramebuffersEXT") | 8632 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenFramebuffersEXT") |
8275 gl_api_->glGenFramebuffersEXTFn(n, framebuffers); | 8633 gl_api_->glGenFramebuffersEXTFn(n, framebuffers); |
8276 } | 8634 } |
8277 | 8635 |
| 8636 GLuint TraceGLApi::glGenPathsNVFn(GLsizei range) { |
| 8637 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenPathsNV") |
| 8638 return gl_api_->glGenPathsNVFn(range); |
| 8639 } |
| 8640 |
8278 void TraceGLApi::glGenQueriesFn(GLsizei n, GLuint* ids) { | 8641 void TraceGLApi::glGenQueriesFn(GLsizei n, GLuint* ids) { |
8279 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenQueries") | 8642 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenQueries") |
8280 gl_api_->glGenQueriesFn(n, ids); | 8643 gl_api_->glGenQueriesFn(n, ids); |
8281 } | 8644 } |
8282 | 8645 |
8283 void TraceGLApi::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) { | 8646 void TraceGLApi::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) { |
8284 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenRenderbuffersEXT") | 8647 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenRenderbuffersEXT") |
8285 gl_api_->glGenRenderbuffersEXTFn(n, renderbuffers); | 8648 gl_api_->glGenRenderbuffersEXTFn(n, renderbuffers); |
8286 } | 8649 } |
8287 | 8650 |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8746 GLboolean TraceGLApi::glIsFenceNVFn(GLuint fence) { | 9109 GLboolean TraceGLApi::glIsFenceNVFn(GLuint fence) { |
8747 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsFenceNV") | 9110 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsFenceNV") |
8748 return gl_api_->glIsFenceNVFn(fence); | 9111 return gl_api_->glIsFenceNVFn(fence); |
8749 } | 9112 } |
8750 | 9113 |
8751 GLboolean TraceGLApi::glIsFramebufferEXTFn(GLuint framebuffer) { | 9114 GLboolean TraceGLApi::glIsFramebufferEXTFn(GLuint framebuffer) { |
8752 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsFramebufferEXT") | 9115 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsFramebufferEXT") |
8753 return gl_api_->glIsFramebufferEXTFn(framebuffer); | 9116 return gl_api_->glIsFramebufferEXTFn(framebuffer); |
8754 } | 9117 } |
8755 | 9118 |
| 9119 GLboolean TraceGLApi::glIsPathNVFn(GLuint path) { |
| 9120 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsPathNV") |
| 9121 return gl_api_->glIsPathNVFn(path); |
| 9122 } |
| 9123 |
8756 GLboolean TraceGLApi::glIsProgramFn(GLuint program) { | 9124 GLboolean TraceGLApi::glIsProgramFn(GLuint program) { |
8757 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsProgram") | 9125 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsProgram") |
8758 return gl_api_->glIsProgramFn(program); | 9126 return gl_api_->glIsProgramFn(program); |
8759 } | 9127 } |
8760 | 9128 |
8761 GLboolean TraceGLApi::glIsQueryFn(GLuint query) { | 9129 GLboolean TraceGLApi::glIsQueryFn(GLuint query) { |
8762 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsQuery") | 9130 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsQuery") |
8763 return gl_api_->glIsQueryFn(query); | 9131 return gl_api_->glIsQueryFn(query); |
8764 } | 9132 } |
8765 | 9133 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8824 void TraceGLApi::glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) { | 9192 void TraceGLApi::glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) { |
8825 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glMatrixLoadfEXT") | 9193 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glMatrixLoadfEXT") |
8826 gl_api_->glMatrixLoadfEXTFn(matrixMode, m); | 9194 gl_api_->glMatrixLoadfEXTFn(matrixMode, m); |
8827 } | 9195 } |
8828 | 9196 |
8829 void TraceGLApi::glMatrixLoadIdentityEXTFn(GLenum matrixMode) { | 9197 void TraceGLApi::glMatrixLoadIdentityEXTFn(GLenum matrixMode) { |
8830 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glMatrixLoadIdentityEXT") | 9198 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glMatrixLoadIdentityEXT") |
8831 gl_api_->glMatrixLoadIdentityEXTFn(matrixMode); | 9199 gl_api_->glMatrixLoadIdentityEXTFn(matrixMode); |
8832 } | 9200 } |
8833 | 9201 |
| 9202 void TraceGLApi::glPathCommandsNVFn(GLuint path, |
| 9203 GLsizei numCommands, |
| 9204 const GLubyte* commands, |
| 9205 GLsizei numCoords, |
| 9206 GLenum coordType, |
| 9207 const GLvoid* coords) { |
| 9208 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPathCommandsNV") |
| 9209 gl_api_->glPathCommandsNVFn(path, numCommands, commands, numCoords, coordType, |
| 9210 coords); |
| 9211 } |
| 9212 |
| 9213 void TraceGLApi::glPathParameterfNVFn(GLuint path, |
| 9214 GLenum pname, |
| 9215 GLfloat value) { |
| 9216 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPathParameterfNV") |
| 9217 gl_api_->glPathParameterfNVFn(path, pname, value); |
| 9218 } |
| 9219 |
| 9220 void TraceGLApi::glPathParameteriNVFn(GLuint path, GLenum pname, GLint value) { |
| 9221 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPathParameteriNV") |
| 9222 gl_api_->glPathParameteriNVFn(path, pname, value); |
| 9223 } |
| 9224 |
| 9225 void TraceGLApi::glPathStencilFuncNVFn(GLenum func, GLint ref, GLuint mask) { |
| 9226 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPathStencilFuncNV") |
| 9227 gl_api_->glPathStencilFuncNVFn(func, ref, mask); |
| 9228 } |
| 9229 |
8834 void TraceGLApi::glPauseTransformFeedbackFn(void) { | 9230 void TraceGLApi::glPauseTransformFeedbackFn(void) { |
8835 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPauseTransformFeedback") | 9231 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPauseTransformFeedback") |
8836 gl_api_->glPauseTransformFeedbackFn(); | 9232 gl_api_->glPauseTransformFeedbackFn(); |
8837 } | 9233 } |
8838 | 9234 |
8839 void TraceGLApi::glPixelStoreiFn(GLenum pname, GLint param) { | 9235 void TraceGLApi::glPixelStoreiFn(GLenum pname, GLint param) { |
8840 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPixelStorei") | 9236 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPixelStorei") |
8841 gl_api_->glPixelStoreiFn(pname, param); | 9237 gl_api_->glPixelStoreiFn(pname, param); |
8842 } | 9238 } |
8843 | 9239 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9017 } | 9413 } |
9018 | 9414 |
9019 void TraceGLApi::glShaderSourceFn(GLuint shader, | 9415 void TraceGLApi::glShaderSourceFn(GLuint shader, |
9020 GLsizei count, | 9416 GLsizei count, |
9021 const char* const* str, | 9417 const char* const* str, |
9022 const GLint* length) { | 9418 const GLint* length) { |
9023 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glShaderSource") | 9419 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glShaderSource") |
9024 gl_api_->glShaderSourceFn(shader, count, str, length); | 9420 gl_api_->glShaderSourceFn(shader, count, str, length); |
9025 } | 9421 } |
9026 | 9422 |
| 9423 void TraceGLApi::glStencilFillPathNVFn(GLuint path, |
| 9424 GLenum fillMode, |
| 9425 GLuint mask) { |
| 9426 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFillPathNV") |
| 9427 gl_api_->glStencilFillPathNVFn(path, fillMode, mask); |
| 9428 } |
| 9429 |
9027 void TraceGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { | 9430 void TraceGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { |
9028 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFunc") | 9431 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFunc") |
9029 gl_api_->glStencilFuncFn(func, ref, mask); | 9432 gl_api_->glStencilFuncFn(func, ref, mask); |
9030 } | 9433 } |
9031 | 9434 |
9032 void TraceGLApi::glStencilFuncSeparateFn(GLenum face, | 9435 void TraceGLApi::glStencilFuncSeparateFn(GLenum face, |
9033 GLenum func, | 9436 GLenum func, |
9034 GLint ref, | 9437 GLint ref, |
9035 GLuint mask) { | 9438 GLuint mask) { |
9036 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFuncSeparate") | 9439 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFuncSeparate") |
(...skipping 16 matching lines...) Expand all Loading... |
9053 } | 9456 } |
9054 | 9457 |
9055 void TraceGLApi::glStencilOpSeparateFn(GLenum face, | 9458 void TraceGLApi::glStencilOpSeparateFn(GLenum face, |
9056 GLenum fail, | 9459 GLenum fail, |
9057 GLenum zfail, | 9460 GLenum zfail, |
9058 GLenum zpass) { | 9461 GLenum zpass) { |
9059 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilOpSeparate") | 9462 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilOpSeparate") |
9060 gl_api_->glStencilOpSeparateFn(face, fail, zfail, zpass); | 9463 gl_api_->glStencilOpSeparateFn(face, fail, zfail, zpass); |
9061 } | 9464 } |
9062 | 9465 |
| 9466 void TraceGLApi::glStencilStrokePathNVFn(GLuint path, |
| 9467 GLint reference, |
| 9468 GLuint mask) { |
| 9469 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilStrokePathNV") |
| 9470 gl_api_->glStencilStrokePathNVFn(path, reference, mask); |
| 9471 } |
| 9472 |
| 9473 void TraceGLApi::glStencilThenCoverFillPathNVFn(GLuint path, |
| 9474 GLenum fillMode, |
| 9475 GLuint mask, |
| 9476 GLenum coverMode) { |
| 9477 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 9478 "TraceGLAPI::glStencilThenCoverFillPathNV") |
| 9479 gl_api_->glStencilThenCoverFillPathNVFn(path, fillMode, mask, coverMode); |
| 9480 } |
| 9481 |
| 9482 void TraceGLApi::glStencilThenCoverStrokePathNVFn(GLuint path, |
| 9483 GLint reference, |
| 9484 GLuint mask, |
| 9485 GLenum coverMode) { |
| 9486 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 9487 "TraceGLAPI::glStencilThenCoverStrokePathNV") |
| 9488 gl_api_->glStencilThenCoverStrokePathNVFn(path, reference, mask, coverMode); |
| 9489 } |
| 9490 |
9063 GLboolean TraceGLApi::glTestFenceAPPLEFn(GLuint fence) { | 9491 GLboolean TraceGLApi::glTestFenceAPPLEFn(GLuint fence) { |
9064 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glTestFenceAPPLE") | 9492 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glTestFenceAPPLE") |
9065 return gl_api_->glTestFenceAPPLEFn(fence); | 9493 return gl_api_->glTestFenceAPPLEFn(fence); |
9066 } | 9494 } |
9067 | 9495 |
9068 GLboolean TraceGLApi::glTestFenceNVFn(GLuint fence) { | 9496 GLboolean TraceGLApi::glTestFenceNVFn(GLuint fence) { |
9069 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glTestFenceNV") | 9497 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glTestFenceNV") |
9070 return gl_api_->glTestFenceNVFn(fence); | 9498 return gl_api_->glTestFenceNVFn(fence); |
9071 } | 9499 } |
9072 | 9500 |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9954 GLint x, | 10382 GLint x, |
9955 GLint y, | 10383 GLint y, |
9956 GLsizei width, | 10384 GLsizei width, |
9957 GLsizei height) { | 10385 GLsizei height) { |
9958 NOTREACHED() | 10386 NOTREACHED() |
9959 << "Trying to call glCopyTexSubImage3D() without current GL context"; | 10387 << "Trying to call glCopyTexSubImage3D() without current GL context"; |
9960 LOG(ERROR) | 10388 LOG(ERROR) |
9961 << "Trying to call glCopyTexSubImage3D() without current GL context"; | 10389 << "Trying to call glCopyTexSubImage3D() without current GL context"; |
9962 } | 10390 } |
9963 | 10391 |
| 10392 void NoContextGLApi::glCoverFillPathNVFn(GLuint path, GLenum coverMode) { |
| 10393 NOTREACHED() |
| 10394 << "Trying to call glCoverFillPathNV() without current GL context"; |
| 10395 LOG(ERROR) << "Trying to call glCoverFillPathNV() without current GL context"; |
| 10396 } |
| 10397 |
| 10398 void NoContextGLApi::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) { |
| 10399 NOTREACHED() |
| 10400 << "Trying to call glCoverStrokePathNV() without current GL context"; |
| 10401 LOG(ERROR) |
| 10402 << "Trying to call glCoverStrokePathNV() without current GL context"; |
| 10403 } |
| 10404 |
9964 GLuint NoContextGLApi::glCreateProgramFn(void) { | 10405 GLuint NoContextGLApi::glCreateProgramFn(void) { |
9965 NOTREACHED() << "Trying to call glCreateProgram() without current GL context"; | 10406 NOTREACHED() << "Trying to call glCreateProgram() without current GL context"; |
9966 LOG(ERROR) << "Trying to call glCreateProgram() without current GL context"; | 10407 LOG(ERROR) << "Trying to call glCreateProgram() without current GL context"; |
9967 return 0U; | 10408 return 0U; |
9968 } | 10409 } |
9969 | 10410 |
9970 GLuint NoContextGLApi::glCreateShaderFn(GLenum type) { | 10411 GLuint NoContextGLApi::glCreateShaderFn(GLenum type) { |
9971 NOTREACHED() << "Trying to call glCreateShader() without current GL context"; | 10412 NOTREACHED() << "Trying to call glCreateShader() without current GL context"; |
9972 LOG(ERROR) << "Trying to call glCreateShader() without current GL context"; | 10413 LOG(ERROR) << "Trying to call glCreateShader() without current GL context"; |
9973 return 0U; | 10414 return 0U; |
(...skipping 25 matching lines...) Expand all Loading... |
9999 } | 10440 } |
10000 | 10441 |
10001 void NoContextGLApi::glDeleteFramebuffersEXTFn(GLsizei n, | 10442 void NoContextGLApi::glDeleteFramebuffersEXTFn(GLsizei n, |
10002 const GLuint* framebuffers) { | 10443 const GLuint* framebuffers) { |
10003 NOTREACHED() | 10444 NOTREACHED() |
10004 << "Trying to call glDeleteFramebuffersEXT() without current GL context"; | 10445 << "Trying to call glDeleteFramebuffersEXT() without current GL context"; |
10005 LOG(ERROR) | 10446 LOG(ERROR) |
10006 << "Trying to call glDeleteFramebuffersEXT() without current GL context"; | 10447 << "Trying to call glDeleteFramebuffersEXT() without current GL context"; |
10007 } | 10448 } |
10008 | 10449 |
| 10450 void NoContextGLApi::glDeletePathsNVFn(GLuint path, GLsizei range) { |
| 10451 NOTREACHED() << "Trying to call glDeletePathsNV() without current GL context"; |
| 10452 LOG(ERROR) << "Trying to call glDeletePathsNV() without current GL context"; |
| 10453 } |
| 10454 |
10009 void NoContextGLApi::glDeleteProgramFn(GLuint program) { | 10455 void NoContextGLApi::glDeleteProgramFn(GLuint program) { |
10010 NOTREACHED() << "Trying to call glDeleteProgram() without current GL context"; | 10456 NOTREACHED() << "Trying to call glDeleteProgram() without current GL context"; |
10011 LOG(ERROR) << "Trying to call glDeleteProgram() without current GL context"; | 10457 LOG(ERROR) << "Trying to call glDeleteProgram() without current GL context"; |
10012 } | 10458 } |
10013 | 10459 |
10014 void NoContextGLApi::glDeleteQueriesFn(GLsizei n, const GLuint* ids) { | 10460 void NoContextGLApi::glDeleteQueriesFn(GLsizei n, const GLuint* ids) { |
10015 NOTREACHED() << "Trying to call glDeleteQueries() without current GL context"; | 10461 NOTREACHED() << "Trying to call glDeleteQueries() without current GL context"; |
10016 LOG(ERROR) << "Trying to call glDeleteQueries() without current GL context"; | 10462 LOG(ERROR) << "Trying to call glDeleteQueries() without current GL context"; |
10017 } | 10463 } |
10018 | 10464 |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10327 LOG(ERROR) << "Trying to call glGenFencesNV() without current GL context"; | 10773 LOG(ERROR) << "Trying to call glGenFencesNV() without current GL context"; |
10328 } | 10774 } |
10329 | 10775 |
10330 void NoContextGLApi::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) { | 10776 void NoContextGLApi::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) { |
10331 NOTREACHED() | 10777 NOTREACHED() |
10332 << "Trying to call glGenFramebuffersEXT() without current GL context"; | 10778 << "Trying to call glGenFramebuffersEXT() without current GL context"; |
10333 LOG(ERROR) | 10779 LOG(ERROR) |
10334 << "Trying to call glGenFramebuffersEXT() without current GL context"; | 10780 << "Trying to call glGenFramebuffersEXT() without current GL context"; |
10335 } | 10781 } |
10336 | 10782 |
| 10783 GLuint NoContextGLApi::glGenPathsNVFn(GLsizei range) { |
| 10784 NOTREACHED() << "Trying to call glGenPathsNV() without current GL context"; |
| 10785 LOG(ERROR) << "Trying to call glGenPathsNV() without current GL context"; |
| 10786 return 0U; |
| 10787 } |
| 10788 |
10337 void NoContextGLApi::glGenQueriesFn(GLsizei n, GLuint* ids) { | 10789 void NoContextGLApi::glGenQueriesFn(GLsizei n, GLuint* ids) { |
10338 NOTREACHED() << "Trying to call glGenQueries() without current GL context"; | 10790 NOTREACHED() << "Trying to call glGenQueries() without current GL context"; |
10339 LOG(ERROR) << "Trying to call glGenQueries() without current GL context"; | 10791 LOG(ERROR) << "Trying to call glGenQueries() without current GL context"; |
10340 } | 10792 } |
10341 | 10793 |
10342 void NoContextGLApi::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) { | 10794 void NoContextGLApi::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) { |
10343 NOTREACHED() | 10795 NOTREACHED() |
10344 << "Trying to call glGenRenderbuffersEXT() without current GL context"; | 10796 << "Trying to call glGenRenderbuffersEXT() without current GL context"; |
10345 LOG(ERROR) | 10797 LOG(ERROR) |
10346 << "Trying to call glGenRenderbuffersEXT() without current GL context"; | 10798 << "Trying to call glGenRenderbuffersEXT() without current GL context"; |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10902 } | 11354 } |
10903 | 11355 |
10904 GLboolean NoContextGLApi::glIsFramebufferEXTFn(GLuint framebuffer) { | 11356 GLboolean NoContextGLApi::glIsFramebufferEXTFn(GLuint framebuffer) { |
10905 NOTREACHED() | 11357 NOTREACHED() |
10906 << "Trying to call glIsFramebufferEXT() without current GL context"; | 11358 << "Trying to call glIsFramebufferEXT() without current GL context"; |
10907 LOG(ERROR) | 11359 LOG(ERROR) |
10908 << "Trying to call glIsFramebufferEXT() without current GL context"; | 11360 << "Trying to call glIsFramebufferEXT() without current GL context"; |
10909 return GL_FALSE; | 11361 return GL_FALSE; |
10910 } | 11362 } |
10911 | 11363 |
| 11364 GLboolean NoContextGLApi::glIsPathNVFn(GLuint path) { |
| 11365 NOTREACHED() << "Trying to call glIsPathNV() without current GL context"; |
| 11366 LOG(ERROR) << "Trying to call glIsPathNV() without current GL context"; |
| 11367 return GL_FALSE; |
| 11368 } |
| 11369 |
10912 GLboolean NoContextGLApi::glIsProgramFn(GLuint program) { | 11370 GLboolean NoContextGLApi::glIsProgramFn(GLuint program) { |
10913 NOTREACHED() << "Trying to call glIsProgram() without current GL context"; | 11371 NOTREACHED() << "Trying to call glIsProgram() without current GL context"; |
10914 LOG(ERROR) << "Trying to call glIsProgram() without current GL context"; | 11372 LOG(ERROR) << "Trying to call glIsProgram() without current GL context"; |
10915 return GL_FALSE; | 11373 return GL_FALSE; |
10916 } | 11374 } |
10917 | 11375 |
10918 GLboolean NoContextGLApi::glIsQueryFn(GLuint query) { | 11376 GLboolean NoContextGLApi::glIsQueryFn(GLuint query) { |
10919 NOTREACHED() << "Trying to call glIsQuery() without current GL context"; | 11377 NOTREACHED() << "Trying to call glIsQuery() without current GL context"; |
10920 LOG(ERROR) << "Trying to call glIsQuery() without current GL context"; | 11378 LOG(ERROR) << "Trying to call glIsQuery() without current GL context"; |
10921 return GL_FALSE; | 11379 return GL_FALSE; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11001 LOG(ERROR) << "Trying to call glMatrixLoadfEXT() without current GL context"; | 11459 LOG(ERROR) << "Trying to call glMatrixLoadfEXT() without current GL context"; |
11002 } | 11460 } |
11003 | 11461 |
11004 void NoContextGLApi::glMatrixLoadIdentityEXTFn(GLenum matrixMode) { | 11462 void NoContextGLApi::glMatrixLoadIdentityEXTFn(GLenum matrixMode) { |
11005 NOTREACHED() | 11463 NOTREACHED() |
11006 << "Trying to call glMatrixLoadIdentityEXT() without current GL context"; | 11464 << "Trying to call glMatrixLoadIdentityEXT() without current GL context"; |
11007 LOG(ERROR) | 11465 LOG(ERROR) |
11008 << "Trying to call glMatrixLoadIdentityEXT() without current GL context"; | 11466 << "Trying to call glMatrixLoadIdentityEXT() without current GL context"; |
11009 } | 11467 } |
11010 | 11468 |
| 11469 void NoContextGLApi::glPathCommandsNVFn(GLuint path, |
| 11470 GLsizei numCommands, |
| 11471 const GLubyte* commands, |
| 11472 GLsizei numCoords, |
| 11473 GLenum coordType, |
| 11474 const GLvoid* coords) { |
| 11475 NOTREACHED() |
| 11476 << "Trying to call glPathCommandsNV() without current GL context"; |
| 11477 LOG(ERROR) << "Trying to call glPathCommandsNV() without current GL context"; |
| 11478 } |
| 11479 |
| 11480 void NoContextGLApi::glPathParameterfNVFn(GLuint path, |
| 11481 GLenum pname, |
| 11482 GLfloat value) { |
| 11483 NOTREACHED() |
| 11484 << "Trying to call glPathParameterfNV() without current GL context"; |
| 11485 LOG(ERROR) |
| 11486 << "Trying to call glPathParameterfNV() without current GL context"; |
| 11487 } |
| 11488 |
| 11489 void NoContextGLApi::glPathParameteriNVFn(GLuint path, |
| 11490 GLenum pname, |
| 11491 GLint value) { |
| 11492 NOTREACHED() |
| 11493 << "Trying to call glPathParameteriNV() without current GL context"; |
| 11494 LOG(ERROR) |
| 11495 << "Trying to call glPathParameteriNV() without current GL context"; |
| 11496 } |
| 11497 |
| 11498 void NoContextGLApi::glPathStencilFuncNVFn(GLenum func, |
| 11499 GLint ref, |
| 11500 GLuint mask) { |
| 11501 NOTREACHED() |
| 11502 << "Trying to call glPathStencilFuncNV() without current GL context"; |
| 11503 LOG(ERROR) |
| 11504 << "Trying to call glPathStencilFuncNV() without current GL context"; |
| 11505 } |
| 11506 |
11011 void NoContextGLApi::glPauseTransformFeedbackFn(void) { | 11507 void NoContextGLApi::glPauseTransformFeedbackFn(void) { |
11012 NOTREACHED() | 11508 NOTREACHED() |
11013 << "Trying to call glPauseTransformFeedback() without current GL context"; | 11509 << "Trying to call glPauseTransformFeedback() without current GL context"; |
11014 LOG(ERROR) | 11510 LOG(ERROR) |
11015 << "Trying to call glPauseTransformFeedback() without current GL context"; | 11511 << "Trying to call glPauseTransformFeedback() without current GL context"; |
11016 } | 11512 } |
11017 | 11513 |
11018 void NoContextGLApi::glPixelStoreiFn(GLenum pname, GLint param) { | 11514 void NoContextGLApi::glPixelStoreiFn(GLenum pname, GLint param) { |
11019 NOTREACHED() << "Trying to call glPixelStorei() without current GL context"; | 11515 NOTREACHED() << "Trying to call glPixelStorei() without current GL context"; |
11020 LOG(ERROR) << "Trying to call glPixelStorei() without current GL context"; | 11516 LOG(ERROR) << "Trying to call glPixelStorei() without current GL context"; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11225 } | 11721 } |
11226 | 11722 |
11227 void NoContextGLApi::glShaderSourceFn(GLuint shader, | 11723 void NoContextGLApi::glShaderSourceFn(GLuint shader, |
11228 GLsizei count, | 11724 GLsizei count, |
11229 const char* const* str, | 11725 const char* const* str, |
11230 const GLint* length) { | 11726 const GLint* length) { |
11231 NOTREACHED() << "Trying to call glShaderSource() without current GL context"; | 11727 NOTREACHED() << "Trying to call glShaderSource() without current GL context"; |
11232 LOG(ERROR) << "Trying to call glShaderSource() without current GL context"; | 11728 LOG(ERROR) << "Trying to call glShaderSource() without current GL context"; |
11233 } | 11729 } |
11234 | 11730 |
| 11731 void NoContextGLApi::glStencilFillPathNVFn(GLuint path, |
| 11732 GLenum fillMode, |
| 11733 GLuint mask) { |
| 11734 NOTREACHED() |
| 11735 << "Trying to call glStencilFillPathNV() without current GL context"; |
| 11736 LOG(ERROR) |
| 11737 << "Trying to call glStencilFillPathNV() without current GL context"; |
| 11738 } |
| 11739 |
11235 void NoContextGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { | 11740 void NoContextGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { |
11236 NOTREACHED() << "Trying to call glStencilFunc() without current GL context"; | 11741 NOTREACHED() << "Trying to call glStencilFunc() without current GL context"; |
11237 LOG(ERROR) << "Trying to call glStencilFunc() without current GL context"; | 11742 LOG(ERROR) << "Trying to call glStencilFunc() without current GL context"; |
11238 } | 11743 } |
11239 | 11744 |
11240 void NoContextGLApi::glStencilFuncSeparateFn(GLenum face, | 11745 void NoContextGLApi::glStencilFuncSeparateFn(GLenum face, |
11241 GLenum func, | 11746 GLenum func, |
11242 GLint ref, | 11747 GLint ref, |
11243 GLuint mask) { | 11748 GLuint mask) { |
11244 NOTREACHED() | 11749 NOTREACHED() |
(...skipping 22 matching lines...) Expand all Loading... |
11267 void NoContextGLApi::glStencilOpSeparateFn(GLenum face, | 11772 void NoContextGLApi::glStencilOpSeparateFn(GLenum face, |
11268 GLenum fail, | 11773 GLenum fail, |
11269 GLenum zfail, | 11774 GLenum zfail, |
11270 GLenum zpass) { | 11775 GLenum zpass) { |
11271 NOTREACHED() | 11776 NOTREACHED() |
11272 << "Trying to call glStencilOpSeparate() without current GL context"; | 11777 << "Trying to call glStencilOpSeparate() without current GL context"; |
11273 LOG(ERROR) | 11778 LOG(ERROR) |
11274 << "Trying to call glStencilOpSeparate() without current GL context"; | 11779 << "Trying to call glStencilOpSeparate() without current GL context"; |
11275 } | 11780 } |
11276 | 11781 |
| 11782 void NoContextGLApi::glStencilStrokePathNVFn(GLuint path, |
| 11783 GLint reference, |
| 11784 GLuint mask) { |
| 11785 NOTREACHED() |
| 11786 << "Trying to call glStencilStrokePathNV() without current GL context"; |
| 11787 LOG(ERROR) |
| 11788 << "Trying to call glStencilStrokePathNV() without current GL context"; |
| 11789 } |
| 11790 |
| 11791 void NoContextGLApi::glStencilThenCoverFillPathNVFn(GLuint path, |
| 11792 GLenum fillMode, |
| 11793 GLuint mask, |
| 11794 GLenum coverMode) { |
| 11795 NOTREACHED() << "Trying to call glStencilThenCoverFillPathNV() without " |
| 11796 "current GL context"; |
| 11797 LOG(ERROR) << "Trying to call glStencilThenCoverFillPathNV() without current " |
| 11798 "GL context"; |
| 11799 } |
| 11800 |
| 11801 void NoContextGLApi::glStencilThenCoverStrokePathNVFn(GLuint path, |
| 11802 GLint reference, |
| 11803 GLuint mask, |
| 11804 GLenum coverMode) { |
| 11805 NOTREACHED() << "Trying to call glStencilThenCoverStrokePathNV() without " |
| 11806 "current GL context"; |
| 11807 LOG(ERROR) << "Trying to call glStencilThenCoverStrokePathNV() without " |
| 11808 "current GL context"; |
| 11809 } |
| 11810 |
11277 GLboolean NoContextGLApi::glTestFenceAPPLEFn(GLuint fence) { | 11811 GLboolean NoContextGLApi::glTestFenceAPPLEFn(GLuint fence) { |
11278 NOTREACHED() | 11812 NOTREACHED() |
11279 << "Trying to call glTestFenceAPPLE() without current GL context"; | 11813 << "Trying to call glTestFenceAPPLE() without current GL context"; |
11280 LOG(ERROR) << "Trying to call glTestFenceAPPLE() without current GL context"; | 11814 LOG(ERROR) << "Trying to call glTestFenceAPPLE() without current GL context"; |
11281 return GL_FALSE; | 11815 return GL_FALSE; |
11282 } | 11816 } |
11283 | 11817 |
11284 GLboolean NoContextGLApi::glTestFenceNVFn(GLuint fence) { | 11818 GLboolean NoContextGLApi::glTestFenceNVFn(GLuint fence) { |
11285 NOTREACHED() << "Trying to call glTestFenceNV() without current GL context"; | 11819 NOTREACHED() << "Trying to call glTestFenceNV() without current GL context"; |
11286 LOG(ERROR) << "Trying to call glTestFenceNV() without current GL context"; | 11820 LOG(ERROR) << "Trying to call glTestFenceNV() without current GL context"; |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11811 | 12345 |
11812 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, | 12346 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, |
11813 GLbitfield flags, | 12347 GLbitfield flags, |
11814 GLuint64 timeout) { | 12348 GLuint64 timeout) { |
11815 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; | 12349 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; |
11816 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; | 12350 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; |
11817 return static_cast<GLenum>(0); | 12351 return static_cast<GLenum>(0); |
11818 } | 12352 } |
11819 | 12353 |
11820 } // namespace gfx | 12354 } // namespace gfx |
OLD | NEW |