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

Side by Side Diff: src/gpu/gl/android/GrGLCreateNativeInterface_android.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/GrGLNoOpInterface.cpp ('k') | src/gpu/gl/angle/GrGLCreateANGLEInterface.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 // Modified from chromium/src/webkit/glue/gl_bindings_skia_cmd_buffer.cc 1 // Modified from chromium/src/webkit/glue/gl_bindings_skia_cmd_buffer.cc
2 2
3 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
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 #include "gl/GrGLInterface.h" 7 #include "gl/GrGLInterface.h"
8 #include "gl/GrGLAssembleInterface.h" 8 #include "gl/GrGLAssembleInterface.h"
9 #include "gl/GrGLExtensions.h" 9 #include "gl/GrGLExtensions.h"
10 #include "gl/GrGLUtil.h" 10 #include "gl/GrGLUtil.h"
(...skipping 26 matching lines...) Expand all
37 functions->fBlendColor = glBlendColor; 37 functions->fBlendColor = glBlendColor;
38 functions->fBlendFunc = glBlendFunc; 38 functions->fBlendFunc = glBlendFunc;
39 functions->fBufferData = glBufferData; 39 functions->fBufferData = glBufferData;
40 functions->fBufferSubData = glBufferSubData; 40 functions->fBufferSubData = glBufferSubData;
41 functions->fClear = glClear; 41 functions->fClear = glClear;
42 functions->fClearColor = glClearColor; 42 functions->fClearColor = glClearColor;
43 functions->fClearStencil = glClearStencil; 43 functions->fClearStencil = glClearStencil;
44 functions->fColorMask = glColorMask; 44 functions->fColorMask = glColorMask;
45 functions->fCompileShader = glCompileShader; 45 functions->fCompileShader = glCompileShader;
46 functions->fCompressedTexImage2D = glCompressedTexImage2D; 46 functions->fCompressedTexImage2D = glCompressedTexImage2D;
47 functions->fCompressedTexSubImage2D = glCompressedTexSubImage2D;
47 functions->fCopyTexSubImage2D = glCopyTexSubImage2D; 48 functions->fCopyTexSubImage2D = glCopyTexSubImage2D;
48 functions->fCreateProgram = glCreateProgram; 49 functions->fCreateProgram = glCreateProgram;
49 functions->fCreateShader = glCreateShader; 50 functions->fCreateShader = glCreateShader;
50 functions->fCullFace = glCullFace; 51 functions->fCullFace = glCullFace;
51 functions->fDeleteBuffers = glDeleteBuffers; 52 functions->fDeleteBuffers = glDeleteBuffers;
52 functions->fDeleteProgram = glDeleteProgram; 53 functions->fDeleteProgram = glDeleteProgram;
53 functions->fDeleteShader = glDeleteShader; 54 functions->fDeleteShader = glDeleteShader;
54 functions->fDeleteTextures = glDeleteTextures; 55 functions->fDeleteTextures = glDeleteTextures;
55 functions->fDeleteVertexArrays = glDeleteVertexArraysOES; 56 functions->fDeleteVertexArrays = glDeleteVertexArraysOES;
56 functions->fDepthMask = glDepthMask; 57 functions->fDepthMask = glDepthMask;
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 interface->fExtensions.swap(&extensions); 267 interface->fExtensions.swap(&extensions);
267 } 268 }
268 269
269 return interface; 270 return interface;
270 } else if (kGL_GrGLStandard == standard) { 271 } else if (kGL_GrGLStandard == standard) {
271 return create_desktop_interface(); 272 return create_desktop_interface();
272 } 273 }
273 274
274 return NULL; 275 return NULL;
275 } 276 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.cpp ('k') | src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698