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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; | 328 functions->fGetQueryObjectuiv = noOpGLGetQueryObjectuiv; |
329 functions->fGetQueryiv = noOpGLGetQueryiv; | 329 functions->fGetQueryiv = noOpGLGetQueryiv; |
330 functions->fGetProgramInfoLog = noOpGLGetInfoLog; | 330 functions->fGetProgramInfoLog = noOpGLGetInfoLog; |
331 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; | 331 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; |
332 functions->fGetShaderInfoLog = noOpGLGetInfoLog; | 332 functions->fGetShaderInfoLog = noOpGLGetInfoLog; |
333 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; | 333 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; |
334 functions->fGetString = noOpGLGetString; | 334 functions->fGetString = noOpGLGetString; |
335 functions->fGetStringi = noOpGLGetStringi; | 335 functions->fGetStringi = noOpGLGetStringi; |
336 functions->fGetTexLevelParameteriv = noOpGLGetTexLevelParameteriv; | 336 functions->fGetTexLevelParameteriv = noOpGLGetTexLevelParameteriv; |
337 functions->fGetUniformLocation = noOpGLGetUniformLocation; | 337 functions->fGetUniformLocation = noOpGLGetUniformLocation; |
| 338 functions->fInsertEventMarker = noOpGLInsertEventMarker; |
338 functions->fLoadIdentity = noOpGLLoadIdentity; | 339 functions->fLoadIdentity = noOpGLLoadIdentity; |
339 functions->fLoadMatrixf = noOpGLLoadMatrixf; | 340 functions->fLoadMatrixf = noOpGLLoadMatrixf; |
340 functions->fLineWidth = noOpGLLineWidth; | 341 functions->fLineWidth = noOpGLLineWidth; |
341 functions->fLinkProgram = noOpGLLinkProgram; | 342 functions->fLinkProgram = noOpGLLinkProgram; |
342 functions->fMatrixMode = noOpGLMatrixMode; | 343 functions->fMatrixMode = noOpGLMatrixMode; |
343 functions->fPixelStorei = nullGLPixelStorei; | 344 functions->fPixelStorei = nullGLPixelStorei; |
| 345 functions->fPopGroupMarker = noOpGLPopGroupMarker; |
| 346 functions->fPushGroupMarker = noOpGLPushGroupMarker; |
344 functions->fQueryCounter = noOpGLQueryCounter; | 347 functions->fQueryCounter = noOpGLQueryCounter; |
345 functions->fReadBuffer = noOpGLReadBuffer; | 348 functions->fReadBuffer = noOpGLReadBuffer; |
346 functions->fReadPixels = nullGLReadPixels; | 349 functions->fReadPixels = nullGLReadPixels; |
347 functions->fScissor = noOpGLScissor; | 350 functions->fScissor = noOpGLScissor; |
348 functions->fShaderSource = noOpGLShaderSource; | 351 functions->fShaderSource = noOpGLShaderSource; |
349 functions->fStencilFunc = noOpGLStencilFunc; | 352 functions->fStencilFunc = noOpGLStencilFunc; |
350 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; | 353 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; |
351 functions->fStencilMask = noOpGLStencilMask; | 354 functions->fStencilMask = noOpGLStencilMask; |
352 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; | 355 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; |
353 functions->fStencilOp = noOpGLStencilOp; | 356 functions->fStencilOp = noOpGLStencilOp; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 functions->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu
ltisample; | 403 functions->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMu
ltisample; |
401 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; | 404 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; |
402 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram
ebuffer; | 405 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFram
ebuffer; |
403 functions->fMapBuffer = nullGLMapBuffer; | 406 functions->fMapBuffer = nullGLMapBuffer; |
404 functions->fUnmapBuffer = nullGLUnmapBuffer; | 407 functions->fUnmapBuffer = nullGLUnmapBuffer; |
405 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde
xed; | 408 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationInde
xed; |
406 } | 409 } |
407 glInterface.get()->ref(); | 410 glInterface.get()->ref(); |
408 return glInterface.get(); | 411 return glInterface.get(); |
409 } | 412 } |
OLD | NEW |