aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglrenderingcontext.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-03-23 16:57:53 +0100
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-03-23 18:12:40 +0100
commit5ed93a5c4a2b74a005fe15a39ae38b63eb1265ca (patch)
tree02dc47a1e048773c1af2d56c015e59a1b6de5466 /components/script/dom/webglrenderingcontext.rs
parent8e61a8a97420f2d96814d1e04643fad47017dee9 (diff)
downloadservo-5ed93a5c4a2b74a005fe15a39ae38b63eb1265ca.tar.gz
servo-5ed93a5c4a2b74a005fe15a39ae38b63eb1265ca.zip
Change old references of ecoal95
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
-rw-r--r--components/script/dom/webglrenderingcontext.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs
index 5251585ea94..c5070cca69e 100644
--- a/components/script/dom/webglrenderingcontext.rs
+++ b/components/script/dom/webglrenderingcontext.rs
@@ -610,7 +610,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
}
}
- // TODO(ecoal95): Probably in the future we should keep track of the
+ // TODO(emilio): Probably in the future we should keep track of the
// generated objects, either here or in the webgl thread
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.5
fn CreateBuffer(&self) -> Option<Root<WebGLBuffer>> {
@@ -1116,8 +1116,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
if texture.is_none() {
return self.webgl_error(InvalidOperation);
}
- // TODO(ecoal95): Validate more parameters
-
+ // TODO(emilio): Validate more parameters
let source = match source {
Some(s) => s,
None => return,
@@ -1144,7 +1143,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
};
let size = Size2D::new(img.width as i32, img.height as i32);
- // TODO(ecoal95): Validate that the format argument is coherent with the image.
+ // TODO(emilio): Validate that the format argument is coherent with the image.
// RGB8 should be easy to support too
let mut data = match img.format {
PixelFormat::RGBA8 => img.bytes.to_vec(),
@@ -1155,7 +1154,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
(data, size)
},
- // TODO(ecoal95): Getting canvas data is implemented in CanvasRenderingContext2D, but
+ // TODO(emilio): Getting canvas data is implemented in CanvasRenderingContext2D, but
// we need to refactor it moving it to `HTMLCanvasElement` and supporting WebGLContext
ImageDataOrHTMLImageElementOrHTMLCanvasElementOrHTMLVideoElement::HTMLCanvasElement(canvas) => {
let canvas = canvas.r();
@@ -1170,7 +1169,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
=> unimplemented!(),
};
- // TODO(ecoal95): Invert axis, convert colorspace, premultiply alpha if requested
+ // TODO(emilio): Invert axis, convert colorspace, premultiply alpha if requested
let msg = CanvasWebGLMsg::TexImage2D(target, level, internal_format as i32,
size.width, size.height,
format, data_type, pixels);