| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 interface->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; | 208 interface->fGetQueryObjecti64v = noOpGLGetQueryObjecti64v; |
| 209 interface->fGetQueryObjectiv = noOpGLGetQueryObjectiv; | 209 interface->fGetQueryObjectiv = noOpGLGetQueryObjectiv; |
| 210 interface->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; | 210 interface->fGetQueryObjectui64v = noOpGLGetQueryObjectui64v; |
| 211 interface->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; | 211 interface->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; |
| 212 interface->fGetQueryiv = noOpGLGetQueryiv; | 212 interface->fGetQueryiv = noOpGLGetQueryiv; |
| 213 interface->fGetProgramInfoLog = noOpGLGetInfoLog; | 213 interface->fGetProgramInfoLog = noOpGLGetInfoLog; |
| 214 interface->fGetProgramiv = noOpGLGetShaderOrProgramiv; | 214 interface->fGetProgramiv = noOpGLGetShaderOrProgramiv; |
| 215 interface->fGetShaderInfoLog = noOpGLGetInfoLog; | 215 interface->fGetShaderInfoLog = noOpGLGetInfoLog; |
| 216 interface->fGetShaderiv = noOpGLGetShaderOrProgramiv; | 216 interface->fGetShaderiv = noOpGLGetShaderOrProgramiv; |
| 217 interface->fGetString = noOpGLGetString; | 217 interface->fGetString = noOpGLGetString; |
| 218 interface->fGetStringi = noOpGLGetStringi; |
| 218 interface->fGetTexLevelParameteriv = noOpGLGetTexLevelParameteriv; | 219 interface->fGetTexLevelParameteriv = noOpGLGetTexLevelParameteriv; |
| 219 interface->fGetUniformLocation = noOpGLGetUniformLocation; | 220 interface->fGetUniformLocation = noOpGLGetUniformLocation; |
| 220 interface->fLineWidth = noOpGLLineWidth; | 221 interface->fLineWidth = noOpGLLineWidth; |
| 221 interface->fLinkProgram = noOpGLLinkProgram; | 222 interface->fLinkProgram = noOpGLLinkProgram; |
| 222 interface->fPixelStorei = nullGLPixelStorei; | 223 interface->fPixelStorei = nullGLPixelStorei; |
| 223 interface->fQueryCounter = noOpGLQueryCounter; | 224 interface->fQueryCounter = noOpGLQueryCounter; |
| 224 interface->fReadBuffer = noOpGLReadBuffer; | 225 interface->fReadBuffer = noOpGLReadBuffer; |
| 225 interface->fReadPixels = nullGLReadPixels; | 226 interface->fReadPixels = nullGLReadPixels; |
| 226 interface->fScissor = noOpGLScissor; | 227 interface->fScissor = noOpGLScissor; |
| 227 interface->fShaderSource = noOpGLShaderSource; | 228 interface->fShaderSource = noOpGLShaderSource; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 interface->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu
ltisample; | 275 interface->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu
ltisample; |
| 275 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; | 276 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; |
| 276 interface->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram
ebuffer; | 277 interface->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram
ebuffer; |
| 277 interface->fMapBuffer = nullGLMapBuffer; | 278 interface->fMapBuffer = nullGLMapBuffer; |
| 278 interface->fUnmapBuffer = nullGLUnmapBuffer; | 279 interface->fUnmapBuffer = nullGLUnmapBuffer; |
| 279 interface->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde
xed; | 280 interface->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde
xed; |
| 280 } | 281 } |
| 281 glInterface.get()->ref(); | 282 glInterface.get()->ref(); |
| 282 return glInterface.get(); | 283 return glInterface.get(); |
| 283 } | 284 } |
| OLD | NEW |