Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In new WebGL 2-only Wasm tests, fetch WebGL 2.0 context directly. #3594

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
debug("Tests that gl.readPixels() can be called on WebAssembly Memory of 16GB in size.");
debug("");
let wtu = WebGLTestUtils;
let gl = wtu.create3DContext("canvas");
let gl = wtu.create3DContext("canvas", undefined, 2);

const PAGE = 65536;
const SIZE = 16*1024*1024*1024;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
debug("Tests that gl.readPixels() can be called on WebAssembly Memory of 4GB in size.");
debug("");
let wtu = WebGLTestUtils;
let gl = wtu.create3DContext("canvas");
let gl = wtu.create3DContext("canvas", undefined, 2);

const PAGE = 65536;
const SIZE = 4*1024*1024*1024 - PAGE; // when uint32_t size is max, we can only reach one page short of full 4GB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
debug("Tests that gl.texImage2D() can be called on WebAssembly Memory 16GB in size.");
debug("");
let wtu = WebGLTestUtils;
var gl = wtu.create3DContext("canvas");
let gl = wtu.create3DContext("canvas", undefined, 2);

const PAGE = 65536;
const SIZE = 16*1024*1024*1024;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
debug("Tests that gl.texImage2D() can be called on WebAssembly Memory 4GB in size.");
debug("");
let wtu = WebGLTestUtils;
var gl = wtu.create3DContext("canvas");
let gl = wtu.create3DContext("canvas", undefined, 2);

const PAGE = 65536;
const SIZE = 4*1024*1024*1024 - PAGE; // when uint32_t size is max, we can only reach one page short of full 4GB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
debug("Tests that gl.texSubImage2D() can be called on WebAssembly Memory 16GB in size.");
debug("");
let wtu = WebGLTestUtils;
var gl = wtu.create3DContext("canvas");
let gl = wtu.create3DContext("canvas", undefined, 2);

const PAGE = 65536;
const SIZE = 16*1024*1024*1024;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
debug("Tests that gl.texSubImage2D() can be called on WebAssembly Memory 4GB in size.");
debug("");
let wtu = WebGLTestUtils;
var gl = wtu.create3DContext("canvas");
let gl = wtu.create3DContext("canvas", undefined, 2);

const PAGE = 65536;
const SIZE = 4*1024*1024*1024 - PAGE; // when uint32_t size is max, we can only reach one page short of full 4GB
Expand Down
Loading