diff options
author | 2017-03-01 17:01:09 -0500 | |
---|---|---|
committer | 2017-03-02 01:14:01 +0000 | |
commit | 6be35238855dbbc7575e78d6723936293a4b38e6 (patch) | |
tree | 10fda73811eaa7a584f0b0551803d8b078196631 /src/gpu/gl/GrGLInterface.cpp | |
parent | bb7dd4470b7e350ce5639633eae95b8209c26d52 (diff) |
Add support for Semaphores (gpu waiting on gpu) in Ganesh
BUG=skia:
Change-Id: I4324b65bc50a3dfd90372459899870d5f1952fdc
Reviewed-on: https://skia-review.googlesource.com/9120
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/gl/GrGLInterface.cpp')
-rw-r--r-- | src/gpu/gl/GrGLInterface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp index 3714dcb86e..a62d35330d 100644 --- a/src/gpu/gl/GrGLInterface.cpp +++ b/src/gpu/gl/GrGLInterface.cpp @@ -768,6 +768,7 @@ bool GrGLInterface::validate() const { if (glVer >= GR_GL_VER(3, 2) || fExtensions.has("GL_ARB_sync")) { if (nullptr == fFunctions.fFenceSync || nullptr == fFunctions.fClientWaitSync || + nullptr == fFunctions.fWaitSync || nullptr == fFunctions.fDeleteSync) { RETURN_FALSE_INTERFACE } @@ -776,6 +777,7 @@ bool GrGLInterface::validate() const { if (glVer >= GR_GL_VER(3, 0)) { if (nullptr == fFunctions.fFenceSync || nullptr == fFunctions.fClientWaitSync || + nullptr == fFunctions.fWaitSync || nullptr == fFunctions.fDeleteSync) { RETURN_FALSE_INTERFACE } |