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

Side by Side Diff: cc/BitmapCanvasLayerTextureUpdater.cpp

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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/BitmapCanvasLayerTextureUpdater.h ('k') | cc/BitmapSkPictureCanvasLayerTextureUpdater.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 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 5
6 #include "config.h" 6 #include "config.h"
7 7
8 #if USE(ACCELERATED_COMPOSITING) 8 #if USE(ACCELERATED_COMPOSITING)
9 9
10 #include "BitmapCanvasLayerTextureUpdater.h" 10 #include "BitmapCanvasLayerTextureUpdater.h"
11 11
12 #include "LayerPainterChromium.h" 12 #include "LayerPainterChromium.h"
13 #include "PlatformColor.h" 13 #include "PlatformColor.h"
14 #include "skia/ext/platform_canvas.h" 14 #include "skia/ext/platform_canvas.h"
15 15
16 namespace WebCore { 16 namespace cc {
17 17
18 BitmapCanvasLayerTextureUpdater::Texture::Texture(BitmapCanvasLayerTextureUpdate r* textureUpdater, PassOwnPtr<CCPrioritizedTexture> texture) 18 BitmapCanvasLayerTextureUpdater::Texture::Texture(BitmapCanvasLayerTextureUpdate r* textureUpdater, PassOwnPtr<CCPrioritizedTexture> texture)
19 : LayerTextureUpdater::Texture(texture) 19 : LayerTextureUpdater::Texture(texture)
20 , m_textureUpdater(textureUpdater) 20 , m_textureUpdater(textureUpdater)
21 { 21 {
22 } 22 }
23 23
24 BitmapCanvasLayerTextureUpdater::Texture::~Texture() 24 BitmapCanvasLayerTextureUpdater::Texture::~Texture()
25 { 25 {
26 } 26 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 void BitmapCanvasLayerTextureUpdater::setOpaque(bool opaque) 79 void BitmapCanvasLayerTextureUpdater::setOpaque(bool opaque)
80 { 80 {
81 if (opaque != m_opaque) { 81 if (opaque != m_opaque) {
82 m_canvas.clear(); 82 m_canvas.clear();
83 m_canvasSize = IntSize(); 83 m_canvasSize = IntSize();
84 } 84 }
85 m_opaque = opaque; 85 m_opaque = opaque;
86 } 86 }
87 87
88 } // namespace WebCore 88 } // namespace cc
89 #endif // USE(ACCELERATED_COMPOSITING) 89 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/BitmapCanvasLayerTextureUpdater.h ('k') | cc/BitmapSkPictureCanvasLayerTextureUpdater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698