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

Side by Side Diff: cc/TextureCopier.h

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/SolidColorLayerChromium.cpp ('k') | cc/TextureCopier.cpp » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef TextureCopier_h 5 #ifndef TextureCopier_h
6 #define TextureCopier_h 6 #define TextureCopier_h
7 7
8 #include "GraphicsContext3D.h" 8 #include "GraphicsContext3D.h"
9 #include "ProgramBinding.h" 9 #include "ProgramBinding.h"
10 #include "ShaderChromium.h" 10 #include "ShaderChromium.h"
11 #include <wtf/OwnPtr.h> 11 #include <wtf/OwnPtr.h>
12 #include <wtf/PassOwnPtr.h> 12 #include <wtf/PassOwnPtr.h>
13 #include <wtf/Noncopyable.h> 13 #include <wtf/Noncopyable.h>
14 14
15 namespace WebKit { 15 namespace WebKit {
16 class WebGraphicsContext3D; 16 class WebGraphicsContext3D;
17 } 17 }
18 18
19 namespace WebCore { 19 namespace cc {
20 class IntSize; 20 class IntSize;
21 21
22 class TextureCopier { 22 class TextureCopier {
23 public: 23 public:
24 struct Parameters { 24 struct Parameters {
25 unsigned sourceTexture; 25 unsigned sourceTexture;
26 unsigned destTexture; 26 unsigned destTexture;
27 IntSize size; 27 IntSize size;
28 }; 28 };
29 // Copy the base level contents of |sourceTexture| to |destTexture|. Both te xture objects 29 // Copy the base level contents of |sourceTexture| to |destTexture|. Both te xture objects
(...skipping 30 matching lines...) Expand all
60 Platform3DObject m_positionBuffer; 60 Platform3DObject m_positionBuffer;
61 OwnPtr<BlitProgram> m_blitProgram; 61 OwnPtr<BlitProgram> m_blitProgram;
62 bool m_usingBindUniforms; 62 bool m_usingBindUniforms;
63 }; 63 };
64 64
65 #endif // USE(ACCELERATED_COMPOSITING) 65 #endif // USE(ACCELERATED_COMPOSITING)
66 66
67 } 67 }
68 68
69 #endif 69 #endif
OLDNEW
« no previous file with comments | « cc/SolidColorLayerChromium.cpp ('k') | cc/TextureCopier.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698