Don't use GLStateRestorer with the passthrough command decoder.

The passthrough command decoder does not implement the state restoration
functions because it does not track state. When a GLStateRestorer
exists, it is used for the scoped binders in ui/gl/scoped_binders.h and
leads to incorrect state being applied.


Change-Id: I18937597fc02562dfaf01d67a9d4a1b8b84290a3
Reviewed-by: Kenneth Russell <>
Commit-Queue: Geoff Lang <>
Cr-Commit-Position: refs/heads/master@{#672107}
1 file changed