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

Side by Side Diff: cc/video_frame_provider_client_impl.cc

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« cc/cc.gyp ('K') | « cc/util.h ('k') | cc/video_layer.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/video_frame_provider_client_impl.h" 5 #include "cc/video_frame_provider_client_impl.h"
6 6
7 #include "cc/math_util.h" 7 #include "cc/base/math_util.h"
8 #include "cc/video_layer_impl.h" 8 #include "cc/video_layer_impl.h"
9 9
10 namespace cc { 10 namespace cc {
11 11
12 // static 12 // static
13 scoped_refptr<VideoFrameProviderClientImpl> 13 scoped_refptr<VideoFrameProviderClientImpl>
14 VideoFrameProviderClientImpl::Create( 14 VideoFrameProviderClientImpl::Create(
15 VideoFrameProvider* provider) { 15 VideoFrameProvider* provider) {
16 return make_scoped_refptr( 16 return make_scoped_refptr(
17 new VideoFrameProviderClientImpl(provider)); 17 new VideoFrameProviderClientImpl(provider));
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 stream_texture_matrix_ = gfx::Transform( 78 stream_texture_matrix_ = gfx::Transform(
79 matrix[0], matrix[4], matrix[8], matrix[12], 79 matrix[0], matrix[4], matrix[8], matrix[12],
80 matrix[1], matrix[5], matrix[9], matrix[13], 80 matrix[1], matrix[5], matrix[9], matrix[13],
81 matrix[2], matrix[6], matrix[10], matrix[14], 81 matrix[2], matrix[6], matrix[10], matrix[14],
82 matrix[3], matrix[7], matrix[11], matrix[15]); 82 matrix[3], matrix[7], matrix[11], matrix[15]);
83 if (active_video_layer_) 83 if (active_video_layer_)
84 active_video_layer_->setNeedsRedraw(); 84 active_video_layer_->setNeedsRedraw();
85 } 85 }
86 86
87 } // namespace cc 87 } // namespace cc
OLDNEW
« cc/cc.gyp ('K') | « cc/util.h ('k') | cc/video_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698