Closed Bug 1699001 Opened 3 years ago Closed 3 years ago

Rename RenderThread::SharedGL()

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

Details

Attachments

(1 file)

Name of SharedGL is confusing. It looks like "shared context", but it is not.

The GL context is actually a singleton GLContext that is used by all WebRender. Each window creates one EGLSurface for each window. EGLSurface is switched for each window rendering.

It is better to rename SharedGL to another name to make the name cleaner.

Assignee: nobody → sotaro.ikeda.g
Attachment #9209598 - Attachment description: Bug 1699001 - Rename Rename RenderThread::SharedGL() to SingletonGL() → Bug 1699001 - Rename RenderThread::SharedGL() to SingletonGL()
Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9cc1f798e2f8
Rename RenderThread::SharedGL() to SingletonGL() r=nical
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: