| 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 <deque> | 8 #include <deque> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 bool use_aa); | 170 bool use_aa); |
| 171 std::unique_ptr<ScopedResource> GetBackdropTexture( | 171 std::unique_ptr<ScopedResource> GetBackdropTexture( |
| 172 const gfx::Rect& bounding_rect); | 172 const gfx::Rect& bounding_rect); |
| 173 | 173 |
| 174 static bool ShouldApplyBackgroundFilters(const RenderPassDrawQuad* quad); | 174 static bool ShouldApplyBackgroundFilters(const RenderPassDrawQuad* quad); |
| 175 sk_sp<SkImage> ApplyBackgroundFilters(DrawingFrame* frame, | 175 sk_sp<SkImage> ApplyBackgroundFilters(DrawingFrame* frame, |
| 176 const RenderPassDrawQuad* quad, | 176 const RenderPassDrawQuad* quad, |
| 177 ScopedResource* background_texture, | 177 ScopedResource* background_texture, |
| 178 const gfx::RectF& rect); | 178 const gfx::RectF& rect); |
| 179 | 179 |
| 180 const TileDrawQuad* CanPassBeDrawnDirectly(const RenderPass* pass) override; |
| 181 |
| 180 void DrawRenderPassQuad(DrawingFrame* frame, | 182 void DrawRenderPassQuad(DrawingFrame* frame, |
| 181 const RenderPassDrawQuad* quadi, | 183 const RenderPassDrawQuad* quadi, |
| 182 const gfx::QuadF* clip_region); | 184 const gfx::QuadF* clip_region); |
| 185 void DrawRenderPassQuadInternal(DrawingFrame* frame, |
| 186 const RenderPassDrawQuad* quad, |
| 187 const gfx::QuadF* clip_region, |
| 188 const Resource* contents_texture, |
| 189 bool is_render_pass_input); |
| 183 void DrawSolidColorQuad(const DrawingFrame* frame, | 190 void DrawSolidColorQuad(const DrawingFrame* frame, |
| 184 const SolidColorDrawQuad* quad, | 191 const SolidColorDrawQuad* quad, |
| 185 const gfx::QuadF* clip_region); | 192 const gfx::QuadF* clip_region); |
| 186 void DrawStreamVideoQuad(const DrawingFrame* frame, | 193 void DrawStreamVideoQuad(const DrawingFrame* frame, |
| 187 const StreamVideoDrawQuad* quad, | 194 const StreamVideoDrawQuad* quad, |
| 188 const gfx::QuadF* clip_region); | 195 const gfx::QuadF* clip_region); |
| 189 void DrawTextureQuad(const DrawingFrame* frame, | 196 void DrawTextureQuad(const DrawingFrame* frame, |
| 190 const TextureDrawQuad* quad, | 197 const TextureDrawQuad* quad, |
| 191 const gfx::QuadF* clip_region); | 198 const gfx::QuadF* clip_region); |
| 192 void EnqueueTextureQuad(const DrawingFrame* frame, | 199 void EnqueueTextureQuad(const DrawingFrame* frame, |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 | 531 |
| 525 SkBitmap on_demand_tile_raster_bitmap_; | 532 SkBitmap on_demand_tile_raster_bitmap_; |
| 526 ResourceId on_demand_tile_raster_resource_id_; | 533 ResourceId on_demand_tile_raster_resource_id_; |
| 527 BoundGeometry bound_geometry_; | 534 BoundGeometry bound_geometry_; |
| 528 DISALLOW_COPY_AND_ASSIGN(GLRenderer); | 535 DISALLOW_COPY_AND_ASSIGN(GLRenderer); |
| 529 }; | 536 }; |
| 530 | 537 |
| 531 } // namespace cc | 538 } // namespace cc |
| 532 | 539 |
| 533 #endif // CC_OUTPUT_GL_RENDERER_H_ | 540 #endif // CC_OUTPUT_GL_RENDERER_H_ |
| OLD | NEW |