Commit graph

3647 commits

Author SHA1 Message Date
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
Patrick Walton
1fbfd7d45e Implement horizontal scrolling and pinch-to-zoom 2013-06-12 11:02:51 -07:00
Eric Atkinson
0bbf2fc30a Refactor flow tree construction and actually use display property. 2013-06-12 11:02:51 -07:00
Tim Kuehn
ff1178f7ca handle relative url's when clicking 2013-06-12 11:02:51 -07:00
Tim Kuehn
bf4df24521 Provide an interface to the engine for the script task 2013-06-12 11:02:51 -07:00
Patrick Walton
abe6a06cbf Update rust-layers for GL_LINEAR zooming 2013-06-12 11:02:50 -07:00
eschweic
9085b882c6 Implement scrolling and better zooming 2013-06-12 11:02:50 -07:00
Tim Kuehn
a53a7f689d Add link following and refactor the profiler. 2013-06-12 11:02:49 -07:00
bors-servo
e5c0021299 auto merge of #499 : ILyoan/servo/css_class, r=jdm
This patch implement css class selection. 

This involves update of 3 submodules

- rust-css: https://github.com/mozilla-servo/rust-css/pull/13
- rust-netsurfcss: https://github.com/mozilla-servo/rust-netsurfcss/pull/12
- libcss: https://github.com/mozilla-servo/libcss/pull/3

The commit hash number for submodules might be changed when the submodule is merged.
The update for libcss is only for debug print which is out of data and will not compiled without DEBUG_CHAIN_MATCHING flag.
2013-06-11 23:42:29 -07:00
ILyoan
cf0f9ed4ea Update submodules 2013-06-12 14:35:22 +09:00
ILyoan
aaeb683654 Add test for css class 2013-06-12 14:35:18 +09:00