Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement checks for vertex attribs enabled as arrays without a bound buffer | Anthony Ramine | 2018-06-20 | 1 | -18/+73 |
| | |||||
* | Implement EXT_texture_filter_anisotropic | Anthony Ramine | 2018-06-06 | 1 | -36/+47 |
| | |||||
* | Auto merge of #20884 - jdm:more-limits, r=avadacatavra | bors-servo | 2018-05-31 | 1 | -1/+30 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't forward GL parameter gets for constant limits. This avoids IPC traffic for unchanging constants that are determined when the GL context is created. These changes require https://github.com/emilio/rust-offscreen-rendering-context/pull/123. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #20876. - [x] There are tests for these changes <!-- 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/20884) <!-- Reviewable:end --> | ||||
| * | Don't forward GL parameter gets for constant limits. | Josh Matthews | 2018-05-31 | 1 | -1/+30 |
| | | |||||
* | | Don't panic when tearing down a WebGL context and the thead is unreachable. | Josh Matthews | 2018-05-29 | 1 | -1/+1 |
|/ | | | This avoids some cascading double-panics when there are errors in the WebGL rendering thread. | ||||
* | Implement most of the unsupported parameters in gl.getParameter() | Anthony Ramine | 2018-05-24 | 1 | -0/+15 |
| | | | | | | | | | | | | Fixes #20536. Fixes #20537. Fixes #20538. Fixes #20544. Fixes #20545. Fixes #20546. Fixes #20548. Fixes #20549. Fixes #20551. | ||||
* | Auto merge of #20669 - simartin:issue_20623, r=jdm | bors-servo | 2018-05-20 | 1 | -0/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #20623: Check the input to WebGLRenderingContext's clear(). Validate the input to this function as per specifications. --- - [X] `./mach build -d` does not report any errors - [X] `./mach build-geckolib` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #20623 - [X] There are tests for these changes <!-- 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/20669) <!-- Reviewable:end --> | ||||
| * | Issue #20623: Check the input to WebGLRenderingContext's clear(). | Simon Martin | 2018-04-21 | 1 | -0/+3 |
| | | |||||
* | | webgl: Add getParameter(UNPACK_PREMULTIPLY_ALPHA_WEBGL) support. | Eric Anholt | 2018-05-07 | 1 | -0/+4 |
| | | |||||
* | | webgl: Add getParameter(UNPACK_FlIP_Y_WEBGL) support. | Eric Anholt | 2018-05-07 | 1 | -0/+4 |
| | | |||||
* | | webgl: Drop a silly check for 0 in GetTexParameter. | Eric Anholt | 2018-05-05 | 1 | -7/+1 |
| | | | | | | | | | | | | 0 is not among the valid values for a wrap mode or filter, so it won't ever be returned unless the driver is broken, and even if it was a valid value we would want to pass it through. | ||||
* | | Update to gleam 0.5 | Anthony Ramine | 2018-05-05 | 1 | -68/+94 |
| | | |||||
* | | Implement WebGL GetRenderbufferParameter | Fausto Núñez Alberro | 2018-04-24 | 1 | -0/+39 |
|/ | | | | 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 | -0/+8 |
| | |||||
* | Check the bound buffer element array only for count > 0 in gl.drawElements | Anthony Ramine | 2018-04-16 | 1 | -11/+13 |
| | | | | See https://www.khronos.org/registry/webgl/specs/latest/1.0/#6.2 | ||||
* | Check mode first in gl.drawElements | Anthony Ramine | 2018-04-16 | 1 | -10/+10 |
| | |||||
* | Emit InvalidEnum for invalid targets passed to gl.renderbufferStorage | Anthony Ramine | 2018-04-06 | 1 | -1/+1 |
| | |||||
* | Properly check for invalid targets in gl.BindFramebuffer | Anthony Ramine | 2018-04-06 | 1 | -6/+1 |
| | | | | It should always emit InvalidEnum, not InvalidOperation. | ||||
* | Remove SAMPLE_COVERAGE_INVERT from WebGLRenderingContext::validate_feature_enum | Anthony Ramine | 2018-04-05 | 1 | -1/+1 |
| | | | | This constant is not mentioned in the docs of glEnable or glIsEnabled. | ||||
* | Mention #20534 near the enable/disable/isEnabled WebGL methods | Anthony Ramine | 2018-04-05 | 1 | -1/+3 |
| | |||||
* | Properly clamp arguments to WebGLRenderingContext.depthRange | Anthony Ramine | 2018-04-05 | 1 | -7/+2 |
| | |||||
* | Manually clamp the argument of WebGLRenderingContext.clearDepth | Anthony Ramine | 2018-04-05 | 1 | -1/+1 |
| | | | | Better be safe than to feed stuff to some GPU driver that wouldn't clamp it. | ||||
* | Properly allow more than FUNC_ADD in blendEquationSeparate | Anthony Ramine | 2018-04-04 | 1 | -5/+13 |
| | |||||
* | Properly allow FUNC_SUBTRACT and FUNC_REVERSE_SUBTRACT in blendEquation | Anthony Ramine | 2018-04-04 | 1 | -4/+7 |
| | |||||
* | Cache BUFFER_USAGE value on the DOM side | Anthony Ramine | 2018-04-04 | 1 | -18/+8 |
| | |||||
* | Fix the signature of WebGLRenderingContext::BufferSubData | Anthony Ramine | 2018-04-04 | 1 | -5/+3 |
| | |||||
* | Move handle_potential_webgl_error to the dom macros module | Anthony Ramine | 2018-04-04 | 1 | -15/+0 |
| | |||||
* | Fix the emitted error for invalid targets in WebGLRenderingContext::BufferData_ | Anthony Ramine | 2018-04-04 | 1 | -1/+1 |
| | |||||
* | Introduce WebGLRenderingContext::bound_buffer | Anthony Ramine | 2018-04-04 | 1 | -29/+17 |
| | |||||
* | Improve WebGLBuffer::buffer_data | Anthony Ramine | 2018-04-04 | 1 | -18/+2 |
| | | | | It now checks the usage argument itself and use generics for the data vector. | ||||
* | Properly use Float32List and Int32List for WebGL uniform methods | Anthony Ramine | 2018-04-03 | 1 | -138/+90 |
| | |||||
* | Remove obsolete BufferDataSource | Anthony Ramine | 2018-04-03 | 1 | -4/+4 |
| | |||||
* | Clean up signature of some fallible WebGL methods | Anthony Ramine | 2018-04-03 | 1 | -24/+34 |
| | |||||
* | Use ByteBuf for the canvas messages | Anthony Ramine | 2018-03-26 | 1 | -13/+26 |
| | | | | | The type Vec<u8> is super unefficient to work with in Serde if all you want to represent is a simple blob. | ||||
* | Update mozjs. | Emilio Cobos Álvarez | 2018-03-25 | 1 | -63/+108 |
| | |||||
* | Implement gl.getParameter(gl.ALIASED_POINT_SIZE_RANGE) | Anthony Ramine | 2018-03-24 | 1 | -0/+8 |
| | |||||
* | Implement missing WebGLShader checks | Anthony Ramine | 2018-03-24 | 1 | -1/+4 |
| | | | | | Methods compileShader and getShaderParameter should emit an error when the shader has been deleted. | ||||
* | Implement WebGLRenderingContextBase.getAttachedShaders | Anthony Ramine | 2018-03-24 | 1 | -0/+8 |
| | |||||
* | Implement missing checks in WebGLRenderingContext::GetBufferParameter | Anthony Ramine | 2018-03-24 | 1 | -9/+29 |
| | |||||
* | Auto merge of #20400 - servo:webgl, r=emilio | bors-servo | 2018-03-24 | 1 | -0/+33 |
|\ | | | | | | | | | | | | | | | Implement HTMLCanvasElement.toDataURL for WebGL canvas (fixes #19147) <!-- 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/20400) <!-- Reviewable:end --> | ||||
| * | Implement HTMLCanvasElement.toDataURL for WebGL canvas (fixes #19147) | Anthony Ramine | 2018-03-23 | 1 | -0/+33 |
| | | |||||
* | | Use safe to_vec() for typed arrays in WebGL bindings | Igor Matuszewski | 2018-03-23 | 1 | -75/+21 |
| | | |||||
* | | Fix indentation | Igor Matuszewski | 2018-03-23 | 1 | -6/+6 |
| | | |||||
* | | Fix sanity check in vertex attrib | Igor Matuszewski | 2018-03-23 | 1 | -16/+16 |
| | | |||||
* | | Appease test-tidy | Igor Matuszewski | 2018-03-23 | 1 | -3/+3 |
| | | |||||
* | | Adapt uniform[fv] and similar to accept typed array args | Igor Matuszewski | 2018-03-23 | 1 | -207/+216 |
| | | |||||
* | | Adapt function bodies for usage with typed array args | Igor Matuszewski | 2018-03-23 | 1 | -74/+54 |
| | | |||||
* | | Change WebGL function signatures accepting typed arrays | Igor Matuszewski | 2018-03-23 | 1 | -23/+16 |
|/ | |||||
* | Implement OES_element_index_uint (fixes #20384) | Anthony Ramine | 2018-03-23 | 1 | -0/+1 |
| | |||||
* | Fix some more WebGL methods | Anthony Ramine | 2018-03-23 | 1 | -17/+6 |
| |