gpu: Make the list of commands which require GL state restore explicit.
Make the list of commands which require consistent GL state in the RasterDecoder explicit instead of defaulting to it for unhandled commands. Its easy to add a new command and miss updating this list. This makes sure you get a compile time error to avoid this. R=piman@chromium.org Bug: 894200 Change-Id: I71407d33c3339342d9ebf26b6ce94e475324a37e Reviewed-on: https://chromium-review.googlesource.com/c/1308714 Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by:Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#604076}
Showing
Please register or sign in to comment