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/+/1929432Reviewed-by:James Darpinian <jdarpinian@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> Cr-Commit-Position: refs/heads/master@{#721229}
Showing
Please register or sign in to comment