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

Side by Side Diff: src/gpu/gl/angle/GrGLCreateANGLEInterface.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
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 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 9
10 #include "gl/GrGLInterface.h" 10 #include "gl/GrGLInterface.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 GET_PROC(BlendColor); 48 GET_PROC(BlendColor);
49 GET_PROC(BlendFunc); 49 GET_PROC(BlendFunc);
50 GET_PROC(BufferData); 50 GET_PROC(BufferData);
51 GET_PROC(BufferSubData); 51 GET_PROC(BufferSubData);
52 GET_PROC(Clear); 52 GET_PROC(Clear);
53 GET_PROC(ClearColor); 53 GET_PROC(ClearColor);
54 GET_PROC(ClearStencil); 54 GET_PROC(ClearStencil);
55 GET_PROC(ColorMask); 55 GET_PROC(ColorMask);
56 GET_PROC(CompileShader); 56 GET_PROC(CompileShader);
57 GET_PROC(CompressedTexImage2D); 57 GET_PROC(CompressedTexImage2D);
58 GET_PROC(CompressedTexSubImage2D);
58 GET_PROC(CopyTexSubImage2D); 59 GET_PROC(CopyTexSubImage2D);
59 GET_PROC(CreateProgram); 60 GET_PROC(CreateProgram);
60 GET_PROC(CreateShader); 61 GET_PROC(CreateShader);
61 GET_PROC(CullFace); 62 GET_PROC(CullFace);
62 GET_PROC(DeleteBuffers); 63 GET_PROC(DeleteBuffers);
63 GET_PROC(DeleteProgram); 64 GET_PROC(DeleteProgram);
64 GET_PROC(DeleteShader); 65 GET_PROC(DeleteShader);
65 GET_PROC(DeleteTextures); 66 GET_PROC(DeleteTextures);
66 functions->fDeleteVertexArrays = 67 functions->fDeleteVertexArrays =
67 (GrGLDeleteVertexArraysProc) eglGetProcAddress("glDeleteVertexArraysOES" ); 68 (GrGLDeleteVertexArraysProc) eglGetProcAddress("glDeleteVertexArraysOES" );
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 functions->fInvalidateBufferSubData = (GrGLInvalidateBufferSubDataProc) eglG etProcAddress("glInvalidateBufferSubData"); 178 functions->fInvalidateBufferSubData = (GrGLInvalidateBufferSubDataProc) eglG etProcAddress("glInvalidateBufferSubData");
178 functions->fInvalidateTexImage = (GrGLInvalidateTexImageProc) eglGetProcAddr ess("glInvalidateTexImage"); 179 functions->fInvalidateTexImage = (GrGLInvalidateTexImageProc) eglGetProcAddr ess("glInvalidateTexImage");
179 functions->fInvalidateTexSubImage = (GrGLInvalidateTexSubImageProc) eglGetPr ocAddress("glInvalidateTexSubImage"); 180 functions->fInvalidateTexSubImage = (GrGLInvalidateTexSubImageProc) eglGetPr ocAddress("glInvalidateTexSubImage");
180 181
181 interface->fExtensions.init(kGLES_GrGLStandard, 182 interface->fExtensions.init(kGLES_GrGLStandard,
182 functions->fGetString, 183 functions->fGetString,
183 functions->fGetStringi, 184 functions->fGetStringi,
184 functions->fGetIntegerv); 185 functions->fGetIntegerv);
185 return interface; 186 return interface;
186 } 187 }
OLDNEW
« no previous file with comments | « src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp ('k') | src/gpu/gl/debug/GrGLCreateDebugInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698