aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2018-03-24 16:12:18 +0100
committerAnthony Ramine <n.oxyde@gmail.com>2018-03-24 16:36:19 +0100
commitd6ebbd3e173f949c8606c719d2c155f52667e8eb (patch)
treee3956c868e6d03f6337664de87e1c6eff3beb02d /components/canvas
parent2ab34d59691f969f945f6d313d1a68a2fbc11872 (diff)
downloadservo-d6ebbd3e173f949c8606c719d2c155f52667e8eb.tar.gz
servo-d6ebbd3e173f949c8606c719d2c155f52667e8eb.zip
Implement gl.getParameter(gl.ALIASED_POINT_SIZE_RANGE)
Diffstat (limited to 'components/canvas')
-rw-r--r--components/canvas/Cargo.toml2
-rw-r--r--components/canvas/webgl_thread.rs3
2 files changed, 4 insertions, 1 deletions
diff --git a/components/canvas/Cargo.toml b/components/canvas/Cargo.toml
index 604fb4e16aa..576f948e4bd 100644
--- a/components/canvas/Cargo.toml
+++ b/components/canvas/Cargo.toml
@@ -16,7 +16,7 @@ compositing = {path = "../compositing"}
cssparser = "0.23.0"
euclid = "0.17"
fnv = "1.0"
-gleam = "0.4"
+gleam = "0.4.29"
ipc-channel = "0.10"
log = "0.3.5"
num-traits = "0.1.32"
diff --git a/components/canvas/webgl_thread.rs b/components/canvas/webgl_thread.rs
index 97fa759c74c..8b6ae674825 100644
--- a/components/canvas/webgl_thread.rs
+++ b/components/canvas/webgl_thread.rs
@@ -892,6 +892,9 @@ impl WebGLImpl {
ctx.gl().delete_vertex_arrays(&[id.get()]),
WebGLCommand::BindVertexArray(id) =>
ctx.gl().bind_vertex_array(id.map_or(0, WebGLVertexArrayId::get)),
+ WebGLCommand::AliasedPointSizeRange(sender) => {
+ sender.send(ctx.gl().alias_point_size_range()).unwrap()
+ }
}
// TODO: update test expectations in order to enable debug assertions