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

Side by Side Diff: src/gpu/gl/GrGLInterface.cpp

Issue 184443003: Add Gpu Tracing to Ganesh (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Added files Created 6 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "gl/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 } else { 468 } else {
469 if (glVer >= GR_GL_VER(3,0) || fExtensions.has("GL_OES_vertex_array_obje ct")) { 469 if (glVer >= GR_GL_VER(3,0) || fExtensions.has("GL_OES_vertex_array_obje ct")) {
470 if (NULL == fFunctions.fBindVertexArray || 470 if (NULL == fFunctions.fBindVertexArray ||
471 NULL == fFunctions.fDeleteVertexArrays || 471 NULL == fFunctions.fDeleteVertexArrays ||
472 NULL == fFunctions.fGenVertexArrays) { 472 NULL == fFunctions.fGenVertexArrays) {
473 return false; 473 return false;
474 } 474 }
475 } 475 }
476 } 476 }
477 477
478 #if 0
479 if (fExtensions.has("GL_EXT_debug_marker")) { 478 if (fExtensions.has("GL_EXT_debug_marker")) {
480 if (NULL == fFunctions.fInsertEventMarker || 479 if (NULL == fFunctions.fInsertEventMarker ||
481 NULL == fFunctions.fPushGroupMarker || 480 NULL == fFunctions.fPushGroupMarker ||
482 NULL == fFunctions.fPopGroupMarker) { 481 NULL == fFunctions.fPopGroupMarker) {
483 return false; 482 return false;
484 } 483 }
485 } 484 }
486 #endif
487 return true; 485 return true;
488 } 486 }
OLDNEW
« src/gpu/GrTracing.cpp ('K') | « src/gpu/GrTracing.cpp ('k') | src/gpu/gl/GrGpuGL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698