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

Side by Side Diff: cc/surfaces/display.cc

Issue 1370233003: Disable region copy on ARM since it isn't supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2454
Patch Set: Created 5 years, 2 months 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 | « no previous file | content/browser/compositor/buffer_queue.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "cc/surfaces/display.h" 5 #include "cc/surfaces/display.h"
6 6
7 #include "base/thread_task_runner_handle.h" 7 #include "base/thread_task_runner_handle.h"
8 #include "base/trace_event/trace_event.h" 8 #include "base/trace_event/trace_event.h"
9 #include "cc/debug/benchmark_instrumentation.h" 9 #include "cc/debug/benchmark_instrumentation.h"
10 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 void Display::SetMemoryPolicy(const ManagedMemoryPolicy& policy) { 244 void Display::SetMemoryPolicy(const ManagedMemoryPolicy& policy) {
245 client_->SetMemoryPolicy(policy); 245 client_->SetMemoryPolicy(policy);
246 } 246 }
247 247
248 void Display::OnDraw() { 248 void Display::OnDraw() {
249 NOTREACHED(); 249 NOTREACHED();
250 } 250 }
251 251
252 void Display::SetNeedsRedrawRect(const gfx::Rect& damage_rect) { 252 void Display::SetNeedsRedrawRect(const gfx::Rect& damage_rect) {
253 NOTREACHED(); 253 aggregator_->SetFullDamageForSurface(current_surface_id_);
254 if (scheduler_)
255 scheduler_->SurfaceDamaged(current_surface_id_);
254 } 256 }
255 257
256 void Display::ReclaimResources(const CompositorFrameAck* ack) { 258 void Display::ReclaimResources(const CompositorFrameAck* ack) {
257 NOTREACHED(); 259 NOTREACHED();
258 } 260 }
259 261
260 void Display::SetExternalDrawConstraints( 262 void Display::SetExternalDrawConstraints(
261 const gfx::Transform& transform, 263 const gfx::Transform& transform,
262 const gfx::Rect& viewport, 264 const gfx::Rect& viewport,
263 const gfx::Rect& clip, 265 const gfx::Rect& clip,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 300
299 if (surface_id == current_surface_id_) 301 if (surface_id == current_surface_id_)
300 UpdateRootSurfaceResourcesLocked(); 302 UpdateRootSurfaceResourcesLocked();
301 } 303 }
302 304
303 SurfaceId Display::CurrentSurfaceId() { 305 SurfaceId Display::CurrentSurfaceId() {
304 return current_surface_id_; 306 return current_surface_id_;
305 } 307 }
306 308
307 } // namespace cc 309 } // namespace cc
OLDNEW
« no previous file with comments | « no previous file | content/browser/compositor/buffer_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698