| 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 #ifndef GrGLTestInterface_DEFINED | 8 #ifndef GrGLTestInterface_DEFINED |
| 9 #define GrGLTestInterface_DEFINED | 9 #define GrGLTestInterface_DEFINED |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 virtual GrGLvoid disable(GrGLenum cap) {} | 59 virtual GrGLvoid disable(GrGLenum cap) {} |
| 60 virtual GrGLvoid disableVertexAttribArray(GrGLuint index) {} | 60 virtual GrGLvoid disableVertexAttribArray(GrGLuint index) {} |
| 61 virtual GrGLvoid drawArrays(GrGLenum mode, GrGLint first, GrGLsizei count) {
} | 61 virtual GrGLvoid drawArrays(GrGLenum mode, GrGLint first, GrGLsizei count) {
} |
| 62 virtual GrGLvoid drawArraysInstanced(GrGLenum mode, GrGLint first, GrGLsizei
count, GrGLsizei primcount) {} | 62 virtual GrGLvoid drawArraysInstanced(GrGLenum mode, GrGLint first, GrGLsizei
count, GrGLsizei primcount) {} |
| 63 virtual GrGLvoid drawArraysIndirect(GrGLenum mode, const GrGLvoid* indirect)
{} | 63 virtual GrGLvoid drawArraysIndirect(GrGLenum mode, const GrGLvoid* indirect)
{} |
| 64 virtual GrGLvoid drawBuffer(GrGLenum mode) {} | 64 virtual GrGLvoid drawBuffer(GrGLenum mode) {} |
| 65 virtual GrGLvoid drawBuffers(GrGLsizei n, const GrGLenum* bufs) {} | 65 virtual GrGLvoid drawBuffers(GrGLsizei n, const GrGLenum* bufs) {} |
| 66 virtual GrGLvoid drawElements(GrGLenum mode, GrGLsizei count, GrGLenum type,
const GrGLvoid* indices) {} | 66 virtual GrGLvoid drawElements(GrGLenum mode, GrGLsizei count, GrGLenum type,
const GrGLvoid* indices) {} |
| 67 virtual GrGLvoid drawElementsInstanced(GrGLenum mode, GrGLsizei count, GrGLe
num type, const GrGLvoid *indices, GrGLsizei primcount) {} | 67 virtual GrGLvoid drawElementsInstanced(GrGLenum mode, GrGLsizei count, GrGLe
num type, const GrGLvoid *indices, GrGLsizei primcount) {} |
| 68 virtual GrGLvoid drawElementsIndirect(GrGLenum mode, GrGLenum type, const Gr
GLvoid* indirect) {} | 68 virtual GrGLvoid drawElementsIndirect(GrGLenum mode, GrGLenum type, const Gr
GLvoid* indirect) {} |
| 69 virtual GrGLvoid drawRangeElements(GrGLenum mode, GrGLuint start, GrGLuint e
nd, GrGLsizei count, GrGLenum type, const GrGLvoid* indices) {} |
| 69 virtual GrGLvoid enable(GrGLenum cap) {} | 70 virtual GrGLvoid enable(GrGLenum cap) {} |
| 70 virtual GrGLvoid enableVertexAttribArray(GrGLuint index) {} | 71 virtual GrGLvoid enableVertexAttribArray(GrGLuint index) {} |
| 71 virtual GrGLvoid endQuery(GrGLenum target) {} | 72 virtual GrGLvoid endQuery(GrGLenum target) {} |
| 72 virtual GrGLvoid finish() {} | 73 virtual GrGLvoid finish() {} |
| 73 virtual GrGLvoid flush() {} | 74 virtual GrGLvoid flush() {} |
| 74 virtual GrGLvoid flushMappedBufferRange(GrGLenum target, GrGLintptr offset,
GrGLsizeiptr length) {} | 75 virtual GrGLvoid flushMappedBufferRange(GrGLenum target, GrGLintptr offset,
GrGLsizeiptr length) {} |
| 75 virtual GrGLvoid framebufferRenderbuffer(GrGLenum target, GrGLenum attachmen
t, GrGLenum renderbuffertarget, GrGLuint renderbuffer) {} | 76 virtual GrGLvoid framebufferRenderbuffer(GrGLenum target, GrGLenum attachmen
t, GrGLenum renderbuffertarget, GrGLuint renderbuffer) {} |
| 76 virtual GrGLvoid framebufferTexture2D(GrGLenum target, GrGLenum attachment,
GrGLenum textarget, GrGLuint texture, GrGLint level) {} | 77 virtual GrGLvoid framebufferTexture2D(GrGLenum target, GrGLenum attachment,
GrGLenum textarget, GrGLuint texture, GrGLint level) {} |
| 77 virtual GrGLvoid framebufferTexture2DMultisample(GrGLenum target, GrGLenum a
ttachment, GrGLenum textarget, GrGLuint texture, GrGLint level, GrGLsizei sample
s) {} | 78 virtual GrGLvoid framebufferTexture2DMultisample(GrGLenum target, GrGLenum a
ttachment, GrGLenum textarget, GrGLuint texture, GrGLint level, GrGLsizei sample
s) {} |
| 78 virtual GrGLvoid frontFace(GrGLenum mode) {} | 79 virtual GrGLvoid frontFace(GrGLenum mode) {} |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 // This must be called by leaf class | 329 // This must be called by leaf class |
| 329 void init(GrGLStandard standard) { | 330 void init(GrGLStandard standard) { |
| 330 fStandard = standard; | 331 fStandard = standard; |
| 331 fExtensions.init(standard, fFunctions.fGetString, fFunctions.fGetStringi
, | 332 fExtensions.init(standard, fFunctions.fGetString, fFunctions.fGetStringi
, |
| 332 fFunctions.fGetIntegerv, nullptr, GR_EGL_NO_DISPLAY); | 333 fFunctions.fGetIntegerv, nullptr, GR_EGL_NO_DISPLAY); |
| 333 } | 334 } |
| 334 GrGLTestInterface(); | 335 GrGLTestInterface(); |
| 335 }; | 336 }; |
| 336 | 337 |
| 337 #endif | 338 #endif |
| OLD | NEW |