OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
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 | 7 |
8 | 8 |
9 #include "gl/GrGLInterface.h" | 9 #include "gl/GrGLInterface.h" |
10 #include "GrGLDefines.h" | 10 #include "GrGLDefines.h" |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 interface->fBlendColor = noOpGLBlendColor; | 172 interface->fBlendColor = noOpGLBlendColor; |
173 interface->fBlendFunc = noOpGLBlendFunc; | 173 interface->fBlendFunc = noOpGLBlendFunc; |
174 interface->fBufferData = nullGLBufferData; | 174 interface->fBufferData = nullGLBufferData; |
175 interface->fBufferSubData = noOpGLBufferSubData; | 175 interface->fBufferSubData = noOpGLBufferSubData; |
176 interface->fClear = noOpGLClear; | 176 interface->fClear = noOpGLClear; |
177 interface->fClearColor = noOpGLClearColor; | 177 interface->fClearColor = noOpGLClearColor; |
178 interface->fClearStencil = noOpGLClearStencil; | 178 interface->fClearStencil = noOpGLClearStencil; |
179 interface->fColorMask = noOpGLColorMask; | 179 interface->fColorMask = noOpGLColorMask; |
180 interface->fCompileShader = noOpGLCompileShader; | 180 interface->fCompileShader = noOpGLCompileShader; |
181 interface->fCompressedTexImage2D = noOpGLCompressedTexImage2D; | 181 interface->fCompressedTexImage2D = noOpGLCompressedTexImage2D; |
| 182 interface->fCopyTexSubImage2D = noOpGLCopyTexSubImage2D; |
182 interface->fCreateProgram = nullGLCreateProgram; | 183 interface->fCreateProgram = nullGLCreateProgram; |
183 interface->fCreateShader = nullGLCreateShader; | 184 interface->fCreateShader = nullGLCreateShader; |
184 interface->fCullFace = noOpGLCullFace; | 185 interface->fCullFace = noOpGLCullFace; |
185 interface->fDeleteBuffers = nullGLDeleteBuffers; | 186 interface->fDeleteBuffers = nullGLDeleteBuffers; |
186 interface->fDeleteProgram = nullGLDelete; | 187 interface->fDeleteProgram = nullGLDelete; |
187 interface->fDeleteQueries = noOpGLDeleteIds; | 188 interface->fDeleteQueries = noOpGLDeleteIds; |
188 interface->fDeleteShader = nullGLDelete; | 189 interface->fDeleteShader = nullGLDelete; |
189 interface->fDeleteTextures = noOpGLDeleteIds; | 190 interface->fDeleteTextures = noOpGLDeleteIds; |
190 interface->fDeleteVertexArrays = noOpGLDeleteIds; | 191 interface->fDeleteVertexArrays = noOpGLDeleteIds; |
191 interface->fDepthMask = noOpGLDepthMask; | 192 interface->fDepthMask = noOpGLDepthMask; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 interface->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu
ltisample; | 279 interface->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu
ltisample; |
279 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; | 280 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; |
280 interface->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram
ebuffer; | 281 interface->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram
ebuffer; |
281 interface->fMapBuffer = nullGLMapBuffer; | 282 interface->fMapBuffer = nullGLMapBuffer; |
282 interface->fUnmapBuffer = nullGLUnmapBuffer; | 283 interface->fUnmapBuffer = nullGLUnmapBuffer; |
283 interface->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde
xed; | 284 interface->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde
xed; |
284 } | 285 } |
285 glInterface.get()->ref(); | 286 glInterface.get()->ref(); |
286 return glInterface.get(); | 287 return glInterface.get(); |
287 } | 288 } |
OLD | NEW |