aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/gl/egl
diff options
context:
space:
mode:
authorGravatar csmartdalton <csmartdalton@google.com>2016-10-04 14:24:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-04 14:24:23 -0700
commit024229a38d86fc53801092e149d8599b2b2bc9fb (patch)
tree8ba851c6fb49d195693c0561e6744c4ad5b534dc /tools/gpu/gl/egl
parent777ee88129ae5432209378f861b92ccb52eb0ac4 (diff)
Use uint64_t for PlatformFence
VkFence is 64 bit even on 32-bit platforms. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2391113002 Review-Url: https://codereview.chromium.org/2391113002
Diffstat (limited to 'tools/gpu/gl/egl')
-rw-r--r--tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp b/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
index 8fdd3fea86..06bd70f852 100644
--- a/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
+++ b/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
@@ -320,6 +320,8 @@ void EGLFenceSync::deleteFence(sk_gpu_test::PlatformFence platformFence) const {
eglDestroySyncKHR(fDisplay, eglsync);
}
+GR_STATIC_ASSERT(sizeof(EGLSyncKHR) <= sizeof(sk_gpu_test::PlatformFence));
+
} // anonymous namespace
namespace sk_gpu_test {
@@ -337,4 +339,3 @@ GLTestContext *CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI,
return ctx;
}
} // namespace sk_gpu_test
-