Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Implement gl.getParameter(gl.VIEWPORT) | Anthony Ramine | 2018-03-22 | 1 | -1/+9 |
| | |||||
* | Implement gl.getParameter(gl.CURRENT_PROGRAM) | Anthony Ramine | 2018-03-22 | 1 | -0/+3 |
| | |||||
* | Make some WebGL parameters non-optional (fixes #8753) | Anthony Ramine | 2018-03-22 | 1 | -125/+70 |
| | | | | | | | Those parameters aren't optional in the current spec. The test element-array-buffer-delete-recreate.html now fails because we don't actually implement gl.getParameter(gl.CURRENT_PROGRAM). | ||||
* | Implement a missing INVALID_OPERATION check in DrawArrays | Anthony Ramine | 2018-03-22 | 1 | -17/+21 |
| | |||||
* | Fix an off-by-one error with limits.max_vertex_attribs | Anthony Ramine | 2018-03-22 | 1 | -4/+4 |
| | |||||
* | Implement WebGL getFramebufferAttachmentParameter API | Igor Gutorov | 2018-03-22 | 1 | -1/+93 |
| | |||||
* | Simplify GetShaderPrecisionFormat | Igor Gutorov | 2018-03-21 | 1 | -13/+20 |
| | |||||
* | Simplify BufferParameter | Igor Gutorov | 2018-03-20 | 1 | -9/+13 |
| | |||||
* | Simplify VertexAttribOffset | Igor Gutorov | 2018-03-20 | 1 | -1/+5 |
| | |||||
* | Simplify GetTexParameter | Igor Gutorov | 2018-03-20 | 1 | -21/+29 |
| | |||||
* | WIP: Accept typed array arguments in codegen | Igor Matuszewski | 2018-03-14 | 1 | -4/+3 |
| | |||||
* | constellation: Make setting up the WebGL state fallible. | Emilio Cobos Álvarez | 2018-03-09 | 1 | -1/+5 |
| | | | | | | | | | | This fixes a regression caused by the glutin update. We now are creating EGL contexts in Linux Wayland, instead of X context, so the GLContextFactory assumption of one GL back-end per platform is broken. This just works around it, for now, but in general I think not relying on available WebGL state is a good thing, and we do that already for WebVR anyway. | ||||
* | Add WebGL function glGetTexParameter | Martina Kollarova | 2018-03-06 | 1 | -0/+31 |
| | | | | | | | Set the expected result of the test `tex-input-validation.html` to CRASH, since that is caused by unrelated problems. The test was previously not executing completely, because it stopped when it didn't find the implementation of getTexParameter. | ||||
* | Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> | Simon Sapin | 2018-01-22 | 1 | -2/+2 |
| | |||||
* | Set the correct Angle GLSL output when using WebGL 2 | Imanol Fernandez | 2017-11-13 | 1 | -2/+4 |
| | |||||
* | Auto merge of #19040 - MortimerGoro:webgl2_extensions, r=emilio | bors-servo | 2017-10-31 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for filtering WebGL extensions based on WebGL version <!-- Please describe your changes on the following line: --> Add support for filtering WebGL extensions based on WebGL version --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/19040) <!-- Reviewable:end --> | ||||
| * | Add support for filtering WebGL extensions based on WebGL version | Imanol Fernandez | 2017-10-31 | 1 | -1/+1 |
| | | |||||
* | | Bump bitflags to 1.0 in every servo crate | Bastien Orivel | 2017-10-30 | 1 | -14/+14 |
|/ | |||||
* | Kick off WebGL 2.0 implementation | Imanol Fernandez | 2017-10-27 | 1 | -12/+21 |
| | |||||
* | Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest ↵ | Gecko Backout | 2017-10-19 | 1 | -14/+14 |
| | | | | | | failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE Backs out https://github.com/servo/servo/pull/18809 | ||||
* | Update bitflags to 1.0 in every servo crate | Bastien Orivel | 2017-10-19 | 1 | -14/+14 |
| | | | | | It still needs dependencies update to remove all the other bitflags versions. | ||||
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`. |