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

Side by Side Diff: src/gpu/gl/unix/GrGLCreateNativeInterface_unix.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/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 59 }
60 60
61 GR_GL_GET_PROC(BufferData); 61 GR_GL_GET_PROC(BufferData);
62 GR_GL_GET_PROC(BufferSubData); 62 GR_GL_GET_PROC(BufferSubData);
63 interface->fClear = glClear; 63 interface->fClear = glClear;
64 interface->fClearColor = glClearColor; 64 interface->fClearColor = glClearColor;
65 interface->fClearStencil = glClearStencil; 65 interface->fClearStencil = glClearStencil;
66 interface->fColorMask = glColorMask; 66 interface->fColorMask = glColorMask;
67 GR_GL_GET_PROC(CompileShader); 67 GR_GL_GET_PROC(CompileShader);
68 interface->fCompressedTexImage2D = glCompressedTexImage2D; 68 interface->fCompressedTexImage2D = glCompressedTexImage2D;
69 interface->fCopyTexSubImage2D = glCopyTexSubImage2D;
69 GR_GL_GET_PROC(CreateProgram); 70 GR_GL_GET_PROC(CreateProgram);
70 GR_GL_GET_PROC(CreateShader); 71 GR_GL_GET_PROC(CreateShader);
71 interface->fCullFace = glCullFace; 72 interface->fCullFace = glCullFace;
72 GR_GL_GET_PROC(DeleteBuffers); 73 GR_GL_GET_PROC(DeleteBuffers);
73 GR_GL_GET_PROC(DeleteProgram); 74 GR_GL_GET_PROC(DeleteProgram);
74 GR_GL_GET_PROC(DeleteQueries); 75 GR_GL_GET_PROC(DeleteQueries);
75 GR_GL_GET_PROC(DeleteShader); 76 GR_GL_GET_PROC(DeleteShader);
76 interface->fDeleteTextures = glDeleteTextures; 77 interface->fDeleteTextures = glDeleteTextures;
77 interface->fDepthMask = glDepthMask; 78 interface->fDepthMask = glDepthMask;
78 interface->fDisable = glDisable; 79 interface->fDisable = glDisable;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 delete interface; 213 delete interface;
213 return NULL; 214 return NULL;
214 } 215 }
215 interface->fBindingsExported = kDesktop_GrGLBinding; 216 interface->fBindingsExported = kDesktop_GrGLBinding;
216 217
217 return interface; 218 return interface;
218 } else { 219 } else {
219 return NULL; 220 return NULL;
220 } 221 }
221 } 222 }
OLDNEW
« no previous file with comments | « src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp ('k') | src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698