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

Side by Side Diff: gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc

Issue 601883002: Adding skia gl interface binding for glCopyTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h" 5 #include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h"
6 6
7 #ifndef GL_GLEXT_PROTOTYPES 7 #ifndef GL_GLEXT_PROTOTYPES
8 #define GL_GLEXT_PROTOTYPES 8 #define GL_GLEXT_PROTOTYPES
9 #endif 9 #endif
10 #include "gpu/GLES2/gl2extchromium.h" 10 #include "gpu/GLES2/gl2extchromium.h"
(...skipping 22 matching lines...) Expand all
33 functions->fBlendFunc = glBlendFunc; 33 functions->fBlendFunc = glBlendFunc;
34 functions->fBufferData = glBufferData; 34 functions->fBufferData = glBufferData;
35 functions->fBufferSubData = glBufferSubData; 35 functions->fBufferSubData = glBufferSubData;
36 functions->fClear = glClear; 36 functions->fClear = glClear;
37 functions->fClearColor = glClearColor; 37 functions->fClearColor = glClearColor;
38 functions->fClearStencil = glClearStencil; 38 functions->fClearStencil = glClearStencil;
39 functions->fColorMask = glColorMask; 39 functions->fColorMask = glColorMask;
40 functions->fCompileShader = glCompileShader; 40 functions->fCompileShader = glCompileShader;
41 functions->fCompressedTexImage2D = glCompressedTexImage2D; 41 functions->fCompressedTexImage2D = glCompressedTexImage2D;
42 functions->fCopyTexSubImage2D = glCopyTexSubImage2D; 42 functions->fCopyTexSubImage2D = glCopyTexSubImage2D;
43 functions->fCopyTextureCHROMIUM = glCopyTextureCHROMIUM;
43 functions->fCreateProgram = glCreateProgram; 44 functions->fCreateProgram = glCreateProgram;
44 functions->fCreateShader = glCreateShader; 45 functions->fCreateShader = glCreateShader;
45 functions->fCullFace = glCullFace; 46 functions->fCullFace = glCullFace;
46 functions->fDeleteBuffers = glDeleteBuffers; 47 functions->fDeleteBuffers = glDeleteBuffers;
47 functions->fDeleteProgram = glDeleteProgram; 48 functions->fDeleteProgram = glDeleteProgram;
48 functions->fDeleteShader = glDeleteShader; 49 functions->fDeleteShader = glDeleteShader;
49 functions->fDeleteTextures = glDeleteTextures; 50 functions->fDeleteTextures = glDeleteTextures;
50 functions->fDeleteVertexArrays = glDeleteVertexArraysOES; 51 functions->fDeleteVertexArrays = glDeleteVertexArraysOES;
51 functions->fDepthMask = glDepthMask; 52 functions->fDepthMask = glDepthMask;
52 functions->fDisable = glDisable; 53 functions->fDisable = glDisable;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; 141 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM;
141 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; 142 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM;
142 functions->fGenerateMipmap = glGenerateMipmap; 143 functions->fGenerateMipmap = glGenerateMipmap;
143 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM; 144 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM;
144 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM; 145 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM;
145 146
146 return interface; 147 return interface;
147 } 148 }
148 149
149 } // namespace skia 150 } // namespace skia
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698