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

Side by Side Diff: src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.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
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 9
10 #include "gl/GrGLInterface.h" 10 #include "gl/GrGLInterface.h"
(...skipping 15 matching lines...) Expand all
26 interface->fBlendColor = glBlendColor; 26 interface->fBlendColor = glBlendColor;
27 interface->fBlendFunc = glBlendFunc; 27 interface->fBlendFunc = glBlendFunc;
28 interface->fBufferData = (GrGLBufferDataProc)glBufferData; 28 interface->fBufferData = (GrGLBufferDataProc)glBufferData;
29 interface->fBufferSubData = (GrGLBufferSubDataProc)glBufferSubData; 29 interface->fBufferSubData = (GrGLBufferSubDataProc)glBufferSubData;
30 interface->fClear = glClear; 30 interface->fClear = glClear;
31 interface->fClearColor = glClearColor; 31 interface->fClearColor = glClearColor;
32 interface->fClearStencil = glClearStencil; 32 interface->fClearStencil = glClearStencil;
33 interface->fColorMask = glColorMask; 33 interface->fColorMask = glColorMask;
34 interface->fCompileShader = glCompileShader; 34 interface->fCompileShader = glCompileShader;
35 interface->fCompressedTexImage2D = glCompressedTexImage2D; 35 interface->fCompressedTexImage2D = glCompressedTexImage2D;
36 interface->fCopyTexSubImage2D = glCopyTexSubImage2D;
36 interface->fCreateProgram = glCreateProgram; 37 interface->fCreateProgram = glCreateProgram;
37 interface->fCreateShader = glCreateShader; 38 interface->fCreateShader = glCreateShader;
38 interface->fCullFace = glCullFace; 39 interface->fCullFace = glCullFace;
39 interface->fDeleteBuffers = glDeleteBuffers; 40 interface->fDeleteBuffers = glDeleteBuffers;
40 interface->fDeleteProgram = glDeleteProgram; 41 interface->fDeleteProgram = glDeleteProgram;
41 interface->fDeleteShader = glDeleteShader; 42 interface->fDeleteShader = glDeleteShader;
42 interface->fDeleteTextures = glDeleteTextures; 43 interface->fDeleteTextures = glDeleteTextures;
43 interface->fDepthMask = glDepthMask; 44 interface->fDepthMask = glDepthMask;
44 interface->fDisable = glDisable; 45 interface->fDisable = glDisable;
45 interface->fDisableVertexAttribArray = glDisableVertexAttribArray; 46 interface->fDisableVertexAttribArray = glDisableVertexAttribArray;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 interface->fBindVertexArray = glBindVertexArrayOES; 139 interface->fBindVertexArray = glBindVertexArrayOES;
139 interface->fDeleteVertexArrays = glDeleteVertexArraysOES; 140 interface->fDeleteVertexArrays = glDeleteVertexArraysOES;
140 interface->fGenVertexArrays = glGenVertexArraysOES; 141 interface->fGenVertexArrays = glGenVertexArraysOES;
141 #endif 142 #endif
142 143
143 interface->fBindingsExported = kES2_GrGLBinding; 144 interface->fBindingsExported = kES2_GrGLBinding;
144 } 145 }
145 glInterface.get()->ref(); 146 glInterface.get()->ref();
146 return glInterface.get(); 147 return glInterface.get();
147 } 148 }
OLDNEW
« no previous file with comments | « src/gpu/gl/debug/GrGLCreateDebugInterface.cpp ('k') | src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698