gpu: Don't reset state on more raster decoder commands
In looking at some sampling profiles, it turned out that these commands (set/reset url and the query commands) were all causing unnecessary RestoreState in RasterDecoder. As these don't touch gl state, whitelist them so that they don't cause extra work. Bug: 894200 Change-Id: I54837830d7df3b5333b3a3e8e42d9232ef8e8b41 Reviewed-on: https://chromium-review.googlesource.com/c/1297592 Commit-Queue: enne <enne@chromium.org> Reviewed-by:Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#602226}
Showing
Please register or sign in to comment