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

Side by Side Diff: cc/frame_buffer_skpicture_canvas_layer_texture_updater.cc

Issue 11189011: cc: Remove the temporary header files that aren't prefixed with CC* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/frame_buffer_skpicture_canvas_layer_texture_updater.h ('k') | cc/geometry_binding.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
6 #include "config.h" 5 #include "config.h"
7 6
8 #include "FrameBufferSkPictureCanvasLayerTextureUpdater.h" 7 #include "cc/frame_buffer_skpicture_canvas_layer_texture_updater.h"
9 8
10 #include "LayerPainterChromium.h" 9 #include "cc/layer_painter.h"
11 10
12 namespace cc { 11 namespace cc {
13 12
14 FrameBufferSkPictureCanvasLayerTextureUpdater::Texture::Texture(FrameBufferSkPic tureCanvasLayerTextureUpdater* textureUpdater, scoped_ptr<CCPrioritizedTexture> texture) 13 FrameBufferSkPictureCanvasLayerTextureUpdater::Texture::Texture(FrameBufferSkPic tureCanvasLayerTextureUpdater* textureUpdater, scoped_ptr<CCPrioritizedTexture> texture)
15 : LayerTextureUpdater::Texture(texture.Pass()) 14 : LayerTextureUpdater::Texture(texture.Pass())
16 , m_textureUpdater(textureUpdater) 15 , m_textureUpdater(textureUpdater)
17 { 16 {
18 } 17 }
19 18
20 FrameBufferSkPictureCanvasLayerTextureUpdater::Texture::~Texture() 19 FrameBufferSkPictureCanvasLayerTextureUpdater::Texture::~Texture()
(...skipping 24 matching lines...) Expand all
45 return adoptPtr(new Texture(this, CCPrioritizedTexture::create(manager))); 44 return adoptPtr(new Texture(this, CCPrioritizedTexture::create(manager)));
46 } 45 }
47 46
48 LayerTextureUpdater::SampledTexelFormat FrameBufferSkPictureCanvasLayerTextureUp dater::sampledTexelFormat(GC3Denum textureFormat) 47 LayerTextureUpdater::SampledTexelFormat FrameBufferSkPictureCanvasLayerTextureUp dater::sampledTexelFormat(GC3Denum textureFormat)
49 { 48 {
50 // Here we directly render to the texture, so the component order is always correct. 49 // Here we directly render to the texture, so the component order is always correct.
51 return LayerTextureUpdater::SampledTexelFormatRGBA; 50 return LayerTextureUpdater::SampledTexelFormatRGBA;
52 } 51 }
53 52
54 } // namespace cc 53 } // namespace cc
OLDNEW
« no previous file with comments | « cc/frame_buffer_skpicture_canvas_layer_texture_updater.h ('k') | cc/geometry_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698