Closed Bug 1022905 Opened 10 years ago Closed 3 months ago

Remove the Compositor::GetBackend static method

Categories

(Core :: Graphics: Layers, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: nical, Unassigned)

References

Details

We want to be able to have compositors with different backends living at the same time, so it doesn't make sense to have a global compositor backend.

To achieve this we need to make sure that there is a 1-1 mapping between SurfaceDescriptor and TextureHost, so that we don't need to know about the backend to create the TextureHost.

- SurfaceDescriptorD3D10 can make either a D3D11 or a D3D9 TextureHost
- SurfaceDescriptorMacIOSurface can make either a Basic or a GL TextureHost.

In the case of MacIOSurface, the backend part should be moved into the TextureSource, while making the TextureHost independent of GL/Software. Not sure about SurfaceDescriptorD3D10.
Severity: normal → S3

Compositor::GetBackend was removed in bug 1211109

Status: NEW → RESOLVED
Closed: 3 months ago
Depends on: 1211109
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.