mirror of
https://github.com/servo/servo.git
synced 2025-07-02 04:53:39 +01:00
Implement HTMLCanvasElement.toDataURL for WebGL canvas (fixes #19147)
This commit is contained in:
parent
4a6453ac9a
commit
a77d35b60c
186 changed files with 63 additions and 1543 deletions
|
@ -345,11 +345,22 @@ impl HTMLCanvasElementMethods for HTMLCanvasElement {
|
||||||
Finite::wrap(self.Height() as f64))?;
|
Finite::wrap(self.Height() as f64))?;
|
||||||
image_data.get_data_array()
|
image_data.get_data_array()
|
||||||
}
|
}
|
||||||
|
Some(CanvasContext::WebGL(ref context)) => {
|
||||||
|
match context.get_image_data(self.Width(), self.Height()) {
|
||||||
|
Some(data) => data,
|
||||||
|
None => return Ok("data:,".into()),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Some(CanvasContext::WebGL2(ref context)) => {
|
||||||
|
match context.base_context().get_image_data(self.Width(), self.Height()) {
|
||||||
|
Some(data) => data,
|
||||||
|
None => return Ok("data:,".into()),
|
||||||
|
}
|
||||||
|
}
|
||||||
None => {
|
None => {
|
||||||
// Each pixel is fully-transparent black.
|
// Each pixel is fully-transparent black.
|
||||||
vec![0; (self.Width() * self.Height() * 4) as usize]
|
vec![0; (self.Width() * self.Height() * 4) as usize]
|
||||||
}
|
}
|
||||||
_ => return Err(Error::NotSupported) // WebGL
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Only handle image/png for now.
|
// Only handle image/png for now.
|
||||||
|
|
|
@ -56,6 +56,7 @@ use offscreen_gl_context::{GLContextAttributes, GLLimits};
|
||||||
use script_layout_interface::HTMLCanvasDataSource;
|
use script_layout_interface::HTMLCanvasDataSource;
|
||||||
use servo_config::prefs::PREFS;
|
use servo_config::prefs::PREFS;
|
||||||
use std::cell::{Cell, Ref};
|
use std::cell::{Cell, Ref};
|
||||||
|
use std::cmp;
|
||||||
use std::iter::FromIterator;
|
use std::iter::FromIterator;
|
||||||
use std::ptr::NonNull;
|
use std::ptr::NonNull;
|
||||||
use webrender_api;
|
use webrender_api;
|
||||||
|
@ -1157,6 +1158,38 @@ impl WebGLRenderingContext {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Used by HTMLCanvasElement.toDataURL
|
||||||
|
//
|
||||||
|
// This emits errors quite liberally, but the spec says that this operation
|
||||||
|
// can fail and that it is UB what happens in that case.
|
||||||
|
//
|
||||||
|
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#2.2
|
||||||
|
pub fn get_image_data(&self, mut width: u32, mut height: u32) -> Option<Vec<u8>> {
|
||||||
|
if !self.validate_framebuffer_complete() {
|
||||||
|
return None;
|
||||||
|
}
|
||||||
|
|
||||||
|
if let Some((fb_width, fb_height)) = self.get_current_framebuffer_size() {
|
||||||
|
width = cmp::min(width, fb_width as u32);
|
||||||
|
height = cmp::min(height, fb_height as u32);
|
||||||
|
} else {
|
||||||
|
self.webgl_error(InvalidOperation);
|
||||||
|
return None;
|
||||||
|
}
|
||||||
|
|
||||||
|
let (sender, receiver) = webgl_channel().unwrap();
|
||||||
|
self.send_command(WebGLCommand::ReadPixels(
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
width as i32,
|
||||||
|
height as i32,
|
||||||
|
constants::RGBA,
|
||||||
|
constants::UNSIGNED_BYTE,
|
||||||
|
sender,
|
||||||
|
));
|
||||||
|
Some(receiver.recv().unwrap())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Drop for WebGLRenderingContext {
|
impl Drop for WebGLRenderingContext {
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[context-hidden-alpha.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[WebGL test #1: gl.getParameter(gl.ALPHA_BITS) should be 0 (of type number). Was null (of type object).]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #2: null should be non-null. Was null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-bvec2.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-bvec3.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-bvec4.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-ivec2.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-ivec3.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-ivec4.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-mat2.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-mat3.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-mat4.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-vec2.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-vec3.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-construct-vec4.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-abs.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-acos.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-asin.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-atan-xy.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-atan.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-ceil.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-clamp-float.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-clamp-gentype.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-cos.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-cross.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-distance.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-dot.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-faceforward.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-floor.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-fract.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-length.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-max-float.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-max-gentype.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-min-float.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-min-gentype.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-mix-float.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-mix-gentype.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-mod-float.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-mod-gentype.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-normalize.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-reflect.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-sign.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-sin.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-smoothstep-float.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-smoothstep-gentype.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-step-float.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function-step-gentype.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-function.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-mat3-construction.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[glsl-mat4-to-mat3.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[expression-list-in-declarator-initializer.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[shader-with-comma-assignment.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL test #0: [unexpected vertex shader compile status\] (expected: true) fragment shader with comma assignment should succeed]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1: [unexpected fragment shader compile status\] (expected: true) fragment shader with comma assignment should succeed]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[shader-with-comma-conditional-assignment.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,146 +1,6 @@
|
||||||
[shader-with-non-reserved-words.html]
|
[shader-with-non-reserved-words.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
[WebGL test #1696: shader with: 'dmat2' failed to compile]
|
expected: TIMEOUT
|
||||||
expected: FAIL
|
[Overall test]
|
||||||
|
expected: NOTRUN
|
||||||
[WebGL test #1698: shader with: 'dmat2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1700: shader with: 'dmat2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1702: shader with: 'dmat2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1704: shader with: 'dmat3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1706: shader with: 'dmat3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1708: shader with: 'dmat3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1710: shader with: 'dmat3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1712: shader with: 'dmat4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1714: shader with: 'dmat4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1716: shader with: 'dmat4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1718: shader with: 'dmat4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1744: shader with: 'dmat2x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1746: shader with: 'dmat2x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1748: shader with: 'dmat2x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1750: shader with: 'dmat2x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1752: shader with: 'dmat2x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1754: shader with: 'dmat2x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1756: shader with: 'dmat2x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1758: shader with: 'dmat2x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1760: shader with: 'dmat2x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1762: shader with: 'dmat2x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1764: shader with: 'dmat2x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1766: shader with: 'dmat2x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1792: shader with: 'dmat3x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1794: shader with: 'dmat3x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1796: shader with: 'dmat3x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1798: shader with: 'dmat3x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1800: shader with: 'dmat3x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1802: shader with: 'dmat3x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1804: shader with: 'dmat3x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1806: shader with: 'dmat3x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1808: shader with: 'dmat3x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1810: shader with: 'dmat3x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1812: shader with: 'dmat3x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1814: shader with: 'dmat3x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1840: shader with: 'dmat4x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1842: shader with: 'dmat4x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1844: shader with: 'dmat4x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1846: shader with: 'dmat4x2' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1848: shader with: 'dmat4x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1850: shader with: 'dmat4x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1852: shader with: 'dmat4x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1854: shader with: 'dmat4x3' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1856: shader with: 'dmat4x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1858: shader with: 'dmat4x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1860: shader with: 'dmat4x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1862: shader with: 'dmat4x4' failed to compile]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[struct-equals.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[struct-mixed-array-declarators.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[struct-nesting-of-variable-names.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[struct-specifiers-in-uniforms.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[ternary-operators-in-global-initializers.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL test #0: [unexpected fragment shader compile status\] (expected: true) float]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WebGL test #1: [unexpected fragment shader compile status\] (expected: true) vec2]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[ternary-operators-in-initializers.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL test #0: [unexpected fragment shader compile status\] (expected: true) Ternary operator in integer initalization]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[abs_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: abs_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +1,2 @@
|
||||||
[acos_001_to_006.html]
|
[acos_001_to_006.html]
|
||||||
type: testharness
|
expected: TIMEOUT
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: acos_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[all_001_to_004.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: all_001_to_004.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[any_001_to_004.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: any_001_to_004.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[array_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: array_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +1,2 @@
|
||||||
[asin_001_to_006.html]
|
[asin_001_to_006.html]
|
||||||
type: testharness
|
expected: TIMEOUT
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: asin_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[atan_001_to_008.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: atan_001_to_008.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[atan_009_to_012.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: atan_009_to_012.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[biConstants_001_to_008.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: biConstants_001_to_008.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[biConstants_009_to_016.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: biConstants_009_to_016.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[biuDepthRange_001_to_002.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: biuDepthRange_001_to_002.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[ceil_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: ceil_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[clamp_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: clamp_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[control_flow_001_to_008.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: control_flow_001_to_008.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[control_flow_009_to_010.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: control_flow_009_to_010.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[cos_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: cos_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[cross_001_to_002.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: cross_001_to_002.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[default_001_to_001.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: default_001_to_001.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[degrees_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: degrees_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[discard_001_to_002.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: discard_001_to_002.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[distance_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: distance_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[dot_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: dot_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[equal_001_to_008.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: equal_001_to_008.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[equal_009_to_012.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: equal_009_to_012.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[exp_001_to_008.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: exp_001_to_008.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[exp_009_to_012.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: exp_009_to_012.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[exp2_001_to_008.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: exp2_001_to_008.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[exp2_009_to_012.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: exp2_009_to_012.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[faceforward_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: faceforward_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[floor_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: floor_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[fract_001_to_006.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[WebGL GLSL conformance test: fract_001_to_006.html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[functions_001_to_008.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[functions_009_to_016.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[functions_017_to_024.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[functions_033_to_040.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[functions_041_to_048.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[functions_057_to_064.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[functions_065_to_072.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[functions_073_to_080.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[functions_081_to_088.html]
|
|
||||||
type: testharness
|
|
||||||
expected: ERROR
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue