Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: ui/gl/gl_bindings_autogen_gl.cc

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
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
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
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
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
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
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
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 DCHECK(fn.glStencilThenCoverFillPathNVFn);
1871 }
1872
1873 debug_fn.glStencilThenCoverStrokePathNVFn = 0;
1874 if (ext.b_GL_NV_path_rendering) {
1875 fn.glStencilThenCoverStrokePathNVFn =
1876 reinterpret_cast<glStencilThenCoverStrokePathNVProc>(
1877 GetGLProcAddress("glStencilThenCoverStrokePathNV"));
1878 DCHECK(fn.glStencilThenCoverStrokePathNVFn);
1879 }
1880
1775 debug_fn.glTestFenceAPPLEFn = 0; 1881 debug_fn.glTestFenceAPPLEFn = 0;
1776 if (ext.b_GL_APPLE_fence) { 1882 if (ext.b_GL_APPLE_fence) {
1777 fn.glTestFenceAPPLEFn = reinterpret_cast<glTestFenceAPPLEProc>( 1883 fn.glTestFenceAPPLEFn = reinterpret_cast<glTestFenceAPPLEProc>(
1778 GetGLProcAddress("glTestFenceAPPLE")); 1884 GetGLProcAddress("glTestFenceAPPLE"));
1779 DCHECK(fn.glTestFenceAPPLEFn); 1885 DCHECK(fn.glTestFenceAPPLEFn);
1780 } 1886 }
1781 1887
1782 debug_fn.glTestFenceNVFn = 0; 1888 debug_fn.glTestFenceNVFn = 0;
1783 if (ext.b_GL_NV_fence) { 1889 if (ext.b_GL_NV_fence) {
1784 fn.glTestFenceNVFn = 1890 fn.glTestFenceNVFn =
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
2501 GLsizei height) { 2607 GLsizei height) {
2502 GL_SERVICE_LOG("glCopyTexSubImage3D" 2608 GL_SERVICE_LOG("glCopyTexSubImage3D"
2503 << "(" << GLEnums::GetStringEnum(target) << ", " << level 2609 << "(" << GLEnums::GetStringEnum(target) << ", " << level
2504 << ", " << xoffset << ", " << yoffset << ", " << zoffset 2610 << ", " << xoffset << ", " << yoffset << ", " << zoffset
2505 << ", " << x << ", " << y << ", " << width << ", " << height 2611 << ", " << x << ", " << y << ", " << width << ", " << height
2506 << ")"); 2612 << ")");
2507 g_driver_gl.debug_fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, 2613 g_driver_gl.debug_fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset,
2508 zoffset, x, y, width, height); 2614 zoffset, x, y, width, height);
2509 } 2615 }
2510 2616
2617 static void GL_BINDING_CALL
2618 Debug_glCoverFillPathNV(GLuint path, GLenum coverMode) {
2619 GL_SERVICE_LOG("glCoverFillPathNV"
2620 << "(" << path << ", " << GLEnums::GetStringEnum(coverMode)
2621 << ")");
2622 g_driver_gl.debug_fn.glCoverFillPathNVFn(path, coverMode);
2623 }
2624
2625 static void GL_BINDING_CALL
2626 Debug_glCoverStrokePathNV(GLuint name, GLenum coverMode) {
2627 GL_SERVICE_LOG("glCoverStrokePathNV"
2628 << "(" << name << ", " << GLEnums::GetStringEnum(coverMode)
2629 << ")");
2630 g_driver_gl.debug_fn.glCoverStrokePathNVFn(name, coverMode);
2631 }
2632
2511 static GLuint GL_BINDING_CALL Debug_glCreateProgram(void) { 2633 static GLuint GL_BINDING_CALL Debug_glCreateProgram(void) {
2512 GL_SERVICE_LOG("glCreateProgram" 2634 GL_SERVICE_LOG("glCreateProgram"
2513 << "(" 2635 << "("
2514 << ")"); 2636 << ")");
2515 GLuint result = g_driver_gl.debug_fn.glCreateProgramFn(); 2637 GLuint result = g_driver_gl.debug_fn.glCreateProgramFn();
2516 GL_SERVICE_LOG("GL_RESULT: " << result); 2638 GL_SERVICE_LOG("GL_RESULT: " << result);
2517 return result; 2639 return result;
2518 } 2640 }
2519 2641
2520 static GLuint GL_BINDING_CALL Debug_glCreateShader(GLenum type) { 2642 static GLuint GL_BINDING_CALL Debug_glCreateShader(GLenum type) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
2556 } 2678 }
2557 2679
2558 static void GL_BINDING_CALL 2680 static void GL_BINDING_CALL
2559 Debug_glDeleteFramebuffersEXT(GLsizei n, const GLuint* framebuffers) { 2681 Debug_glDeleteFramebuffersEXT(GLsizei n, const GLuint* framebuffers) {
2560 GL_SERVICE_LOG("glDeleteFramebuffersEXT" 2682 GL_SERVICE_LOG("glDeleteFramebuffersEXT"
2561 << "(" << n << ", " << static_cast<const void*>(framebuffers) 2683 << "(" << n << ", " << static_cast<const void*>(framebuffers)
2562 << ")"); 2684 << ")");
2563 g_driver_gl.debug_fn.glDeleteFramebuffersEXTFn(n, framebuffers); 2685 g_driver_gl.debug_fn.glDeleteFramebuffersEXTFn(n, framebuffers);
2564 } 2686 }
2565 2687
2688 static void GL_BINDING_CALL Debug_glDeletePathsNV(GLuint path, GLsizei range) {
2689 GL_SERVICE_LOG("glDeletePathsNV"
2690 << "(" << path << ", " << range << ")");
2691 g_driver_gl.debug_fn.glDeletePathsNVFn(path, range);
2692 }
2693
2566 static void GL_BINDING_CALL Debug_glDeleteProgram(GLuint program) { 2694 static void GL_BINDING_CALL Debug_glDeleteProgram(GLuint program) {
2567 GL_SERVICE_LOG("glDeleteProgram" 2695 GL_SERVICE_LOG("glDeleteProgram"
2568 << "(" << program << ")"); 2696 << "(" << program << ")");
2569 g_driver_gl.debug_fn.glDeleteProgramFn(program); 2697 g_driver_gl.debug_fn.glDeleteProgramFn(program);
2570 } 2698 }
2571 2699
2572 static void GL_BINDING_CALL 2700 static void GL_BINDING_CALL
2573 Debug_glDeleteQueries(GLsizei n, const GLuint* ids) { 2701 Debug_glDeleteQueries(GLsizei n, const GLuint* ids) {
2574 GL_SERVICE_LOG("glDeleteQueries" 2702 GL_SERVICE_LOG("glDeleteQueries"
2575 << "(" << n << ", " << static_cast<const void*>(ids) << ")"); 2703 << "(" << n << ", " << static_cast<const void*>(ids) << ")");
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
2949 } 3077 }
2950 3078
2951 static void GL_BINDING_CALL 3079 static void GL_BINDING_CALL
2952 Debug_glGenFramebuffersEXT(GLsizei n, GLuint* framebuffers) { 3080 Debug_glGenFramebuffersEXT(GLsizei n, GLuint* framebuffers) {
2953 GL_SERVICE_LOG("glGenFramebuffersEXT" 3081 GL_SERVICE_LOG("glGenFramebuffersEXT"
2954 << "(" << n << ", " << static_cast<const void*>(framebuffers) 3082 << "(" << n << ", " << static_cast<const void*>(framebuffers)
2955 << ")"); 3083 << ")");
2956 g_driver_gl.debug_fn.glGenFramebuffersEXTFn(n, framebuffers); 3084 g_driver_gl.debug_fn.glGenFramebuffersEXTFn(n, framebuffers);
2957 } 3085 }
2958 3086
3087 static GLuint GL_BINDING_CALL Debug_glGenPathsNV(GLsizei range) {
3088 GL_SERVICE_LOG("glGenPathsNV"
3089 << "(" << range << ")");
3090 GLuint result = g_driver_gl.debug_fn.glGenPathsNVFn(range);
3091 GL_SERVICE_LOG("GL_RESULT: " << result);
3092 return result;
3093 }
3094
2959 static void GL_BINDING_CALL Debug_glGenQueries(GLsizei n, GLuint* ids) { 3095 static void GL_BINDING_CALL Debug_glGenQueries(GLsizei n, GLuint* ids) {
2960 GL_SERVICE_LOG("glGenQueries" 3096 GL_SERVICE_LOG("glGenQueries"
2961 << "(" << n << ", " << static_cast<const void*>(ids) << ")"); 3097 << "(" << n << ", " << static_cast<const void*>(ids) << ")");
2962 g_driver_gl.debug_fn.glGenQueriesFn(n, ids); 3098 g_driver_gl.debug_fn.glGenQueriesFn(n, ids);
2963 } 3099 }
2964 3100
2965 static void GL_BINDING_CALL 3101 static void GL_BINDING_CALL
2966 Debug_glGenRenderbuffersEXT(GLsizei n, GLuint* renderbuffers) { 3102 Debug_glGenRenderbuffersEXT(GLsizei n, GLuint* renderbuffers) {
2967 GL_SERVICE_LOG("glGenRenderbuffersEXT" 3103 GL_SERVICE_LOG("glGenRenderbuffersEXT"
2968 << "(" << n << ", " << static_cast<const void*>(renderbuffers) 3104 << "(" << n << ", " << static_cast<const void*>(renderbuffers)
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
3631 } 3767 }
3632 3768
3633 static GLboolean GL_BINDING_CALL Debug_glIsFramebufferEXT(GLuint framebuffer) { 3769 static GLboolean GL_BINDING_CALL Debug_glIsFramebufferEXT(GLuint framebuffer) {
3634 GL_SERVICE_LOG("glIsFramebufferEXT" 3770 GL_SERVICE_LOG("glIsFramebufferEXT"
3635 << "(" << framebuffer << ")"); 3771 << "(" << framebuffer << ")");
3636 GLboolean result = g_driver_gl.debug_fn.glIsFramebufferEXTFn(framebuffer); 3772 GLboolean result = g_driver_gl.debug_fn.glIsFramebufferEXTFn(framebuffer);
3637 GL_SERVICE_LOG("GL_RESULT: " << result); 3773 GL_SERVICE_LOG("GL_RESULT: " << result);
3638 return result; 3774 return result;
3639 } 3775 }
3640 3776
3777 static GLboolean GL_BINDING_CALL Debug_glIsPathNV(GLuint path) {
3778 GL_SERVICE_LOG("glIsPathNV"
3779 << "(" << path << ")");
3780 GLboolean result = g_driver_gl.debug_fn.glIsPathNVFn(path);
3781 GL_SERVICE_LOG("GL_RESULT: " << result);
3782 return result;
3783 }
3784
3641 static GLboolean GL_BINDING_CALL Debug_glIsProgram(GLuint program) { 3785 static GLboolean GL_BINDING_CALL Debug_glIsProgram(GLuint program) {
3642 GL_SERVICE_LOG("glIsProgram" 3786 GL_SERVICE_LOG("glIsProgram"
3643 << "(" << program << ")"); 3787 << "(" << program << ")");
3644 GLboolean result = g_driver_gl.debug_fn.glIsProgramFn(program); 3788 GLboolean result = g_driver_gl.debug_fn.glIsProgramFn(program);
3645 GL_SERVICE_LOG("GL_RESULT: " << result); 3789 GL_SERVICE_LOG("GL_RESULT: " << result);
3646 return result; 3790 return result;
3647 } 3791 }
3648 3792
3649 static GLboolean GL_BINDING_CALL Debug_glIsQuery(GLuint query) { 3793 static GLboolean GL_BINDING_CALL Debug_glIsQuery(GLuint query) {
3650 GL_SERVICE_LOG("glIsQuery" 3794 GL_SERVICE_LOG("glIsQuery"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
3752 << static_cast<const void*>(m) << ")"); 3896 << static_cast<const void*>(m) << ")");
3753 g_driver_gl.debug_fn.glMatrixLoadfEXTFn(matrixMode, m); 3897 g_driver_gl.debug_fn.glMatrixLoadfEXTFn(matrixMode, m);
3754 } 3898 }
3755 3899
3756 static void GL_BINDING_CALL Debug_glMatrixLoadIdentityEXT(GLenum matrixMode) { 3900 static void GL_BINDING_CALL Debug_glMatrixLoadIdentityEXT(GLenum matrixMode) {
3757 GL_SERVICE_LOG("glMatrixLoadIdentityEXT" 3901 GL_SERVICE_LOG("glMatrixLoadIdentityEXT"
3758 << "(" << GLEnums::GetStringEnum(matrixMode) << ")"); 3902 << "(" << GLEnums::GetStringEnum(matrixMode) << ")");
3759 g_driver_gl.debug_fn.glMatrixLoadIdentityEXTFn(matrixMode); 3903 g_driver_gl.debug_fn.glMatrixLoadIdentityEXTFn(matrixMode);
3760 } 3904 }
3761 3905
3906 static void GL_BINDING_CALL Debug_glPathCommandsNV(GLuint path,
3907 GLsizei numCommands,
3908 const GLubyte* commands,
3909 GLsizei numCoords,
3910 GLenum coordType,
3911 const GLvoid* coords) {
3912 GL_SERVICE_LOG("glPathCommandsNV"
3913 << "(" << path << ", " << numCommands << ", "
3914 << static_cast<const void*>(commands) << ", " << numCoords
3915 << ", " << GLEnums::GetStringEnum(coordType) << ", "
3916 << static_cast<const void*>(coords) << ")");
3917 g_driver_gl.debug_fn.glPathCommandsNVFn(path, numCommands, commands,
3918 numCoords, coordType, coords);
3919 }
3920
3921 static void GL_BINDING_CALL
3922 Debug_glPathParameterfNV(GLuint path, GLenum pname, GLfloat value) {
3923 GL_SERVICE_LOG("glPathParameterfNV"
3924 << "(" << path << ", " << GLEnums::GetStringEnum(pname) << ", "
3925 << value << ")");
3926 g_driver_gl.debug_fn.glPathParameterfNVFn(path, pname, value);
3927 }
3928
3929 static void GL_BINDING_CALL
3930 Debug_glPathParameteriNV(GLuint path, GLenum pname, GLint value) {
3931 GL_SERVICE_LOG("glPathParameteriNV"
3932 << "(" << path << ", " << GLEnums::GetStringEnum(pname) << ", "
3933 << value << ")");
3934 g_driver_gl.debug_fn.glPathParameteriNVFn(path, pname, value);
3935 }
3936
3937 static void GL_BINDING_CALL
3938 Debug_glPathStencilFuncNV(GLenum func, GLint ref, GLuint mask) {
3939 GL_SERVICE_LOG("glPathStencilFuncNV"
3940 << "(" << GLEnums::GetStringEnum(func) << ", " << ref << ", "
3941 << mask << ")");
3942 g_driver_gl.debug_fn.glPathStencilFuncNVFn(func, ref, mask);
3943 }
3944
3762 static void GL_BINDING_CALL Debug_glPauseTransformFeedback(void) { 3945 static void GL_BINDING_CALL Debug_glPauseTransformFeedback(void) {
3763 GL_SERVICE_LOG("glPauseTransformFeedback" 3946 GL_SERVICE_LOG("glPauseTransformFeedback"
3764 << "(" 3947 << "("
3765 << ")"); 3948 << ")");
3766 g_driver_gl.debug_fn.glPauseTransformFeedbackFn(); 3949 g_driver_gl.debug_fn.glPauseTransformFeedbackFn();
3767 } 3950 }
3768 3951
3769 static void GL_BINDING_CALL Debug_glPixelStorei(GLenum pname, GLint param) { 3952 static void GL_BINDING_CALL Debug_glPixelStorei(GLenum pname, GLint param) {
3770 GL_SERVICE_LOG("glPixelStorei" 3953 GL_SERVICE_LOG("glPixelStorei"
3771 << "(" << GLEnums::GetStringEnum(pname) << ", " << param 3954 << "(" << GLEnums::GetStringEnum(pname) << ", " << param
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
4026 GL_SERVICE_LOG(" " << ii << ": ---\n" << str[ii] << "\n---"); 4209 GL_SERVICE_LOG(" " << ii << ": ---\n" << str[ii] << "\n---");
4027 } 4210 }
4028 } else { 4211 } else {
4029 GL_SERVICE_LOG(" " << ii << ": NULL"); 4212 GL_SERVICE_LOG(" " << ii << ": NULL");
4030 } 4213 }
4031 } 4214 }
4032 }); 4215 });
4033 } 4216 }
4034 4217
4035 static void GL_BINDING_CALL 4218 static void GL_BINDING_CALL
4219 Debug_glStencilFillPathNV(GLuint path, GLenum fillMode, GLuint mask) {
4220 GL_SERVICE_LOG("glStencilFillPathNV"
4221 << "(" << path << ", " << GLEnums::GetStringEnum(fillMode)
4222 << ", " << mask << ")");
4223 g_driver_gl.debug_fn.glStencilFillPathNVFn(path, fillMode, mask);
4224 }
4225
4226 static void GL_BINDING_CALL
4036 Debug_glStencilFunc(GLenum func, GLint ref, GLuint mask) { 4227 Debug_glStencilFunc(GLenum func, GLint ref, GLuint mask) {
4037 GL_SERVICE_LOG("glStencilFunc" 4228 GL_SERVICE_LOG("glStencilFunc"
4038 << "(" << GLEnums::GetStringEnum(func) << ", " << ref << ", " 4229 << "(" << GLEnums::GetStringEnum(func) << ", " << ref << ", "
4039 << mask << ")"); 4230 << mask << ")");
4040 g_driver_gl.debug_fn.glStencilFuncFn(func, ref, mask); 4231 g_driver_gl.debug_fn.glStencilFuncFn(func, ref, mask);
4041 } 4232 }
4042 4233
4043 static void GL_BINDING_CALL 4234 static void GL_BINDING_CALL
4044 Debug_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) { 4235 Debug_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) {
4045 GL_SERVICE_LOG("glStencilFuncSeparate" 4236 GL_SERVICE_LOG("glStencilFuncSeparate"
(...skipping 30 matching lines...) Expand all
4076 GLenum zfail, 4267 GLenum zfail,
4077 GLenum zpass) { 4268 GLenum zpass) {
4078 GL_SERVICE_LOG("glStencilOpSeparate" 4269 GL_SERVICE_LOG("glStencilOpSeparate"
4079 << "(" << GLEnums::GetStringEnum(face) << ", " 4270 << "(" << GLEnums::GetStringEnum(face) << ", "
4080 << GLEnums::GetStringEnum(fail) << ", " 4271 << GLEnums::GetStringEnum(fail) << ", "
4081 << GLEnums::GetStringEnum(zfail) << ", " 4272 << GLEnums::GetStringEnum(zfail) << ", "
4082 << GLEnums::GetStringEnum(zpass) << ")"); 4273 << GLEnums::GetStringEnum(zpass) << ")");
4083 g_driver_gl.debug_fn.glStencilOpSeparateFn(face, fail, zfail, zpass); 4274 g_driver_gl.debug_fn.glStencilOpSeparateFn(face, fail, zfail, zpass);
4084 } 4275 }
4085 4276
4277 static void GL_BINDING_CALL
4278 Debug_glStencilStrokePathNV(GLuint path, GLint reference, GLuint mask) {
4279 GL_SERVICE_LOG("glStencilStrokePathNV"
4280 << "(" << path << ", " << reference << ", " << mask << ")");
4281 g_driver_gl.debug_fn.glStencilStrokePathNVFn(path, reference, mask);
4282 }
4283
4284 static void GL_BINDING_CALL
4285 Debug_glStencilThenCoverFillPathNV(GLuint path,
4286 GLenum fillMode,
4287 GLuint mask,
4288 GLenum coverMode) {
4289 GL_SERVICE_LOG("glStencilThenCoverFillPathNV"
4290 << "(" << path << ", " << GLEnums::GetStringEnum(fillMode)
4291 << ", " << mask << ", " << GLEnums::GetStringEnum(coverMode)
4292 << ")");
4293 g_driver_gl.debug_fn.glStencilThenCoverFillPathNVFn(path, fillMode, mask,
4294 coverMode);
4295 }
4296
4297 static void GL_BINDING_CALL
4298 Debug_glStencilThenCoverStrokePathNV(GLuint path,
4299 GLint reference,
4300 GLuint mask,
4301 GLenum coverMode) {
4302 GL_SERVICE_LOG("glStencilThenCoverStrokePathNV"
4303 << "(" << path << ", " << reference << ", " << mask << ", "
4304 << GLEnums::GetStringEnum(coverMode) << ")");
4305 g_driver_gl.debug_fn.glStencilThenCoverStrokePathNVFn(path, reference, mask,
4306 coverMode);
4307 }
4308
4086 static GLboolean GL_BINDING_CALL Debug_glTestFenceAPPLE(GLuint fence) { 4309 static GLboolean GL_BINDING_CALL Debug_glTestFenceAPPLE(GLuint fence) {
4087 GL_SERVICE_LOG("glTestFenceAPPLE" 4310 GL_SERVICE_LOG("glTestFenceAPPLE"
4088 << "(" << fence << ")"); 4311 << "(" << fence << ")");
4089 GLboolean result = g_driver_gl.debug_fn.glTestFenceAPPLEFn(fence); 4312 GLboolean result = g_driver_gl.debug_fn.glTestFenceAPPLEFn(fence);
4090 GL_SERVICE_LOG("GL_RESULT: " << result); 4313 GL_SERVICE_LOG("GL_RESULT: " << result);
4091 return result; 4314 return result;
4092 } 4315 }
4093 4316
4094 static GLboolean GL_BINDING_CALL Debug_glTestFenceNV(GLuint fence) { 4317 static GLboolean GL_BINDING_CALL Debug_glTestFenceNV(GLuint fence) {
4095 GL_SERVICE_LOG("glTestFenceNV" 4318 GL_SERVICE_LOG("glTestFenceNV"
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
4909 fn.glCopyTexImage2DFn = Debug_glCopyTexImage2D; 5132 fn.glCopyTexImage2DFn = Debug_glCopyTexImage2D;
4910 } 5133 }
4911 if (!debug_fn.glCopyTexSubImage2DFn) { 5134 if (!debug_fn.glCopyTexSubImage2DFn) {
4912 debug_fn.glCopyTexSubImage2DFn = fn.glCopyTexSubImage2DFn; 5135 debug_fn.glCopyTexSubImage2DFn = fn.glCopyTexSubImage2DFn;
4913 fn.glCopyTexSubImage2DFn = Debug_glCopyTexSubImage2D; 5136 fn.glCopyTexSubImage2DFn = Debug_glCopyTexSubImage2D;
4914 } 5137 }
4915 if (!debug_fn.glCopyTexSubImage3DFn) { 5138 if (!debug_fn.glCopyTexSubImage3DFn) {
4916 debug_fn.glCopyTexSubImage3DFn = fn.glCopyTexSubImage3DFn; 5139 debug_fn.glCopyTexSubImage3DFn = fn.glCopyTexSubImage3DFn;
4917 fn.glCopyTexSubImage3DFn = Debug_glCopyTexSubImage3D; 5140 fn.glCopyTexSubImage3DFn = Debug_glCopyTexSubImage3D;
4918 } 5141 }
5142 if (!debug_fn.glCoverFillPathNVFn) {
5143 debug_fn.glCoverFillPathNVFn = fn.glCoverFillPathNVFn;
5144 fn.glCoverFillPathNVFn = Debug_glCoverFillPathNV;
5145 }
5146 if (!debug_fn.glCoverStrokePathNVFn) {
5147 debug_fn.glCoverStrokePathNVFn = fn.glCoverStrokePathNVFn;
5148 fn.glCoverStrokePathNVFn = Debug_glCoverStrokePathNV;
5149 }
4919 if (!debug_fn.glCreateProgramFn) { 5150 if (!debug_fn.glCreateProgramFn) {
4920 debug_fn.glCreateProgramFn = fn.glCreateProgramFn; 5151 debug_fn.glCreateProgramFn = fn.glCreateProgramFn;
4921 fn.glCreateProgramFn = Debug_glCreateProgram; 5152 fn.glCreateProgramFn = Debug_glCreateProgram;
4922 } 5153 }
4923 if (!debug_fn.glCreateShaderFn) { 5154 if (!debug_fn.glCreateShaderFn) {
4924 debug_fn.glCreateShaderFn = fn.glCreateShaderFn; 5155 debug_fn.glCreateShaderFn = fn.glCreateShaderFn;
4925 fn.glCreateShaderFn = Debug_glCreateShader; 5156 fn.glCreateShaderFn = Debug_glCreateShader;
4926 } 5157 }
4927 if (!debug_fn.glCullFaceFn) { 5158 if (!debug_fn.glCullFaceFn) {
4928 debug_fn.glCullFaceFn = fn.glCullFaceFn; 5159 debug_fn.glCullFaceFn = fn.glCullFaceFn;
4929 fn.glCullFaceFn = Debug_glCullFace; 5160 fn.glCullFaceFn = Debug_glCullFace;
4930 } 5161 }
4931 if (!debug_fn.glDeleteBuffersARBFn) { 5162 if (!debug_fn.glDeleteBuffersARBFn) {
4932 debug_fn.glDeleteBuffersARBFn = fn.glDeleteBuffersARBFn; 5163 debug_fn.glDeleteBuffersARBFn = fn.glDeleteBuffersARBFn;
4933 fn.glDeleteBuffersARBFn = Debug_glDeleteBuffersARB; 5164 fn.glDeleteBuffersARBFn = Debug_glDeleteBuffersARB;
4934 } 5165 }
4935 if (!debug_fn.glDeleteFencesAPPLEFn) { 5166 if (!debug_fn.glDeleteFencesAPPLEFn) {
4936 debug_fn.glDeleteFencesAPPLEFn = fn.glDeleteFencesAPPLEFn; 5167 debug_fn.glDeleteFencesAPPLEFn = fn.glDeleteFencesAPPLEFn;
4937 fn.glDeleteFencesAPPLEFn = Debug_glDeleteFencesAPPLE; 5168 fn.glDeleteFencesAPPLEFn = Debug_glDeleteFencesAPPLE;
4938 } 5169 }
4939 if (!debug_fn.glDeleteFencesNVFn) { 5170 if (!debug_fn.glDeleteFencesNVFn) {
4940 debug_fn.glDeleteFencesNVFn = fn.glDeleteFencesNVFn; 5171 debug_fn.glDeleteFencesNVFn = fn.glDeleteFencesNVFn;
4941 fn.glDeleteFencesNVFn = Debug_glDeleteFencesNV; 5172 fn.glDeleteFencesNVFn = Debug_glDeleteFencesNV;
4942 } 5173 }
4943 if (!debug_fn.glDeleteFramebuffersEXTFn) { 5174 if (!debug_fn.glDeleteFramebuffersEXTFn) {
4944 debug_fn.glDeleteFramebuffersEXTFn = fn.glDeleteFramebuffersEXTFn; 5175 debug_fn.glDeleteFramebuffersEXTFn = fn.glDeleteFramebuffersEXTFn;
4945 fn.glDeleteFramebuffersEXTFn = Debug_glDeleteFramebuffersEXT; 5176 fn.glDeleteFramebuffersEXTFn = Debug_glDeleteFramebuffersEXT;
4946 } 5177 }
5178 if (!debug_fn.glDeletePathsNVFn) {
5179 debug_fn.glDeletePathsNVFn = fn.glDeletePathsNVFn;
5180 fn.glDeletePathsNVFn = Debug_glDeletePathsNV;
5181 }
4947 if (!debug_fn.glDeleteProgramFn) { 5182 if (!debug_fn.glDeleteProgramFn) {
4948 debug_fn.glDeleteProgramFn = fn.glDeleteProgramFn; 5183 debug_fn.glDeleteProgramFn = fn.glDeleteProgramFn;
4949 fn.glDeleteProgramFn = Debug_glDeleteProgram; 5184 fn.glDeleteProgramFn = Debug_glDeleteProgram;
4950 } 5185 }
4951 if (!debug_fn.glDeleteQueriesFn) { 5186 if (!debug_fn.glDeleteQueriesFn) {
4952 debug_fn.glDeleteQueriesFn = fn.glDeleteQueriesFn; 5187 debug_fn.glDeleteQueriesFn = fn.glDeleteQueriesFn;
4953 fn.glDeleteQueriesFn = Debug_glDeleteQueries; 5188 fn.glDeleteQueriesFn = Debug_glDeleteQueries;
4954 } 5189 }
4955 if (!debug_fn.glDeleteRenderbuffersEXTFn) { 5190 if (!debug_fn.glDeleteRenderbuffersEXTFn) {
4956 debug_fn.glDeleteRenderbuffersEXTFn = fn.glDeleteRenderbuffersEXTFn; 5191 debug_fn.glDeleteRenderbuffersEXTFn = fn.glDeleteRenderbuffersEXTFn;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
5131 fn.glGenFencesAPPLEFn = Debug_glGenFencesAPPLE; 5366 fn.glGenFencesAPPLEFn = Debug_glGenFencesAPPLE;
5132 } 5367 }
5133 if (!debug_fn.glGenFencesNVFn) { 5368 if (!debug_fn.glGenFencesNVFn) {
5134 debug_fn.glGenFencesNVFn = fn.glGenFencesNVFn; 5369 debug_fn.glGenFencesNVFn = fn.glGenFencesNVFn;
5135 fn.glGenFencesNVFn = Debug_glGenFencesNV; 5370 fn.glGenFencesNVFn = Debug_glGenFencesNV;
5136 } 5371 }
5137 if (!debug_fn.glGenFramebuffersEXTFn) { 5372 if (!debug_fn.glGenFramebuffersEXTFn) {
5138 debug_fn.glGenFramebuffersEXTFn = fn.glGenFramebuffersEXTFn; 5373 debug_fn.glGenFramebuffersEXTFn = fn.glGenFramebuffersEXTFn;
5139 fn.glGenFramebuffersEXTFn = Debug_glGenFramebuffersEXT; 5374 fn.glGenFramebuffersEXTFn = Debug_glGenFramebuffersEXT;
5140 } 5375 }
5376 if (!debug_fn.glGenPathsNVFn) {
5377 debug_fn.glGenPathsNVFn = fn.glGenPathsNVFn;
5378 fn.glGenPathsNVFn = Debug_glGenPathsNV;
5379 }
5141 if (!debug_fn.glGenQueriesFn) { 5380 if (!debug_fn.glGenQueriesFn) {
5142 debug_fn.glGenQueriesFn = fn.glGenQueriesFn; 5381 debug_fn.glGenQueriesFn = fn.glGenQueriesFn;
5143 fn.glGenQueriesFn = Debug_glGenQueries; 5382 fn.glGenQueriesFn = Debug_glGenQueries;
5144 } 5383 }
5145 if (!debug_fn.glGenRenderbuffersEXTFn) { 5384 if (!debug_fn.glGenRenderbuffersEXTFn) {
5146 debug_fn.glGenRenderbuffersEXTFn = fn.glGenRenderbuffersEXTFn; 5385 debug_fn.glGenRenderbuffersEXTFn = fn.glGenRenderbuffersEXTFn;
5147 fn.glGenRenderbuffersEXTFn = Debug_glGenRenderbuffersEXT; 5386 fn.glGenRenderbuffersEXTFn = Debug_glGenRenderbuffersEXT;
5148 } 5387 }
5149 if (!debug_fn.glGenSamplersFn) { 5388 if (!debug_fn.glGenSamplersFn) {
5150 debug_fn.glGenSamplersFn = fn.glGenSamplersFn; 5389 debug_fn.glGenSamplersFn = fn.glGenSamplersFn;
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
5414 fn.glIsFenceAPPLEFn = Debug_glIsFenceAPPLE; 5653 fn.glIsFenceAPPLEFn = Debug_glIsFenceAPPLE;
5415 } 5654 }
5416 if (!debug_fn.glIsFenceNVFn) { 5655 if (!debug_fn.glIsFenceNVFn) {
5417 debug_fn.glIsFenceNVFn = fn.glIsFenceNVFn; 5656 debug_fn.glIsFenceNVFn = fn.glIsFenceNVFn;
5418 fn.glIsFenceNVFn = Debug_glIsFenceNV; 5657 fn.glIsFenceNVFn = Debug_glIsFenceNV;
5419 } 5658 }
5420 if (!debug_fn.glIsFramebufferEXTFn) { 5659 if (!debug_fn.glIsFramebufferEXTFn) {
5421 debug_fn.glIsFramebufferEXTFn = fn.glIsFramebufferEXTFn; 5660 debug_fn.glIsFramebufferEXTFn = fn.glIsFramebufferEXTFn;
5422 fn.glIsFramebufferEXTFn = Debug_glIsFramebufferEXT; 5661 fn.glIsFramebufferEXTFn = Debug_glIsFramebufferEXT;
5423 } 5662 }
5663 if (!debug_fn.glIsPathNVFn) {
5664 debug_fn.glIsPathNVFn = fn.glIsPathNVFn;
5665 fn.glIsPathNVFn = Debug_glIsPathNV;
5666 }
5424 if (!debug_fn.glIsProgramFn) { 5667 if (!debug_fn.glIsProgramFn) {
5425 debug_fn.glIsProgramFn = fn.glIsProgramFn; 5668 debug_fn.glIsProgramFn = fn.glIsProgramFn;
5426 fn.glIsProgramFn = Debug_glIsProgram; 5669 fn.glIsProgramFn = Debug_glIsProgram;
5427 } 5670 }
5428 if (!debug_fn.glIsQueryFn) { 5671 if (!debug_fn.glIsQueryFn) {
5429 debug_fn.glIsQueryFn = fn.glIsQueryFn; 5672 debug_fn.glIsQueryFn = fn.glIsQueryFn;
5430 fn.glIsQueryFn = Debug_glIsQuery; 5673 fn.glIsQueryFn = Debug_glIsQuery;
5431 } 5674 }
5432 if (!debug_fn.glIsRenderbufferEXTFn) { 5675 if (!debug_fn.glIsRenderbufferEXTFn) {
5433 debug_fn.glIsRenderbufferEXTFn = fn.glIsRenderbufferEXTFn; 5676 debug_fn.glIsRenderbufferEXTFn = fn.glIsRenderbufferEXTFn;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
5474 fn.glMapBufferRangeFn = Debug_glMapBufferRange; 5717 fn.glMapBufferRangeFn = Debug_glMapBufferRange;
5475 } 5718 }
5476 if (!debug_fn.glMatrixLoadfEXTFn) { 5719 if (!debug_fn.glMatrixLoadfEXTFn) {
5477 debug_fn.glMatrixLoadfEXTFn = fn.glMatrixLoadfEXTFn; 5720 debug_fn.glMatrixLoadfEXTFn = fn.glMatrixLoadfEXTFn;
5478 fn.glMatrixLoadfEXTFn = Debug_glMatrixLoadfEXT; 5721 fn.glMatrixLoadfEXTFn = Debug_glMatrixLoadfEXT;
5479 } 5722 }
5480 if (!debug_fn.glMatrixLoadIdentityEXTFn) { 5723 if (!debug_fn.glMatrixLoadIdentityEXTFn) {
5481 debug_fn.glMatrixLoadIdentityEXTFn = fn.glMatrixLoadIdentityEXTFn; 5724 debug_fn.glMatrixLoadIdentityEXTFn = fn.glMatrixLoadIdentityEXTFn;
5482 fn.glMatrixLoadIdentityEXTFn = Debug_glMatrixLoadIdentityEXT; 5725 fn.glMatrixLoadIdentityEXTFn = Debug_glMatrixLoadIdentityEXT;
5483 } 5726 }
5727 if (!debug_fn.glPathCommandsNVFn) {
5728 debug_fn.glPathCommandsNVFn = fn.glPathCommandsNVFn;
5729 fn.glPathCommandsNVFn = Debug_glPathCommandsNV;
5730 }
5731 if (!debug_fn.glPathParameterfNVFn) {
5732 debug_fn.glPathParameterfNVFn = fn.glPathParameterfNVFn;
5733 fn.glPathParameterfNVFn = Debug_glPathParameterfNV;
5734 }
5735 if (!debug_fn.glPathParameteriNVFn) {
5736 debug_fn.glPathParameteriNVFn = fn.glPathParameteriNVFn;
5737 fn.glPathParameteriNVFn = Debug_glPathParameteriNV;
5738 }
5739 if (!debug_fn.glPathStencilFuncNVFn) {
5740 debug_fn.glPathStencilFuncNVFn = fn.glPathStencilFuncNVFn;
5741 fn.glPathStencilFuncNVFn = Debug_glPathStencilFuncNV;
5742 }
5484 if (!debug_fn.glPauseTransformFeedbackFn) { 5743 if (!debug_fn.glPauseTransformFeedbackFn) {
5485 debug_fn.glPauseTransformFeedbackFn = fn.glPauseTransformFeedbackFn; 5744 debug_fn.glPauseTransformFeedbackFn = fn.glPauseTransformFeedbackFn;
5486 fn.glPauseTransformFeedbackFn = Debug_glPauseTransformFeedback; 5745 fn.glPauseTransformFeedbackFn = Debug_glPauseTransformFeedback;
5487 } 5746 }
5488 if (!debug_fn.glPixelStoreiFn) { 5747 if (!debug_fn.glPixelStoreiFn) {
5489 debug_fn.glPixelStoreiFn = fn.glPixelStoreiFn; 5748 debug_fn.glPixelStoreiFn = fn.glPixelStoreiFn;
5490 fn.glPixelStoreiFn = Debug_glPixelStorei; 5749 fn.glPixelStoreiFn = Debug_glPixelStorei;
5491 } 5750 }
5492 if (!debug_fn.glPointParameteriFn) { 5751 if (!debug_fn.glPointParameteriFn) {
5493 debug_fn.glPointParameteriFn = fn.glPointParameteriFn; 5752 debug_fn.glPointParameteriFn = fn.glPointParameteriFn;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
5594 fn.glSetFenceNVFn = Debug_glSetFenceNV; 5853 fn.glSetFenceNVFn = Debug_glSetFenceNV;
5595 } 5854 }
5596 if (!debug_fn.glShaderBinaryFn) { 5855 if (!debug_fn.glShaderBinaryFn) {
5597 debug_fn.glShaderBinaryFn = fn.glShaderBinaryFn; 5856 debug_fn.glShaderBinaryFn = fn.glShaderBinaryFn;
5598 fn.glShaderBinaryFn = Debug_glShaderBinary; 5857 fn.glShaderBinaryFn = Debug_glShaderBinary;
5599 } 5858 }
5600 if (!debug_fn.glShaderSourceFn) { 5859 if (!debug_fn.glShaderSourceFn) {
5601 debug_fn.glShaderSourceFn = fn.glShaderSourceFn; 5860 debug_fn.glShaderSourceFn = fn.glShaderSourceFn;
5602 fn.glShaderSourceFn = Debug_glShaderSource; 5861 fn.glShaderSourceFn = Debug_glShaderSource;
5603 } 5862 }
5863 if (!debug_fn.glStencilFillPathNVFn) {
5864 debug_fn.glStencilFillPathNVFn = fn.glStencilFillPathNVFn;
5865 fn.glStencilFillPathNVFn = Debug_glStencilFillPathNV;
5866 }
5604 if (!debug_fn.glStencilFuncFn) { 5867 if (!debug_fn.glStencilFuncFn) {
5605 debug_fn.glStencilFuncFn = fn.glStencilFuncFn; 5868 debug_fn.glStencilFuncFn = fn.glStencilFuncFn;
5606 fn.glStencilFuncFn = Debug_glStencilFunc; 5869 fn.glStencilFuncFn = Debug_glStencilFunc;
5607 } 5870 }
5608 if (!debug_fn.glStencilFuncSeparateFn) { 5871 if (!debug_fn.glStencilFuncSeparateFn) {
5609 debug_fn.glStencilFuncSeparateFn = fn.glStencilFuncSeparateFn; 5872 debug_fn.glStencilFuncSeparateFn = fn.glStencilFuncSeparateFn;
5610 fn.glStencilFuncSeparateFn = Debug_glStencilFuncSeparate; 5873 fn.glStencilFuncSeparateFn = Debug_glStencilFuncSeparate;
5611 } 5874 }
5612 if (!debug_fn.glStencilMaskFn) { 5875 if (!debug_fn.glStencilMaskFn) {
5613 debug_fn.glStencilMaskFn = fn.glStencilMaskFn; 5876 debug_fn.glStencilMaskFn = fn.glStencilMaskFn;
5614 fn.glStencilMaskFn = Debug_glStencilMask; 5877 fn.glStencilMaskFn = Debug_glStencilMask;
5615 } 5878 }
5616 if (!debug_fn.glStencilMaskSeparateFn) { 5879 if (!debug_fn.glStencilMaskSeparateFn) {
5617 debug_fn.glStencilMaskSeparateFn = fn.glStencilMaskSeparateFn; 5880 debug_fn.glStencilMaskSeparateFn = fn.glStencilMaskSeparateFn;
5618 fn.glStencilMaskSeparateFn = Debug_glStencilMaskSeparate; 5881 fn.glStencilMaskSeparateFn = Debug_glStencilMaskSeparate;
5619 } 5882 }
5620 if (!debug_fn.glStencilOpFn) { 5883 if (!debug_fn.glStencilOpFn) {
5621 debug_fn.glStencilOpFn = fn.glStencilOpFn; 5884 debug_fn.glStencilOpFn = fn.glStencilOpFn;
5622 fn.glStencilOpFn = Debug_glStencilOp; 5885 fn.glStencilOpFn = Debug_glStencilOp;
5623 } 5886 }
5624 if (!debug_fn.glStencilOpSeparateFn) { 5887 if (!debug_fn.glStencilOpSeparateFn) {
5625 debug_fn.glStencilOpSeparateFn = fn.glStencilOpSeparateFn; 5888 debug_fn.glStencilOpSeparateFn = fn.glStencilOpSeparateFn;
5626 fn.glStencilOpSeparateFn = Debug_glStencilOpSeparate; 5889 fn.glStencilOpSeparateFn = Debug_glStencilOpSeparate;
5627 } 5890 }
5891 if (!debug_fn.glStencilStrokePathNVFn) {
5892 debug_fn.glStencilStrokePathNVFn = fn.glStencilStrokePathNVFn;
5893 fn.glStencilStrokePathNVFn = Debug_glStencilStrokePathNV;
5894 }
5895 if (!debug_fn.glStencilThenCoverFillPathNVFn) {
5896 debug_fn.glStencilThenCoverFillPathNVFn = fn.glStencilThenCoverFillPathNVFn;
5897 fn.glStencilThenCoverFillPathNVFn = Debug_glStencilThenCoverFillPathNV;
5898 }
5899 if (!debug_fn.glStencilThenCoverStrokePathNVFn) {
5900 debug_fn.glStencilThenCoverStrokePathNVFn =
5901 fn.glStencilThenCoverStrokePathNVFn;
5902 fn.glStencilThenCoverStrokePathNVFn = Debug_glStencilThenCoverStrokePathNV;
5903 }
5628 if (!debug_fn.glTestFenceAPPLEFn) { 5904 if (!debug_fn.glTestFenceAPPLEFn) {
5629 debug_fn.glTestFenceAPPLEFn = fn.glTestFenceAPPLEFn; 5905 debug_fn.glTestFenceAPPLEFn = fn.glTestFenceAPPLEFn;
5630 fn.glTestFenceAPPLEFn = Debug_glTestFenceAPPLE; 5906 fn.glTestFenceAPPLEFn = Debug_glTestFenceAPPLE;
5631 } 5907 }
5632 if (!debug_fn.glTestFenceNVFn) { 5908 if (!debug_fn.glTestFenceNVFn) {
5633 debug_fn.glTestFenceNVFn = fn.glTestFenceNVFn; 5909 debug_fn.glTestFenceNVFn = fn.glTestFenceNVFn;
5634 fn.glTestFenceNVFn = Debug_glTestFenceNV; 5910 fn.glTestFenceNVFn = Debug_glTestFenceNV;
5635 } 5911 }
5636 if (!debug_fn.glTexImage2DFn) { 5912 if (!debug_fn.glTexImage2DFn) {
5637 debug_fn.glTexImage2DFn = fn.glTexImage2DFn; 5913 debug_fn.glTexImage2DFn = fn.glTexImage2DFn;
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
6224 GLint yoffset, 6500 GLint yoffset,
6225 GLint zoffset, 6501 GLint zoffset,
6226 GLint x, 6502 GLint x,
6227 GLint y, 6503 GLint y,
6228 GLsizei width, 6504 GLsizei width,
6229 GLsizei height) { 6505 GLsizei height) {
6230 driver_->fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, 6506 driver_->fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x,
6231 y, width, height); 6507 y, width, height);
6232 } 6508 }
6233 6509
6510 void GLApiBase::glCoverFillPathNVFn(GLuint path, GLenum coverMode) {
6511 driver_->fn.glCoverFillPathNVFn(path, coverMode);
6512 }
6513
6514 void GLApiBase::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) {
6515 driver_->fn.glCoverStrokePathNVFn(name, coverMode);
6516 }
6517
6234 GLuint GLApiBase::glCreateProgramFn(void) { 6518 GLuint GLApiBase::glCreateProgramFn(void) {
6235 return driver_->fn.glCreateProgramFn(); 6519 return driver_->fn.glCreateProgramFn();
6236 } 6520 }
6237 6521
6238 GLuint GLApiBase::glCreateShaderFn(GLenum type) { 6522 GLuint GLApiBase::glCreateShaderFn(GLenum type) {
6239 return driver_->fn.glCreateShaderFn(type); 6523 return driver_->fn.glCreateShaderFn(type);
6240 } 6524 }
6241 6525
6242 void GLApiBase::glCullFaceFn(GLenum mode) { 6526 void GLApiBase::glCullFaceFn(GLenum mode) {
6243 driver_->fn.glCullFaceFn(mode); 6527 driver_->fn.glCullFaceFn(mode);
6244 } 6528 }
6245 6529
6246 void GLApiBase::glDeleteBuffersARBFn(GLsizei n, const GLuint* buffers) { 6530 void GLApiBase::glDeleteBuffersARBFn(GLsizei n, const GLuint* buffers) {
6247 driver_->fn.glDeleteBuffersARBFn(n, buffers); 6531 driver_->fn.glDeleteBuffersARBFn(n, buffers);
6248 } 6532 }
6249 6533
6250 void GLApiBase::glDeleteFencesAPPLEFn(GLsizei n, const GLuint* fences) { 6534 void GLApiBase::glDeleteFencesAPPLEFn(GLsizei n, const GLuint* fences) {
6251 driver_->fn.glDeleteFencesAPPLEFn(n, fences); 6535 driver_->fn.glDeleteFencesAPPLEFn(n, fences);
6252 } 6536 }
6253 6537
6254 void GLApiBase::glDeleteFencesNVFn(GLsizei n, const GLuint* fences) { 6538 void GLApiBase::glDeleteFencesNVFn(GLsizei n, const GLuint* fences) {
6255 driver_->fn.glDeleteFencesNVFn(n, fences); 6539 driver_->fn.glDeleteFencesNVFn(n, fences);
6256 } 6540 }
6257 6541
6258 void GLApiBase::glDeleteFramebuffersEXTFn(GLsizei n, 6542 void GLApiBase::glDeleteFramebuffersEXTFn(GLsizei n,
6259 const GLuint* framebuffers) { 6543 const GLuint* framebuffers) {
6260 driver_->fn.glDeleteFramebuffersEXTFn(n, framebuffers); 6544 driver_->fn.glDeleteFramebuffersEXTFn(n, framebuffers);
6261 } 6545 }
6262 6546
6547 void GLApiBase::glDeletePathsNVFn(GLuint path, GLsizei range) {
6548 driver_->fn.glDeletePathsNVFn(path, range);
6549 }
6550
6263 void GLApiBase::glDeleteProgramFn(GLuint program) { 6551 void GLApiBase::glDeleteProgramFn(GLuint program) {
6264 driver_->fn.glDeleteProgramFn(program); 6552 driver_->fn.glDeleteProgramFn(program);
6265 } 6553 }
6266 6554
6267 void GLApiBase::glDeleteQueriesFn(GLsizei n, const GLuint* ids) { 6555 void GLApiBase::glDeleteQueriesFn(GLsizei n, const GLuint* ids) {
6268 driver_->fn.glDeleteQueriesFn(n, ids); 6556 driver_->fn.glDeleteQueriesFn(n, ids);
6269 } 6557 }
6270 6558
6271 void GLApiBase::glDeleteRenderbuffersEXTFn(GLsizei n, 6559 void GLApiBase::glDeleteRenderbuffersEXTFn(GLsizei n,
6272 const GLuint* renderbuffers) { 6560 const GLuint* renderbuffers) {
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
6490 } 6778 }
6491 6779
6492 void GLApiBase::glGenFencesNVFn(GLsizei n, GLuint* fences) { 6780 void GLApiBase::glGenFencesNVFn(GLsizei n, GLuint* fences) {
6493 driver_->fn.glGenFencesNVFn(n, fences); 6781 driver_->fn.glGenFencesNVFn(n, fences);
6494 } 6782 }
6495 6783
6496 void GLApiBase::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) { 6784 void GLApiBase::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) {
6497 driver_->fn.glGenFramebuffersEXTFn(n, framebuffers); 6785 driver_->fn.glGenFramebuffersEXTFn(n, framebuffers);
6498 } 6786 }
6499 6787
6788 GLuint GLApiBase::glGenPathsNVFn(GLsizei range) {
6789 return driver_->fn.glGenPathsNVFn(range);
6790 }
6791
6500 void GLApiBase::glGenQueriesFn(GLsizei n, GLuint* ids) { 6792 void GLApiBase::glGenQueriesFn(GLsizei n, GLuint* ids) {
6501 driver_->fn.glGenQueriesFn(n, ids); 6793 driver_->fn.glGenQueriesFn(n, ids);
6502 } 6794 }
6503 6795
6504 void GLApiBase::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) { 6796 void GLApiBase::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) {
6505 driver_->fn.glGenRenderbuffersEXTFn(n, renderbuffers); 6797 driver_->fn.glGenRenderbuffersEXTFn(n, renderbuffers);
6506 } 6798 }
6507 6799
6508 void GLApiBase::glGenSamplersFn(GLsizei n, GLuint* samplers) { 6800 void GLApiBase::glGenSamplersFn(GLsizei n, GLuint* samplers) {
6509 driver_->fn.glGenSamplersFn(n, samplers); 6801 driver_->fn.glGenSamplersFn(n, samplers);
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
6892 } 7184 }
6893 7185
6894 GLboolean GLApiBase::glIsFenceNVFn(GLuint fence) { 7186 GLboolean GLApiBase::glIsFenceNVFn(GLuint fence) {
6895 return driver_->fn.glIsFenceNVFn(fence); 7187 return driver_->fn.glIsFenceNVFn(fence);
6896 } 7188 }
6897 7189
6898 GLboolean GLApiBase::glIsFramebufferEXTFn(GLuint framebuffer) { 7190 GLboolean GLApiBase::glIsFramebufferEXTFn(GLuint framebuffer) {
6899 return driver_->fn.glIsFramebufferEXTFn(framebuffer); 7191 return driver_->fn.glIsFramebufferEXTFn(framebuffer);
6900 } 7192 }
6901 7193
7194 GLboolean GLApiBase::glIsPathNVFn(GLuint path) {
7195 return driver_->fn.glIsPathNVFn(path);
7196 }
7197
6902 GLboolean GLApiBase::glIsProgramFn(GLuint program) { 7198 GLboolean GLApiBase::glIsProgramFn(GLuint program) {
6903 return driver_->fn.glIsProgramFn(program); 7199 return driver_->fn.glIsProgramFn(program);
6904 } 7200 }
6905 7201
6906 GLboolean GLApiBase::glIsQueryFn(GLuint query) { 7202 GLboolean GLApiBase::glIsQueryFn(GLuint query) {
6907 return driver_->fn.glIsQueryFn(query); 7203 return driver_->fn.glIsQueryFn(query);
6908 } 7204 }
6909 7205
6910 GLboolean GLApiBase::glIsRenderbufferEXTFn(GLuint renderbuffer) { 7206 GLboolean GLApiBase::glIsRenderbufferEXTFn(GLuint renderbuffer) {
6911 return driver_->fn.glIsRenderbufferEXTFn(renderbuffer); 7207 return driver_->fn.glIsRenderbufferEXTFn(renderbuffer);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
6955 } 7251 }
6956 7252
6957 void GLApiBase::glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) { 7253 void GLApiBase::glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) {
6958 driver_->fn.glMatrixLoadfEXTFn(matrixMode, m); 7254 driver_->fn.glMatrixLoadfEXTFn(matrixMode, m);
6959 } 7255 }
6960 7256
6961 void GLApiBase::glMatrixLoadIdentityEXTFn(GLenum matrixMode) { 7257 void GLApiBase::glMatrixLoadIdentityEXTFn(GLenum matrixMode) {
6962 driver_->fn.glMatrixLoadIdentityEXTFn(matrixMode); 7258 driver_->fn.glMatrixLoadIdentityEXTFn(matrixMode);
6963 } 7259 }
6964 7260
7261 void GLApiBase::glPathCommandsNVFn(GLuint path,
7262 GLsizei numCommands,
7263 const GLubyte* commands,
7264 GLsizei numCoords,
7265 GLenum coordType,
7266 const GLvoid* coords) {
7267 driver_->fn.glPathCommandsNVFn(path, numCommands, commands, numCoords,
7268 coordType, coords);
7269 }
7270
7271 void GLApiBase::glPathParameterfNVFn(GLuint path, GLenum pname, GLfloat value) {
7272 driver_->fn.glPathParameterfNVFn(path, pname, value);
7273 }
7274
7275 void GLApiBase::glPathParameteriNVFn(GLuint path, GLenum pname, GLint value) {
7276 driver_->fn.glPathParameteriNVFn(path, pname, value);
7277 }
7278
7279 void GLApiBase::glPathStencilFuncNVFn(GLenum func, GLint ref, GLuint mask) {
7280 driver_->fn.glPathStencilFuncNVFn(func, ref, mask);
7281 }
7282
6965 void GLApiBase::glPauseTransformFeedbackFn(void) { 7283 void GLApiBase::glPauseTransformFeedbackFn(void) {
6966 driver_->fn.glPauseTransformFeedbackFn(); 7284 driver_->fn.glPauseTransformFeedbackFn();
6967 } 7285 }
6968 7286
6969 void GLApiBase::glPixelStoreiFn(GLenum pname, GLint param) { 7287 void GLApiBase::glPixelStoreiFn(GLenum pname, GLint param) {
6970 driver_->fn.glPixelStoreiFn(pname, param); 7288 driver_->fn.glPixelStoreiFn(pname, param);
6971 } 7289 }
6972 7290
6973 void GLApiBase::glPointParameteriFn(GLenum pname, GLint param) { 7291 void GLApiBase::glPointParameteriFn(GLenum pname, GLint param) {
6974 driver_->fn.glPointParameteriFn(pname, param); 7292 driver_->fn.glPointParameteriFn(pname, param);
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
7116 driver_->fn.glShaderBinaryFn(n, shaders, binaryformat, binary, length); 7434 driver_->fn.glShaderBinaryFn(n, shaders, binaryformat, binary, length);
7117 } 7435 }
7118 7436
7119 void GLApiBase::glShaderSourceFn(GLuint shader, 7437 void GLApiBase::glShaderSourceFn(GLuint shader,
7120 GLsizei count, 7438 GLsizei count,
7121 const char* const* str, 7439 const char* const* str,
7122 const GLint* length) { 7440 const GLint* length) {
7123 driver_->fn.glShaderSourceFn(shader, count, str, length); 7441 driver_->fn.glShaderSourceFn(shader, count, str, length);
7124 } 7442 }
7125 7443
7444 void GLApiBase::glStencilFillPathNVFn(GLuint path,
7445 GLenum fillMode,
7446 GLuint mask) {
7447 driver_->fn.glStencilFillPathNVFn(path, fillMode, mask);
7448 }
7449
7126 void GLApiBase::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { 7450 void GLApiBase::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) {
7127 driver_->fn.glStencilFuncFn(func, ref, mask); 7451 driver_->fn.glStencilFuncFn(func, ref, mask);
7128 } 7452 }
7129 7453
7130 void GLApiBase::glStencilFuncSeparateFn(GLenum face, 7454 void GLApiBase::glStencilFuncSeparateFn(GLenum face,
7131 GLenum func, 7455 GLenum func,
7132 GLint ref, 7456 GLint ref,
7133 GLuint mask) { 7457 GLuint mask) {
7134 driver_->fn.glStencilFuncSeparateFn(face, func, ref, mask); 7458 driver_->fn.glStencilFuncSeparateFn(face, func, ref, mask);
7135 } 7459 }
(...skipping 10 matching lines...) Expand all
7146 driver_->fn.glStencilOpFn(fail, zfail, zpass); 7470 driver_->fn.glStencilOpFn(fail, zfail, zpass);
7147 } 7471 }
7148 7472
7149 void GLApiBase::glStencilOpSeparateFn(GLenum face, 7473 void GLApiBase::glStencilOpSeparateFn(GLenum face,
7150 GLenum fail, 7474 GLenum fail,
7151 GLenum zfail, 7475 GLenum zfail,
7152 GLenum zpass) { 7476 GLenum zpass) {
7153 driver_->fn.glStencilOpSeparateFn(face, fail, zfail, zpass); 7477 driver_->fn.glStencilOpSeparateFn(face, fail, zfail, zpass);
7154 } 7478 }
7155 7479
7480 void GLApiBase::glStencilStrokePathNVFn(GLuint path,
7481 GLint reference,
7482 GLuint mask) {
7483 driver_->fn.glStencilStrokePathNVFn(path, reference, mask);
7484 }
7485
7486 void GLApiBase::glStencilThenCoverFillPathNVFn(GLuint path,
7487 GLenum fillMode,
7488 GLuint mask,
7489 GLenum coverMode) {
7490 driver_->fn.glStencilThenCoverFillPathNVFn(path, fillMode, mask, coverMode);
7491 }
7492
7493 void GLApiBase::glStencilThenCoverStrokePathNVFn(GLuint path,
7494 GLint reference,
7495 GLuint mask,
7496 GLenum coverMode) {
7497 driver_->fn.glStencilThenCoverStrokePathNVFn(path, reference, mask,
7498 coverMode);
7499 }
7500
7156 GLboolean GLApiBase::glTestFenceAPPLEFn(GLuint fence) { 7501 GLboolean GLApiBase::glTestFenceAPPLEFn(GLuint fence) {
7157 return driver_->fn.glTestFenceAPPLEFn(fence); 7502 return driver_->fn.glTestFenceAPPLEFn(fence);
7158 } 7503 }
7159 7504
7160 GLboolean GLApiBase::glTestFenceNVFn(GLuint fence) { 7505 GLboolean GLApiBase::glTestFenceNVFn(GLuint fence) {
7161 return driver_->fn.glTestFenceNVFn(fence); 7506 return driver_->fn.glTestFenceNVFn(fence);
7162 } 7507 }
7163 7508
7164 void GLApiBase::glTexImage2DFn(GLenum target, 7509 void GLApiBase::glTexImage2DFn(GLenum target,
7165 GLint level, 7510 GLint level,
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
7942 GLint zoffset, 8287 GLint zoffset,
7943 GLint x, 8288 GLint x,
7944 GLint y, 8289 GLint y,
7945 GLsizei width, 8290 GLsizei width,
7946 GLsizei height) { 8291 GLsizei height) {
7947 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyTexSubImage3D") 8292 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyTexSubImage3D")
7948 gl_api_->glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, y, 8293 gl_api_->glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, y,
7949 width, height); 8294 width, height);
7950 } 8295 }
7951 8296
8297 void TraceGLApi::glCoverFillPathNVFn(GLuint path, GLenum coverMode) {
8298 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverFillPathNV")
8299 gl_api_->glCoverFillPathNVFn(path, coverMode);
8300 }
8301
8302 void TraceGLApi::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) {
8303 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverStrokePathNV")
8304 gl_api_->glCoverStrokePathNVFn(name, coverMode);
8305 }
8306
7952 GLuint TraceGLApi::glCreateProgramFn(void) { 8307 GLuint TraceGLApi::glCreateProgramFn(void) {
7953 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCreateProgram") 8308 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCreateProgram")
7954 return gl_api_->glCreateProgramFn(); 8309 return gl_api_->glCreateProgramFn();
7955 } 8310 }
7956 8311
7957 GLuint TraceGLApi::glCreateShaderFn(GLenum type) { 8312 GLuint TraceGLApi::glCreateShaderFn(GLenum type) {
7958 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCreateShader") 8313 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCreateShader")
7959 return gl_api_->glCreateShaderFn(type); 8314 return gl_api_->glCreateShaderFn(type);
7960 } 8315 }
7961 8316
(...skipping 16 matching lines...) Expand all
7978 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteFencesNV") 8333 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteFencesNV")
7979 gl_api_->glDeleteFencesNVFn(n, fences); 8334 gl_api_->glDeleteFencesNVFn(n, fences);
7980 } 8335 }
7981 8336
7982 void TraceGLApi::glDeleteFramebuffersEXTFn(GLsizei n, 8337 void TraceGLApi::glDeleteFramebuffersEXTFn(GLsizei n,
7983 const GLuint* framebuffers) { 8338 const GLuint* framebuffers) {
7984 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteFramebuffersEXT") 8339 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteFramebuffersEXT")
7985 gl_api_->glDeleteFramebuffersEXTFn(n, framebuffers); 8340 gl_api_->glDeleteFramebuffersEXTFn(n, framebuffers);
7986 } 8341 }
7987 8342
8343 void TraceGLApi::glDeletePathsNVFn(GLuint path, GLsizei range) {
8344 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeletePathsNV")
8345 gl_api_->glDeletePathsNVFn(path, range);
8346 }
8347
7988 void TraceGLApi::glDeleteProgramFn(GLuint program) { 8348 void TraceGLApi::glDeleteProgramFn(GLuint program) {
7989 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteProgram") 8349 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteProgram")
7990 gl_api_->glDeleteProgramFn(program); 8350 gl_api_->glDeleteProgramFn(program);
7991 } 8351 }
7992 8352
7993 void TraceGLApi::glDeleteQueriesFn(GLsizei n, const GLuint* ids) { 8353 void TraceGLApi::glDeleteQueriesFn(GLsizei n, const GLuint* ids) {
7994 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteQueries") 8354 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glDeleteQueries")
7995 gl_api_->glDeleteQueriesFn(n, ids); 8355 gl_api_->glDeleteQueriesFn(n, ids);
7996 } 8356 }
7997 8357
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
8268 void TraceGLApi::glGenFencesNVFn(GLsizei n, GLuint* fences) { 8628 void TraceGLApi::glGenFencesNVFn(GLsizei n, GLuint* fences) {
8269 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenFencesNV") 8629 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenFencesNV")
8270 gl_api_->glGenFencesNVFn(n, fences); 8630 gl_api_->glGenFencesNVFn(n, fences);
8271 } 8631 }
8272 8632
8273 void TraceGLApi::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) { 8633 void TraceGLApi::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) {
8274 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenFramebuffersEXT") 8634 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenFramebuffersEXT")
8275 gl_api_->glGenFramebuffersEXTFn(n, framebuffers); 8635 gl_api_->glGenFramebuffersEXTFn(n, framebuffers);
8276 } 8636 }
8277 8637
8638 GLuint TraceGLApi::glGenPathsNVFn(GLsizei range) {
8639 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenPathsNV")
8640 return gl_api_->glGenPathsNVFn(range);
8641 }
8642
8278 void TraceGLApi::glGenQueriesFn(GLsizei n, GLuint* ids) { 8643 void TraceGLApi::glGenQueriesFn(GLsizei n, GLuint* ids) {
8279 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenQueries") 8644 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenQueries")
8280 gl_api_->glGenQueriesFn(n, ids); 8645 gl_api_->glGenQueriesFn(n, ids);
8281 } 8646 }
8282 8647
8283 void TraceGLApi::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) { 8648 void TraceGLApi::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) {
8284 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenRenderbuffersEXT") 8649 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGenRenderbuffersEXT")
8285 gl_api_->glGenRenderbuffersEXTFn(n, renderbuffers); 8650 gl_api_->glGenRenderbuffersEXTFn(n, renderbuffers);
8286 } 8651 }
8287 8652
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
8746 GLboolean TraceGLApi::glIsFenceNVFn(GLuint fence) { 9111 GLboolean TraceGLApi::glIsFenceNVFn(GLuint fence) {
8747 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsFenceNV") 9112 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsFenceNV")
8748 return gl_api_->glIsFenceNVFn(fence); 9113 return gl_api_->glIsFenceNVFn(fence);
8749 } 9114 }
8750 9115
8751 GLboolean TraceGLApi::glIsFramebufferEXTFn(GLuint framebuffer) { 9116 GLboolean TraceGLApi::glIsFramebufferEXTFn(GLuint framebuffer) {
8752 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsFramebufferEXT") 9117 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsFramebufferEXT")
8753 return gl_api_->glIsFramebufferEXTFn(framebuffer); 9118 return gl_api_->glIsFramebufferEXTFn(framebuffer);
8754 } 9119 }
8755 9120
9121 GLboolean TraceGLApi::glIsPathNVFn(GLuint path) {
9122 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsPathNV")
9123 return gl_api_->glIsPathNVFn(path);
9124 }
9125
8756 GLboolean TraceGLApi::glIsProgramFn(GLuint program) { 9126 GLboolean TraceGLApi::glIsProgramFn(GLuint program) {
8757 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsProgram") 9127 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsProgram")
8758 return gl_api_->glIsProgramFn(program); 9128 return gl_api_->glIsProgramFn(program);
8759 } 9129 }
8760 9130
8761 GLboolean TraceGLApi::glIsQueryFn(GLuint query) { 9131 GLboolean TraceGLApi::glIsQueryFn(GLuint query) {
8762 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsQuery") 9132 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glIsQuery")
8763 return gl_api_->glIsQueryFn(query); 9133 return gl_api_->glIsQueryFn(query);
8764 } 9134 }
8765 9135
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
8824 void TraceGLApi::glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) { 9194 void TraceGLApi::glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) {
8825 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glMatrixLoadfEXT") 9195 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glMatrixLoadfEXT")
8826 gl_api_->glMatrixLoadfEXTFn(matrixMode, m); 9196 gl_api_->glMatrixLoadfEXTFn(matrixMode, m);
8827 } 9197 }
8828 9198
8829 void TraceGLApi::glMatrixLoadIdentityEXTFn(GLenum matrixMode) { 9199 void TraceGLApi::glMatrixLoadIdentityEXTFn(GLenum matrixMode) {
8830 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glMatrixLoadIdentityEXT") 9200 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glMatrixLoadIdentityEXT")
8831 gl_api_->glMatrixLoadIdentityEXTFn(matrixMode); 9201 gl_api_->glMatrixLoadIdentityEXTFn(matrixMode);
8832 } 9202 }
8833 9203
9204 void TraceGLApi::glPathCommandsNVFn(GLuint path,
9205 GLsizei numCommands,
9206 const GLubyte* commands,
9207 GLsizei numCoords,
9208 GLenum coordType,
9209 const GLvoid* coords) {
9210 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPathCommandsNV")
9211 gl_api_->glPathCommandsNVFn(path, numCommands, commands, numCoords, coordType,
9212 coords);
9213 }
9214
9215 void TraceGLApi::glPathParameterfNVFn(GLuint path,
9216 GLenum pname,
9217 GLfloat value) {
9218 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPathParameterfNV")
9219 gl_api_->glPathParameterfNVFn(path, pname, value);
9220 }
9221
9222 void TraceGLApi::glPathParameteriNVFn(GLuint path, GLenum pname, GLint value) {
9223 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPathParameteriNV")
9224 gl_api_->glPathParameteriNVFn(path, pname, value);
9225 }
9226
9227 void TraceGLApi::glPathStencilFuncNVFn(GLenum func, GLint ref, GLuint mask) {
9228 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPathStencilFuncNV")
9229 gl_api_->glPathStencilFuncNVFn(func, ref, mask);
9230 }
9231
8834 void TraceGLApi::glPauseTransformFeedbackFn(void) { 9232 void TraceGLApi::glPauseTransformFeedbackFn(void) {
8835 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPauseTransformFeedback") 9233 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPauseTransformFeedback")
8836 gl_api_->glPauseTransformFeedbackFn(); 9234 gl_api_->glPauseTransformFeedbackFn();
8837 } 9235 }
8838 9236
8839 void TraceGLApi::glPixelStoreiFn(GLenum pname, GLint param) { 9237 void TraceGLApi::glPixelStoreiFn(GLenum pname, GLint param) {
8840 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPixelStorei") 9238 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glPixelStorei")
8841 gl_api_->glPixelStoreiFn(pname, param); 9239 gl_api_->glPixelStoreiFn(pname, param);
8842 } 9240 }
8843 9241
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
9017 } 9415 }
9018 9416
9019 void TraceGLApi::glShaderSourceFn(GLuint shader, 9417 void TraceGLApi::glShaderSourceFn(GLuint shader,
9020 GLsizei count, 9418 GLsizei count,
9021 const char* const* str, 9419 const char* const* str,
9022 const GLint* length) { 9420 const GLint* length) {
9023 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glShaderSource") 9421 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glShaderSource")
9024 gl_api_->glShaderSourceFn(shader, count, str, length); 9422 gl_api_->glShaderSourceFn(shader, count, str, length);
9025 } 9423 }
9026 9424
9425 void TraceGLApi::glStencilFillPathNVFn(GLuint path,
9426 GLenum fillMode,
9427 GLuint mask) {
9428 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFillPathNV")
9429 gl_api_->glStencilFillPathNVFn(path, fillMode, mask);
9430 }
9431
9027 void TraceGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { 9432 void TraceGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) {
9028 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFunc") 9433 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFunc")
9029 gl_api_->glStencilFuncFn(func, ref, mask); 9434 gl_api_->glStencilFuncFn(func, ref, mask);
9030 } 9435 }
9031 9436
9032 void TraceGLApi::glStencilFuncSeparateFn(GLenum face, 9437 void TraceGLApi::glStencilFuncSeparateFn(GLenum face,
9033 GLenum func, 9438 GLenum func,
9034 GLint ref, 9439 GLint ref,
9035 GLuint mask) { 9440 GLuint mask) {
9036 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFuncSeparate") 9441 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFuncSeparate")
(...skipping 16 matching lines...) Expand all
9053 } 9458 }
9054 9459
9055 void TraceGLApi::glStencilOpSeparateFn(GLenum face, 9460 void TraceGLApi::glStencilOpSeparateFn(GLenum face,
9056 GLenum fail, 9461 GLenum fail,
9057 GLenum zfail, 9462 GLenum zfail,
9058 GLenum zpass) { 9463 GLenum zpass) {
9059 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilOpSeparate") 9464 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilOpSeparate")
9060 gl_api_->glStencilOpSeparateFn(face, fail, zfail, zpass); 9465 gl_api_->glStencilOpSeparateFn(face, fail, zfail, zpass);
9061 } 9466 }
9062 9467
9468 void TraceGLApi::glStencilStrokePathNVFn(GLuint path,
9469 GLint reference,
9470 GLuint mask) {
9471 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilStrokePathNV")
9472 gl_api_->glStencilStrokePathNVFn(path, reference, mask);
9473 }
9474
9475 void TraceGLApi::glStencilThenCoverFillPathNVFn(GLuint path,
9476 GLenum fillMode,
9477 GLuint mask,
9478 GLenum coverMode) {
9479 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
9480 "TraceGLAPI::glStencilThenCoverFillPathNV")
9481 gl_api_->glStencilThenCoverFillPathNVFn(path, fillMode, mask, coverMode);
9482 }
9483
9484 void TraceGLApi::glStencilThenCoverStrokePathNVFn(GLuint path,
9485 GLint reference,
9486 GLuint mask,
9487 GLenum coverMode) {
9488 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
9489 "TraceGLAPI::glStencilThenCoverStrokePathNV")
9490 gl_api_->glStencilThenCoverStrokePathNVFn(path, reference, mask, coverMode);
9491 }
9492
9063 GLboolean TraceGLApi::glTestFenceAPPLEFn(GLuint fence) { 9493 GLboolean TraceGLApi::glTestFenceAPPLEFn(GLuint fence) {
9064 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glTestFenceAPPLE") 9494 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glTestFenceAPPLE")
9065 return gl_api_->glTestFenceAPPLEFn(fence); 9495 return gl_api_->glTestFenceAPPLEFn(fence);
9066 } 9496 }
9067 9497
9068 GLboolean TraceGLApi::glTestFenceNVFn(GLuint fence) { 9498 GLboolean TraceGLApi::glTestFenceNVFn(GLuint fence) {
9069 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glTestFenceNV") 9499 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glTestFenceNV")
9070 return gl_api_->glTestFenceNVFn(fence); 9500 return gl_api_->glTestFenceNVFn(fence);
9071 } 9501 }
9072 9502
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
9954 GLint x, 10384 GLint x,
9955 GLint y, 10385 GLint y,
9956 GLsizei width, 10386 GLsizei width,
9957 GLsizei height) { 10387 GLsizei height) {
9958 NOTREACHED() 10388 NOTREACHED()
9959 << "Trying to call glCopyTexSubImage3D() without current GL context"; 10389 << "Trying to call glCopyTexSubImage3D() without current GL context";
9960 LOG(ERROR) 10390 LOG(ERROR)
9961 << "Trying to call glCopyTexSubImage3D() without current GL context"; 10391 << "Trying to call glCopyTexSubImage3D() without current GL context";
9962 } 10392 }
9963 10393
10394 void NoContextGLApi::glCoverFillPathNVFn(GLuint path, GLenum coverMode) {
10395 NOTREACHED()
10396 << "Trying to call glCoverFillPathNV() without current GL context";
10397 LOG(ERROR) << "Trying to call glCoverFillPathNV() without current GL context";
10398 }
10399
10400 void NoContextGLApi::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) {
10401 NOTREACHED()
10402 << "Trying to call glCoverStrokePathNV() without current GL context";
10403 LOG(ERROR)
10404 << "Trying to call glCoverStrokePathNV() without current GL context";
10405 }
10406
9964 GLuint NoContextGLApi::glCreateProgramFn(void) { 10407 GLuint NoContextGLApi::glCreateProgramFn(void) {
9965 NOTREACHED() << "Trying to call glCreateProgram() without current GL context"; 10408 NOTREACHED() << "Trying to call glCreateProgram() without current GL context";
9966 LOG(ERROR) << "Trying to call glCreateProgram() without current GL context"; 10409 LOG(ERROR) << "Trying to call glCreateProgram() without current GL context";
9967 return 0U; 10410 return 0U;
9968 } 10411 }
9969 10412
9970 GLuint NoContextGLApi::glCreateShaderFn(GLenum type) { 10413 GLuint NoContextGLApi::glCreateShaderFn(GLenum type) {
9971 NOTREACHED() << "Trying to call glCreateShader() without current GL context"; 10414 NOTREACHED() << "Trying to call glCreateShader() without current GL context";
9972 LOG(ERROR) << "Trying to call glCreateShader() without current GL context"; 10415 LOG(ERROR) << "Trying to call glCreateShader() without current GL context";
9973 return 0U; 10416 return 0U;
(...skipping 25 matching lines...) Expand all
9999 } 10442 }
10000 10443
10001 void NoContextGLApi::glDeleteFramebuffersEXTFn(GLsizei n, 10444 void NoContextGLApi::glDeleteFramebuffersEXTFn(GLsizei n,
10002 const GLuint* framebuffers) { 10445 const GLuint* framebuffers) {
10003 NOTREACHED() 10446 NOTREACHED()
10004 << "Trying to call glDeleteFramebuffersEXT() without current GL context"; 10447 << "Trying to call glDeleteFramebuffersEXT() without current GL context";
10005 LOG(ERROR) 10448 LOG(ERROR)
10006 << "Trying to call glDeleteFramebuffersEXT() without current GL context"; 10449 << "Trying to call glDeleteFramebuffersEXT() without current GL context";
10007 } 10450 }
10008 10451
10452 void NoContextGLApi::glDeletePathsNVFn(GLuint path, GLsizei range) {
10453 NOTREACHED() << "Trying to call glDeletePathsNV() without current GL context";
10454 LOG(ERROR) << "Trying to call glDeletePathsNV() without current GL context";
10455 }
10456
10009 void NoContextGLApi::glDeleteProgramFn(GLuint program) { 10457 void NoContextGLApi::glDeleteProgramFn(GLuint program) {
10010 NOTREACHED() << "Trying to call glDeleteProgram() without current GL context"; 10458 NOTREACHED() << "Trying to call glDeleteProgram() without current GL context";
10011 LOG(ERROR) << "Trying to call glDeleteProgram() without current GL context"; 10459 LOG(ERROR) << "Trying to call glDeleteProgram() without current GL context";
10012 } 10460 }
10013 10461
10014 void NoContextGLApi::glDeleteQueriesFn(GLsizei n, const GLuint* ids) { 10462 void NoContextGLApi::glDeleteQueriesFn(GLsizei n, const GLuint* ids) {
10015 NOTREACHED() << "Trying to call glDeleteQueries() without current GL context"; 10463 NOTREACHED() << "Trying to call glDeleteQueries() without current GL context";
10016 LOG(ERROR) << "Trying to call glDeleteQueries() without current GL context"; 10464 LOG(ERROR) << "Trying to call glDeleteQueries() without current GL context";
10017 } 10465 }
10018 10466
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
10327 LOG(ERROR) << "Trying to call glGenFencesNV() without current GL context"; 10775 LOG(ERROR) << "Trying to call glGenFencesNV() without current GL context";
10328 } 10776 }
10329 10777
10330 void NoContextGLApi::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) { 10778 void NoContextGLApi::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) {
10331 NOTREACHED() 10779 NOTREACHED()
10332 << "Trying to call glGenFramebuffersEXT() without current GL context"; 10780 << "Trying to call glGenFramebuffersEXT() without current GL context";
10333 LOG(ERROR) 10781 LOG(ERROR)
10334 << "Trying to call glGenFramebuffersEXT() without current GL context"; 10782 << "Trying to call glGenFramebuffersEXT() without current GL context";
10335 } 10783 }
10336 10784
10785 GLuint NoContextGLApi::glGenPathsNVFn(GLsizei range) {
10786 NOTREACHED() << "Trying to call glGenPathsNV() without current GL context";
10787 LOG(ERROR) << "Trying to call glGenPathsNV() without current GL context";
10788 return 0U;
10789 }
10790
10337 void NoContextGLApi::glGenQueriesFn(GLsizei n, GLuint* ids) { 10791 void NoContextGLApi::glGenQueriesFn(GLsizei n, GLuint* ids) {
10338 NOTREACHED() << "Trying to call glGenQueries() without current GL context"; 10792 NOTREACHED() << "Trying to call glGenQueries() without current GL context";
10339 LOG(ERROR) << "Trying to call glGenQueries() without current GL context"; 10793 LOG(ERROR) << "Trying to call glGenQueries() without current GL context";
10340 } 10794 }
10341 10795
10342 void NoContextGLApi::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) { 10796 void NoContextGLApi::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) {
10343 NOTREACHED() 10797 NOTREACHED()
10344 << "Trying to call glGenRenderbuffersEXT() without current GL context"; 10798 << "Trying to call glGenRenderbuffersEXT() without current GL context";
10345 LOG(ERROR) 10799 LOG(ERROR)
10346 << "Trying to call glGenRenderbuffersEXT() without current GL context"; 10800 << "Trying to call glGenRenderbuffersEXT() without current GL context";
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
10902 } 11356 }
10903 11357
10904 GLboolean NoContextGLApi::glIsFramebufferEXTFn(GLuint framebuffer) { 11358 GLboolean NoContextGLApi::glIsFramebufferEXTFn(GLuint framebuffer) {
10905 NOTREACHED() 11359 NOTREACHED()
10906 << "Trying to call glIsFramebufferEXT() without current GL context"; 11360 << "Trying to call glIsFramebufferEXT() without current GL context";
10907 LOG(ERROR) 11361 LOG(ERROR)
10908 << "Trying to call glIsFramebufferEXT() without current GL context"; 11362 << "Trying to call glIsFramebufferEXT() without current GL context";
10909 return GL_FALSE; 11363 return GL_FALSE;
10910 } 11364 }
10911 11365
11366 GLboolean NoContextGLApi::glIsPathNVFn(GLuint path) {
11367 NOTREACHED() << "Trying to call glIsPathNV() without current GL context";
11368 LOG(ERROR) << "Trying to call glIsPathNV() without current GL context";
11369 return GL_FALSE;
11370 }
11371
10912 GLboolean NoContextGLApi::glIsProgramFn(GLuint program) { 11372 GLboolean NoContextGLApi::glIsProgramFn(GLuint program) {
10913 NOTREACHED() << "Trying to call glIsProgram() without current GL context"; 11373 NOTREACHED() << "Trying to call glIsProgram() without current GL context";
10914 LOG(ERROR) << "Trying to call glIsProgram() without current GL context"; 11374 LOG(ERROR) << "Trying to call glIsProgram() without current GL context";
10915 return GL_FALSE; 11375 return GL_FALSE;
10916 } 11376 }
10917 11377
10918 GLboolean NoContextGLApi::glIsQueryFn(GLuint query) { 11378 GLboolean NoContextGLApi::glIsQueryFn(GLuint query) {
10919 NOTREACHED() << "Trying to call glIsQuery() without current GL context"; 11379 NOTREACHED() << "Trying to call glIsQuery() without current GL context";
10920 LOG(ERROR) << "Trying to call glIsQuery() without current GL context"; 11380 LOG(ERROR) << "Trying to call glIsQuery() without current GL context";
10921 return GL_FALSE; 11381 return GL_FALSE;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
11001 LOG(ERROR) << "Trying to call glMatrixLoadfEXT() without current GL context"; 11461 LOG(ERROR) << "Trying to call glMatrixLoadfEXT() without current GL context";
11002 } 11462 }
11003 11463
11004 void NoContextGLApi::glMatrixLoadIdentityEXTFn(GLenum matrixMode) { 11464 void NoContextGLApi::glMatrixLoadIdentityEXTFn(GLenum matrixMode) {
11005 NOTREACHED() 11465 NOTREACHED()
11006 << "Trying to call glMatrixLoadIdentityEXT() without current GL context"; 11466 << "Trying to call glMatrixLoadIdentityEXT() without current GL context";
11007 LOG(ERROR) 11467 LOG(ERROR)
11008 << "Trying to call glMatrixLoadIdentityEXT() without current GL context"; 11468 << "Trying to call glMatrixLoadIdentityEXT() without current GL context";
11009 } 11469 }
11010 11470
11471 void NoContextGLApi::glPathCommandsNVFn(GLuint path,
11472 GLsizei numCommands,
11473 const GLubyte* commands,
11474 GLsizei numCoords,
11475 GLenum coordType,
11476 const GLvoid* coords) {
11477 NOTREACHED()
11478 << "Trying to call glPathCommandsNV() without current GL context";
11479 LOG(ERROR) << "Trying to call glPathCommandsNV() without current GL context";
11480 }
11481
11482 void NoContextGLApi::glPathParameterfNVFn(GLuint path,
11483 GLenum pname,
11484 GLfloat value) {
11485 NOTREACHED()
11486 << "Trying to call glPathParameterfNV() without current GL context";
11487 LOG(ERROR)
11488 << "Trying to call glPathParameterfNV() without current GL context";
11489 }
11490
11491 void NoContextGLApi::glPathParameteriNVFn(GLuint path,
11492 GLenum pname,
11493 GLint value) {
11494 NOTREACHED()
11495 << "Trying to call glPathParameteriNV() without current GL context";
11496 LOG(ERROR)
11497 << "Trying to call glPathParameteriNV() without current GL context";
11498 }
11499
11500 void NoContextGLApi::glPathStencilFuncNVFn(GLenum func,
11501 GLint ref,
11502 GLuint mask) {
11503 NOTREACHED()
11504 << "Trying to call glPathStencilFuncNV() without current GL context";
11505 LOG(ERROR)
11506 << "Trying to call glPathStencilFuncNV() without current GL context";
11507 }
11508
11011 void NoContextGLApi::glPauseTransformFeedbackFn(void) { 11509 void NoContextGLApi::glPauseTransformFeedbackFn(void) {
11012 NOTREACHED() 11510 NOTREACHED()
11013 << "Trying to call glPauseTransformFeedback() without current GL context"; 11511 << "Trying to call glPauseTransformFeedback() without current GL context";
11014 LOG(ERROR) 11512 LOG(ERROR)
11015 << "Trying to call glPauseTransformFeedback() without current GL context"; 11513 << "Trying to call glPauseTransformFeedback() without current GL context";
11016 } 11514 }
11017 11515
11018 void NoContextGLApi::glPixelStoreiFn(GLenum pname, GLint param) { 11516 void NoContextGLApi::glPixelStoreiFn(GLenum pname, GLint param) {
11019 NOTREACHED() << "Trying to call glPixelStorei() without current GL context"; 11517 NOTREACHED() << "Trying to call glPixelStorei() without current GL context";
11020 LOG(ERROR) << "Trying to call glPixelStorei() without current GL context"; 11518 LOG(ERROR) << "Trying to call glPixelStorei() without current GL context";
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
11225 } 11723 }
11226 11724
11227 void NoContextGLApi::glShaderSourceFn(GLuint shader, 11725 void NoContextGLApi::glShaderSourceFn(GLuint shader,
11228 GLsizei count, 11726 GLsizei count,
11229 const char* const* str, 11727 const char* const* str,
11230 const GLint* length) { 11728 const GLint* length) {
11231 NOTREACHED() << "Trying to call glShaderSource() without current GL context"; 11729 NOTREACHED() << "Trying to call glShaderSource() without current GL context";
11232 LOG(ERROR) << "Trying to call glShaderSource() without current GL context"; 11730 LOG(ERROR) << "Trying to call glShaderSource() without current GL context";
11233 } 11731 }
11234 11732
11733 void NoContextGLApi::glStencilFillPathNVFn(GLuint path,
11734 GLenum fillMode,
11735 GLuint mask) {
11736 NOTREACHED()
11737 << "Trying to call glStencilFillPathNV() without current GL context";
11738 LOG(ERROR)
11739 << "Trying to call glStencilFillPathNV() without current GL context";
11740 }
11741
11235 void NoContextGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { 11742 void NoContextGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) {
11236 NOTREACHED() << "Trying to call glStencilFunc() without current GL context"; 11743 NOTREACHED() << "Trying to call glStencilFunc() without current GL context";
11237 LOG(ERROR) << "Trying to call glStencilFunc() without current GL context"; 11744 LOG(ERROR) << "Trying to call glStencilFunc() without current GL context";
11238 } 11745 }
11239 11746
11240 void NoContextGLApi::glStencilFuncSeparateFn(GLenum face, 11747 void NoContextGLApi::glStencilFuncSeparateFn(GLenum face,
11241 GLenum func, 11748 GLenum func,
11242 GLint ref, 11749 GLint ref,
11243 GLuint mask) { 11750 GLuint mask) {
11244 NOTREACHED() 11751 NOTREACHED()
(...skipping 22 matching lines...) Expand all
11267 void NoContextGLApi::glStencilOpSeparateFn(GLenum face, 11774 void NoContextGLApi::glStencilOpSeparateFn(GLenum face,
11268 GLenum fail, 11775 GLenum fail,
11269 GLenum zfail, 11776 GLenum zfail,
11270 GLenum zpass) { 11777 GLenum zpass) {
11271 NOTREACHED() 11778 NOTREACHED()
11272 << "Trying to call glStencilOpSeparate() without current GL context"; 11779 << "Trying to call glStencilOpSeparate() without current GL context";
11273 LOG(ERROR) 11780 LOG(ERROR)
11274 << "Trying to call glStencilOpSeparate() without current GL context"; 11781 << "Trying to call glStencilOpSeparate() without current GL context";
11275 } 11782 }
11276 11783
11784 void NoContextGLApi::glStencilStrokePathNVFn(GLuint path,
11785 GLint reference,
11786 GLuint mask) {
11787 NOTREACHED()
11788 << "Trying to call glStencilStrokePathNV() without current GL context";
11789 LOG(ERROR)
11790 << "Trying to call glStencilStrokePathNV() without current GL context";
11791 }
11792
11793 void NoContextGLApi::glStencilThenCoverFillPathNVFn(GLuint path,
11794 GLenum fillMode,
11795 GLuint mask,
11796 GLenum coverMode) {
11797 NOTREACHED() << "Trying to call glStencilThenCoverFillPathNV() without "
11798 "current GL context";
11799 LOG(ERROR) << "Trying to call glStencilThenCoverFillPathNV() without current "
11800 "GL context";
11801 }
11802
11803 void NoContextGLApi::glStencilThenCoverStrokePathNVFn(GLuint path,
11804 GLint reference,
11805 GLuint mask,
11806 GLenum coverMode) {
11807 NOTREACHED() << "Trying to call glStencilThenCoverStrokePathNV() without "
11808 "current GL context";
11809 LOG(ERROR) << "Trying to call glStencilThenCoverStrokePathNV() without "
11810 "current GL context";
11811 }
11812
11277 GLboolean NoContextGLApi::glTestFenceAPPLEFn(GLuint fence) { 11813 GLboolean NoContextGLApi::glTestFenceAPPLEFn(GLuint fence) {
11278 NOTREACHED() 11814 NOTREACHED()
11279 << "Trying to call glTestFenceAPPLE() without current GL context"; 11815 << "Trying to call glTestFenceAPPLE() without current GL context";
11280 LOG(ERROR) << "Trying to call glTestFenceAPPLE() without current GL context"; 11816 LOG(ERROR) << "Trying to call glTestFenceAPPLE() without current GL context";
11281 return GL_FALSE; 11817 return GL_FALSE;
11282 } 11818 }
11283 11819
11284 GLboolean NoContextGLApi::glTestFenceNVFn(GLuint fence) { 11820 GLboolean NoContextGLApi::glTestFenceNVFn(GLuint fence) {
11285 NOTREACHED() << "Trying to call glTestFenceNV() without current GL context"; 11821 NOTREACHED() << "Trying to call glTestFenceNV() without current GL context";
11286 LOG(ERROR) << "Trying to call glTestFenceNV() without current GL context"; 11822 LOG(ERROR) << "Trying to call glTestFenceNV() without current GL context";
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
11811 12347
11812 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, 12348 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync,
11813 GLbitfield flags, 12349 GLbitfield flags,
11814 GLuint64 timeout) { 12350 GLuint64 timeout) {
11815 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; 12351 NOTREACHED() << "Trying to call glWaitSync() without current GL context";
11816 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; 12352 LOG(ERROR) << "Trying to call glWaitSync() without current GL context";
11817 return static_cast<GLenum>(0); 12353 return static_cast<GLenum>(0);
11818 } 12354 }
11819 12355
11820 } // namespace gfx 12356 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698