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

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

Issue 13941006: Add glCopyTexSubImage2D to GrGLInterface (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « include/gpu/gl/GrGLInterface.h ('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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 interface->fBlendColor = noOpGLBlendColor; 172 interface->fBlendColor = noOpGLBlendColor;
173 interface->fBlendFunc = noOpGLBlendFunc; 173 interface->fBlendFunc = noOpGLBlendFunc;
174 interface->fBufferData = nullGLBufferData; 174 interface->fBufferData = nullGLBufferData;
175 interface->fBufferSubData = noOpGLBufferSubData; 175 interface->fBufferSubData = noOpGLBufferSubData;
176 interface->fClear = noOpGLClear; 176 interface->fClear = noOpGLClear;
177 interface->fClearColor = noOpGLClearColor; 177 interface->fClearColor = noOpGLClearColor;
178 interface->fClearStencil = noOpGLClearStencil; 178 interface->fClearStencil = noOpGLClearStencil;
179 interface->fColorMask = noOpGLColorMask; 179 interface->fColorMask = noOpGLColorMask;
180 interface->fCompileShader = noOpGLCompileShader; 180 interface->fCompileShader = noOpGLCompileShader;
181 interface->fCompressedTexImage2D = noOpGLCompressedTexImage2D; 181 interface->fCompressedTexImage2D = noOpGLCompressedTexImage2D;
182 interface->fCopyTexSubImage2D = noOpGLCopyTexSubImage2D;
182 interface->fCreateProgram = nullGLCreateProgram; 183 interface->fCreateProgram = nullGLCreateProgram;
183 interface->fCreateShader = nullGLCreateShader; 184 interface->fCreateShader = nullGLCreateShader;
184 interface->fCullFace = noOpGLCullFace; 185 interface->fCullFace = noOpGLCullFace;
185 interface->fDeleteBuffers = nullGLDeleteBuffers; 186 interface->fDeleteBuffers = nullGLDeleteBuffers;
186 interface->fDeleteProgram = nullGLDelete; 187 interface->fDeleteProgram = nullGLDelete;
187 interface->fDeleteQueries = noOpGLDeleteIds; 188 interface->fDeleteQueries = noOpGLDeleteIds;
188 interface->fDeleteShader = nullGLDelete; 189 interface->fDeleteShader = nullGLDelete;
189 interface->fDeleteTextures = noOpGLDeleteIds; 190 interface->fDeleteTextures = noOpGLDeleteIds;
190 interface->fDeleteVertexArrays = noOpGLDeleteIds; 191 interface->fDeleteVertexArrays = noOpGLDeleteIds;
191 interface->fDepthMask = noOpGLDepthMask; 192 interface->fDepthMask = noOpGLDepthMask;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 interface->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu ltisample; 279 interface->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu ltisample;
279 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; 280 interface->fBlitFramebuffer = noOpGLBlitFramebuffer;
280 interface->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram ebuffer; 281 interface->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram ebuffer;
281 interface->fMapBuffer = nullGLMapBuffer; 282 interface->fMapBuffer = nullGLMapBuffer;
282 interface->fUnmapBuffer = nullGLUnmapBuffer; 283 interface->fUnmapBuffer = nullGLUnmapBuffer;
283 interface->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde xed; 284 interface->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde xed;
284 } 285 }
285 glInterface.get()->ref(); 286 glInterface.get()->ref();
286 return glInterface.get(); 287 return glInterface.get();
287 } 288 }
OLDNEW
« no previous file with comments | « include/gpu/gl/GrGLInterface.h ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698