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

Unified Diff: content/gpu/gpu_main.cc

Issue 715273002: [content/gpu] Convert VLOGs to DVLOGs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments Created 6 years, 1 month 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 | « content/gpu/gpu_child_thread.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 37606e2b3d888a68e23058245e3101cf96980591..c790dd69a7c0826fa14b8af50fc6c48fd62c40c1 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -422,7 +422,7 @@ bool CollectGraphicsInfo(gpu::GPUInfo& gpu_info) {
res = false;
break;
case gpu::kCollectInfoNonFatalFailure:
- VLOG(1) << "gpu::CollectGraphicsInfo failed (non-fatal).";
+ DVLOG(1) << "gpu::CollectGraphicsInfo failed (non-fatal).";
break;
case gpu::kCollectInfoNone:
NOTREACHED();
@@ -441,7 +441,7 @@ bool CanAccessNvidiaDeviceFile() {
bool res = true;
base::ThreadRestrictions::AssertIOAllowed();
if (access("/dev/nvidiactl", R_OK) != 0) {
- VLOG(1) << "NVIDIA device file /dev/nvidiactl access denied";
+ DVLOG(1) << "NVIDIA device file /dev/nvidiactl access denied";
res = false;
}
return res;
@@ -452,7 +452,7 @@ void CreateDummyGlContext() {
scoped_refptr<gfx::GLSurface> surface(
gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size()));
if (!surface.get()) {
- VLOG(1) << "gfx::GLSurface::CreateOffscreenGLSurface failed";
+ DVLOG(1) << "gfx::GLSurface::CreateOffscreenGLSurface failed";
return;
}
@@ -461,7 +461,7 @@ void CreateDummyGlContext() {
scoped_refptr<gfx::GLContext> context(gfx::GLContext::CreateGLContext(
NULL, surface.get(), gfx::PreferDiscreteGpu));
if (!context.get()) {
- VLOG(1) << "gfx::GLContext::CreateGLContext failed";
+ DVLOG(1) << "gfx::GLContext::CreateGLContext failed";
return;
}
@@ -469,7 +469,7 @@ void CreateDummyGlContext() {
if (context->MakeCurrent(surface.get())) {
context->ReleaseCurrent(surface.get());
} else {
- VLOG(1) << "gfx::GLContext::MakeCurrent failed";
+ DVLOG(1) << "gfx::GLContext::MakeCurrent failed";
}
}
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698