Commit graph

2007 commits

Author SHA1 Message Date
bors-servo
5af5798720 auto merge of #529 : eschweic/servo/master, r=pcwalton
Add a quadtree implementation to allow the compositor to keep track of which tiles have been rendered and which haven't.

r? @pcwalton
2013-06-20 10:42:29 -07:00
eschweic
0dad4d138c Merge branch 'master' of https://github.com/mozilla/servo 2013-06-20 10:06:25 -07:00
bors-servo
c10bbbda97 auto merge of #528 : tkuehn/servo/master, r=metajack
r? metajack
2013-06-19 22:00:30 -07:00
Tim Kuehn
2253365735 libmsg crate for message interfaces to compositor and engine 2013-06-19 21:31:12 -07:00
Seth Fowler
68aee00ec4 Merge pull request #525 from sfowler/font-cache
Add an LRU cache and use it for fonts and font groups
2013-06-19 19:56:15 -07:00
bors-servo
0d438e79b8 auto merge of #521 : jrfeenst/servo/line-height-rebase2, r=metajack
Line height is only based on the tallest box in each line and does not factor in the vertical-alignment. Improves whitespace handling by passing the whitespace state between function invocations.

There were too many changes on master to easily rebase. It was easier to merge to a fresh branch.

Here is the original PR: https://github.com/mozilla/servo/pull/509
2013-06-19 19:30:42 -07:00
bors-servo
63a7466538 auto merge of #523 : metajack/servo/gpu-profiling, r=metajack
This makes the rendering code serial instead of parallel since it now just dispatches commands to the GPU.

It also adds some more profiling data.

r? @pcwalton
2013-06-19 18:58:14 -07:00
Jack Moffitt
73ed0c6cbf Update nss to fix build issues. 2013-06-19 19:54:01 -06:00
Seth Fowler
318b2cf745 Add LRU cache and use it for fonts and font groups 2013-06-19 16:02:48 -07:00
eschweic
0d7338b630 Add quadtree implementation 2013-06-19 12:48:26 -07:00
Jack Moffitt
a9e1354118 Refactor renderer into single function.
This removes the task per tile rendering and instead renders tiles
serially. This also unwraps the rendering into a single function so that it's
much clearer.
2013-06-17 15:10:41 -06:00
Jack Moffitt
ece8791c26 Warning police. 2013-06-17 15:10:41 -06:00
eschweic
def01b414f Merge branch 'master' of https://github.com/mozilla/servo 2013-06-17 14:03:27 -07:00
Jack Moffitt
1eea39a808 Adding renderer drawing category to profiler. 2013-06-17 14:52:43 -06:00
Jack Moffitt
c07a2be6e7 Propagate debug flag in Makefiles. 2013-06-17 14:52:43 -06:00
bors-servo
d61c455340 auto merge of #517 : tkuehn/servo/master, r=metajack
communicate via layout
refactor channel wrappers from *Task --> *Chan
2013-06-17 13:21:34 -07:00
Tim Kuehn
577a410f80 refactor compositor interfaces \--> RenderListener + ScriptListener; AttachCompositorMsg added to render_task::Msg
updated to reflect comments
2013-06-17 12:37:02 -07:00
Joel Feenstra
7dcff2b5ff Add initial support for the line-height property. Line height is only based on the tallest box in each line and does not factor in the vertical-alignment. Improves whitespace handling by passing the whitespace state between function invocations. 2013-06-16 18:44:41 -04:00
Tim Kuehn
496069dad4 profiler refactor to print every period if new data has arrived 2013-06-14 21:46:34 -07:00
Tim Kuehn
850fa97c4b *Chan.send() convenience functions 2013-06-14 21:46:34 -07:00
Tim Kuehn
112ec6f938 fixed docstring for create_compositor_task 2013-06-14 21:46:34 -07:00
Tim Kuehn
b5dac3f426 decouple script from compositor
communicate via layout
refactor channel wrappers from *Task --> *Chan

