aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLTestInterface.h
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2016-09-30 08:39:02 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-30 08:39:03 -0700
commit84741b308496409f4ff662658167221fc6801bbe (patch)
treec2a42e12fdf9083453bbc46c28d561208162d2d7 /src/gpu/gl/GrGLTestInterface.h
parent714750595581167b965e1530d6aae052818ad52a (diff)
Add fence support for TransferBuffers
Diffstat (limited to 'src/gpu/gl/GrGLTestInterface.h')
-rw-r--r--src/gpu/gl/GrGLTestInterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLTestInterface.h b/src/gpu/gl/GrGLTestInterface.h
index fc837bfec4..ef00df3973 100644
--- a/src/gpu/gl/GrGLTestInterface.h
+++ b/src/gpu/gl/GrGLTestInterface.h
@@ -317,6 +317,9 @@ public:
virtual GrGLvoid* mapNamedBufferRange(GrGLuint buffer, GrGLintptr offset, GrGLsizeiptr length, GrGLbitfield access) { return nullptr; }
virtual GrGLvoid flushMappedNamedBufferRange(GrGLuint buffer, GrGLintptr offset, GrGLsizeiptr length) {}
virtual GrGLvoid textureBuffer(GrGLuint texture, GrGLenum target, GrGLenum internalformat, GrGLuint buffer) {}
+ virtual GrGLsync fenceSync(GrGLenum condition, GrGLbitfield flags) { return nullptr; }
+ virtual GrGLenum clientWaitSync(GrGLsync sync, GrGLbitfield flags, GrGLuint64 timeout) { return GR_GL_WAIT_FAILED; }
+ virtual GrGLvoid deleteSync(GrGLsync sync) {}
virtual GrGLvoid debugMessageControl(GrGLenum source, GrGLenum type, GrGLenum severity, GrGLsizei count, const GrGLuint* ids, GrGLboolean enabled) {}
virtual GrGLvoid debugMessageInsert(GrGLenum source, GrGLenum type, GrGLuint id, GrGLenum severity, GrGLsizei length, const GrGLchar* buf) {}
virtual GrGLvoid debugMessageCallback(GRGLDEBUGPROC callback, const GrGLvoid* userParam) {}