| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 GrGLInterface::Functions* functions = &interface->fFunctions; | 350 GrGLInterface::Functions* functions = &interface->fFunctions; |
| 351 functions->fActiveTexture = nullGLActiveTexture; | 351 functions->fActiveTexture = nullGLActiveTexture; |
| 352 functions->fAttachShader = nullGLAttachShader; | 352 functions->fAttachShader = nullGLAttachShader; |
| 353 functions->fBeginQuery = nullGLBeginQuery; | 353 functions->fBeginQuery = nullGLBeginQuery; |
| 354 functions->fBindAttribLocation = nullGLBindAttribLocation; | 354 functions->fBindAttribLocation = nullGLBindAttribLocation; |
| 355 functions->fBindBuffer = nullGLBindBuffer; | 355 functions->fBindBuffer = nullGLBindBuffer; |
| 356 functions->fBindFragDataLocation = noOpGLBindFragDataLocation; | 356 functions->fBindFragDataLocation = noOpGLBindFragDataLocation; |
| 357 functions->fBindTexture = nullGLBindTexture; | 357 functions->fBindTexture = nullGLBindTexture; |
| 358 functions->fBindVertexArray = nullGLBindVertexArray; | 358 functions->fBindVertexArray = nullGLBindVertexArray; |
| 359 functions->fBlendColor = noOpGLBlendColor; | 359 functions->fBlendColor = noOpGLBlendColor; |
| 360 functions->fBlendEquation = noOpGLBlendEquation; | |
| 361 functions->fBlendFunc = noOpGLBlendFunc; | 360 functions->fBlendFunc = noOpGLBlendFunc; |
| 362 functions->fBufferData = nullGLBufferData; | 361 functions->fBufferData = nullGLBufferData; |
| 363 functions->fBufferSubData = noOpGLBufferSubData; | 362 functions->fBufferSubData = noOpGLBufferSubData; |
| 364 functions->fClear = noOpGLClear; | 363 functions->fClear = noOpGLClear; |
| 365 functions->fClearColor = noOpGLClearColor; | 364 functions->fClearColor = noOpGLClearColor; |
| 366 functions->fClearStencil = noOpGLClearStencil; | 365 functions->fClearStencil = noOpGLClearStencil; |
| 367 functions->fColorMask = noOpGLColorMask; | 366 functions->fColorMask = noOpGLColorMask; |
| 368 functions->fCompileShader = noOpGLCompileShader; | 367 functions->fCompileShader = noOpGLCompileShader; |
| 369 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; | 368 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; |
| 370 functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D; | 369 functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; | 480 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; |
| 482 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf
fer; | 481 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf
fer; |
| 483 functions->fMatrixLoadf = noOpGLMatrixLoadf; | 482 functions->fMatrixLoadf = noOpGLMatrixLoadf; |
| 484 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 483 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
| 485 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; | 484 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; |
| 486 | 485 |
| 487 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 486 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
| 488 functions->fGetIntegerv); | 487 functions->fGetIntegerv); |
| 489 return interface; | 488 return interface; |
| 490 } | 489 } |
| OLD | NEW |