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; | |
899 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; | 898 functions->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; |
900 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv; | 899 functions->fGetQueryObjectiv = noOpGLGetQueryObjectiv; |
901 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; | 900 functions->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; |
902 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; | 901 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; |
903 functions->fGetQueryiv = noOpGLGetQueryiv; | 902 functions->fGetQueryiv = noOpGLGetQueryiv; |
904 functions->fGetProgramInfoLog = noOpGLGetInfoLog; | 903 functions->fGetProgramInfoLog = noOpGLGetInfoLog; |
905 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; | 904 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; |
906 functions->fGetShaderInfoLog = noOpGLGetInfoLog; | 905 functions->fGetShaderInfoLog = noOpGLGetInfoLog; |
907 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; | 906 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; |
908 functions->fGetString = noOpGLGetString; | 907 functions->fGetString = noOpGLGetString; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 982 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
984 | 983 |
985 functions->fBindFragDataLocationIndexed = | 984 functions->fBindFragDataLocationIndexed = |
986 noOpGLBindFragDataLocationIndexed; | 985 noOpGLBindFragDataLocationIndexed; |
987 | 986 |
988 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 987 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
989 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); | 988 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); |
990 | 989 |
991 return interface; | 990 return interface; |
992 } | 991 } |
OLD | NEW |