aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas_traits/lib.rs
diff options
context:
space:
mode:
authorDavid Zbarsky <dzbarsky@gmail.com>2015-12-15 20:43:38 -0800
committerDavid Zbarsky <dzbarsky@gmail.com>2015-12-15 20:43:38 -0800
commit6a72d4dd128f18c5ff027f363fed51a7fad4531c (patch)
tree3b521639b1f87b22163cbb6e77fa91243b9af0ac /components/canvas_traits/lib.rs
parent59a354427923f1c4febd9b8bcd6692900aa10f98 (diff)
downloadservo-6a72d4dd128f18c5ff027f363fed51a7fad4531c.tar.gz
servo-6a72d4dd128f18c5ff027f363fed51a7fad4531c.zip
Implement WebGL scissor method
Diffstat (limited to 'components/canvas_traits/lib.rs')
-rw-r--r--components/canvas_traits/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/canvas_traits/lib.rs b/components/canvas_traits/lib.rs
index e2d6e70b875..b98cef63fd6 100644
--- a/components/canvas_traits/lib.rs
+++ b/components/canvas_traits/lib.rs
@@ -175,6 +175,7 @@ pub enum CanvasWebGLMsg {
GetAttribLocation(u32, String, IpcSender<Option<i32>>),
GetUniformLocation(u32, String, IpcSender<Option<i32>>),
PolygonOffset(f32, f32),
+ Scissor(i32, i32, i32, i32),
Hint(u32, u32),
LineWidth(f32),
PixelStorei(u32, i32),