SkPlatformGpuFence SkGLContext::GLFenceSync::insertFence() const { return fGLFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); }
sk_gpu_test::PlatformFence GLFenceSync::insertFence() const { __GLsync* glsync = fGLFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); return reinterpret_cast<sk_gpu_test::PlatformFence>(glsync); }