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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 functions->fFlushMappedBufferRange = nullGLFlushMappedBufferRange; | 395 functions->fFlushMappedBufferRange = nullGLFlushMappedBufferRange; |
396 functions->fFrontFace = noOpGLFrontFace; | 396 functions->fFrontFace = noOpGLFrontFace; |
397 functions->fGenBuffers = nullGLGenBuffers; | 397 functions->fGenBuffers = nullGLGenBuffers; |
398 functions->fGenerateMipmap = nullGLGenerateMipmap; | 398 functions->fGenerateMipmap = nullGLGenerateMipmap; |
399 functions->fGenQueries = noOpGLGenIds; | 399 functions->fGenQueries = noOpGLGenIds; |
400 functions->fGenTextures = noOpGLGenIds; | 400 functions->fGenTextures = noOpGLGenIds; |
401 functions->fGenVertexArrays = noOpGLGenIds; | 401 functions->fGenVertexArrays = noOpGLGenIds; |
402 functions->fGetBufferParameteriv = nullGLGetBufferParameteriv; | 402 functions->fGetBufferParameteriv = nullGLGetBufferParameteriv; |
403 functions->fGetError = noOpGLGetError; | 403 functions->fGetError = noOpGLGetError; |
404 functions->fGetIntegerv = noOpGLGetIntegerv; | 404 functions->fGetIntegerv = noOpGLGetIntegerv; |
| 405 functions->fGetMultisamplefv = noOpGLGetMultisamplefv; |
405 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; | 406 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; |
406 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv; | 407 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv; |
407 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; | 408 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; |
408 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; | 409 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; |
409 functions->fGetQueryiv = noOpGLGetQueryiv; | 410 functions->fGetQueryiv = noOpGLGetQueryiv; |
410 functions->fGetProgramInfoLog = noOpGLGetInfoLog; | 411 functions->fGetProgramInfoLog = noOpGLGetInfoLog; |
411 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; | 412 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; |
412 functions->fGetShaderInfoLog = noOpGLGetInfoLog; | 413 functions->fGetShaderInfoLog = noOpGLGetInfoLog; |
413 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; | 414 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; |
414 functions->fGetString = noOpGLGetString; | 415 functions->fGetString = noOpGLGetString; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; | 486 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; |
486 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf
fer; | 487 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf
fer; |
487 functions->fMatrixLoadf = noOpGLMatrixLoadf; | 488 functions->fMatrixLoadf = noOpGLMatrixLoadf; |
488 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 489 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
489 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; | 490 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; |
490 | 491 |
491 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 492 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
492 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); | 493 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); |
493 return interface; | 494 return interface; |
494 } | 495 } |
OLD | NEW |