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

Side by Side Diff: src/gpu/gl/GrGLNoOpInterface.h

Issue 1185573003: Import new functionality for GL4 backend (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix KHR_debug suffixes 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
« no previous file with comments | « src/gpu/gl/GrGLInterface.cpp ('k') | src/gpu/gl/GrGLNoOpInterface.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 2013 Google Inc. 2 * Copyright 2013 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 GrGLNoOpInterface_DEFINED 8 #ifndef GrGLNoOpInterface_DEFINED
9 #define GrGLNoOpInterface_DEFINED 9 #define GrGLNoOpInterface_DEFINED
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCullFace(GrGLenum mode); 79 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCullFace(GrGLenum mode);
80 80
81 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDepthMask(GrGLboolean flag); 81 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDepthMask(GrGLboolean flag);
82 82
83 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisable(GrGLenum cap); 83 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisable(GrGLenum cap);
84 84
85 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index); 85 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index);
86 86
87 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, GrGLint first, GrGL sizei count); 87 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, GrGLint first, GrGL sizei count);
88 88
89 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArraysInstanced(GrGLenum mode,
90 GrGLint first,
91 GrGLsizei count,
92 GrGLsizei primcount);
93
89 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode); 94 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode);
90 95
91 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, 96 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n,
92 const GrGLenum* bufs); 97 const GrGLenum* bufs);
93 98
94 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, 99 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode,
95 GrGLsizei count, 100 GrGLsizei count,
96 GrGLenum type, 101 GrGLenum type,
97 const GrGLvoid* indices); 102 const GrGLvoid* indices);
98 103
104 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElementsInstanced(GrGLenum mode,
105 GrGLsizei count,
106 GrGLenum type,
107 const GrGLvoid* indices ,
108 GrGLsizei primcount);
109
99 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap); 110 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap);
100 111
101 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index); 112 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index);
102 113
103 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target); 114 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target);
104 115
105 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish(); 116 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish();
106 117
107 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFlush(); 118 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFlush();
108 119
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 287
277 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttrib4fv(GrGLuint indx, const GrGLflo at* values); 288 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttrib4fv(GrGLuint indx, const GrGLflo at* values);
278 289
279 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, 290 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx,
280 GrGLint size, 291 GrGLint size,
281 GrGLenum type, 292 GrGLenum type,
282 GrGLboolean normalized, 293 GrGLboolean normalized,
283 GrGLsizei stride, 294 GrGLsizei stride,
284 const GrGLvoid* ptr); 295 const GrGLvoid* ptr);
285 296
297 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribDivisor(GrGLuint index, GrGLuint divisor);
298
286 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, 299 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x,
287 GrGLint y, 300 GrGLint y,
288 GrGLsizei width, 301 GrGLsizei width,
289 GrGLsizei height); 302 GrGLsizei height);
290 303
291 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu m target, 304 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu m target,
292 GrGLenu m attachment, 305 GrGLenu m attachment,
293 GrGLenu m pname, 306 GrGLenu m pname,
294 GrGLint * params); 307 GrGLint * params);
295 308
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 GrGLenum pname, 390 GrGLenum pname,
378 GrGLint* params); 391 GrGLint* params);
379 392
380 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha r* name); 393 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha r* name);
381 394
382 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha r* marker); 395 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha r* marker);
383 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha r* marker); 396 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha r* marker);
384 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); 397 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker();
385 398
386 #endif 399 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLInterface.cpp ('k') | src/gpu/gl/GrGLNoOpInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698