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

Side by Side Diff: cc/layers/video_layer_impl.cc

Issue 1990773002: cc: Remove IOSurfaceDrawQuad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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 | « cc/ipc/cc_param_traits_unittest.cc ('k') | cc/output/ca_layer_overlay.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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/layers/video_layer_impl.h" 5 #include "cc/layers/video_layer_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "cc/layers/video_frame_provider_client_impl.h" 12 #include "cc/layers/video_frame_provider_client_impl.h"
13 #include "cc/quads/io_surface_draw_quad.h"
14 #include "cc/quads/stream_video_draw_quad.h" 13 #include "cc/quads/stream_video_draw_quad.h"
15 #include "cc/quads/texture_draw_quad.h" 14 #include "cc/quads/texture_draw_quad.h"
16 #include "cc/quads/yuv_video_draw_quad.h" 15 #include "cc/quads/yuv_video_draw_quad.h"
17 #include "cc/resources/resource_provider.h" 16 #include "cc/resources/resource_provider.h"
18 #include "cc/resources/single_release_callback_impl.h" 17 #include "cc/resources/single_release_callback_impl.h"
19 #include "cc/trees/layer_tree_impl.h" 18 #include "cc/trees/layer_tree_impl.h"
20 #include "cc/trees/occlusion.h" 19 #include "cc/trees/occlusion.h"
21 #include "cc/trees/task_runner_provider.h" 20 #include "cc/trees/task_runner_provider.h"
22 #include "media/base/video_frame.h" 21 #include "media/base/video_frame.h"
23 22
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 void VideoLayerImpl::SetNeedsRedraw() { 404 void VideoLayerImpl::SetNeedsRedraw() {
406 SetUpdateRect(gfx::UnionRects(update_rect(), gfx::Rect(bounds()))); 405 SetUpdateRect(gfx::UnionRects(update_rect(), gfx::Rect(bounds())));
407 layer_tree_impl()->SetNeedsRedraw(); 406 layer_tree_impl()->SetNeedsRedraw();
408 } 407 }
409 408
410 const char* VideoLayerImpl::LayerTypeAsString() const { 409 const char* VideoLayerImpl::LayerTypeAsString() const {
411 return "cc::VideoLayerImpl"; 410 return "cc::VideoLayerImpl";
412 } 411 }
413 412
414 } // namespace cc 413 } // namespace cc
OLDNEW
« no previous file with comments | « cc/ipc/cc_param_traits_unittest.cc ('k') | cc/output/ca_layer_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698