Closed Bug 1340871 Opened 3 years ago Closed 3 years ago

Content need to know webrender is using ANGLE or not.

Categories

(Core :: Graphics: WebRender, defect)

Unspecified
Windows
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: mtseng, Assigned: mtseng)

References

Details

Attachments

(1 file)

Content need to know webrender is using ANGLE or not in order to determine which shared buffer should be created. I have two approach here.

1. Add a new LayersBackend, e.g. LAYERS_WR_ANGLE.
2. Or add a attribute to CompositorOptions, e.g. mUseANGLE.

I think approach 2 makes more sense to me. kats, what do you think?
ni kats for comment 0.
Flags: needinfo?(bugmail)
I also prefer option 2
Flags: needinfo?(bugmail)
I found that TextureFactoryIdentifier is more suitable for this case.
Assignee: nobody → mtseng
Comment on attachment 8839052 [details]
Bug 1340871 - Add CompositorUseANGLE info to TextureFactoryIdentifier.

https://reviewboard.mozilla.org/r/113796/#review115546
Attachment #8839052 - Flags: review?(nical.bugzilla) → review+
Pushed by mtseng@mozilla.com:
https://hg.mozilla.org/projects/graphics/rev/02a1b5cd91db
Add CompositorUseANGLE info to TextureFactoryIdentifier. r=nical
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.