diff options
author | 2017-07-31 09:38:23 -0400 | |
---|---|---|
committer | 2017-07-31 14:40:02 +0000 | |
commit | 6bd729d8ebc98548fd92e081e1d1163bbc2ec815 (patch) | |
tree | de2ed43a87f81367b3d267842fc258c9a9db9cf0 /src/gpu/gl/GrGLInterface.cpp | |
parent | 1af03d4396a9567e3ca127830676eb4fd5a76266 (diff) |
Uncomment glinterface asserts not that chrome has functions
Bug: skia:
Change-Id: I4c90f8e6eb10389340155fcf7c76c7cb3a5163b3
Reviewed-on: https://skia-review.googlesource.com/28600
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/gl/GrGLInterface.cpp')
-rw-r--r-- | src/gpu/gl/GrGLInterface.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp index 5d03b2b720..81c4569519 100644 --- a/src/gpu/gl/GrGLInterface.cpp +++ b/src/gpu/gl/GrGLInterface.cpp @@ -757,8 +757,7 @@ bool GrGLInterface::validate() const { if (kGL_GrGLStandard == fStandard) { if (glVer >= GR_GL_VER(3, 2) || fExtensions.has("GL_ARB_sync")) { if (!fFunctions.fFenceSync || - // Is sync needs to be added to chrome before uncommenting - // !fFunctions.fIsSync || + !fFunctions.fIsSync || !fFunctions.fClientWaitSync || !fFunctions.fWaitSync || !fFunctions.fDeleteSync) { @@ -768,8 +767,7 @@ bool GrGLInterface::validate() const { } else if (kGLES_GrGLStandard == fStandard) { if (glVer >= GR_GL_VER(3, 0) || fExtensions.has("GL_APPLE_sync")) { if (!fFunctions.fFenceSync || - // Is sync needs to be added to chrome before uncommenting - // !fFunctions.fIsSync || + !fFunctions.fIsSync || !fFunctions.fClientWaitSync || !fFunctions.fWaitSync || !fFunctions.fDeleteSync) { @@ -817,7 +815,7 @@ bool GrGLInterface::validate() const { (glVer >= GR_GL_VER(4,2) || fExtensions.has("GL_ARB_internalformat_query"))) || (kGLES_GrGLStandard == fStandard && glVer >= GR_GL_VER(3,0))) { if (!fFunctions.fGetInternalformativ) { - // RETURN_FALSE_INTERFACE; + RETURN_FALSE_INTERFACE; } } |