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

Side by Side Diff: src/gpu/gl/GrGLInterface.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 | « src/gpu/gl/GrGLCreateNullInterface.cpp ('k') | src/gpu/gl/GrGLNoOpInterface.h » ('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 "gl/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 NULL == fBindTexture || 52 NULL == fBindTexture ||
53 NULL == fBlendFunc || 53 NULL == fBlendFunc ||
54 NULL == fBlendColor || // -> GL >= 1.4, ES >= 2.0 or extension 54 NULL == fBlendColor || // -> GL >= 1.4, ES >= 2.0 or extension
55 NULL == fBufferData || 55 NULL == fBufferData ||
56 NULL == fBufferSubData || 56 NULL == fBufferSubData ||
57 NULL == fClear || 57 NULL == fClear ||
58 NULL == fClearColor || 58 NULL == fClearColor ||
59 NULL == fClearStencil || 59 NULL == fClearStencil ||
60 NULL == fColorMask || 60 NULL == fColorMask ||
61 NULL == fCompileShader || 61 NULL == fCompileShader ||
62 #if 0 // FIXME: Remove this once Chromium is updated to provide this function
63 NULL == fCopyTexSubImage2D ||
64 #endif
62 NULL == fCreateProgram || 65 NULL == fCreateProgram ||
63 NULL == fCreateShader || 66 NULL == fCreateShader ||
64 NULL == fCullFace || 67 NULL == fCullFace ||
65 NULL == fDeleteBuffers || 68 NULL == fDeleteBuffers ||
66 NULL == fDeleteProgram || 69 NULL == fDeleteProgram ||
67 NULL == fDeleteShader || 70 NULL == fDeleteShader ||
68 NULL == fDeleteTextures || 71 NULL == fDeleteTextures ||
69 NULL == fDepthMask || 72 NULL == fDepthMask ||
70 NULL == fDisable || 73 NULL == fDisable ||
71 NULL == fDisableVertexAttribArray || 74 NULL == fDisableVertexAttribArray ||
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 if (NULL == fBindVertexArray || 371 if (NULL == fBindVertexArray ||
369 NULL == fDeleteVertexArrays || 372 NULL == fDeleteVertexArrays ||
370 NULL == fGenVertexArrays) { 373 NULL == fGenVertexArrays) {
371 return false; 374 return false;
372 } 375 }
373 } 376 }
374 } 377 }
375 378
376 return true; 379 return true;
377 } 380 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCreateNullInterface.cpp ('k') | src/gpu/gl/GrGLNoOpInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698