| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #include "gl/GrGLInterface.h" | 10 #include "gl/GrGLInterface.h" |
| (...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 functions->fFlush = noOpGLFlush; | 888 functions->fFlush = noOpGLFlush; |
| 889 functions->fFlushMappedBufferRange = debugGLFlushMappedBufferRange; | 889 functions->fFlushMappedBufferRange = debugGLFlushMappedBufferRange; |
| 890 functions->fFrontFace = noOpGLFrontFace; | 890 functions->fFrontFace = noOpGLFrontFace; |
| 891 functions->fGenerateMipmap = debugGLGenerateMipmap; | 891 functions->fGenerateMipmap = debugGLGenerateMipmap; |
| 892 functions->fGenBuffers = debugGLGenBuffers; | 892 functions->fGenBuffers = debugGLGenBuffers; |
| 893 functions->fGenQueries = noOpGLGenIds; | 893 functions->fGenQueries = noOpGLGenIds; |
| 894 functions->fGenTextures = debugGLGenTextures; | 894 functions->fGenTextures = debugGLGenTextures; |
| 895 functions->fGetBufferParameteriv = debugGLGetBufferParameteriv; | 895 functions->fGetBufferParameteriv = debugGLGetBufferParameteriv; |
| 896 functions->fGetError = noOpGLGetError; | 896 functions->fGetError = noOpGLGetError; |
| 897 functions->fGetIntegerv = noOpGLGetIntegerv; | 897 functions->fGetIntegerv = noOpGLGetIntegerv; |
| 898 functions->fGetMultisamplefv = noOpGLGetMultisamplefv; |
| 898 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; | 899 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; |
| 899 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv; | 900 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv; |
| 900 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; | 901 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; |
| 901 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; | 902 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; |
| 902 functions->fGetQueryiv = noOpGLGetQueryiv; | 903 functions->fGetQueryiv = noOpGLGetQueryiv; |
| 903 functions->fGetProgramInfoLog = noOpGLGetInfoLog; | 904 functions->fGetProgramInfoLog = noOpGLGetInfoLog; |
| 904 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; | 905 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; |
| 905 functions->fGetShaderInfoLog = noOpGLGetInfoLog; | 906 functions->fGetShaderInfoLog = noOpGLGetInfoLog; |
| 906 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; | 907 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; |
| 907 functions->fGetString = noOpGLGetString; | 908 functions->fGetString = noOpGLGetString; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 983 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
| 983 | 984 |
| 984 functions->fBindFragDataLocationIndexed = | 985 functions->fBindFragDataLocationIndexed = |
| 985 noOpGLBindFragDataLocationIndexed; | 986 noOpGLBindFragDataLocationIndexed; |
| 986 | 987 |
| 987 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 988 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
| 988 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); | 989 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); |
| 989 | 990 |
| 990 return interface; | 991 return interface; |
| 991 } | 992 } |
| OLD | NEW |