Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make HTMLCanvasElement::get_size return a Size2D<u32> | Anthony Ramine | 2018-10-02 | 1 | -8/+14 | |
| | | | | The changes keep trickling down. | |||||
* | Clean up create_webgl_context | Anthony Ramine | 2018-10-02 | 1 | -40/+38 | |
| | ||||||
* | Auto merge of #21825 - jdm:backtrace-helpers, r=Manishearth | bors-servo | 2018-10-02 | 1 | -6/+19 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optional backtraces for JS errors and WebGL errors This adds two new build-time features to enable useful debugging tools when investigating why JS and WebGL content isn't working. They're optional because they're quite heavyweight. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because they're optional developer features. <!-- 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/21825) <!-- Reviewable:end --> | |||||
| * | webgl: Add feature to store backtraces for each WebGL API call for easier ↵ | Josh Matthews | 2018-10-01 | 1 | -6/+19 | |
| | | | | | | | | debugging. | |||||
* | | Remove trailing whitespace. | Josh Matthews | 2018-10-01 | 1 | -1/+1 | |
| | | ||||||
* | | Warn when using slow WebGL code path. | Josh Matthews | 2018-09-27 | 1 | -1/+3 | |
|/ | ||||||
* | Kill WebGLThreadObserver | Anthony Ramine | 2018-09-12 | 1 | -34/+19 | |
| | ||||||
* | webgl: Move framebuffer initialization logic to WebGL thread. | Josh Matthews | 2018-09-10 | 1 | -60/+193 | |
| | ||||||
* | webgl: Support DEPTH_STENCIL_ATTACHMENT on osmesa. | Josh Matthews | 2018-09-10 | 1 | -6/+25 | |
| | ||||||
* | Use byte channels to send textures to the WebGL thread | Anthony Ramine | 2018-09-08 | 1 | -5/+26 | |
| | ||||||
* | Use ipc::bytes_channel in ReadPixels | Anthony Ramine | 2018-09-08 | 1 | -5/+6 | |
| | ||||||
* | Use a bytes channel in BufferData | Anthony Ramine | 2018-09-07 | 1 | -4/+6 | |
| | | | | This means we don't need to copy the input ArrayBuffer at all on the DOM side. | |||||
* | Merge code from Draw* and Draw*Instanced methods | Anthony Ramine | 2018-08-02 | 1 | -4/+6 | |
| | | | | | This made me realise we weren't supporting OES_element_index_uint in the ANGLE_instanced_arrays extension. | |||||
* | 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 | -2/+0 | |
| | | | | This is needed for #20555. | |||||
* | Implement gl.getUniform() | Anthony Ramine | 2018-07-18 | 1 | -0/+113 | |
| | ||||||
* | Use active uniforms data to implement gl.uniform* checks | Anthony Ramine | 2018-07-17 | 1 | -16/+20 | |
| | ||||||
* | Move ANGLE name shenanigans to WebGL thread | Anthony Ramine | 2018-07-16 | 1 | -7/+46 | |
| | ||||||
* | Store active uniforms on the DOM side | Anthony Ramine | 2018-07-16 | 1 | -19/+19 | |
| | ||||||
* | Remove WebGLCommand::GetActiveAttrib | Anthony Ramine | 2018-07-11 | 1 | -21/+0 | |
| | ||||||
* | Implement instanced WebGL drawing calls (part of #20791) | Anthony Ramine | 2018-07-08 | 1 | -0/+9 | |
| | ||||||
* | Implement gl.getParameter(gl.MAX_VIEWPORT_DIMS) | Anthony Ramine | 2018-07-08 | 1 | -0/+7 | |
| | ||||||
* | Make gl.useProgram(null) do the right thing | Anthony Ramine | 2018-07-05 | 1 | -2/+3 | |
| | ||||||
* | Store active attribs in DOM and optimise active attributes APIs | Anthony Ramine | 2018-07-05 | 1 | -23/+46 | |
| | ||||||
* | Store vertex attribs data in DOM and optimise GetVertexAttrib | Anthony Ramine | 2018-07-05 | 1 | -58/+4 | |
| | ||||||
* | Update WR (transaction API change) | Glenn Watson | 2018-06-20 | 1 | -29/+16 | |
| | ||||||
* | Implement EXT_texture_filter_anisotropic | Anthony Ramine | 2018-06-06 | 1 | -7/+12 | |
| | ||||||
* | Improve debugging output for WebGL errors. | Josh Matthews | 2018-05-29 | 1 | -103/+104 | |
| | ||||||
* | Implement most of the unsupported parameters in gl.getParameter() | Anthony Ramine | 2018-05-24 | 1 | -0/+20 | |
| | | | | | | | | | | | | Fixes #20536. Fixes #20537. Fixes #20538. Fixes #20544. Fixes #20545. Fixes #20546. Fixes #20548. Fixes #20549. Fixes #20551. | |||||
* | Update to gleam 0.5 | Anthony Ramine | 2018-05-05 | 1 | -214/+135 | |
| | ||||||
* | Implement WebGL GetRenderbufferParameter | Fausto Núñez Alberro | 2018-04-24 | 1 | -0/+13 | |
| | | | | This needed a bump of gleam to version 0.4.33 | |||||
* | Implement gl.getParameter(gl.ALIASED_LINE_WIDTH_RANGE) | Matt McCoy | 2018-04-17 | 1 | -2/+4 | |
| | ||||||
* | Properly clamp arguments to WebGLRenderingContext.depthRange | Anthony Ramine | 2018-04-05 | 1 | -2/+3 | |
| | ||||||
* | Manually clamp the argument of WebGLRenderingContext.clearDepth | Anthony Ramine | 2018-04-05 | 1 | -2/+3 | |
| | | | | Better be safe than to feed stuff to some GPU driver that wouldn't clamp it. | |||||
* | Cache BUFFER_USAGE value on the DOM side | Anthony Ramine | 2018-04-04 | 1 | -11/+0 | |
| | ||||||
* | Use ByteBuf for the canvas messages | Anthony Ramine | 2018-03-26 | 1 | -3/+12 | |
| | | | | | The type Vec<u8> is super unefficient to work with in Serde if all you want to represent is a simple blob. | |||||
* | Implement gl.getParameter(gl.ALIASED_POINT_SIZE_RANGE) | Anthony Ramine | 2018-03-24 | 1 | -0/+3 | |
| | ||||||
* | Update WR (accelerated webgl fix on mac, line decoration optimizations). | Glenn Watson | 2018-03-23 | 1 | -0/+1 | |
| | ||||||
* | Implement gl.getParameter(gl.VIEWPORT) | Anthony Ramine | 2018-03-22 | 1 | -4/+7 | |
| | ||||||
* | Implement WebGL getFramebufferAttachmentParameter API | Igor Gutorov | 2018-03-22 | 1 | -0/+14 | |
| | ||||||
* | Simplify GetShaderPrecisionFormat | Igor Gutorov | 2018-03-21 | 1 | -15/+2 | |
| | ||||||
* | Simplify BufferParameter | Igor Gutorov | 2018-03-20 | 1 | -7/+2 | |
| | ||||||
* | Simplify VertexAttribOffset | Igor Gutorov | 2018-03-20 | 1 | -6/+2 | |
| | ||||||
* | Simplify GetTexParameter | Igor Gutorov | 2018-03-20 | 1 | -15/+2 | |
| | ||||||
* | Add WebGL function glGetTexParameter | Martina Kollarova | 2018-03-06 | 1 | -0/+23 | |
| | | | | | | | Set the expected result of the test `tex-input-validation.html` to CRASH, since that is caused by unrelated problems. The test was previously not executing completely, because it stopped when it didn't find the implementation of getTexParameter. | |||||
* | Auto merge of #19868 - CYBAI:specific-assertion, r=emilio | bors-servo | 2018-01-25 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use specific assertions Similar to #19865 r? jdm Note: Should I squash all the commits into one commit? --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because it should not break anything <!-- 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/19868) <!-- Reviewable:end --> | |||||
| * | Use specific assertion for webgl thread | CYBAI | 2018-01-25 | 1 | -1/+1 | |
| | | ||||||
* | | Update WR (new capture API, render target cache optimization) | Glenn Watson | 2018-01-25 | 1 | -5/+9 | |
|/ | ||||||
* | Update WR (minimal use of new transaction API). | Glenn Watson | 2018-01-19 | 1 | -2/+6 | |
| | ||||||
* | Update WR (removal of RGB8, which isn't supported on some hardware). | Glenn Watson | 2018-01-08 | 1 | -1/+1 | |
| | | | | | Instead, we convert any source RGB8 images into RGBx (with an opaque alpha channel). |