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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 functions->fReadBuffer = noOpGLReadBuffer; | 428 functions->fReadBuffer = noOpGLReadBuffer; |
429 functions->fReadPixels = nullGLReadPixels; | 429 functions->fReadPixels = nullGLReadPixels; |
430 functions->fScissor = noOpGLScissor; | 430 functions->fScissor = noOpGLScissor; |
431 functions->fShaderSource = noOpGLShaderSource; | 431 functions->fShaderSource = noOpGLShaderSource; |
432 functions->fStencilFunc = noOpGLStencilFunc; | 432 functions->fStencilFunc = noOpGLStencilFunc; |
433 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; | 433 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; |
434 functions->fStencilMask = noOpGLStencilMask; | 434 functions->fStencilMask = noOpGLStencilMask; |
435 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; | 435 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; |
436 functions->fStencilOp = noOpGLStencilOp; | 436 functions->fStencilOp = noOpGLStencilOp; |
437 functions->fStencilOpSeparate = noOpGLStencilOpSeparate; | 437 functions->fStencilOpSeparate = noOpGLStencilOpSeparate; |
| 438 functions->fTexBuffer = noOpGLTexBuffer; |
438 functions->fTexImage2D = noOpGLTexImage2D; | 439 functions->fTexImage2D = noOpGLTexImage2D; |
439 functions->fTexParameteri = noOpGLTexParameteri; | 440 functions->fTexParameteri = noOpGLTexParameteri; |
440 functions->fTexParameteriv = noOpGLTexParameteriv; | 441 functions->fTexParameteriv = noOpGLTexParameteriv; |
441 functions->fTexSubImage2D = noOpGLTexSubImage2D; | 442 functions->fTexSubImage2D = noOpGLTexSubImage2D; |
442 functions->fTexStorage2D = noOpGLTexStorage2D; | 443 functions->fTexStorage2D = noOpGLTexStorage2D; |
443 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer; | 444 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer; |
444 functions->fUniform1f = noOpGLUniform1f; | 445 functions->fUniform1f = noOpGLUniform1f; |
445 functions->fUniform1i = noOpGLUniform1i; | 446 functions->fUniform1i = noOpGLUniform1i; |
446 functions->fUniform1fv = noOpGLUniform1fv; | 447 functions->fUniform1fv = noOpGLUniform1fv; |
447 functions->fUniform1iv = noOpGLUniform1iv; | 448 functions->fUniform1iv = noOpGLUniform1iv; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; | 487 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; |
487 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf
fer; | 488 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf
fer; |
488 functions->fMatrixLoadf = noOpGLMatrixLoadf; | 489 functions->fMatrixLoadf = noOpGLMatrixLoadf; |
489 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 490 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
490 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; | 491 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; |
491 | 492 |
492 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 493 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
493 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); | 494 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); |
494 return interface; | 495 return interface; |
495 } | 496 } |
OLD | NEW |