servo/components/script
bors-servo 123f58592c
Auto merge of #23226 - mmatyas:webgl_compressed_textures, r=jdm
Add initial support for WebGL compressed textures

This patch is an initial implementation of WebGL compressed texture support, it contains

- functions for registering and querying compressed texture extensions
- initial implementation of `CompressedTexImage2D` and `CompressedTexSubImage2D` and their parameter validation
- implementation of S3TC (DXT1, DXT3, DXT5) and ETC1 extensions as examples

What's still missing:

- some of the parameter validation steps are missing
- the pixel comparison tests fail for more complex cases (I'm probably missing something trivial at the GL calls)

Related: #10209 and #20594

cc @jdm @zakorgy

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] Related issues: #10209, #20594
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23226)
<!-- Reviewable:end -->
2019-05-21 17:10:24 -04:00
..
docs
dom Auto merge of #23226 - mmatyas:webgl_compressed_textures, r=jdm 2019-05-21 17:10:24 -04:00
task_source
body.rs Pass InCompartment by value 2019-04-25 11:37:35 +02:00
build.rs Auto merge of #23211 - jdm:win-cross, r=SimonSapin 2019-04-26 08:55:28 -04:00
Cargo.toml Update xml5ever and html5ever 2019-05-19 22:14:28 +02:00
clipboard_provider.rs
CMakeLists.txt
compartments.rs Update to SpiderMonkey 66. 2019-05-10 22:43:43 -04:00
devtools.rs Update to SpiderMonkey 66. 2019-05-10 22:43:43 -04:00
document_loader.rs Auto merge of #23183 - krk:fix-23144, r=asajeffrey 2019-04-11 14:33:44 -04:00
fetch.rs Auto merge of #23351 - CYBAI:fix-modes, r=nox 2019-05-16 00:19:40 -04:00
image_listener.rs
layout_image.rs Implementing the builder pattern for RequestInit 2019-04-10 14:01:30 -03:00
lib.rs Auto merge of #23253 - BartGitHub:refactor-promise-compartment, r=jdm 2019-04-29 13:59:04 -04:00
mem.rs
microtask.rs
network_listener.rs Create resource timing entry for sync network fetch 2019-05-08 17:33:39 +02:00
script_runtime.rs Update to SpiderMonkey 66. 2019-05-10 22:43:43 -04:00
script_thread.rs Auto merge of #23171 - hundredeir:find_elem_elems, r=jdm 2019-05-19 15:25:07 -04:00
serviceworker_manager.rs #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
serviceworkerjob.rs Update Worker webidl to support WorkerOptions 2019-05-11 12:14:25 +09:00
stylesheet_loader.rs Rename shadow_root_from_node to containing_shadow_root 2019-04-26 12:00:26 +02:00
stylesheet_set.rs Move StylesheetSetRef to script 2019-04-26 12:00:26 +02:00
task.rs
task_manager.rs
task_queue.rs in BC event-loop, only run tasks related to fully-active documents 2019-03-06 14:18:18 +08:00
test.rs
textinput.rs
timers.rs #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
unpremultiplytable.rs
vcvars.bat Add Windows x86 build job. 2019-04-26 08:54:24 -04:00
webdriver_handlers.rs Auto merge of #23171 - hundredeir:find_elem_elems, r=jdm 2019-05-19 15:25:07 -04:00