Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Call rgba8_byte_swap_colors_inplace on the WebGL thread | Anthony Ramine | 2018-11-20 | 2 | -8/+4 | |
| | ||||||
* | Move prepare_pixels to the canvas thread | Anthony Ramine | 2018-11-20 | 2 | -330/+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 | 6 | -6/+6 | |
| | ||||||
* | 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 | 3 | -1/+376 | |
| | ||||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 2 | -2/+0 | |
| | | | | A `crate_name::foo` path always works in 2018 | |||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -9/+0 | |
| | ||||||
* | Reorder imports | Pyfisch | 2018-11-06 | 2 | -9/+9 | |
| | ||||||
* | Format remaining files | Pyfisch | 2018-11-06 | 3 | -84/+140 | |
| | ||||||
* | 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> | |||||
* | Switch most crates to the 2018 edition | Simon Sapin | 2018-11-06 | 1 | -0/+1 | |
| | ||||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 2 | -8/+8 | |
| | ||||||
* | Update remaining references to cssparser 0.24. | Emilio Cobos Álvarez | 2018-11-05 | 1 | -1/+1 | |
| | ||||||
* | Add lots of derived Debug impls | Alan Jeffrey | 2018-10-29 | 3 | -31/+31 | |
| | ||||||
* | Exit Canvas paint thread on shutdown | Paul Rouget | 2018-10-29 | 1 | -0/+1 | |
| | ||||||
* | 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 | |
| | ||||||
* | Abstract some stuff common to ctx.getImageData and ctx.putImageData | Anthony Ramine | 2018-10-08 | 1 | -3/+3 | |
| | ||||||
* | Align ctx.createImageData and ctx.getImageData with the spec | Anthony Ramine | 2018-10-06 | 1 | -1/+1 | |
| | ||||||
* | Avoid copying pixels in ctx.putImageData sometimes | Anthony Ramine | 2018-10-06 | 1 | -4/+4 | |
| | ||||||
* | Introduce ImageData::get_rect | Anthony Ramine | 2018-10-06 | 1 | -1/+1 | |
| | | | | | | | We use that to send only the pixels that will be actually drawn to the canvas thread in CanvasRenderingContext2d::PutImageData. We also make the canvas thread byte swap and premultiply colours in-place. | |||||
* | Merge some byte swap/premultiply functions in their own crate | Anthony Ramine | 2018-10-06 | 1 | -35/+0 | |
| | ||||||
* | Align canvas.putImageData with spec | Anthony Ramine | 2018-10-05 | 1 | -1/+1 | |
| | | | | The arguments are supposed to be long values, not floats. | |||||
* | Make HTMLCanvasElement::get_size return a Size2D<u32> | Anthony Ramine | 2018-10-02 | 2 | -12/+17 | |
| | | | | The changes keep trickling down. | |||||
* | webgl: Add feature to store backtraces for each WebGL API call for easier ↵ | Josh Matthews | 2018-10-01 | 2 | -3/+14 | |
| | | | | debugging. | |||||
* | Remove Canvas2dMsg::DrawImageSelf | Anthony Ramine | 2018-09-17 | 1 | -1/+0 | |
| | | | | | Now that all canvas share the same thread, it's useless to have a separate message for that. | |||||
* | Don't create 2D canvas contexts arbitrarily | Anthony Ramine | 2018-09-16 | 1 | -1/+1 | |
| | | | | | Sometimes, the canvas still has no rendering context, in this case it represents a transparent black rectangle. | |||||
* | Use a byte channel to retrieve pixels of 2D canvas | Anthony Ramine | 2018-09-13 | 1 | -2/+2 | |
| | ||||||
* | Properly support PACK_ALIGNMENT in WebGL 1 | Anthony Ramine | 2018-09-12 | 1 | -2/+0 | |
| | ||||||
* | Auto merge of #21461 - jdm:webgltmp2, r=nox | bors-servo | 2018-09-12 | 1 | -0/+1 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various webgl fixes for framebuffer attachment test These changes resolve all panics on macOS when running framebuffer-object-attachment.html in headless and headful testing. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes OR - [x] Fixes #13710. Fixes #20570. <!-- 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/21461) <!-- Reviewable:end --> | |||||
| * | webgl: Move framebuffer initialization logic to WebGL thread. | Josh Matthews | 2018-09-10 | 1 | -0/+1 | |
| | | ||||||
* | | Replace mpsc with crossbeam/servo channel, update ipc-channel | Simon Sapin | 2018-09-12 | 1 | -1/+1 | |
|/ | | | | Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com> | |||||
* | 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 | 3 | -4/+21 | |
| | ||||||
* | Format components canvas and canvas_traits #21373 | kingdido999 | 2018-08-30 | 3 | -23/+24 | |
| | ||||||
* | Properly check limit in gl.activeTexture() | Anthony Ramine | 2018-08-23 | 1 | -1/+1 | |
| | ||||||
* | WR update | Paul Rouget | 2018-08-06 | 1 | -2/+2 | |
| | ||||||
* | 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. |