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

Side by Side Diff: src/gpu/gl/GrGLCreateNullInterface.cpp

Issue 329213002: Add support for glCompressedTexSubImage2D (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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/GrGLAssembleInterface.cpp ('k') | src/gpu/gl/GrGLInterface.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 8
9 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "GrGLDefines.h" 10 #include "GrGLDefines.h"
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 functions->fBlendColor = noOpGLBlendColor; 301 functions->fBlendColor = noOpGLBlendColor;
302 functions->fBlendFunc = noOpGLBlendFunc; 302 functions->fBlendFunc = noOpGLBlendFunc;
303 functions->fBufferData = nullGLBufferData; 303 functions->fBufferData = nullGLBufferData;
304 functions->fBufferSubData = noOpGLBufferSubData; 304 functions->fBufferSubData = noOpGLBufferSubData;
305 functions->fClear = noOpGLClear; 305 functions->fClear = noOpGLClear;
306 functions->fClearColor = noOpGLClearColor; 306 functions->fClearColor = noOpGLClearColor;
307 functions->fClearStencil = noOpGLClearStencil; 307 functions->fClearStencil = noOpGLClearStencil;
308 functions->fColorMask = noOpGLColorMask; 308 functions->fColorMask = noOpGLColorMask;
309 functions->fCompileShader = noOpGLCompileShader; 309 functions->fCompileShader = noOpGLCompileShader;
310 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; 310 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D;
311 functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D;
311 functions->fCopyTexSubImage2D = noOpGLCopyTexSubImage2D; 312 functions->fCopyTexSubImage2D = noOpGLCopyTexSubImage2D;
312 functions->fCreateProgram = nullGLCreateProgram; 313 functions->fCreateProgram = nullGLCreateProgram;
313 functions->fCreateShader = nullGLCreateShader; 314 functions->fCreateShader = nullGLCreateShader;
314 functions->fCullFace = noOpGLCullFace; 315 functions->fCullFace = noOpGLCullFace;
315 functions->fDeleteBuffers = nullGLDeleteBuffers; 316 functions->fDeleteBuffers = nullGLDeleteBuffers;
316 functions->fDeleteProgram = nullGLDelete; 317 functions->fDeleteProgram = nullGLDelete;
317 functions->fDeleteQueries = noOpGLDeleteIds; 318 functions->fDeleteQueries = noOpGLDeleteIds;
318 functions->fDeleteShader = nullGLDelete; 319 functions->fDeleteShader = nullGLDelete;
319 functions->fDeleteTextures = noOpGLDeleteIds; 320 functions->fDeleteTextures = noOpGLDeleteIds;
320 functions->fDeleteVertexArrays = noOpGLDeleteIds; 321 functions->fDeleteVertexArrays = noOpGLDeleteIds;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; 419 functions->fBlitFramebuffer = noOpGLBlitFramebuffer;
419 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer; 420 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer;
420 functions->fMatrixLoadf = noOpGLMatrixLoadf; 421 functions->fMatrixLoadf = noOpGLMatrixLoadf;
421 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; 422 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity;
422 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; 423 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed;
423 424
424 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 425 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
425 functions->fGetIntegerv); 426 functions->fGetIntegerv);
426 return interface; 427 return interface;
427 } 428 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLAssembleInterface.cpp ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698