Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Store a reference to the WebGLRenderingContext in WebGLObject | Anthony Ramine | 2018-07-24 | 1 | -8/+6 | |
| | ||||||
* | Invalidate all WebGLUniformLocation values on program relink | Anthony Ramine | 2018-07-19 | 1 | -2/+10 | |
| | ||||||
* | Implement gl.getUniform() | Anthony Ramine | 2018-07-18 | 1 | -3/+79 | |
| | ||||||
* | Use active uniforms data to implement gl.uniform* checks | Anthony Ramine | 2018-07-17 | 1 | -202/+336 | |
| | ||||||
* | Store active uniforms on the DOM side | Anthony Ramine | 2018-07-16 | 1 | -6/+1 | |
| | ||||||
* | Properly implement the checks for gl.renderbufferStorage (fixes #20563) | Anthony Ramine | 2018-07-09 | 1 | -17/+4 | |
| | ||||||
* | Implement instanced WebGL drawing calls (part of #20791) | Anthony Ramine | 2018-07-08 | 1 | -10/+176 | |
| | ||||||
* | Correctly implement the vertex buffer checks in drawArrays | Anthony Ramine | 2018-07-08 | 1 | -34/+84 | |
| | | | | | This is half of #20599. The check for drawElements is a bit more complex to implement. | |||||
* | Return an empty typed array from gl.getParameter(gl.COMPRESSED_TEXTURE_FORMATS) | Anthony Ramine | 2018-07-08 | 1 | -1/+11 | |
| | ||||||
* | Implement gl.getParameter(gl.MAX_VIEWPORT_DIMS) | Anthony Ramine | 2018-07-08 | 1 | -0/+11 | |
| | ||||||
* | Return typed arrays from gl.getParameter (fixes #20655) | Anthony Ramine | 2018-07-08 | 1 | -19/+32 | |
| | ||||||
* | Fix gl.getShaderSource and gl.getShaderInfoLog | Anthony Ramine | 2018-07-08 | 1 | -2/+4 | |
| | | | | | It only returns null if there was an error, and the only error isn't implemented yet. | |||||
* | Pass more GL limits to the ANGLE shader compiler | Anthony Ramine | 2018-07-08 | 1 | -1/+6 | |
| | ||||||
* | Make gl.useProgram(null) do the right thing | Anthony Ramine | 2018-07-05 | 1 | -4/+5 | |
| | ||||||
* | Store active attribs in DOM and optimise active attributes APIs | Anthony Ramine | 2018-07-05 | 1 | -14/+23 | |
| | ||||||
* | Fix gl.linkProgram() signature | Anthony Ramine | 2018-07-05 | 1 | -6/+3 | |
| | ||||||
* | Store vertex attribs data in DOM and optimise GetVertexAttrib | Anthony Ramine | 2018-07-05 | 1 | -91/+140 | |
| | ||||||
* | Rename VertexAttribs::set_from to VertexAttribs::clone_from | Anthony Ramine | 2018-07-05 | 1 | -1/+1 | |
| | ||||||
* | Refactor some vertex attrib checks | Anthony Ramine | 2018-07-05 | 1 | -14/+10 | |
| | ||||||
* | Introduce VertexAttribData | Anthony Ramine | 2018-07-05 | 1 | -9/+22 | |
| | ||||||
* | Rename BoundAttribBuffers to VertexAttribs and make it store a slice | Anthony Ramine | 2018-07-05 | 1 | -37/+40 | |
| | ||||||
* | Implement EXT_blend_minmax | Anthony Ramine | 2018-06-22 | 1 | -20/+20 | |
| | ||||||
* | Auto merge of #21072 - servo:webgl, r=emilio | bors-servo | 2018-06-20 | 1 | -18/+73 | |
|\ | | | | | | | | | | | | | | | Implement checks for vertex attribs enabled as arrays without a bound buffer <!-- 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/21072) <!-- Reviewable:end --> | |||||
| * | Implement checks for vertex attribs enabled as arrays without a bound buffer | Anthony Ramine | 2018-06-20 | 1 | -18/+73 | |
| | | ||||||
* | | Auto merge of #20699 - simartin:issue_20593, r=nox | bors-servo | 2018-06-18 | 1 | -1/+30 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #20593: Implement proper checks in WebGLRenderingContext's getFramebufferAttachmentParameter(). Add missing input checks. --- - [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 #20593 - [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/20699) <!-- Reviewable:end --> | |||||
| * | Issue #20593: Implement proper checks in WebGLRenderingContext's ↵ | Simon Martin | 2018-05-31 | 1 | -1/+30 | |
| | | | | | | | | getFramebufferAttachmentParameter(). | |||||
* | | 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 | |
| |