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

Side by Side Diff: cc/ShaderChromium.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/ScrollbarLayerChromium.cpp ('k') | cc/ShaderChromium.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 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 #ifndef ShaderChromium_h 5 #ifndef ShaderChromium_h
6 #define ShaderChromium_h 6 #define ShaderChromium_h
7 7
8 #if USE(ACCELERATED_COMPOSITING) 8 #if USE(ACCELERATED_COMPOSITING)
9 9
10 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
11 #include <string> 11 #include <string>
12 12
13 namespace WebKit { 13 namespace WebKit {
14 class WebGraphicsContext3D; 14 class WebGraphicsContext3D;
15 } 15 }
16 16
17 namespace WebCore { 17 namespace cc {
18 18
19 class VertexShaderPosTex { 19 class VertexShaderPosTex {
20 public: 20 public:
21 VertexShaderPosTex(); 21 VertexShaderPosTex();
22 22
23 void init(WebKit::WebGraphicsContext3D*, unsigned program, bool usingBindUni form, int* baseUniformIndex); 23 void init(WebKit::WebGraphicsContext3D*, unsigned program, bool usingBindUni form, int* baseUniformIndex);
24 std::string getShaderString() const; 24 std::string getShaderString() const;
25 25
26 int matrixLocation() const { return m_matrixLocation; } 26 int matrixLocation() const { return m_matrixLocation; }
27 27
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 void init(WebKit::WebGraphicsContext3D*, unsigned program, bool usingBindUni form, int* baseUniformIndex); 337 void init(WebKit::WebGraphicsContext3D*, unsigned program, bool usingBindUni form, int* baseUniformIndex);
338 int alphaLocation() const { return m_alphaLocation; } 338 int alphaLocation() const { return m_alphaLocation; }
339 int texTransformLocation() const { return m_texTransformLocation; } 339 int texTransformLocation() const { return m_texTransformLocation; }
340 int frequencyLocation() const { return m_frequencyLocation; } 340 int frequencyLocation() const { return m_frequencyLocation; }
341 private: 341 private:
342 int m_alphaLocation; 342 int m_alphaLocation;
343 int m_texTransformLocation; 343 int m_texTransformLocation;
344 int m_frequencyLocation; 344 int m_frequencyLocation;
345 }; 345 };
346 346
347 } // namespace WebCore 347 } // namespace cc
348 348
349 #endif // USE(ACCELERATED_COMPOSITING) 349 #endif // USE(ACCELERATED_COMPOSITING)
350 350
351 #endif 351 #endif
OLDNEW
« no previous file with comments | « cc/ScrollbarLayerChromium.cpp ('k') | cc/ShaderChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698