pcwalton / surfman

A cross-platform, low-level toolkit for GPU surface management
Apache License 2.0
21 stars 5 forks source link

APIs for bootstrapping surfman aren't consistent #30

Open asajeffrey opened 4 years ago

asajeffrey commented 4 years ago

In ANGLE the method to bootstrap a universal device is:

 SurfmanDevice::from_current_context()

but with OSMesa, it's:

SurfmanDevice::from_current_hardware_context()

which causes fun with cfg in Servo and webxr.

pcwalton commented 4 years ago

Fixed in 0.2