| 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 interface->fStencilFuncSeparate = noOpGLStencilFuncSeparate; | 234 interface->fStencilFuncSeparate = noOpGLStencilFuncSeparate; |
| 235 interface->fStencilMask = noOpGLStencilMask; | 235 interface->fStencilMask = noOpGLStencilMask; |
| 236 interface->fStencilMaskSeparate = noOpGLStencilMaskSeparate; | 236 interface->fStencilMaskSeparate = noOpGLStencilMaskSeparate; |
| 237 interface->fStencilOp = noOpGLStencilOp; | 237 interface->fStencilOp = noOpGLStencilOp; |
| 238 interface->fStencilOpSeparate = noOpGLStencilOpSeparate; | 238 interface->fStencilOpSeparate = noOpGLStencilOpSeparate; |
| 239 interface->fTexImage2D = noOpGLTexImage2D; | 239 interface->fTexImage2D = noOpGLTexImage2D; |
| 240 interface->fTexParameteri = noOpGLTexParameteri; | 240 interface->fTexParameteri = noOpGLTexParameteri; |
| 241 interface->fTexParameteriv = noOpGLTexParameteriv; | 241 interface->fTexParameteriv = noOpGLTexParameteriv; |
| 242 interface->fTexSubImage2D = noOpGLTexSubImage2D; | 242 interface->fTexSubImage2D = noOpGLTexSubImage2D; |
| 243 interface->fTexStorage2D = noOpGLTexStorage2D; | 243 interface->fTexStorage2D = noOpGLTexStorage2D; |
| 244 interface->fDiscardFramebuffer = noOpGLDiscardFramebuffer; |
| 244 interface->fUniform1f = noOpGLUniform1f; | 245 interface->fUniform1f = noOpGLUniform1f; |
| 245 interface->fUniform1i = noOpGLUniform1i; | 246 interface->fUniform1i = noOpGLUniform1i; |
| 246 interface->fUniform1fv = noOpGLUniform1fv; | 247 interface->fUniform1fv = noOpGLUniform1fv; |
| 247 interface->fUniform1iv = noOpGLUniform1iv; | 248 interface->fUniform1iv = noOpGLUniform1iv; |
| 248 interface->fUniform2f = noOpGLUniform2f; | 249 interface->fUniform2f = noOpGLUniform2f; |
| 249 interface->fUniform2i = noOpGLUniform2i; | 250 interface->fUniform2i = noOpGLUniform2i; |
| 250 interface->fUniform2fv = noOpGLUniform2fv; | 251 interface->fUniform2fv = noOpGLUniform2fv; |
| 251 interface->fUniform2iv = noOpGLUniform2iv; | 252 interface->fUniform2iv = noOpGLUniform2iv; |
| 252 interface->fUniform3f = noOpGLUniform3f; | 253 interface->fUniform3f = noOpGLUniform3f; |
| 253 interface->fUniform3i = noOpGLUniform3i; | 254 interface->fUniform3i = noOpGLUniform3i; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 279 interface->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu
ltisample; | 280 interface->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu
ltisample; |
| 280 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; | 281 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; |
| 281 interface->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram
ebuffer; | 282 interface->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram
ebuffer; |
| 282 interface->fMapBuffer = nullGLMapBuffer; | 283 interface->fMapBuffer = nullGLMapBuffer; |
| 283 interface->fUnmapBuffer = nullGLUnmapBuffer; | 284 interface->fUnmapBuffer = nullGLUnmapBuffer; |
| 284 interface->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde
xed; | 285 interface->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde
xed; |
| 285 } | 286 } |
| 286 glInterface.get()->ref(); | 287 glInterface.get()->ref(); |
| 287 return glInterface.get(); | 288 return glInterface.get(); |
| 288 } | 289 } |
| OLD | NEW |