Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Auto merge of #23226 - mmatyas:webgl_compressed_textures, r=jdm | bors-servo | 2019-05-21 | 1 | -0/+46 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 --> | |||||
| * | Add initial support for WebGL compressed textures | Mátyás Mustoha | 2019-05-21 | 1 | -0/+46 | |
| | | ||||||
* | | Allow webvr thread consumers to request input data | Manish Goregaokar | 2019-05-03 | 1 | -2/+6 | |
|/ | ||||||
* | Remove offscreen_gl_context dependency from canvas_traits and script. | Josh Matthews | 2019-03-07 | 1 | -1/+24 | |
| | ||||||
* | Pass the GL context to the VRDisplay when rendering | Alan Jeffrey | 2019-02-27 | 1 | -1/+2 | |
| | ||||||
* | Use webvr future_frame_data to avoid blocking the WebGL thread | Alan Jeffrey | 2019-02-26 | 1 | -2/+7 | |
| | ||||||
* | Report all messages processed by the webgl thread. | Josh Matthews | 2019-01-31 | 1 | -2/+31 | |
| | ||||||
* | Send an IpcSharedMemory in tex_image_2d and tex_sub_image_2d | Anthony Ramine | 2018-11-20 | 1 | -3/+3 | |
| | | | | This avoids a copy in the case of textures coming from HTMLImageElement. | |||||
* | Call rgba8_byte_swap_colors_inplace on the WebGL thread | Anthony Ramine | 2018-11-20 | 1 | -8/+3 | |
| | ||||||
* | Move prepare_pixels to the canvas thread | Anthony Ramine | 2018-11-20 | 1 | -327/+0 | |
| | | | | Nothing else uses it in the whole crate graph. | |||||
* | Call prepare_pixels on the WebGL thread | Anthony Ramine | 2018-11-20 | 1 | -9/+21 | |
| | ||||||
* | Move prepare_pixels to canvas_traits::webgl | Anthony Ramine | 2018-11-20 | 1 | -4/+48 | |
| | ||||||
* | Use Size2D in TexImage2D and TexSubImage2D messages | Anthony Ramine | 2018-11-20 | 1 | -4/+2 | |
| | ||||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 | |
| | ||||||
* | Remove some boolean flags in tex_image_2d and tex_sub_image_2d | Anthony Ramine | 2018-11-16 | 1 | -0/+18 | |
| | ||||||
* | Simplify define_resource_id | Anthony Ramine | 2018-11-16 | 1 | -7/+1 | |
| | ||||||
* | Send alignment info directly in TexImage2D and TexSubImage2d messages | Anthony Ramine | 2018-11-16 | 1 | -0/+2 | |
| | ||||||
* | Make TexImage2D and TexSubImage2D struct variants | Anthony Ramine | 2018-11-16 | 1 | -2/+21 | |
| | ||||||
* | Prefix some pixels functions with rgba8_ | Anthony Ramine | 2018-11-16 | 1 | -1/+1 | |
| | ||||||
* | Move prepare_pixels helper functions to canvas_traits | Anthony Ramine | 2018-11-16 | 1 | -0/+371 | |
| | ||||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -8/+8 | |
| | ||||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -25/+64 | |
| | ||||||
* | Use question mark operator instead of `try` macro with a raw identifier | Keith Yeung | 2018-11-06 | 1 | -1/+1 | |
| | | | Co-Authored-By: SimonSapin <simon.sapin@exyr.org> | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -7/+7 | |
| | ||||||
* | Add lots of derived Debug impls | Alan Jeffrey | 2018-10-29 | 1 | -12/+12 | |
| | ||||||
* | Properly support gl_PointSize and gl_PointCoord | Anthony Ramine | 2018-10-18 | 1 | -0/+6 | |
| | | | | | | | | Fixes #21719. Fixes #20993. Fixes #20992. Fixes #21007. Fixes #20979. | |||||
* | Share some code between 2D canvas and WebGL | Anthony Ramine | 2018-10-09 | 1 | -2/+2 | |
| | ||||||
* | Make HTMLCanvasElement::get_size return a Size2D<u32> | Anthony Ramine | 2018-10-02 | 1 | -8/+13 | |
| | | | | The changes keep trickling down. | |||||
* | webgl: Add feature to store backtraces for each WebGL API call for easier ↵ | Josh Matthews | 2018-10-01 | 1 | -3/+11 | |
| | | | | debugging. | |||||
* | Properly support PACK_ALIGNMENT in WebGL 1 | Anthony Ramine | 2018-09-12 | 1 | -2/+0 | |
| | ||||||
* | webgl: Move framebuffer initialization logic to WebGL thread. | Josh Matthews | 2018-09-10 | 1 | -0/+1 | |
| | ||||||
* | Use byte channels to send textures to the WebGL thread | Anthony Ramine | 2018-09-08 | 1 | -2/+2 | |
| | ||||||
* | Use ipc::bytes_channel in ReadPixels | Anthony Ramine | 2018-09-08 | 1 | -2/+2 | |
| | ||||||
* | Use a bytes channel in BufferData | Anthony Ramine | 2018-09-07 | 1 | -2/+3 | |
| | | | | This means we don't need to copy the input ArrayBuffer at all on the DOM side. | |||||
* | Remove Clone impl for WebGLMsg | Anthony Ramine | 2018-09-07 | 1 | -2/+2 | |
| | ||||||
* | Properly check limit in gl.activeTexture() | Anthony Ramine | 2018-08-23 | 1 | -1/+1 | |
| | ||||||
* | Merge code from Draw* and Draw*Instanced methods | Anthony Ramine | 2018-08-02 | 1 | -2/+2 | |
| | | | | | This made me realise we weren't supporting OES_element_index_uint in the ANGLE_instanced_arrays extension. | |||||
* | Use the DOM cache for gl.getTexParameter(gl.TEXTURE_*_FILTER) | Anthony Ramine | 2018-08-02 | 1 | -4/+2 | |
| | | | | Part of #20596. | |||||
* | Simplify gl.getShaderParameter() (fixes #20562) | Anthony Ramine | 2018-07-31 | 1 | -14/+0 | |
| | | | | | | The expectation change is due to the shader now using its DOM-side compile status. It is actually a bug for the shader to think it actually compiled successfully, but at least it does so consistently now. | |||||
* | Cache which capabilities are enabled in the context (fixes #20534) | Anthony Ramine | 2018-07-25 | 1 | -8/+0 | |
| | | | | This is needed for #20555. | |||||
* | Implement gl.getUniform() | Anthony Ramine | 2018-07-18 | 1 | -0/+14 | |
| | ||||||
* | Use active uniforms data to implement gl.uniform* checks | Anthony Ramine | 2018-07-17 | 1 | -8/+21 | |
| | ||||||
* | Move ANGLE name shenanigans to WebGL thread | Anthony Ramine | 2018-07-16 | 1 | -36/+0 | |
| | ||||||
* | Store active uniforms on the DOM side | Anthony Ramine | 2018-07-16 | 1 | -1/+13 | |
| | ||||||
* | Remove WebGLCommand::GetActiveAttrib | Anthony Ramine | 2018-07-11 | 1 | -1/+0 | |
| | ||||||
* | Implement instanced WebGL drawing calls (part of #20791) | Anthony Ramine | 2018-07-08 | 1 | -0/+3 | |
| | ||||||
* | Implement gl.getParameter(gl.MAX_VIEWPORT_DIMS) | Anthony Ramine | 2018-07-08 | 1 | -0/+4 | |
| | ||||||
* | Make gl.useProgram(null) do the right thing | Anthony Ramine | 2018-07-05 | 1 | -1/+1 | |
| | ||||||
* | Store active attribs in DOM and optimise active attributes APIs | Anthony Ramine | 2018-07-05 | 1 | -19/+61 | |
| | ||||||
* | Store vertex attribs data in DOM and optimise GetVertexAttrib | Anthony Ramine | 2018-07-05 | 1 | -21/+1 | |
| |