forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't call GL query functions unless the extensions are present.
Validate that the OpenGL query extensions are present before calling the entry points in gl(Begin|End|Gen|Delete)Queries. Some operations like glGenQueries are no-oped because the command decoder still emulates some query types without native support. BUG=1026911 Change-Id: I09f88aa0f7cc5be3812595892cb1c1c76900ce81 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929432 Reviewed-by: James Darpinian <jdarpinian@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> Cr-Commit-Position: refs/heads/master@{#721229}
- Loading branch information
Showing
1 changed file
with
53 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters