OLD | NEW |
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 #ifndef CC_GL_RENDERER_H_ | 5 #ifndef CC_GL_RENDERER_H_ |
6 #define CC_GL_RENDERER_H_ | 6 #define CC_GL_RENDERER_H_ |
7 | 7 |
8 #include "cc/cc_export.h" | 8 #include "cc/cc_export.h" |
9 #include "cc/checkerboard_draw_quad.h" | 9 #include "cc/checkerboard_draw_quad.h" |
10 #include "cc/debug_border_draw_quad.h" | 10 #include "cc/debug_border_draw_quad.h" |
11 #include "cc/direct_renderer.h" | 11 #include "cc/direct_renderer.h" |
12 #include "cc/gl_renderer_draw_cache.h" | 12 #include "cc/gl_renderer_draw_cache.h" |
13 #include "cc/io_surface_draw_quad.h" | 13 #include "cc/io_surface_draw_quad.h" |
14 #include "cc/render_pass_draw_quad.h" | 14 #include "cc/render_pass_draw_quad.h" |
15 #include "cc/renderer.h" | 15 #include "cc/renderer.h" |
16 #include "cc/solid_color_draw_quad.h" | 16 #include "cc/solid_color_draw_quad.h" |
17 #include "cc/tile_draw_quad.h" | 17 #include "cc/tile_draw_quad.h" |
18 #include "cc/yuv_video_draw_quad.h" | 18 #include "cc/yuv_video_draw_quad.h" |
19 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | |
20 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsMemoryAl
location.h" | |
21 #include "ui/gfx/quad_f.h" | 19 #include "ui/gfx/quad_f.h" |
22 | 20 |
23 namespace WebKit { | 21 namespace WebKit { |
24 class WebGraphicsContext3D; | 22 class WebGraphicsContext3D; |
25 } | 23 } |
26 | 24 |
27 namespace cc { | 25 namespace cc { |
28 | 26 |
29 class ScopedResource; | 27 class ScopedResource; |
30 class StreamVideoDrawQuad; | 28 class StreamVideoDrawQuad; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 #if DEBUG_GL_CALLS && !defined(NDEBUG) | 243 #if DEBUG_GL_CALLS && !defined(NDEBUG) |
246 #define GLC(context, x) (x, GLRenderer::debugGLCall(&*context, #x, __FILE__, __L
INE__)) | 244 #define GLC(context, x) (x, GLRenderer::debugGLCall(&*context, #x, __FILE__, __L
INE__)) |
247 #else | 245 #else |
248 #define GLC(context, x) (x) | 246 #define GLC(context, x) (x) |
249 #endif | 247 #endif |
250 | 248 |
251 | 249 |
252 } | 250 } |
253 | 251 |
254 #endif // CC_GL_RENDERER_H_ | 252 #endif // CC_GL_RENDERER_H_ |
OLD | NEW |