aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/webgl_thread.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Make HTMLCanvasElement::get_size return a Size2D<u32>Anthony Ramine2018-10-021-8/+14
| | | | The changes keep trickling down.
* Clean up create_webgl_contextAnthony Ramine2018-10-021-40/+38
|
* Auto merge of #21825 - jdm:backtrace-helpers, r=Manishearthbors-servo2018-10-021-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 Matthews2018-10-011-6/+19
| | | | | | | | debugging.
* | Remove trailing whitespace.Josh Matthews2018-10-011-1/+1
| |
* | Warn when using slow WebGL code path.Josh Matthews2018-09-271-1/+3
|/
* Kill WebGLThreadObserverAnthony Ramine2018-09-121-34/+19
|
* webgl: Move framebuffer initialization logic to WebGL thread.Josh Matthews2018-09-101-60/+193
|
* webgl: Support DEPTH_STENCIL_ATTACHMENT on osmesa.Josh Matthews2018-09-101-6/+25
|
* Use byte channels to send textures to the WebGL threadAnthony Ramine2018-09-081-5/+26
|
* Use ipc::bytes_channel in ReadPixelsAnthony Ramine2018-09-081-5/+6
|
* Use a bytes channel in BufferDataAnthony Ramine2018-09-071-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 methodsAnthony Ramine2018-08-021-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 Ramine2018-07-311-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 Ramine2018-07-251-2/+0
| | | | This is needed for #20555.
* Implement gl.getUniform()Anthony Ramine2018-07-181-0/+113
|
* Use active uniforms data to implement gl.uniform* checksAnthony Ramine2018-07-171-16/+20
|
* Move ANGLE name shenanigans to WebGL threadAnthony Ramine2018-07-161-7/+46
|
* Store active uniforms on the DOM sideAnthony Ramine2018-07-161-19/+19
|
* Remove WebGLCommand::GetActiveAttribAnthony Ramine2018-07-111-21/+0
|
* Implement instanced WebGL drawing calls (part of #20791)Anthony Ramine2018-07-081-0/+9
|
* Implement gl.getParameter(gl.MAX_VIEWPORT_DIMS)Anthony Ramine2018-07-081-0/+7
|
* Make gl.useProgram(null) do the right thingAnthony Ramine2018-07-051-2/+3
|
* Store active attribs in DOM and optimise active attributes APIsAnthony Ramine2018-07-051-23/+46
|
* Store vertex attribs data in DOM and optimise GetVertexAttribAnthony Ramine2018-07-051-58/+4
|
* Update WR (transaction API change)Glenn Watson2018-06-201-29/+16
|
* Implement EXT_texture_filter_anisotropicAnthony Ramine2018-06-061-7/+12
|
* Improve debugging output for WebGL errors.Josh Matthews2018-05-291-103/+104
|
* Implement most of the unsupported parameters in gl.getParameter()Anthony Ramine2018-05-241-0/+20
| | | | | | | | | | | | Fixes #20536. Fixes #20537. Fixes #20538. Fixes #20544. Fixes #20545. Fixes #20546. Fixes #20548. Fixes #20549. Fixes #20551.
* Update to gleam 0.5Anthony Ramine2018-05-051-214/+135
|
* Implement WebGL GetRenderbufferParameterFausto Núñez Alberro2018-04-241-0/+13
| | | | This needed a bump of gleam to version 0.4.33
* Implement gl.getParameter(gl.ALIASED_LINE_WIDTH_RANGE)Matt McCoy2018-04-171-2/+4
|
* Properly clamp arguments to WebGLRenderingContext.depthRangeAnthony Ramine2018-04-051-2/+3
|
* Manually clamp the argument of WebGLRenderingContext.clearDepthAnthony Ramine2018-04-051-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 sideAnthony Ramine2018-04-041-11/+0
|
* Use ByteBuf for the canvas messagesAnthony Ramine2018-03-261-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 Ramine2018-03-241-0/+3
|
* Update WR (accelerated webgl fix on mac, line decoration optimizations).Glenn Watson2018-03-231-0/+1
|
* Implement gl.getParameter(gl.VIEWPORT)Anthony Ramine2018-03-221-4/+7
|
* Implement WebGL getFramebufferAttachmentParameter APIIgor Gutorov2018-03-221-0/+14
|
* Simplify GetShaderPrecisionFormatIgor Gutorov2018-03-211-15/+2
|
* Simplify BufferParameterIgor Gutorov2018-03-201-7/+2
|
* Simplify VertexAttribOffsetIgor Gutorov2018-03-201-6/+2
|
* Simplify GetTexParameterIgor Gutorov2018-03-201-15/+2
|
* Add WebGL function glGetTexParameterMartina Kollarova2018-03-061-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=emiliobors-servo2018-01-251-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 threadCYBAI2018-01-251-1/+1
| |
* | Update WR (new capture API, render target cache optimization)Glenn Watson2018-01-251-5/+9
|/
* Update WR (minimal use of new transaction API).Glenn Watson2018-01-191-2/+6
|
* Update WR (removal of RGB8, which isn't supported on some hardware).Glenn Watson2018-01-081-1/+1
| | | | | Instead, we convert any source RGB8 images into RGBx (with an opaque alpha channel).