Fix VkhardwareBufferTest to check for egl native fence extension.
Bug: skia:9125 Change-Id: I4f95f7a9af87c2d8bccc4825fbc639b5ad2e0594 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/215833 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
c23a814d93
commit
f8e60e4f4e
@ -155,7 +155,8 @@ bool EGLTestHelper::init(skiatest::Reporter* reporter) {
|
||||
!fGLCtx->gl()->hasExtension("EGL_ANDROID_get_native_client_buffer") ||
|
||||
!fGLCtx->gl()->hasExtension("GL_OES_EGL_image_external") ||
|
||||
!fGLCtx->gl()->hasExtension("GL_OES_EGL_image") ||
|
||||
!fGLCtx->gl()->hasExtension("EGL_KHR_fence_sync")) {
|
||||
!fGLCtx->gl()->hasExtension("EGL_KHR_fence_sync") ||
|
||||
!fGLCtx->gl()->hasExtension("EGL_ANDROID_native_fence_sync")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user