aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/webgl_thread.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-3/+0
| | | | A `crate_name::foo` path always works in 2018
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-19/+24
|
* Reorder importsPyfisch2018-11-061-1/+1
|
* Format remaining filesPyfisch2018-11-061-485/+629
|
* `cargo fix --edition`Simon Sapin2018-11-061-1/+1
|
* Properly support gl_PointSize and gl_PointCoordAnthony Ramine2018-10-181-0/+8
| | | | | | | | Fixes #21719. Fixes #20993. Fixes #20992. Fixes #21007. Fixes #20979.
* Auto merge of #21725 - pyfisch:update-wr, r=jdmbors-servo2018-10-121-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Webrender New version is 9156a4465f6ad715a0206cdd9a7e9a6f0385fbd6 --- - [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 just updating WR <!-- 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/21725) <!-- Reviewable:end -->
| * Update WebrenderPyfisch2018-10-091-1/+2
| | | | | | | | | | New version is 9156a4465f6ad715a0206cdd9a7e9a6f0385fbd6
* | Share some code between 2D canvas and WebGLAnthony Ramine2018-10-091-17/+10
| |
* | Merge some byte swap/premultiply functions in their own crateAnthony Ramine2018-10-061-2/+2
|/
* 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
|