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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 virtual GrGLvoid invalidateSubFramebuffer(GrGLenum target, GrGLsizei numAtta
chments, const GrGLenum *attachments, GrGLint x, GrGLint y, GrGLsizei width, GrG
Lsizei height) {} | 106 virtual GrGLvoid invalidateSubFramebuffer(GrGLenum target, GrGLsizei numAtta
chments, const GrGLenum *attachments, GrGLint x, GrGLint y, GrGLsizei width, GrG
Lsizei height) {} |
107 virtual GrGLvoid invalidateTexImage(GrGLuint texture, GrGLint level) {} | 107 virtual GrGLvoid invalidateTexImage(GrGLuint texture, GrGLint level) {} |
108 virtual GrGLvoid invalidateTexSubImage(GrGLuint texture, GrGLint level, GrGL
int xoffset, GrGLint yoffset, GrGLint zoffset, GrGLsizei width, GrGLsizei height
, GrGLsizei depth) {} | 108 virtual GrGLvoid invalidateTexSubImage(GrGLuint texture, GrGLint level, GrGL
int xoffset, GrGLint yoffset, GrGLint zoffset, GrGLsizei width, GrGLsizei height
, GrGLsizei depth) {} |
109 virtual GrGLboolean isTexture(GrGLuint texture) { return GR_GL_FALSE; } | 109 virtual GrGLboolean isTexture(GrGLuint texture) { return GR_GL_FALSE; } |
110 virtual GrGLvoid lineWidth(GrGLfloat width) {} | 110 virtual GrGLvoid lineWidth(GrGLfloat width) {} |
111 virtual GrGLvoid linkProgram(GrGLuint program) {} | 111 virtual GrGLvoid linkProgram(GrGLuint program) {} |
112 virtual GrGLvoid* mapBuffer(GrGLenum target, GrGLenum access) { return nullp
tr; } | 112 virtual GrGLvoid* mapBuffer(GrGLenum target, GrGLenum access) { return nullp
tr; } |
113 virtual GrGLvoid* mapBufferRange(GrGLenum target, GrGLintptr offset, GrGLsiz
eiptr length, GrGLbitfield access) { return nullptr; } | 113 virtual GrGLvoid* mapBufferRange(GrGLenum target, GrGLintptr offset, GrGLsiz
eiptr length, GrGLbitfield access) { return nullptr; } |
114 virtual GrGLvoid* mapBufferSubData(GrGLuint target, GrGLintptr offset, GrGLs
izeiptr size, GrGLenum access) { return nullptr; } | 114 virtual GrGLvoid* mapBufferSubData(GrGLuint target, GrGLintptr offset, GrGLs
izeiptr size, GrGLenum access) { return nullptr; } |
115 virtual GrGLvoid* mapTexSubImage2D(GrGLenum target, GrGLint level, GrGLint x
offset, GrGLint yoffset, GrGLsizei width, GrGLsizei height, GrGLenum format, GrG
Lenum type, GrGLenum access) { return nullptr; } | 115 virtual GrGLvoid* mapTexSubImage2D(GrGLenum target, GrGLint level, GrGLint x
offset, GrGLint yoffset, GrGLsizei width, GrGLsizei height, GrGLenum format, GrG
Lenum type, GrGLenum access) { return nullptr; } |
116 virtual GrGLvoid minSampleShading(GrGLfloat value) {} | 116 virtual GrGLvoid minSampleShading(GrGLfloat value) {} |
117 virtual GrGLvoid pixelStorei(GrGLenum pname, GrGLint param) {} | 117 virtual GrGLvoid pixelStorei(GrGLenum pname, GrGLint param) {} |
118 virtual GrGLvoid popGroupMarker() {} | 118 virtual GrGLvoid popGroupMarker() {} |
119 virtual GrGLvoid pushGroupMarker(GrGLsizei length, const char* marker) {} | 119 virtual GrGLvoid pushGroupMarker(GrGLsizei length, const char* marker) {} |
120 virtual GrGLvoid queryCounter(GrGLuint id, GrGLenum target) {} | 120 virtual GrGLvoid queryCounter(GrGLuint id, GrGLenum target) {} |
121 virtual GrGLvoid rasterSamples(GrGLuint samples, GrGLboolean fixedsampleloca
tions) {} | 121 virtual GrGLvoid rasterSamples(GrGLuint samples, GrGLboolean fixedsampleloca
tions) {} |
122 virtual GrGLvoid readBuffer(GrGLenum src) {} | 122 virtual GrGLvoid readBuffer(GrGLenum src) {} |
123 virtual GrGLvoid readPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei
height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) {} | 123 virtual GrGLvoid readPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei
height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) {} |
124 virtual GrGLvoid renderbufferStorage(GrGLenum target, GrGLenum internalforma
t, GrGLsizei width, GrGLsizei height) {} | 124 virtual GrGLvoid renderbufferStorage(GrGLenum target, GrGLenum internalforma
t, GrGLsizei width, GrGLsizei height) {} |
125 virtual GrGLvoid renderbufferStorageMultisample(GrGLenum target, GrGLsizei s
amples, GrGLenum internalformat, GrGLsizei width, GrGLsizei height) {} | 125 virtual GrGLvoid renderbufferStorageMultisample(GrGLenum target, GrGLsizei s
amples, GrGLenum internalformat, GrGLsizei width, GrGLsizei height) {} |
126 virtual GrGLvoid resolveMultisampleFramebuffer() {} | 126 virtual GrGLvoid resolveMultisampleFramebuffer() {} |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 // This must be called by leaf class | 324 // This must be called by leaf class |
325 void init(GrGLStandard standard) { | 325 void init(GrGLStandard standard) { |
326 fStandard = standard; | 326 fStandard = standard; |
327 fExtensions.init(standard, fFunctions.fGetString, fFunctions.fGetStringi
, | 327 fExtensions.init(standard, fFunctions.fGetString, fFunctions.fGetStringi
, |
328 fFunctions.fGetIntegerv, nullptr, GR_EGL_NO_DISPLAY); | 328 fFunctions.fGetIntegerv, nullptr, GR_EGL_NO_DISPLAY); |
329 } | 329 } |
330 GrGLTestInterface(); | 330 GrGLTestInterface(); |
331 }; | 331 }; |
332 | 332 |
333 #endif | 333 #endif |
OLD | NEW |