Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Make TexImage2D and TexSubImage2D struct variants | Anthony Ramine | 2018-11-16 | 1 | -16/+16 | |
| | | ||||||
* | | Prefix some pixels functions with rgba8_ | Anthony Ramine | 2018-11-16 | 1 | -2/+2 | |
| | | ||||||
* | | Move prepare_pixels helper functions to canvas_traits | Anthony Ramine | 2018-11-16 | 1 | -339/+27 | |
| | | ||||||
* | | Introduce TexPixels | Anthony Ramine | 2018-11-16 | 1 | -41/+69 | |
| | | ||||||
* | | Call prepare_pixels in tex_image_2d and tex_sub_image_2d | Anthony Ramine | 2018-11-16 | 1 | -45/+48 | |
|/ | ||||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 1 | -2/+0 | |
| | | | | A `crate_name::foo` path always works in 2018 | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -11/+17 | |
| | ||||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -10/+23 | |
| | ||||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -40/+40 | |
| | ||||||
* | Implement WEBGL_color_buffer_float and EXT_color_buffer_half_float (fixes ↵ | Josh Matthews | 2018-11-05 | 1 | -12/+11 | |
| | | | | #22113) | |||||
* | Properly support gl_PointSize and gl_PointCoord | Anthony Ramine | 2018-10-18 | 1 | -6/+0 | |
| | | | | | | | | Fixes #21719. Fixes #20993. Fixes #20992. Fixes #21007. Fixes #20979. | |||||
* | Auto merge of #21877 - servo:webgl, r=jdm | bors-servo | 2018-10-09 | 1 | -54/+31 | |
|\ | | | | | | | | | | | | | | | Improve some byte-swap and premultiply operations <!-- 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/21877) <!-- Reviewable:end --> | |||||
| * | Share some code between 2D canvas and WebGL | Anthony Ramine | 2018-10-09 | 1 | -41/+22 | |
| | | ||||||
| * | Avoid copying pixels in ctx.putImageData sometimes | Anthony Ramine | 2018-10-06 | 1 | -1/+1 | |
| | | ||||||
| * | Merge some byte swap/premultiply functions in their own crate | Anthony Ramine | 2018-10-06 | 1 | -12/+8 | |
| | | ||||||
* | | Auto merge of #21785 - sumit0190:new_markasdirty, r=jdm | bors-servo | 2018-10-08 | 1 | -3/+7 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add framebuffer check for mark_as_dirty, #21691 <!-- Please describe your changes on the following line: --> Check `bound_framebuffer` in each `mark_as_dirty` call, so that we don't dirty the canvas if we don't have a bound framebuffer. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #21691 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because there isn't a direct way to test it (yet). <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/21785) <!-- Reviewable:end --> | |||||
| * | Add framebuffer check for mark_as_dirty, #21691 | sumit0190 | 2018-09-24 | 1 | -3/+7 | |
| | | ||||||
* | | Make HTMLCanvasElement::get_size return a Size2D<u32> | Anthony Ramine | 2018-10-02 | 1 | -10/+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/+25 | |
| | | | | | | | | debugging. | |||||
* | | webgl: Restore active texture if it's changed while deleting a texture. | Josh Matthews | 2018-09-21 | 1 | -1/+1 | |
|/ | ||||||
* | Validate GLSL names (fixes #21287) | Anthony Ramine | 2018-09-20 | 1 | -2/+0 | |
| | ||||||
* | Remove some misplaced framebuffer validations | Anthony Ramine | 2018-09-20 | 1 | -10/+0 | |
| | ||||||
* | Format script component | chansuke | 2018-09-19 | 1 | -640/+977 | |
| | ||||||
* | Auto merge of #21353 - DanxiongLei:damonlei_fix, r=jdm | bors-servo | 2018-09-19 | 1 | -4/+3 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix(webgl): fix issue https://github.com/servo/servo/issues/21352 If we have a bounded framebuffer previously, which is not the one to delete. we would not change the !binding, but we would change the GLSide with Command::BindFramebuffer(Default). change it to: check the id before sending the Command --- - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #21352 - [ ] There are tests for these changes OR - [x] These changes do not require tests because `it's obviously simple.` <!-- 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/21353) <!-- Reviewable:end --> | |||||
| * | fix(webgl): fix issue https://github.com/servo/servo/issues/21352 | danxionglei | 2018-08-07 | 1 | -4/+3 | |
| | | | | | | | | | | If we have a bounded framebuffer previously, which is not the one to delete. we would not change the !binding, but we would change the GLSide with Command::BindFramebuffer(Default). | |||||
* | | Implement gl.getParameter(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL) | Anthony Ramine | 2018-09-18 | 1 | -1/+9 | |
| | | ||||||
* | | Fix a small texSubImage2D bug | Anthony Ramine | 2018-09-18 | 1 | -5/+6 | |
| | | ||||||
* | | Implement proper origin checks for WebGL textures (fixes #21522) | Anthony Ramine | 2018-09-18 | 1 | -33/+33 | |
| | | ||||||
* | | Remove a panic due to missing video support | Anthony Ramine | 2018-09-14 | 1 | -2/+4 | |
| | | ||||||
* | | Remove erroneous check from CopyTexImage2D | Anthony Ramine | 2018-09-13 | 1 | -16/+0 | |
| | | | | | | | | | | The internal format of the bound texture doesn't matter, what matters is which components can be found in the framebuffer. | |||||
* | | Properly support PACK_ALIGNMENT in WebGL 1 | Anthony Ramine | 2018-09-12 | 1 | -83/+112 | |
| | | ||||||
* | | Simplify WebGLRenderingContext::PixelStorei | Anthony Ramine | 2018-09-12 | 1 | -25/+8 | |
| | | ||||||
* | | Auto merge of #21461 - jdm:webgltmp2, r=nox | bors-servo | 2018-09-12 | 1 | -32/+31 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Ensure that depth and stencil attachments are rebound after messing ↵ | Josh Matthews | 2018-09-10 | 1 | -26/+8 | |
| | | | | | | | | | | | | with DEPTH_STENCIL attachments. | |||||
| * | | webgl: Move framebuffer initialization logic to WebGL thread. | Josh Matthews | 2018-09-10 | 1 | -2/+15 | |
| | | | ||||||
| * | | webgl: Differentiate between missing colour attachments and incomplete ↵ | Josh Matthews | 2018-09-10 | 1 | -4/+8 | |
| | | | | | | | | | | | | attachments. | |||||
| * | | webgl: Ensure that framebuffers have a color attachment before reading or ↵ | Josh Matthews | 2018-09-10 | 1 | -1/+1 | |
| | | | | | | | | | | | | writing. | |||||
* | | | Reuse input buffer for RGB/UNSIGNED_BYTE in rgba8_image_to_tex_image_data | Anthony Ramine | 2018-09-10 | 1 | -7/+8 | |
| | | | ||||||
* | | | Reuse input vector for LUMINANCE_ALPHA/HALF_FLOAT | Anthony Ramine | 2018-09-10 | 1 | -5/+6 | |
| | | | ||||||
* | | | Fix the remaining LUMINANCE* cases in rgba8_image_to_tex_image_data | Anthony Ramine | 2018-09-10 | 1 | -18/+5 | |
|/ / | ||||||
* | | Fix the UNSIGNED_SHORT_4_4_4_4 case of premultiply_pixels | Anthony Ramine | 2018-09-09 | 1 | -9/+9 | |
| | | ||||||
* | | Fix the UNSIGNED_SHORT_5_5_5_1 case of premultiply_pixels | Anthony Ramine | 2018-09-09 | 1 | -2/+3 | |
| | | ||||||
* | | Remove some useless argument mutability | Anthony Ramine | 2018-09-09 | 1 | -2/+2 | |
| | | | | | | | | I wonder why this doesn't trigger a warning. | |||||
* | | Fix the LUMINANCE of rgba8_image_to_tex_image_data | Anthony Ramine | 2018-09-09 | 1 | -4/+1 | |
| | | | | | | | | | | The internal format and format values match, thus the canvas or image input must be interpreted as already in LUMINANCE format. | |||||
* | | Fix the LUMINANCE_ALPHA case of rgba8_image_to_tex_image_data | Anthony Ramine | 2018-09-09 | 1 | -1/+1 | |
| | | | | | | | | | | The internal format and format values match, thus the canvas or image input must be interpreted as already in LUMINANCE_ALPHA format. | |||||
* | | Reuse the input vector in more cases of rgba8_image_to_tex_image_data | Anthony Ramine | 2018-09-08 | 1 | -56/+70 | |
| | | ||||||
* | | Fix the ALPHA/FLOAT case of rgba8_image_to_tex_image_data | Anthony Ramine | 2018-09-08 | 1 | -1/+1 | |
| | | | | | | | | I'm pretty sure this is supposed to write the ALPHA component. | |||||
* | | Reuse input of rgba8_image_to_tex_image_data in some cases | Anthony Ramine | 2018-09-08 | 1 | -9/+8 | |
| | | ||||||
* | | Make rgba8_image_to_tex_image_data not overallocate in some case | Anthony Ramine | 2018-09-08 | 1 | -1/+1 | |
| | | ||||||
* | | Make rgba8_image_to_tex_image_data a free-standing function | Anthony Ramine | 2018-09-08 | 1 | -201/+202 | |
| | |