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

Side by Side Diff: cc/texture_layer.cc

Issue 11225040: cc: Remove CC*.h temporary includes, part 5/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/occlusion_tracker_test_common.h ('k') | cc/texture_layer_impl.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 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 #include "config.h" 5 #include "config.h"
6 6
7 #include "cc/texture_layer.h" 7 #include "cc/texture_layer.h"
8 8
9 #include "third_party/khronos/GLES2/gl2.h" 9 #include "third_party/khronos/GLES2/gl2.h"
10 #include "CCLayerTreeHost.h" 10 #include "cc/layer_tree_host.h"
11 #include "cc/texture_layer_client.h" 11 #include "cc/texture_layer_client.h"
12 #include "cc/texture_layer_impl.h" 12 #include "cc/texture_layer_impl.h"
13 13
14 namespace cc { 14 namespace cc {
15 15
16 scoped_refptr<TextureLayerChromium> TextureLayerChromium::create(TextureLayerChr omiumClient* client) 16 scoped_refptr<TextureLayerChromium> TextureLayerChromium::create(TextureLayerChr omiumClient* client)
17 { 17 {
18 return scoped_refptr<TextureLayerChromium>(new TextureLayerChromium(client)) ; 18 return scoped_refptr<TextureLayerChromium>(new TextureLayerChromium(client)) ;
19 } 19 }
20 20
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 LayerChromium::pushPropertiesTo(layer); 122 LayerChromium::pushPropertiesTo(layer);
123 123
124 CCTextureLayerImpl* textureLayer = static_cast<CCTextureLayerImpl*>(layer); 124 CCTextureLayerImpl* textureLayer = static_cast<CCTextureLayerImpl*>(layer);
125 textureLayer->setFlipped(m_flipped); 125 textureLayer->setFlipped(m_flipped);
126 textureLayer->setUVRect(m_uvRect); 126 textureLayer->setUVRect(m_uvRect);
127 textureLayer->setPremultipliedAlpha(m_premultipliedAlpha); 127 textureLayer->setPremultipliedAlpha(m_premultipliedAlpha);
128 textureLayer->setTextureId(m_textureId); 128 textureLayer->setTextureId(m_textureId);
129 } 129 }
130 130
131 } 131 }
OLDNEW
« no previous file with comments | « cc/test/occlusion_tracker_test_common.h ('k') | cc/texture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698