servo / surfman

Accelerated offscreen graphics for WebGL
Apache License 2.0
173 stars 84 forks source link

replace implementation module with declarative macro #313

Closed mukilan closed 2 months ago

mukilan commented 2 months ago

The current approach of having a free standing module that is instantiated multiple times with the explicit path often causes confusion when reading the code. So replace this with a very simple declarative macro that hopefully is more explicit and simpler than the current approach.