Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to GPU rendering #518

Merged
merged 6 commits into from Jun 14, 2013
Merged

Switch to GPU rendering #518

merged 6 commits into from Jun 14, 2013

Conversation

@metajack
Copy link
Contributor

metajack commented Jun 14, 2013

This uses Skia GL to render to offscreen FBOs and then passes the resulting textures directly to the compositor.

It depends on servo/rust-azure#26 and servo/skia#14

r? @pcwalton

@@ -75,6 +78,7 @@ pub impl<'self> RenderContext<'self> {
self.canvas.rect.origin.y as AzFloat),
Size2D(self.canvas.rect.size.width as AzFloat,
self.canvas.rect.size.height as AzFloat));
self.canvas.draw_target.make_current();

This comment has been minimized.

@pcwalton

pcwalton Jun 14, 2013

Contributor

Having to call this all over the place is unfortunate. Can we encapsulate this somehow? This strikes me as a memory safety issue.

@pcwalton

This comment has been minimized.

Copy link

pcwalton commented on 282288d Jun 14, 2013

r+

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on 282288d Jun 14, 2013

saw approval from pcwalton
at metajack@282288d

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jun 14, 2013

merging metajack/servo/gpu-rendering = 282288d into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jun 14, 2013

metajack/servo/gpu-rendering = 282288d merged ok, testing candidate = 93eea6b

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jun 14, 2013

fast-forwarding master to auto = 93eea6b

bors-servo pushed a commit that referenced this pull request Jun 14, 2013
This uses Skia GL to render to offscreen FBOs and then passes the resulting textures directly to the compositor.

It depends on servo/rust-azure#26 and servo/skia#14

r? @pcwalton
@bors-servo bors-servo closed this Jun 14, 2013
@bors-servo bors-servo merged commit 282288d into servo:master Jun 14, 2013
1 check passed
1 check passed
default all tests passed
ChrisParis pushed a commit to ChrisParis/servo that referenced this pull request Sep 7, 2014
fixing small typos in DeviceLight_tests.js
glennw pushed a commit to glennw/servo that referenced this pull request Jan 16, 2017
Remove the unused StackingContext has_stacking_contexts field

It seems that this field has been unused since the switch to WR2.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/518)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.