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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 functions->fReadBuffer = noOpGLReadBuffer; | 339 functions->fReadBuffer = noOpGLReadBuffer; |
340 functions->fReadPixels = nullGLReadPixels; | 340 functions->fReadPixels = nullGLReadPixels; |
341 functions->fScissor = noOpGLScissor; | 341 functions->fScissor = noOpGLScissor; |
342 functions->fShaderSource = noOpGLShaderSource; | 342 functions->fShaderSource = noOpGLShaderSource; |
343 functions->fStencilFunc = noOpGLStencilFunc; | 343 functions->fStencilFunc = noOpGLStencilFunc; |
344 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; | 344 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; |
345 functions->fStencilMask = noOpGLStencilMask; | 345 functions->fStencilMask = noOpGLStencilMask; |
346 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; | 346 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; |
347 functions->fStencilOp = noOpGLStencilOp; | 347 functions->fStencilOp = noOpGLStencilOp; |
348 functions->fStencilOpSeparate = noOpGLStencilOpSeparate; | 348 functions->fStencilOpSeparate = noOpGLStencilOpSeparate; |
349 functions->fTexGenfv = noOpGLTexGenfv; | |
350 functions->fTexGeni = noOpGLTexGeni; | |
351 functions->fTexImage2D = noOpGLTexImage2D; | 349 functions->fTexImage2D = noOpGLTexImage2D; |
352 functions->fTexParameteri = noOpGLTexParameteri; | 350 functions->fTexParameteri = noOpGLTexParameteri; |
353 functions->fTexParameteriv = noOpGLTexParameteriv; | 351 functions->fTexParameteriv = noOpGLTexParameteriv; |
354 functions->fTexSubImage2D = noOpGLTexSubImage2D; | 352 functions->fTexSubImage2D = noOpGLTexSubImage2D; |
355 functions->fTexStorage2D = noOpGLTexStorage2D; | 353 functions->fTexStorage2D = noOpGLTexStorage2D; |
356 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer; | 354 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer; |
357 functions->fUniform1f = noOpGLUniform1f; | 355 functions->fUniform1f = noOpGLUniform1f; |
358 functions->fUniform1i = noOpGLUniform1i; | 356 functions->fUniform1i = noOpGLUniform1i; |
359 functions->fUniform1fv = noOpGLUniform1fv; | 357 functions->fUniform1fv = noOpGLUniform1fv; |
360 functions->fUniform1iv = noOpGLUniform1iv; | 358 functions->fUniform1iv = noOpGLUniform1iv; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; | 391 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; |
394 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf
fer; | 392 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf
fer; |
395 functions->fMapBuffer = nullGLMapBuffer; | 393 functions->fMapBuffer = nullGLMapBuffer; |
396 functions->fUnmapBuffer = nullGLUnmapBuffer; | 394 functions->fUnmapBuffer = nullGLUnmapBuffer; |
397 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; | 395 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; |
398 | 396 |
399 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 397 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
400 functions->fGetIntegerv); | 398 functions->fGetIntegerv); |
401 return interface; | 399 return interface; |
402 } | 400 } |
OLD | NEW |