Closed
Bug 1345849
Opened 8 years ago
Closed 8 years ago
Use DrawTriangles() instead of DrawTriangle() in OpenGL compositor backend
Categories
(Core :: Graphics: Layers, enhancement, P3)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: mikokm, Assigned: mikokm)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(2 files)
This is an optimization related to bug 1286412.
The compositor changes introduced in bug 1323797 and bug 1323791 would allow rendering polygons in OpenGL compositor with a single DrawTriangles() call instead of multiple DrawTriangle() calls. For complex scenes, this would reduce draw calls and state changes, improving performance.
This is already done in BasicCompositor and CompositorD3D11.
Updated•8 years ago
|
Priority: -- → P3
Whiteboard: [gfx-noted]
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → mikokm
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•8 years ago
|
||
This patch improves OpenGL compositing performance by up to 10%.
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8851746 [details]
Bug 1345849 - Part 2: Remove unused Triangle::width and height
https://reviewboard.mozilla.org/r/123974/#review127360
Attachment #8851746 -
Flags: review?(jmuizelaar) → review+
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8851745 [details]
Bug 1345849 - Part 1: Use DrawTriangles() instead of DrawTriangle() in OpenGL compositor backend
https://reviewboard.mozilla.org/r/123972/#review132106
Attachment #8851745 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 6•8 years ago
|
||
Thank you for the review!
https://treeherder.mozilla.org/#/jobs?repo=try&revision=db1754a0b9da3ecc4cc9b88254e90e0f44557112
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c39953270c30
Part 1: Use DrawTriangles() instead of DrawTriangle() in OpenGL compositor backend r=jrmuizel
https://hg.mozilla.org/integration/autoland/rev/6d21cafb2879
Part 2: Remove unused Triangle::width and height r=jrmuizel
Keywords: checkin-needed
![]() |
||
Comment 8•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c39953270c30
https://hg.mozilla.org/mozilla-central/rev/6d21cafb2879
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•