aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/gfx
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-0826-5474/+0
|
* Merge pull request #3206 from glennw/layout-trace-encPatrick Walton2014-09-072-0/+2
|\ | | | | Add an initial pass at a layout debug module.
| * Add a layout debug module. This outputs a trace of the layout process to a JSONGlenn Watson2014-09-042-0/+2
| | | | | | | | | | | | file which can be viewed in an external tool. It provides a timelapse view of how the flow tree and fragments changed during the layout process, which makes it easier to debug layout bugs.
* | Added a fast no-message RPC interface to the layout task.Clark Gaebel2014-09-041-2/+2
|/
* Merge pull request #3182 from glennw/inline-text-borderPatrick Walton2014-09-032-9/+17
|\ | | | | Add support for borders on inline elements
| * Add support for borders on inline elements.Glenn Watson2014-09-032-9/+17
| | | | | | | | | | | | | | Fix ahem reftests on mac, by disabling text AA in reftest mode. Also fix precision issues in font metrics to correct height and baseline calculations.
* | Fix task failure when loading wikipedia.Glenn Watson2014-09-021-5/+7
|/ | | | | | There is still an issue with alpha display, so there is likely a problem elsewhere, but this at least allows the page to load for now (ref #2554).
* Implement sideways text.Simon Sapin2014-08-292-25/+67
|
* Make text decorations be independent display items.Simon Sapin2014-08-291-39/+0
| | | | The goal it to avoid having too much layout logic (which gets more complex in vertical text) in gfx code.
* Add a canvas create, break script’s dependency on gfx.Simon Sapin2014-08-282-82/+0
| | | | The build time on my laptop after touching gfx goes from 1m37s ot 46s.
* Merge pull request #3162 from SimonSapin/png-enumJack Moffitt2014-08-271-7/+5
|\ | | | | Update to png::Image::pixels as an enum.
| * Update to png::Image::pixels as an enum.Simon Sapin2014-08-261-7/+5
| | | | | | | | | | | | | | https://github.com/servo/rust-png/pull/42 This does *not* fix the issue in #3154, but makes it fail!() instead of (maybe?) reading uninitalized memory.
* | Dump display lists when debug!() is enabled for gfx::display_listSimon Sapin2014-08-261-9/+16
|/
* Merge pull request #3097 from mrobinson/pinch-zoom-delayMartin Robinson2014-08-171-0/+3
|\ | | | | Update rust layers and fix delay in pinch zoom
| * Update to latest rust-layersMartin Robinson2014-08-151-0/+3
| | | | | | | | | | We now need to pass through the content age of the LayerBuffer when creating it.
* | Make more things private to the style crate.Simon Sapin2014-08-161-17/+15
|/
* Improve error message for when web fonts fail to load.Glenn Watson2014-08-141-1/+1
|
* Change line-height to be read from the font itself, rather thanGlenn Watson2014-08-123-8/+13
| | | | a hard-coded estimate.
* Upgrade Rust.Jack Moffitt2014-08-088-37/+35
|
* Unify the android + linux font code folders. Fixes #3028.Glenn Watson2014-08-089-530/+14
|
* Fix rustdoc comment syntaxMatt Brubeck2014-08-061-3/+3
|
* Merge pull request #3000 from Ms2ger/rendertaskMs2ger2014-08-061-15/+3
|\ | | | | Use spawn_named_with_send_on_failure for the RenderTask; r=Manishearth
| * Use spawn_named_with_send_on_failure for the RenderTask (fixes #2744).Ms2ger2014-08-041-15/+3
| |
* | Merge pull request #2791 from glennw/web-fontsglennw2014-08-068-48/+189
|\ \ | | | | | | Add basic support for web fonts. Synchronous loading only
| * | Fix parsing invalid url, clean up font template matching.Glenn Watson2014-07-281-24/+21
| | |
| * | Update font face to new url parser.Glenn Watson2014-07-241-1/+1
| | |
| * | Don't rely on font hint for format detection. Handle parsing commaGlenn Watson2014-07-245-45/+82
| | | | | | | | | | | | | | | separated format hints. Fix oversight in mac code dealing with creating web fonts from memory.
| * | Address review comments.Glenn Watson2014-07-241-1/+1
| | |
| * | Add basic support for web fonts. Synchronous loading onlyGlenn Watson2014-07-246-38/+145
| | | | | | | | | | | | | | | | | | for now, and only deals with TTF format fonts. For an example, try loading http://icons.marekventur.de
* | | Rename ReRenderMsg to RenderMsgCameron Zwarich2014-08-051-5/+5
| | | | | | | | | | | | | | | ReRenderMsg is also used for rendering the first time, so the name is confusing.
* | | Rename RenderMsg to RenderInitMsgCameron Zwarich2014-08-051-2/+2
| | | | | | | | | | | | RenderMsg doesn't actually render anything, so the name is confusing.
* | | Build fix for android font that was missed during rust upgrade.Glenn Watson2014-08-051-2/+2
| | |
* | | Fix rustdoc comment syntax in gfx::display_list.Matt Brubeck2014-08-041-10/+10
| |/ |/|
* | Merge pull request #2934 from saneyuki/canvasJosh Matthews2014-08-032-0/+82
|\ \ | | | | | | Move CanvasRenderTask to gfx crate.
| * | Move CanvasRenderTask to gfx crate.Tetsuharu OHZEKI2014-07-272-0/+82
| |/
* | Upgrade Rust.Jack Moffitt2014-08-0216-203/+202
| |
* | Merge pull request #2965 from zwarich/render-state-lessPatrick Walton2014-07-301-3/+4
|\ \ | | | | | | Move RenderState manipulation out of a loop so that we thrash it less
| * | Move RenderState manipulation out of a loop so that we thrash it lessCameron Zwarich2014-07-301-3/+4
| | | | | | | | | | | | | | | It doesn't really make sense to say that we're idle when we're potentially still rendering.
* | | Call NativeSurface::upload through a mut reference.Matt Brubeck2014-07-301-1/+1
|/ / | | | | | | Required for servo/rust-layers#95.
* / Track rerender msgsBryan Bell2014-07-261-0/+1
|/ | | | | | | | | If the compositor outputs to a file: * Track rerender msgs sent from the compositor to the render tasks. * Before outputting, wait until all rerender msgs are processed by the render tasks. Fixes issue https://github.com/servo/servo/issues/2871.
* Merge pull request #2884 from glennw/linux-kerningglennw2014-07-245-6/+54
|\ | | | | Implement kerning support for linux/android.
| * Implement kerning support for linux/android. Improves some wikipedia issues ↵Glenn Watson2014-07-245-6/+54
| | | | | | | | (#2554).
* | Remove unused field before other upcoming changes.Glenn Watson2014-07-212-7/+4
|/
* Revert "Merge pull request #2819 from bjwbell/iframe-layers"Cameron Zwarich2014-07-191-7/+15
| | | | | This reverts commit 0200b61f713f2cdddcbc06ccd4cb5de11332899a, reversing changes made to ca968219025a46e57b5cd770ae7c8ac5919876b1.
* Restructure compositor layers to work with iframesBryan Bell2014-07-191-15/+7
| | | | | | | | | | | | | | | | | | | | | | | | | When a frame is selected via set_ids, a tree of root compositor layers is also created, matching the tree of pipelines in the frame. This decouples the chronological ordering dependency for parent frames and child iframes sending CreateOrUpdateRootLayer & CreateOrUpdateDescendentLayer messages. Change the Compositor ready and render states to per pipeline. This ensures the compositor doesn't composite for an epoch until every *pipeline* in the epoch is finished rendering. For iframes it fixes a bug where the compositor didnt wait on the child pipeline ready state before compositing the window. Gotchas: * layout task or script task failure on exit ("task '' failed at sending on a closed channel"), this happens if the child iframe shares the same script task as the parent and can be avoided by adding the sandbox attribute to the iframe. Other changes: * Inline set_clipping_rect in compositor.rs * Commented out ref test simple_iframe.html fails on os x
* Changes reflecting the latest version of rust-layersMartin Robinson2014-07-162-12/+15
| | | | | | The Tile trait has been removed and TileGrid now keeps Tile structs with Textures embedded instead of simply buffers. rust-layers now creates its own textures instead of relying on Servo to do it.
* Changes to support latest rust-layersMartin Robinson2014-07-151-1/+1
| | | | | Now tiles are stored in TileGrid and layer methods are simple instance methods.
* Test for trailing spaces in tidy.py.Ms2ger2014-07-111-2/+2
|
* Remove FIXMEs related to batching buffer requestsCameron Zwarich2014-07-101-3/+0
|
* Make RenderListener::paint take multiple repliesCameron Zwarich2014-07-101-3/+1
|