Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: cc/output/gl_renderer.h

Issue 1430813002: cc: Fork OverlayCandidate to CALayerOverlay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master1
Patch Set: Rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698