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

Side by Side Diff: cc/CCRendererGL.h

Issue 11048044: cc: Switch to Chromium DCHECKs and LOGs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 5
6 #ifndef CCRendererGL_h 6 #ifndef CCRendererGL_h
7 #define CCRendererGL_h 7 #define CCRendererGL_h
8 8
9 #if USE(ACCELERATED_COMPOSITING) 9 #if USE(ACCELERATED_COMPOSITING)
10 10
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 DISALLOW_COPY_AND_ASSIGN(CCRendererGL); 220 DISALLOW_COPY_AND_ASSIGN(CCRendererGL);
221 }; 221 };
222 222
223 223
224 // Setting DEBUG_GL_CALLS to 1 will call glGetError() after almost every GL 224 // Setting DEBUG_GL_CALLS to 1 will call glGetError() after almost every GL
225 // call made by the compositor. Useful for debugging rendering issues but 225 // call made by the compositor. Useful for debugging rendering issues but
226 // will significantly degrade performance. 226 // will significantly degrade performance.
227 #define DEBUG_GL_CALLS 0 227 #define DEBUG_GL_CALLS 0
228 228
229 #if DEBUG_GL_CALLS && !defined ( NDEBUG ) 229 #if DEBUG_GL_CALLS && !defined(NDEBUG)
230 #define GLC(context, x) (x, CCRendererGL::debugGLCall(&*context, #x, __FILE__, _ _LINE__)) 230 #define GLC(context, x) (x, CCRendererGL::debugGLCall(&*context, #x, __FILE__, _ _LINE__))
231 #else 231 #else
232 #define GLC(context, x) (x) 232 #define GLC(context, x) (x)
233 #endif 233 #endif
234 234
235 235
236 } 236 }
237 237
238 #endif // USE(ACCELERATED_COMPOSITING) 238 #endif // USE(ACCELERATED_COMPOSITING)
239 239
240 #endif 240 #endif
OLDNEW
« cc/CCCompletionEvent.h ('K') | « cc/CCRenderSurfaceFilters.cpp ('k') | cc/CCRendererGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698