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; | |
406 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; | 405 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; |
407 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv; | 406 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv; |
408 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; | 407 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; |
409 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; | 408 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; |
410 functions->fGetQueryiv = noOpGLGetQueryiv; | 409 functions->fGetQueryiv = noOpGLGetQueryiv; |
411 functions->fGetProgramInfoLog = noOpGLGetInfoLog; | 410 functions->fGetProgramInfoLog = noOpGLGetInfoLog; |
412 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; | 411 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; |
413 functions->fGetShaderInfoLog = noOpGLGetInfoLog; | 412 functions->fGetShaderInfoLog = noOpGLGetInfoLog; |
414 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; | 413 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; |
415 functions->fGetString = noOpGLGetString; | 414 functions->fGetString = noOpGLGetString; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; | 485 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; |
487 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf
fer; | 486 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf
fer; |
488 functions->fMatrixLoadf = noOpGLMatrixLoadf; | 487 functions->fMatrixLoadf = noOpGLMatrixLoadf; |
489 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 488 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
490 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; | 489 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; |
491 | 490 |
492 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 491 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
493 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); | 492 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); |
494 return interface; | 493 return interface; |
495 } | 494 } |
OLD | NEW |