servo / pathfinder

A fast, practical GPU rasterizer for fonts and vector graphics
Apache License 2.0
3.59k stars 201 forks source link

Associate texture parameters in shaders with specific texture units, to work around a macOS Radeon driver bug. #337

Closed pcwalton closed 4 years ago

pcwalton commented 4 years ago

Also, ensure there is always a dummy texture bound to every parameter in the OpenGL backend.

These together stop the macOS Radeon drivers from recompiling the shader on every drawcall.

Possibly addresses #300.