Chromium Code Reviews| 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_vector.h" | 10 #include "cc/base/scoped_ptr_vector.h" |
| 11 #include "cc/output/direct_renderer.h" | 11 #include "cc/output/direct_renderer.h" |
| 12 #include "cc/output/gl_renderer_draw_cache.h" | 12 #include "cc/output/gl_renderer_draw_cache.h" |
| 13 #include "cc/output/renderer.h" | 13 #include "cc/output/renderer.h" |
| 14 #include "cc/quads/checkerboard_draw_quad.h" | 14 #include "cc/quads/checkerboard_draw_quad.h" |
| 15 #include "cc/quads/debug_border_draw_quad.h" | 15 #include "cc/quads/debug_border_draw_quad.h" |
| 16 #include "cc/quads/io_surface_draw_quad.h" | 16 #include "cc/quads/io_surface_draw_quad.h" |
| 17 #include "cc/quads/render_pass_draw_quad.h" | 17 #include "cc/quads/render_pass_draw_quad.h" |
| 18 #include "cc/quads/solid_color_draw_quad.h" | 18 #include "cc/quads/solid_color_draw_quad.h" |
| 19 #include "cc/quads/tile_draw_quad.h" | 19 #include "cc/quads/tile_draw_quad.h" |
| 20 #include "cc/quads/yuv_video_draw_quad.h" | 20 #include "cc/quads/yuv_video_draw_quad.h" |
| 21 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | |
|
danakj
2013/07/02 15:59:00
Could you forward declare this class, rather than
tfarina
2013/07/03 03:04:01
Done.
| |
| 22 #include "third_party/WebKit/public/platform/WebGraphicsMemoryAllocation.h" | |
| 23 #include "ui/gfx/quad_f.h" | 21 #include "ui/gfx/quad_f.h" |
| 24 | 22 |
| 25 class SkBitmap; | 23 class SkBitmap; |
| 26 | 24 |
| 27 namespace cc { | 25 namespace cc { |
| 28 | 26 |
| 29 class GLRendererShaderTest; | 27 class GLRendererShaderTest; |
| 30 class OutputSurface; | 28 class OutputSurface; |
| 31 class PictureDrawQuad; | 29 class PictureDrawQuad; |
| 32 class ScopedResource; | 30 class ScopedResource; |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 451 #if DEBUG_GL_CALLS && !defined(NDEBUG) | 449 #if DEBUG_GL_CALLS && !defined(NDEBUG) |
| 452 #define GLC(context, x) \ | 450 #define GLC(context, x) \ |
| 453 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) | 451 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) |
| 454 #else | 452 #else |
| 455 #define GLC(context, x) (x) | 453 #define GLC(context, x) (x) |
| 456 #endif | 454 #endif |
| 457 | 455 |
| 458 } // namespace cc | 456 } // namespace cc |
| 459 | 457 |
| 460 #endif // CC_OUTPUT_GL_RENDERER_H_ | 458 #endif // CC_OUTPUT_GL_RENDERER_H_ |
| OLD | NEW |