fix merge fallout
2013-06-14 21:46:29 -07:00
eschweic
3cd6b39bb0 Merge branch 'master' of https://github.com/mozilla/servo 2013-06-14 16:32:58 -07:00
bors-servo
93eea6b2e8 auto merge of #518 : metajack/servo/gpu-rendering, r=pcwalton
This uses Skia GL to render to offscreen FBOs and then passes the resulting textures directly to the compositor.

It depends on https://github.com/mozilla-servo/rust-azure/pull/26 and https://github.com/mozilla-servo/skia/pull/14

r? @pcwalton
2013-06-14 16:06:33 -07:00
eschweic
ec4ba07109 Merge onto mozilla/servo master 2013-06-14 13:38:16 -07:00
Jack Moffitt
282288d8c5 Update submodules. 2013-06-14 13:35:43 -06:00
Jack Moffitt
4133435971 Switch to GPU rendering.
This uses shared GL contexts and FBO rendered textures.
2013-06-14 13:34:53 -06:00
Jack Moffitt
7278d4867d Get rid of initial reshape. 2013-06-14 13:33:36 -06:00
Jack Moffitt
ddf7c94a5e Fix dependencies. 2013-06-14 13:33:11 -06:00
Jack Moffitt
ad09cff807 Fix makefile targets. 2013-06-14 10:20:42 -06:00
Jack Moffitt
c641e8fee8 Update ignores for new bindings path. 2013-06-14 10:20:41 -06:00
bors-servo
96731e9714 auto merge of #515 : pcwalton/servo/master, r=metajack
Changes authored by me have not yet been reviewed; the other changes have.

r? @metajack
2013-06-13 17:45:25 -07:00
Patrick Walton
c35abb215c Update rust-glut 2013-06-13 17:42:25 -07:00
Patrick Walton
2ec3412407 Fix submodules and test_slam_layout 2013-06-13 16:35:48 -07:00
Patrick Walton
f3cdbaf611 Stop sorting after every profiler datum comes in. 2013-06-12 17:36:56 -07:00
Eric Atkinson
badf1b8573 Vertical margins now contribute to content height. 2013-06-12 16:26:08 -07:00
Eric Atkinson
4017839fe2 Fix padding 2013-06-12 16:24:42 -07:00
Eric Atkinson
b75b2de8bb Compute percent widths/margins properly and fix numerous small visual layout bugs. 2013-06-12 16:23:11 -07:00
Patrick Walton
327e7996a1 test: Add a box model smoketest 2013-06-12 16:00:00 -07:00
Patrick Walton
e1b9e01e69 Fix merge fallout which was disabling all CSS classes. 2013-06-12 14:35:16 -07:00
Patrick Walton
aee2611498 Make script and style display:none 2013-06-12 11:55:12 -07:00
Patrick Walton
162ba83108 Fix merge fallout 2013-06-12 11:42:52 -07:00
Patrick Walton
aad51132ec Update submodules 2013-06-12 11:02:57 -07:00
Patrick Walton
204c5b663a Add a spinner for layout 2013-06-12 11:02:56 -07:00
Patrick Walton
96b9be6c33 Add a cheesy progress indicator 2013-06-12 11:02:55 -07:00
Patrick Walton
1aa8d6437d Fix URL relativization so that links on Wikipedia work 2013-06-12 11:02:54 -07:00
eschweic
f3ad95fa01 Added a command-line argument for rendering tiles at higher resolutions 2013-06-12 11:02:53 -07:00
Patrick Walton
e50cee9adc Resolve relative URLs that begin with '//' 2013-06-12 11:02:52 -07:00
Patrick Walton
a9ed2d809d Spin the event loop every 50 ms to allow Rust channels to be processed.
This is the nail in the coffin for GLUT; we need to fix this.
2013-06-12 11:02:52 -07:00
Tim Kuehn
7b28462193 Send status messages to the compositor 2013-06-12 11:02:52 -07:00