Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: gpu/command_buffer/service/gpu_scheduler.cc

Issue 8416054: Added booleans that indicate which GL extensions are available. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/gfx/gl/generate_bindings.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_scheduler.cc
===================================================================
--- gpu/command_buffer/service/gpu_scheduler.cc (revision 107682)
+++ gpu/command_buffer/service/gpu_scheduler.cc (working copy)
@@ -62,7 +62,7 @@
// Check that the GPU has passed all fences.
if (!unschedule_fences_.empty()) {
- if (glGenFencesNV) {
+ if (gfx::g_GL_NV_fence) {
while (!unschedule_fences_.empty()) {
if (glTestFenceNV(unschedule_fences_.front().fence)) {
glDeleteFencesNV(1, &unschedule_fences_.front().fence);
@@ -181,7 +181,7 @@
// This follows the semantics for texture object names before
// they are bound, in that they acquire their state upon binding.
// We will arbitrarily return TRUE for consistency.
- if (glGenFencesNV) {
+ if (gfx::g_GL_NV_fence) {
glGenFencesNV(1, &fence.fence);
glSetFenceNV(fence.fence, GL_ALL_COMPLETED_NV);
}
« no previous file with comments | « no previous file | ui/gfx/gl/generate_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698