Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Make remove_premultiplied_alpha mutate its input | Anthony Ramine | 2018-09-08 | 1 | -16/+15 | |
| | | ||||||
* | | Make premultiply_pixels mutate its input | Anthony Ramine | 2018-09-08 | 1 | -46/+28 | |
| | | ||||||
* | | Use byte channels to send textures to the WebGL thread | Anthony Ramine | 2018-09-08 | 1 | -10/+10 | |
| | | ||||||
* | | Use ipc::bytes_channel in ReadPixels | Anthony Ramine | 2018-09-08 | 1 | -3/+3 | |
| | | ||||||
* | | Simplify WebGLRenderingContext::get_image_data | Anthony Ramine | 2018-09-08 | 1 | -8/+8 | |
| | | ||||||
* | | Use a bytes channel in BufferData | Anthony Ramine | 2018-09-07 | 1 | -14/+23 | |
| | | | | | | | | This means we don't need to copy the input ArrayBuffer at all on the DOM side. | |||||
* | | Simplify WebGLBuffer::buffer_data | Anthony Ramine | 2018-09-07 | 1 | -14/+5 | |
| | | | | | | | | | | There is no need to pass the target to that buffer method, given the buffer has been retrieved by looking up the one bound to that target in the context. | |||||
* | | Make validate_framebuffer return a WebGLResult<()> | Anthony Ramine | 2018-09-06 | 1 | -40/+15 | |
| | | ||||||
* | | Use WebGLResult for returns of instanced draw methods | Anthony Ramine | 2018-09-06 | 1 | -46/+27 | |
| | | ||||||
* | | Support unions of objects in overloads | Anthony Ramine | 2018-08-30 | 1 | -35/+14 | |
| | | | | | | | | Part of #20513, implementing the parts useful for WebGL. | |||||
* | | Fix gl.isBuffer for buffers that are marked for deletion but still attached | Anthony Ramine | 2018-08-30 | 1 | -1/+1 | |
| | | ||||||
* | | Always emit INVALID_OPERATION on null element buffers in drawElements | Anthony Ramine | 2018-08-30 | 1 | -7/+9 | |
| | | ||||||
* | | Fix the error for invalid arrays passed to gl.vertexAttrib*v() | Anthony Ramine | 2018-08-30 | 1 | -4/+8 | |
| | | ||||||
* | | Fix the build for NLL | Simon Sapin | 2018-08-24 | 1 | -3/+3 | |
| | | | | | | | | | | | | Test with `RUSTFLAGS="-Zborrowck=mir -Ztwo-phase-borrows" cargo build` https://internals.rust-lang.org/t/help-us-get-non-lexical-lifetimes-nll-over-the-finish-line/7807/7 | |||||
* | | Properly check limit in gl.activeTexture() | Anthony Ramine | 2018-08-23 | 1 | -139/+153 | |
| | | ||||||
* | | Revert "Fix the build for NLL" | Josh Matthews | 2018-08-07 | 1 | -3/+3 | |
| | | | | | | | | This reverts commit d1733aa5029c5b97390a236d94eed916ddb64577. | |||||
* | | Fix the build for NLL | Simon Sapin | 2018-08-08 | 1 | -3/+3 | |
|/ | | | | | | Test with `RUSTFLAGS="-Zborrowck=mir -Ztwo-phase-borrows" cargo build` https://internals.rust-lang.org/t/help-us-get-non-lexical-lifetimes-nll-over-the-finish-line/7807/7 | |||||
* | Merge code from Draw* and Draw*Instanced methods | Anthony Ramine | 2018-08-02 | 1 | -122/+22 | |
| | | | | | This made me realise we weren't supporting OES_element_index_uint in the ANGLE_instanced_arrays extension. | |||||
* | Auto merge of #21324 - servo:webgl, r=emilio | bors-servo | 2018-08-02 | 1 | -9/+18 | |
|\ | | | | | | | | | | | | | | | Properly set initial values for WebGL texture filters <!-- 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/21324) <!-- Reviewable:end --> | |||||
| * | Use the DOM cache for gl.getTexParameter(gl.TEXTURE_*_FILTER) | Anthony Ramine | 2018-08-02 | 1 | -9/+18 | |
| | | | | | | | | Part of #20596. | |||||
* | | Auto merge of #21313 - jdm:glstuff, r=nox | bors-servo | 2018-08-02 | 1 | -3/+16 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Framebuffer and renderbuffer fixes This commits address two separate panics that occur when running the framebuffer-object-attachment.html test. The test still panics due to another framebuffer completion status problem, so the overall test results don't demonstrate any improvement. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #21252 - [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/21313) <!-- Reviewable:end --> | |||||
| * | webgl: Emulate some renderbuffer formats in non-GLES. | Josh Matthews | 2018-08-02 | 1 | -3/+16 | |
| | | ||||||
* | | Always use a WebGLVertexArrayObject to handle vertex attribs | Anthony Ramine | 2018-08-02 | 1 | -316/+148 | |
|/ | | | | This lets us clean up how buffers are reference-counted. | |||||
* | Properly check for context ownership of objects passed to gl.is*() | Anthony Ramine | 2018-07-31 | 1 | -6/+14 | |
| | ||||||
* | Simplify gl.getShaderParameter() (fixes #20562) | Anthony Ramine | 2018-07-31 | 1 | -12/+8 | |
| | | | | | | 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. | |||||
* | Fix program and shader lifetime cycle | Anthony Ramine | 2018-07-31 | 1 | -9/+20 | |
| | ||||||
* | Cache which capabilities are enabled in the context (fixes #20534) | Anthony Ramine | 2018-07-25 | 1 | -25/+75 | |
| | | | | This is needed for #20555. | |||||
* | Properly check for GL object ownership (fixes #21133) | Anthony Ramine | 2018-07-24 | 1 | -16/+81 | |
| | ||||||
* | 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 | |
| |