aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas_traits/webgl.rs
diff options
context:
space:
mode:
authorImanol Fernandez <mortimergoro@gmail.com>2017-09-20 11:30:35 +0200
committerImanol Fernandez <mortimergoro@gmail.com>2017-09-20 11:48:11 +0200
commit324e56b3d1dd40182e913a909e490f3f17f0e48f (patch)
tree2b965b6a69b471e1b20b8db063c1bba7e03498bd /components/canvas_traits/webgl.rs
parent8000efac75c96f87a5e242be84b246f98a1b61e5 (diff)
downloadservo-324e56b3d1dd40182e913a909e490f3f17f0e48f.tar.gz
servo-324e56b3d1dd40182e913a909e490f3f17f0e48f.zip
Improve Webrender<->WebGL synchronization
Diffstat (limited to 'components/canvas_traits/webgl.rs')
-rw-r--r--components/canvas_traits/webgl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/canvas_traits/webgl.rs b/components/canvas_traits/webgl.rs
index 1bd6eb0649b..92a66013f4f 100644
--- a/components/canvas_traits/webgl.rs
+++ b/components/canvas_traits/webgl.rs
@@ -39,7 +39,7 @@ pub enum WebGLMsg {
/// WR locks a external texture when it wants to use the shared texture contents.
/// The WR client should not change the shared texture content until the Unlock call.
/// Currently OpenGL Sync Objects are used to implement the synchronization mechanism.
- Lock(WebGLContextId, WebGLSender<(u32, Size2D<i32>)>),
+ Lock(WebGLContextId, WebGLSender<(u32, Size2D<i32>, usize)>),
/// Unlocks a specific WebGLContext. Unlock messages are used for a correct synchronization
/// with WebRender external image API.
/// The WR unlocks a context when it finished reading the shared texture contents.