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

Side by Side Diff: src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.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/debug/GrGLCreateDebugInterface.cpp ('k') | no next file » | 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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 10
(...skipping 13 matching lines...) Expand all
24 functions->fBlendColor = glBlendColor; 24 functions->fBlendColor = glBlendColor;
25 functions->fBlendFunc = glBlendFunc; 25 functions->fBlendFunc = glBlendFunc;
26 functions->fBufferData = (GrGLBufferDataProc)glBufferData; 26 functions->fBufferData = (GrGLBufferDataProc)glBufferData;
27 functions->fBufferSubData = (GrGLBufferSubDataProc)glBufferSubData; 27 functions->fBufferSubData = (GrGLBufferSubDataProc)glBufferSubData;
28 functions->fClear = glClear; 28 functions->fClear = glClear;
29 functions->fClearColor = glClearColor; 29 functions->fClearColor = glClearColor;
30 functions->fClearStencil = glClearStencil; 30 functions->fClearStencil = glClearStencil;
31 functions->fColorMask = glColorMask; 31 functions->fColorMask = glColorMask;
32 functions->fCompileShader = glCompileShader; 32 functions->fCompileShader = glCompileShader;
33 functions->fCompressedTexImage2D = glCompressedTexImage2D; 33 functions->fCompressedTexImage2D = glCompressedTexImage2D;
34 functions->fCompressedTexSubImage2D = glCompressedTexSubImage2D;
34 functions->fCopyTexSubImage2D = glCopyTexSubImage2D; 35 functions->fCopyTexSubImage2D = glCopyTexSubImage2D;
35 functions->fCreateProgram = glCreateProgram; 36 functions->fCreateProgram = glCreateProgram;
36 functions->fCreateShader = glCreateShader; 37 functions->fCreateShader = glCreateShader;
37 functions->fCullFace = glCullFace; 38 functions->fCullFace = glCullFace;
38 functions->fDeleteBuffers = glDeleteBuffers; 39 functions->fDeleteBuffers = glDeleteBuffers;
39 functions->fDeleteProgram = glDeleteProgram; 40 functions->fDeleteProgram = glDeleteProgram;
40 functions->fDeleteShader = glDeleteShader; 41 functions->fDeleteShader = glDeleteShader;
41 functions->fDeleteTextures = glDeleteTextures; 42 functions->fDeleteTextures = glDeleteTextures;
42 functions->fDepthMask = glDepthMask; 43 functions->fDepthMask = glDepthMask;
43 functions->fDisable = glDisable; 44 functions->fDisable = glDisable;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 functions->fInvalidateBufferSubData = glInvalidateBufferSubData; 165 functions->fInvalidateBufferSubData = glInvalidateBufferSubData;
165 functions->fInvalidateTexImage = glInvalidateTexImage; 166 functions->fInvalidateTexImage = glInvalidateTexImage;
166 functions->fInvalidateTexSubImage = glInvalidateTexSubImage; 167 functions->fInvalidateTexSubImage = glInvalidateTexSubImage;
167 #endif 168 #endif
168 169
169 interface->fStandard = kGLES_GrGLStandard; 170 interface->fStandard = kGLES_GrGLStandard;
170 interface->fExtensions.init(kGLES_GrGLStandard, glGetString, NULL, glGetInte gerv); 171 interface->fExtensions.init(kGLES_GrGLStandard, glGetString, NULL, glGetInte gerv);
171 172
172 return interface; 173 return interface;
173 } 174 }
OLDNEW
« no previous file with comments | « src/gpu/gl/debug/GrGLCreateDebugInterface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698