Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added remaining uniforms | Adrian Utrilla | 2016-04-14 | 1 | -119/+214 | |
| | ||||||
* | Implement GetActiveAttrib | David Zbarsky | 2016-04-11 | 1 | -0/+11 | |
| | ||||||
* | Auto merge of #10224 - emilio:shader-type-validations, r=jdm | bors-servo | 2016-04-12 | 1 | -11/+34 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | webgl: Add attribute validations and other nits Fixes https://github.com/servo/servo/issues/9958 Depends on a bunch of prs, and needs a test. r? @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10224) <!-- Reviewable:end --> | |||||
| * | webgl: Make the api return the context limits and use them for validations | Emilio Cobos Álvarez | 2016-04-03 | 1 | -4/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | This allows keeping the VertexAttrib* calls asynchronous. Another option would be to do the validation in the apply() function, but that'd require us passing an unnecessary channel around and add extra synchronization. The counterpart of this is that it has to be updated when the context changes, but that's less problem. | |||||
| * | webgl: Remove unneeded return value. | Emilio Cobos Álvarez | 2016-04-03 | 1 | -1/+4 | |
| | | ||||||
| * | webgl: Use early return in DrawArrays | Emilio Cobos Álvarez | 2016-04-03 | 1 | -6/+6 | |
| | | ||||||
| * | webgl: Validate shader type parameter to CreateShader. | Emilio Cobos Álvarez | 2016-04-03 | 1 | -0/+7 | |
| | | ||||||
* | | Auto merge of #10433 - saurvs:pr3, r=emilio | bors-servo | 2016-04-07 | 1 | -0/+12 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement WebGLRenderingContext.getActiveUniform() Fixes https://github.com/servo/servo/issues/10397 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10433) <!-- Reviewable:end --> | |||||
| * | | Implement WebGLRenderingContext.getActiveUniform() | Saurav Sachidanand | 2016-04-06 | 1 | -0/+12 | |
| | | | ||||||
* | | | Added Uniform2fv | Adrian Utrilla | 2016-04-06 | 1 | -0/+21 | |
| | | | ||||||
* | | | Added Uniform1iv | Adrian Utrilla | 2016-04-06 | 1 | -0/+21 | |
| | | | ||||||
* | | | Add Uniform2f | Ar13mis | 2016-04-04 | 1 | -0/+19 | |
|/ / | ||||||
* | | Auto merge of #10369 - autrilla:Uniform4iv, r=emilio | bors-servo | 2016-04-03 | 1 | -0/+41 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | Issue #10368: Implemented Uniform4iv and Uniform4i Uniform4iv can make use of Uniform4i, so I implemented both. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10369) <!-- Reviewable:end --> | |||||
| * | Added Uniform4iv and Uniform4i | Adrian Utrilla | 2016-04-02 | 1 | -0/+41 | |
| | | ||||||
* | | webgl: finish, flush, detachShader, generateMipmap, Uniform1i | Connor Brewster | 2016-04-02 | 1 | -1/+71 | |
|/ | ||||||
* | #10211: Stop re-exporting webrender_traits WebGL types from canvas_traits | Jan-Fabian Humann | 2016-03-30 | 1 | -45/+45 | |
| | ||||||
* | Change old references of ecoal95 | Emilio Cobos Álvarez | 2016-03-23 | 1 | -6/+5 | |
| | ||||||
* | Stop sending the renderer id to script. | Ms2ger | 2016-03-21 | 1 | -1/+1 | |
| | ||||||
* | Remove renderer_id fields. | Ms2ger | 2016-03-21 | 1 | -3/+1 | |
| | ||||||
* | Remove get_renderer_id functions. | Ms2ger | 2016-03-21 | 1 | -6/+0 | |
| | ||||||
* | Add WebRender integration to Servo. | Glenn Watson | 2016-02-18 | 1 | -0/+2 | |
| | | | | | | | | WebRender is an experimental GPU accelerated rendering backend for Servo. The WebRender backend can be specified by running Servo with the -w option (otherwise the default rendering backend will be used). WebRender has many bugs, and missing features - but it is usable to browse most websites - please report any WebRender specific rendering bugs you encounter! | |||||
* | Fix #9508: Beautify our union enums constructors | Alexander Lopatin | 2016-02-07 | 1 | -4/+4 | |
| | ||||||
* | adding image metadata notification capabilities to image cache | jmr0 | 2016-01-29 | 1 | -1/+2 | |
| | ||||||
* | Remove unused imports in script | Kishor Bhat | 2016-01-17 | 1 | -1/+0 | |
| | ||||||
* | webgl: Check shader compilation status on use_program. | Emilio Cobos Álvarez | 2016-01-13 | 1 | -2/+4 | |
| | ||||||
* | webgl: Check for bound element array buffer on DrawElements | Emilio Cobos Álvarez | 2016-01-13 | 1 | -6/+1 | |
| | | | | And remove outdated TODOs | |||||
* | webgl: Check for pending current_program errors | Emilio Cobos Álvarez | 2016-01-13 | 1 | -4/+8 | |
| | ||||||
* | webgl: Track uniformlocation's program | Emilio Cobos Álvarez | 2016-01-13 | 1 | -8/+21 | |
| | ||||||
* | webgl: Implement Uniform1f, Uniform1fv, and Uniform4f | Emilio Cobos Álvarez | 2016-01-13 | 1 | -10/+41 | |
| | | | | | | I was going to implement Uniform4fv with sequences, (since it practically implemented), but we can't until we support Float32Array args because codegen doesn't know how tu differenciate between both. | |||||
* | Add global default method for Reflectable trait | Chad Kimes | 2016-01-11 | 1 | -10/+10 | |
| | ||||||
* | Remove global field from WebGLRenderingContext | Chad Kimes | 2016-01-10 | 1 | -11/+9 | |
| | ||||||
* | task -> thread | rohan.prinja | 2016-01-10 | 1 | -3/+3 | |
| | ||||||
* | conversions: Make a `is_type_compatible` method for ArrayBufferViews. | Emilio Cobos Álvarez | 2016-01-04 | 1 | -6/+6 | |
| | ||||||
* | conversions: Add a checked version to array_buffer_view_data | Emilio Cobos Álvarez | 2016-01-04 | 1 | -8/+7 | |
| | ||||||
* | conversion: Extrapolate array_buffer_view_data | Emilio Cobos Álvarez | 2016-01-04 | 1 | -24/+24 | |
| | | | | And use it instead of the raw jsapi calls. | |||||
* | webgl: Unify accessing ArrayBufferView objects | Emilio Cobos Álvarez | 2016-01-04 | 1 | -28/+13 | |
| | | | | | | | | | | | | This fixes an invalid length being reported from float32_array_to_slice (which used the byte length), and also to generalize getting data from a JS array buffer view, to reduce code duplication. The pending type safety issues, like where we could send a UInt16Array where we expect a Float32 one, should be solved by IDL bindings in some cases, like uniform[n]fv or vertexAttrib[n]fv, and with extra checks in others, like in the pending texImage2D(..., ArrayBufferView). | |||||
* | Issue #8738: bufferSubData and texImage2D argument sanity checks. | Simon Martin | 2015-12-26 | 1 | -35/+58 | |
| | ||||||
* | Implement WebGL scissor method | David Zbarsky | 2015-12-15 | 1 | -0/+7 | |
| | ||||||
* | Implement various WebGL functions | David Zbarsky | 2015-12-13 | 1 | -70/+209 | |
| | ||||||
* | Pass around event types as Atoms instead of Strings | Corey Farwell | 2015-12-10 | 1 | -1/+1 | |
| | | | | | | `Event` internally stores the `type` as an `Atom`, and we're `String`s everywhere, which can cause unnecessary allocations to occur since they'll end up as `Atom`s anyways. | |||||
* | Move ScriptMsg from msg crate into script_traits | Tomas Cernaj | 2015-12-09 | 1 | -1/+1 | |
| | ||||||
* | webgl: Add correct error handling to BufferSubData | Emilio Cobos Álvarez | 2015-12-07 | 1 | -1/+1 | |
| | | | | | | From the WebGL spec: > If data is null then an INVALID_VALUE error is generated. | |||||
* | Issue #6791: Allow more array types in bufferData and bufferSubData. | Simon Martin | 2015-12-06 | 1 | -7/+3 | |
| | ||||||
* | Issue #8462: Add support for BufferSubData, CompressedTexImage2D and | Simon Martin | 2015-12-01 | 1 | -2/+63 | |
| | | | | CompressedSubTexImage2D and re-enable individual webgl WPT tests. | |||||
* | Split ConstellationMsg into ScriptMsg and CompositorMsg | Keith Yeung | 2015-11-16 | 1 | -1/+1 | |
| | ||||||
* | Replaced DOMString constructor by conversion functions. | Alan Jeffrey | 2015-11-12 | 1 | -3/+3 | |
| | | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("..."). | |||||
* | Use the conversion traits from js. | Ms2ger | 2015-11-12 | 1 | -10/+13 | |
| | ||||||
* | webgl: Implement getSupportedExtensions | Emilio Cobos Álvarez | 2015-11-11 | 1 | -0/+5 | |
| | ||||||
* | Make DOMString a newtype around String, rather than a typedef. | Ms2ger | 2015-11-04 | 1 | -3/+4 | |
| | | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type. | |||||
* | Get rid of a bunch of explicit derefs | David Zbarsky | 2015-11-03 | 1 | -3/+3 | |
| |