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

Side by Side Diff: include/gpu/gl/GrGLInterface.h

Issue 2287003002: Add support for glDrawRangeElements (Closed)
Patch Set: Add to test interface Created 4 years, 3 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
« no previous file with comments | « include/gpu/gl/GrGLFunctions.h ('k') | src/gpu/gl/GrGLAssembleInterface.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrGLInterface_DEFINED 8 #ifndef GrGLInterface_DEFINED
9 #define GrGLInterface_DEFINED 9 #define GrGLInterface_DEFINED
10 10
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 GrGLFunction<GrGLDisableProc> fDisable; 148 GrGLFunction<GrGLDisableProc> fDisable;
149 GrGLFunction<GrGLDisableVertexAttribArrayProc> fDisableVertexAttribArray ; 149 GrGLFunction<GrGLDisableVertexAttribArrayProc> fDisableVertexAttribArray ;
150 GrGLFunction<GrGLDrawArraysProc> fDrawArrays; 150 GrGLFunction<GrGLDrawArraysProc> fDrawArrays;
151 GrGLFunction<GrGLDrawArraysIndirectProc> fDrawArraysIndirect; 151 GrGLFunction<GrGLDrawArraysIndirectProc> fDrawArraysIndirect;
152 GrGLFunction<GrGLDrawArraysInstancedProc> fDrawArraysInstanced; 152 GrGLFunction<GrGLDrawArraysInstancedProc> fDrawArraysInstanced;
153 GrGLFunction<GrGLDrawBufferProc> fDrawBuffer; 153 GrGLFunction<GrGLDrawBufferProc> fDrawBuffer;
154 GrGLFunction<GrGLDrawBuffersProc> fDrawBuffers; 154 GrGLFunction<GrGLDrawBuffersProc> fDrawBuffers;
155 GrGLFunction<GrGLDrawElementsProc> fDrawElements; 155 GrGLFunction<GrGLDrawElementsProc> fDrawElements;
156 GrGLFunction<GrGLDrawElementsIndirectProc> fDrawElementsIndirect; 156 GrGLFunction<GrGLDrawElementsIndirectProc> fDrawElementsIndirect;
157 GrGLFunction<GrGLDrawElementsInstancedProc> fDrawElementsInstanced; 157 GrGLFunction<GrGLDrawElementsInstancedProc> fDrawElementsInstanced;
158 GrGLFunction<GrGLDrawRangeElementsProc> fDrawRangeElements;
158 GrGLFunction<GrGLEnableProc> fEnable; 159 GrGLFunction<GrGLEnableProc> fEnable;
159 GrGLFunction<GrGLEnableVertexAttribArrayProc> fEnableVertexAttribArray; 160 GrGLFunction<GrGLEnableVertexAttribArrayProc> fEnableVertexAttribArray;
160 GrGLFunction<GrGLEndQueryProc> fEndQuery; 161 GrGLFunction<GrGLEndQueryProc> fEndQuery;
161 GrGLFunction<GrGLFinishProc> fFinish; 162 GrGLFunction<GrGLFinishProc> fFinish;
162 GrGLFunction<GrGLFlushProc> fFlush; 163 GrGLFunction<GrGLFlushProc> fFlush;
163 GrGLFunction<GrGLFlushMappedBufferRangeProc> fFlushMappedBufferRange; 164 GrGLFunction<GrGLFlushMappedBufferRangeProc> fFlushMappedBufferRange;
164 GrGLFunction<GrGLFramebufferRenderbufferProc> fFramebufferRenderbuffer; 165 GrGLFunction<GrGLFramebufferRenderbufferProc> fFramebufferRenderbuffer;
165 GrGLFunction<GrGLFramebufferTexture2DProc> fFramebufferTexture2D; 166 GrGLFunction<GrGLFramebufferTexture2DProc> fFramebufferTexture2D;
166 GrGLFunction<GrGLFramebufferTexture2DMultisampleProc> fFramebufferTextur e2DMultisample; 167 GrGLFunction<GrGLFramebufferTexture2DMultisampleProc> fFramebufferTextur e2DMultisample;
167 GrGLFunction<GrGLFrontFaceProc> fFrontFace; 168 GrGLFunction<GrGLFrontFaceProc> fFrontFace;
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 /* EGL functions */ 467 /* EGL functions */
467 GrGLFunction<GrEGLCreateImageProc> fEGLCreateImage; 468 GrGLFunction<GrEGLCreateImageProc> fEGLCreateImage;
468 GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage; 469 GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage;
469 } fFunctions; 470 } fFunctions;
470 471
471 // This exists for internal testing. 472 // This exists for internal testing.
472 virtual void abandon() const {} 473 virtual void abandon() const {}
473 }; 474 };
474 475
475 #endif 476 #endif
OLDNEW
« no previous file with comments | « include/gpu/gl/GrGLFunctions.h ('k') | src/gpu/gl/GrGLAssembleInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698