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

Side by Side Diff: content/common/gpu/media/gles2_texture_to_egl_image_translator.cc

Issue 8416055: Convert some non-debug logging on content/common to debug logging. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/gpu/media/gles2_texture_to_egl_image_translator.h" 5 #include "content/common/gpu/media/gles2_texture_to_egl_image_translator.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 // Get EGL extension functions. 9 // Get EGL extension functions.
10 static PFNEGLCREATEIMAGEKHRPROC egl_create_image_khr = 10 static PFNEGLCREATEIMAGEKHRPROC egl_create_image_khr =
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 GLuint texture = 0; 53 GLuint texture = 0;
54 NOTIMPLEMENTED(); 54 NOTIMPLEMENTED();
55 return texture; 55 return texture;
56 } 56 }
57 57
58 void Gles2TextureToEglImageTranslator::DestroyEglImage( 58 void Gles2TextureToEglImageTranslator::DestroyEglImage(
59 EGLDisplay egl_display, EGLImageKHR egl_image) { 59 EGLDisplay egl_display, EGLImageKHR egl_image) {
60 // Clients of this class will call this method for each EGLImage handle. 60 // Clients of this class will call this method for each EGLImage handle.
61 // Actual destroying of the handles is done here. 61 // Actual destroying of the handles is done here.
62 if (!egl_destroy_image_khr) { 62 if (!egl_destroy_image_khr) {
63 LOG(ERROR) << "egl_destroy_image_khr failed"; 63 DLOG(ERROR) << "egl_destroy_image_khr failed";
64 return; 64 return;
65 } 65 }
66 egl_destroy_image_khr(egl_display, egl_image); 66 egl_destroy_image_khr(egl_display, egl_image);
67 } 67 }
OLDNEW
« no previous file with comments | « content/common/gpu/image_transport_surface_mac.cc ('k') | content/common/gpu/media/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698