| 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 const gfx::Size& size); | 249 const gfx::Size& size); |
| 250 | 250 |
| 251 void ReinitializeGLState(); | 251 void ReinitializeGLState(); |
| 252 void RestoreGLState(); | 252 void RestoreGLState(); |
| 253 void RestoreFramebuffer(DrawingFrame* frame); | 253 void RestoreFramebuffer(DrawingFrame* frame); |
| 254 | 254 |
| 255 void DiscardBackbuffer() override; | 255 void DiscardBackbuffer() override; |
| 256 void EnsureBackbuffer() override; | 256 void EnsureBackbuffer() override; |
| 257 void EnforceMemoryPolicy(); | 257 void EnforceMemoryPolicy(); |
| 258 | 258 |
| 259 void ScheduleCALayers(DrawingFrame* frame); |
| 259 void ScheduleOverlays(DrawingFrame* frame); | 260 void ScheduleOverlays(DrawingFrame* frame); |
| 260 | 261 |
| 261 typedef ScopedPtrVector<ResourceProvider::ScopedReadLockGL> | 262 typedef ScopedPtrVector<ResourceProvider::ScopedReadLockGL> |
| 262 OverlayResourceLockList; | 263 OverlayResourceLockList; |
| 263 OverlayResourceLockList pending_overlay_resources_; | 264 OverlayResourceLockList pending_overlay_resources_; |
| 264 OverlayResourceLockList in_use_overlay_resources_; | 265 OverlayResourceLockList in_use_overlay_resources_; |
| 265 OverlayResourceLockList previous_swap_overlay_resources_; | 266 OverlayResourceLockList previous_swap_overlay_resources_; |
| 266 | 267 |
| 267 RendererCapabilitiesImpl capabilities_; | 268 RendererCapabilitiesImpl capabilities_; |
| 268 | 269 |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 | 514 |
| 514 SkBitmap on_demand_tile_raster_bitmap_; | 515 SkBitmap on_demand_tile_raster_bitmap_; |
| 515 ResourceId on_demand_tile_raster_resource_id_; | 516 ResourceId on_demand_tile_raster_resource_id_; |
| 516 BoundGeometry bound_geometry_; | 517 BoundGeometry bound_geometry_; |
| 517 DISALLOW_COPY_AND_ASSIGN(GLRenderer); | 518 DISALLOW_COPY_AND_ASSIGN(GLRenderer); |
| 518 }; | 519 }; |
| 519 | 520 |
| 520 } // namespace cc | 521 } // namespace cc |
| 521 | 522 |
| 522 #endif // CC_OUTPUT_GL_RENDERER_H_ | 523 #endif // CC_OUTPUT_GL_RENDERER_H_ |
| OLD | NEW |