| 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" |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 const gfx::QuadF* clip_region); | 191 const gfx::QuadF* clip_region); |
| 192 void FlushTextureQuadCache(BoundGeometry flush_binding); | 192 void FlushTextureQuadCache(BoundGeometry flush_binding); |
| 193 void DrawIOSurfaceQuad(const DrawingFrame* frame, | 193 void DrawIOSurfaceQuad(const DrawingFrame* frame, |
| 194 const IOSurfaceDrawQuad* quad, | 194 const IOSurfaceDrawQuad* quad, |
| 195 const gfx::QuadF* clip_region); | 195 const gfx::QuadF* clip_region); |
| 196 void DrawTileQuad(const DrawingFrame* frame, | 196 void DrawTileQuad(const DrawingFrame* frame, |
| 197 const TileDrawQuad* quad, | 197 const TileDrawQuad* quad, |
| 198 const gfx::QuadF* clip_region); | 198 const gfx::QuadF* clip_region); |
| 199 void DrawContentQuad(const DrawingFrame* frame, | 199 void DrawContentQuad(const DrawingFrame* frame, |
| 200 const ContentDrawQuadBase* quad, | 200 const ContentDrawQuadBase* quad, |
| 201 ResourceProvider::ResourceId resource_id, | 201 ResourceId resource_id, |
| 202 const gfx::QuadF* clip_region); | 202 const gfx::QuadF* clip_region); |
| 203 void DrawContentQuadAA(const DrawingFrame* frame, | 203 void DrawContentQuadAA(const DrawingFrame* frame, |
| 204 const ContentDrawQuadBase* quad, | 204 const ContentDrawQuadBase* quad, |
| 205 ResourceProvider::ResourceId resource_id, | 205 ResourceId resource_id, |
| 206 const gfx::Transform& device_transform, | 206 const gfx::Transform& device_transform, |
| 207 const gfx::QuadF* clip_region); | 207 const gfx::QuadF* clip_region); |
| 208 void DrawContentQuadNoAA(const DrawingFrame* frame, | 208 void DrawContentQuadNoAA(const DrawingFrame* frame, |
| 209 const ContentDrawQuadBase* quad, | 209 const ContentDrawQuadBase* quad, |
| 210 ResourceProvider::ResourceId resource_id, | 210 ResourceId resource_id, |
| 211 const gfx::QuadF* clip_region); | 211 const gfx::QuadF* clip_region); |
| 212 void DrawYUVVideoQuad(const DrawingFrame* frame, | 212 void DrawYUVVideoQuad(const DrawingFrame* frame, |
| 213 const YUVVideoDrawQuad* quad, | 213 const YUVVideoDrawQuad* quad, |
| 214 const gfx::QuadF* clip_region); | 214 const gfx::QuadF* clip_region); |
| 215 void DrawPictureQuad(const DrawingFrame* frame, | 215 void DrawPictureQuad(const DrawingFrame* frame, |
| 216 const PictureDrawQuad* quad, | 216 const PictureDrawQuad* quad, |
| 217 const gfx::QuadF* clip_region); | 217 const gfx::QuadF* clip_region); |
| 218 | 218 |
| 219 void SetShaderOpacity(float opacity, int alpha_location); | 219 void SetShaderOpacity(float opacity, int alpha_location); |
| 220 void SetShaderQuadF(const gfx::QuadF& quad, int quad_location); | 220 void SetShaderQuadF(const gfx::QuadF& quad, int quad_location); |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 | 508 |
| 509 class SyncQuery; | 509 class SyncQuery; |
| 510 ScopedPtrDeque<SyncQuery> pending_sync_queries_; | 510 ScopedPtrDeque<SyncQuery> pending_sync_queries_; |
| 511 ScopedPtrDeque<SyncQuery> available_sync_queries_; | 511 ScopedPtrDeque<SyncQuery> available_sync_queries_; |
| 512 scoped_ptr<SyncQuery> current_sync_query_; | 512 scoped_ptr<SyncQuery> current_sync_query_; |
| 513 bool use_sync_query_; | 513 bool use_sync_query_; |
| 514 bool use_blend_equation_advanced_; | 514 bool use_blend_equation_advanced_; |
| 515 bool use_blend_equation_advanced_coherent_; | 515 bool use_blend_equation_advanced_coherent_; |
| 516 | 516 |
| 517 SkBitmap on_demand_tile_raster_bitmap_; | 517 SkBitmap on_demand_tile_raster_bitmap_; |
| 518 ResourceProvider::ResourceId on_demand_tile_raster_resource_id_; | 518 ResourceId on_demand_tile_raster_resource_id_; |
| 519 BoundGeometry bound_geometry_; | 519 BoundGeometry bound_geometry_; |
| 520 DISALLOW_COPY_AND_ASSIGN(GLRenderer); | 520 DISALLOW_COPY_AND_ASSIGN(GLRenderer); |
| 521 }; | 521 }; |
| 522 | 522 |
| 523 } // namespace cc | 523 } // namespace cc |
| 524 | 524 |
| 525 #endif // CC_OUTPUT_GL_RENDERER_H_ | 525 #endif // CC_OUTPUT_GL_RENDERER_H_ |
| OLD | NEW |