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

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

Issue 62163004: Added support for Chrome's gpu command buffer extension BindUniformLocation. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fixed compile error on the bots + feedback. Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « include/gpu/gl/GrGLFunctions.h ('k') | src/effects/SkColorFilters.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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 245
246 // GL_EXT_multisampled_render_to_texture (preferred) or GL_IMG_multisampled _render_to_texture 246 // GL_EXT_multisampled_render_to_texture (preferred) or GL_IMG_multisampled _render_to_texture
247 GLPtr<GrGLRenderbufferStorageMultisampleProc> fRenderbufferStorageMultisampl eES2EXT; 247 GLPtr<GrGLRenderbufferStorageMultisampleProc> fRenderbufferStorageMultisampl eES2EXT;
248 // GL_APPLE_framebuffer_multisample 248 // GL_APPLE_framebuffer_multisample
249 GLPtr<GrGLRenderbufferStorageMultisampleProc> fRenderbufferStorageMultisampl eES2APPLE; 249 GLPtr<GrGLRenderbufferStorageMultisampleProc> fRenderbufferStorageMultisampl eES2APPLE;
250 #endif 250 #endif
251 // This is used to store the pointer for GL_ARB/EXT/ANGLE/CHROMIUM_framebuf fer_multisample or 251 // This is used to store the pointer for GL_ARB/EXT/ANGLE/CHROMIUM_framebuf fer_multisample or
252 // the standard function in ES3+ or GL 3.0+. 252 // the standard function in ES3+ or GL 3.0+.
253 GLPtr<GrGLRenderbufferStorageMultisampleProc> fRenderbufferStorageMultisampl e; 253 GLPtr<GrGLRenderbufferStorageMultisampleProc> fRenderbufferStorageMultisampl e;
254 254
255 // Pointer to BindUniformLocationCHROMIUM from the GL_CHROMIUM_bind_uniform_ location extension.
256 GLPtr<GrGLBindUniformLocation> fBindUniformLocation;
257
255 GLPtr<GrGLResolveMultisampleFramebufferProc> fResolveMultisampleFramebuffer; 258 GLPtr<GrGLResolveMultisampleFramebufferProc> fResolveMultisampleFramebuffer;
256 GLPtr<GrGLScissorProc> fScissor; 259 GLPtr<GrGLScissorProc> fScissor;
257 GLPtr<GrGLShaderSourceProc> fShaderSource; 260 GLPtr<GrGLShaderSourceProc> fShaderSource;
258 GLPtr<GrGLStencilFuncProc> fStencilFunc; 261 GLPtr<GrGLStencilFuncProc> fStencilFunc;
259 GLPtr<GrGLStencilFuncSeparateProc> fStencilFuncSeparate; 262 GLPtr<GrGLStencilFuncSeparateProc> fStencilFuncSeparate;
260 GLPtr<GrGLStencilMaskProc> fStencilMask; 263 GLPtr<GrGLStencilMaskProc> fStencilMask;
261 GLPtr<GrGLStencilMaskSeparateProc> fStencilMaskSeparate; 264 GLPtr<GrGLStencilMaskSeparateProc> fStencilMaskSeparate;
262 GLPtr<GrGLStencilOpProc> fStencilOp; 265 GLPtr<GrGLStencilOpProc> fStencilOp;
263 GLPtr<GrGLStencilOpSeparateProc> fStencilOpSeparate; 266 GLPtr<GrGLStencilOpSeparateProc> fStencilOpSeparate;
264 GLPtr<GrGLTexGenfProc> fTexGenf; 267 GLPtr<GrGLTexGenfProc> fTexGenf;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 354
352 // Per-GL func callback 355 // Per-GL func callback
353 #if GR_GL_PER_GL_FUNC_CALLBACK 356 #if GR_GL_PER_GL_FUNC_CALLBACK
354 GrGLInterfaceCallbackProc fCallback; 357 GrGLInterfaceCallbackProc fCallback;
355 GrGLInterfaceCallbackData fCallbackData; 358 GrGLInterfaceCallbackData fCallbackData;
356 #endif 359 #endif
357 360
358 }; 361 };
359 362
360 #endif 363 #endif
OLDNEW
« no previous file with comments | « include/gpu/gl/GrGLFunctions.h ('k') | src/effects/SkColorFilters.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698