szeged / webrender

A GPU-based renderer for the web
https://doc.servo.org/webrender/
Mozilla Public License 2.0
45 stars 7 forks source link

Remove Device::reset_program_buffer_offsets #340

Closed zakorgy closed 4 years ago

zakorgy commented 4 years ago

reset_program_buffer_offsets causes a serious throw-back in performance if the DebugRenderer is turned on in Gecko. Instead of iterating trough the programs we do the reset in the program itself if needed (the program has a debug shader).


This change is Reviewable