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