Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWr2 #319
Merged
Wr2 #319
+5,995
−6,080
Conversation
… for inset/outset
…for black
…rly draw all the circle
…lity.
…ets.
src/resource_cache.rs
Outdated
| @@ -130,15 +130,13 @@ pub struct ResourceCache { | |||
|
|
|||
| pending_raster_jobs: Vec<GlyphRasterJob>, | |||
|
|
|||
| white_image_id: TextureCacheItemId, | |||
| dummy_mask_image_id: TextureCacheItemId, | |||
| //white_image_id: TextureCacheItemId, | |||
This comment has been minimized.
This comment has been minimized.
src/renderer.rs
Outdated
| self.debug.add_text((tile_x0.0 as f32 + tile_x1.0 as f32) * 0.5, | ||
| (tile_y0.0 as f32 + tile_y1.0 as f32) * 0.5, | ||
| label, | ||
| c);//&ColorF::new(0.0, 0.0, 0.0, 1.0)); |
This comment has been minimized.
This comment has been minimized.
|
|
||
| self.update_shaders(); | ||
| //self.update_shaders(); |
This comment has been minimized.
This comment has been minimized.
src/render_backend.rs
Outdated
| Some(self.render()) | ||
| } else { | ||
| None | ||
| } | ||
| }); | ||
| // hprof::end_frame(); | ||
| //hprof::profiler().print_timing(); |
This comment has been minimized.
This comment has been minimized.
src/render_backend.rs
Outdated
| @@ -196,27 +199,37 @@ impl RenderBackend { | |||
| self.build_scene(); | |||
| self.render() | |||
| }); | |||
| // hprof::end_frame(); | |||
| //hprof::profiler().print_timing(); | |||
This comment has been minimized.
This comment has been minimized.
src/kdtree.rs
Outdated
| /* This Source Code Form is subject to the terms of the Mozilla Public | ||
| * License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
|
This comment has been minimized.
This comment has been minimized.
src/layer.rs
Outdated
| pub fn finalize(&mut self, scrolling: &ScrollingState) { | ||
| self.scrolling = *scrolling; | ||
| self.aabb_tree.finalize(); | ||
| //self.aabb_tree.finalize(); |
This comment has been minimized.
This comment has been minimized.
src/layer.rs
Outdated
| @@ -105,6 +73,7 @@ impl Layer { | |||
| pub fn print(&self) { | |||
| self.aabb_tree.print(NodeIndex(0), 0); | |||
| } | |||
| */ | |||
This comment has been minimized.
This comment has been minimized.
src/lib.rs
Outdated
| @@ -99,6 +101,7 @@ extern crate app_units; | |||
| extern crate euclid; | |||
| extern crate fnv; | |||
| extern crate gleam; | |||
| //extern crate hprof; | |||
This comment has been minimized.
This comment has been minimized.
src/quadtree.rs
Outdated
| @@ -0,0 +1,222 @@ | |||
| /* This Source Code Form is subject to the terms of the Mozilla Public | |||
This comment has been minimized.
This comment has been minimized.
|
@bors-servo: r+ |
|
|
|
Here we go! |
|
|
|
@bors-servo retry |
|
|
This was referenced Aug 3, 2016
liigo
commented
Aug 4, 2016
zakorgy
added a commit
to zakorgy/webrender
that referenced
this pull request
Oct 15, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
glennw commentedAug 2, 2016
No description provided.