OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 #include <functional> | 8 #include <functional> |
9 #include "GrGLTestInterface.h" | 9 #include "GrGLTestInterface.h" |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 fFunctions.fDisable = bind_to_member(this, &GrGLTestInterface::disable); | 58 fFunctions.fDisable = bind_to_member(this, &GrGLTestInterface::disable); |
59 fFunctions.fDisableVertexAttribArray = bind_to_member(this, &GrGLTestInterfa
ce::disableVertexAttribArray); | 59 fFunctions.fDisableVertexAttribArray = bind_to_member(this, &GrGLTestInterfa
ce::disableVertexAttribArray); |
60 fFunctions.fDrawArrays = bind_to_member(this, &GrGLTestInterface::drawArrays
); | 60 fFunctions.fDrawArrays = bind_to_member(this, &GrGLTestInterface::drawArrays
); |
61 fFunctions.fDrawArraysInstanced = bind_to_member(this, &GrGLTestInterface::d
rawArraysInstanced); | 61 fFunctions.fDrawArraysInstanced = bind_to_member(this, &GrGLTestInterface::d
rawArraysInstanced); |
62 fFunctions.fDrawArraysIndirect = bind_to_member(this, &GrGLTestInterface::dr
awArraysIndirect); | 62 fFunctions.fDrawArraysIndirect = bind_to_member(this, &GrGLTestInterface::dr
awArraysIndirect); |
63 fFunctions.fDrawBuffer = bind_to_member(this, &GrGLTestInterface::drawBuffer
); | 63 fFunctions.fDrawBuffer = bind_to_member(this, &GrGLTestInterface::drawBuffer
); |
64 fFunctions.fDrawBuffers = bind_to_member(this, &GrGLTestInterface::drawBuffe
rs); | 64 fFunctions.fDrawBuffers = bind_to_member(this, &GrGLTestInterface::drawBuffe
rs); |
65 fFunctions.fDrawElements = bind_to_member(this, &GrGLTestInterface::drawElem
ents); | 65 fFunctions.fDrawElements = bind_to_member(this, &GrGLTestInterface::drawElem
ents); |
66 fFunctions.fDrawElementsInstanced = bind_to_member(this, &GrGLTestInterface:
:drawElementsInstanced); | 66 fFunctions.fDrawElementsInstanced = bind_to_member(this, &GrGLTestInterface:
:drawElementsInstanced); |
67 fFunctions.fDrawElementsIndirect = bind_to_member(this, &GrGLTestInterface::
drawElementsIndirect); | 67 fFunctions.fDrawElementsIndirect = bind_to_member(this, &GrGLTestInterface::
drawElementsIndirect); |
| 68 fFunctions.fDrawRangeElements = bind_to_member(this, &GrGLTestInterface::dra
wRangeElements); |
68 fFunctions.fEnable = bind_to_member(this, &GrGLTestInterface::enable); | 69 fFunctions.fEnable = bind_to_member(this, &GrGLTestInterface::enable); |
69 fFunctions.fEnableVertexAttribArray = bind_to_member(this, &GrGLTestInterfac
e::enableVertexAttribArray); | 70 fFunctions.fEnableVertexAttribArray = bind_to_member(this, &GrGLTestInterfac
e::enableVertexAttribArray); |
70 fFunctions.fEndQuery = bind_to_member(this, &GrGLTestInterface::endQuery); | 71 fFunctions.fEndQuery = bind_to_member(this, &GrGLTestInterface::endQuery); |
71 fFunctions.fFinish = bind_to_member(this, &GrGLTestInterface::finish); | 72 fFunctions.fFinish = bind_to_member(this, &GrGLTestInterface::finish); |
72 fFunctions.fFlush = bind_to_member(this, &GrGLTestInterface::flush); | 73 fFunctions.fFlush = bind_to_member(this, &GrGLTestInterface::flush); |
73 fFunctions.fFlushMappedBufferRange = bind_to_member(this, &GrGLTestInterface
::flushMappedBufferRange); | 74 fFunctions.fFlushMappedBufferRange = bind_to_member(this, &GrGLTestInterface
::flushMappedBufferRange); |
74 fFunctions.fFramebufferRenderbuffer = bind_to_member(this, &GrGLTestInterfac
e::framebufferRenderbuffer); | 75 fFunctions.fFramebufferRenderbuffer = bind_to_member(this, &GrGLTestInterfac
e::framebufferRenderbuffer); |
75 fFunctions.fFramebufferTexture2D = bind_to_member(this, &GrGLTestInterface::
framebufferTexture2D); | 76 fFunctions.fFramebufferTexture2D = bind_to_member(this, &GrGLTestInterface::
framebufferTexture2D); |
76 fFunctions.fFramebufferTexture2DMultisample = bind_to_member(this, &GrGLTest
Interface::framebufferTexture2DMultisample); | 77 fFunctions.fFramebufferTexture2DMultisample = bind_to_member(this, &GrGLTest
Interface::framebufferTexture2DMultisample); |
77 fFunctions.fFrontFace = bind_to_member(this, &GrGLTestInterface::frontFace); | 78 fFunctions.fFrontFace = bind_to_member(this, &GrGLTestInterface::frontFace); |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 fFunctions.fFlushMappedNamedBufferRange = bind_to_member(this, &GrGLTestInte
rface::flushMappedNamedBufferRange); | 313 fFunctions.fFlushMappedNamedBufferRange = bind_to_member(this, &GrGLTestInte
rface::flushMappedNamedBufferRange); |
313 fFunctions.fTextureBuffer = bind_to_member(this, &GrGLTestInterface::texture
Buffer); | 314 fFunctions.fTextureBuffer = bind_to_member(this, &GrGLTestInterface::texture
Buffer); |
314 fFunctions.fDebugMessageControl = bind_to_member(this, &GrGLTestInterface::d
ebugMessageControl); | 315 fFunctions.fDebugMessageControl = bind_to_member(this, &GrGLTestInterface::d
ebugMessageControl); |
315 fFunctions.fDebugMessageInsert = bind_to_member(this, &GrGLTestInterface::de
bugMessageInsert); | 316 fFunctions.fDebugMessageInsert = bind_to_member(this, &GrGLTestInterface::de
bugMessageInsert); |
316 fFunctions.fDebugMessageCallback = bind_to_member(this, &GrGLTestInterface::
debugMessageCallback); | 317 fFunctions.fDebugMessageCallback = bind_to_member(this, &GrGLTestInterface::
debugMessageCallback); |
317 fFunctions.fGetDebugMessageLog = bind_to_member(this, &GrGLTestInterface::ge
tDebugMessageLog); | 318 fFunctions.fGetDebugMessageLog = bind_to_member(this, &GrGLTestInterface::ge
tDebugMessageLog); |
318 fFunctions.fPushDebugGroup = bind_to_member(this, &GrGLTestInterface::pushDe
bugGroup); | 319 fFunctions.fPushDebugGroup = bind_to_member(this, &GrGLTestInterface::pushDe
bugGroup); |
319 fFunctions.fPopDebugGroup = bind_to_member(this, &GrGLTestInterface::popDebu
gGroup); | 320 fFunctions.fPopDebugGroup = bind_to_member(this, &GrGLTestInterface::popDebu
gGroup); |
320 fFunctions.fObjectLabel = bind_to_member(this, &GrGLTestInterface::objectLab
el); | 321 fFunctions.fObjectLabel = bind_to_member(this, &GrGLTestInterface::objectLab
el); |
321 } | 322 } |
OLD | NEW |