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_OUTPUT_GL_RENDERER_H_ | 5 #ifndef CC_OUTPUT_GL_RENDERER_H_ |
6 #define CC_OUTPUT_GL_RENDERER_H_ | 6 #define CC_OUTPUT_GL_RENDERER_H_ |
7 | 7 |
8 #include "base/cancelable_callback.h" | 8 #include "base/cancelable_callback.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 #include "cc/base/scoped_ptr_deque.h" | 10 #include "cc/base/scoped_ptr_deque.h" |
11 #include "cc/base/scoped_ptr_vector.h" | 11 #include "cc/base/scoped_ptr_vector.h" |
12 #include "cc/output/direct_renderer.h" | 12 #include "cc/output/direct_renderer.h" |
13 #include "cc/output/gl_renderer_draw_cache.h" | 13 #include "cc/output/gl_renderer_draw_cache.h" |
14 #include "cc/output/program_binding.h" | 14 #include "cc/output/program_binding.h" |
15 #include "cc/output/renderer.h" | 15 #include "cc/output/renderer.h" |
16 #include "cc/quads/checkerboard_draw_quad.h" | 16 #include "cc/quads/checkerboard_draw_quad.h" |
17 #include "cc/quads/debug_border_draw_quad.h" | 17 #include "cc/quads/debug_border_draw_quad.h" |
18 #include "cc/quads/io_surface_draw_quad.h" | 18 #include "cc/quads/io_surface_draw_quad.h" |
19 #include "cc/quads/render_pass_draw_quad.h" | 19 #include "cc/quads/render_pass_draw_quad.h" |
20 #include "cc/quads/solid_color_draw_quad.h" | 20 #include "cc/quads/solid_color_draw_quad.h" |
21 #include "cc/quads/tile_draw_quad.h" | 21 #include "cc/quads/tile_draw_quad.h" |
22 #include "cc/quads/yuv_video_draw_quad.h" | 22 #include "cc/quads/yuv_video_draw_quad.h" |
23 #include "ui/gfx/quad_f.h" | 23 #include "ui/gfx/geometry/quad_f.h" |
24 | 24 |
25 class SkBitmap; | 25 class SkBitmap; |
26 | 26 |
27 namespace gpu { | 27 namespace gpu { |
28 namespace gles2 { | 28 namespace gles2 { |
29 class GLES2Interface; | 29 class GLES2Interface; |
30 } | 30 } |
31 } | 31 } |
32 | 32 |
33 namespace cc { | 33 namespace cc { |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 #if DEBUG_GL_CALLS && !defined(NDEBUG) | 433 #if DEBUG_GL_CALLS && !defined(NDEBUG) |
434 #define GLC(context, x) \ | 434 #define GLC(context, x) \ |
435 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) | 435 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) |
436 #else | 436 #else |
437 #define GLC(context, x) (x) | 437 #define GLC(context, x) (x) |
438 #endif | 438 #endif |
439 | 439 |
440 } // namespace cc | 440 } // namespace cc |
441 | 441 |
442 #endif // CC_OUTPUT_GL_RENDERER_H_ | 442 #endif // CC_OUTPUT_GL_RENDERER_H_ |
OLD | NEW |