aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/gl_context.rs
diff options
context:
space:
mode:
authorIstvan Miklos <istvan.miklos@h-lab.eu>2019-09-16 10:21:50 +0200
committerIstvan Miklos <istvan.miklos@h-lab.eu>2019-10-02 12:51:32 +0200
commit248545ddda503e06bc59b5274c63a6c25da4b355 (patch)
treeb1c7614309ab6d6d6eef5630d989405fe8b97631 /components/canvas/gl_context.rs
parent9706cd497da0fcc30c9af04b7d3dc0d4e9d7c8fb (diff)
downloadservo-248545ddda503e06bc59b5274c63a6c25da4b355.tar.gz
servo-248545ddda503e06bc59b5274c63a6c25da4b355.zip
Initial implementation of WebGLSync
This patch adds initial support for WebGLSync. Note: There is no test for the isSync, deleteSync and waitSync functions in the `conformance2/sync/sync-webgl-specific.html`.
Diffstat (limited to 'components/canvas/gl_context.rs')
-rw-r--r--components/canvas/gl_context.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/canvas/gl_context.rs b/components/canvas/gl_context.rs
index 018300129b9..886e6dea39a 100644
--- a/components/canvas/gl_context.rs
+++ b/components/canvas/gl_context.rs
@@ -238,6 +238,7 @@ fn map_limits(limits: RawGLLimits) -> GLLimits {
max_varying_vectors: limits.max_varying_vectors,
max_vertex_texture_image_units: limits.max_vertex_texture_image_units,
max_vertex_uniform_vectors: limits.max_vertex_uniform_vectors,
+ max_client_wait_timeout_webgl: std::time::Duration::new(1, 0),
}
}