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

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

Issue 1187523005: Add support for creating texture backed images where Skia will delete the texture. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add default param to support Chrome's current callers 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/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLPath.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 "gl/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 NULL == fFunctions.fGetBufferParameteriv || 145 NULL == fFunctions.fGetBufferParameteriv ||
146 NULL == fFunctions.fGenerateMipmap || 146 NULL == fFunctions.fGenerateMipmap ||
147 NULL == fFunctions.fGetError || 147 NULL == fFunctions.fGetError ||
148 NULL == fFunctions.fGetIntegerv || 148 NULL == fFunctions.fGetIntegerv ||
149 NULL == fFunctions.fGetProgramInfoLog || 149 NULL == fFunctions.fGetProgramInfoLog ||
150 NULL == fFunctions.fGetProgramiv || 150 NULL == fFunctions.fGetProgramiv ||
151 NULL == fFunctions.fGetShaderInfoLog || 151 NULL == fFunctions.fGetShaderInfoLog ||
152 NULL == fFunctions.fGetShaderiv || 152 NULL == fFunctions.fGetShaderiv ||
153 NULL == fFunctions.fGetString || 153 NULL == fFunctions.fGetString ||
154 NULL == fFunctions.fGetUniformLocation || 154 NULL == fFunctions.fGetUniformLocation ||
155 #if 0 // Not included in Chrome yet
156 NULL == fFunctions.fIsTexture ||
157 #endif
155 NULL == fFunctions.fLinkProgram || 158 NULL == fFunctions.fLinkProgram ||
156 NULL == fFunctions.fLineWidth || 159 NULL == fFunctions.fLineWidth ||
157 NULL == fFunctions.fPixelStorei || 160 NULL == fFunctions.fPixelStorei ||
158 NULL == fFunctions.fReadPixels || 161 NULL == fFunctions.fReadPixels ||
159 NULL == fFunctions.fScissor || 162 NULL == fFunctions.fScissor ||
160 NULL == fFunctions.fShaderSource || 163 NULL == fFunctions.fShaderSource ||
161 NULL == fFunctions.fStencilFunc || 164 NULL == fFunctions.fStencilFunc ||
162 NULL == fFunctions.fStencilMask || 165 NULL == fFunctions.fStencilMask ||
163 NULL == fFunctions.fStencilOp || 166 NULL == fFunctions.fStencilOp ||
164 NULL == fFunctions.fTexImage2D || 167 NULL == fFunctions.fTexImage2D ||
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 NULL == fFunctions.fGetDebugMessageLog || 702 NULL == fFunctions.fGetDebugMessageLog ||
700 NULL == fFunctions.fPushDebugGroup || 703 NULL == fFunctions.fPushDebugGroup ||
701 NULL == fFunctions.fPopDebugGroup || 704 NULL == fFunctions.fPopDebugGroup ||
702 NULL == fFunctions.fObjectLabel) { 705 NULL == fFunctions.fObjectLabel) {
703 RETURN_FALSE_INTERFACE 706 RETURN_FALSE_INTERFACE
704 } 707 }
705 } 708 }
706 709
707 return true; 710 return true;
708 } 711 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698