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

Side by Side Diff: cc/shader.h

Issue 11189043: cc: Rename cc classes and members to match filenames (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
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 #include "third_party/skia/include/core/SkColorPriv.h" 8 #include "third_party/skia/include/core/SkColorPriv.h"
9 #include <string> 9 #include <string>
10 10
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 public: 296 public:
297 FragmentShaderYUVVideo(); 297 FragmentShaderYUVVideo();
298 std::string getShaderString() const; 298 std::string getShaderString() const;
299 299
300 void init(WebKit::WebGraphicsContext3D*, unsigned program, bool usingBindUni form, int* baseUniformIndex); 300 void init(WebKit::WebGraphicsContext3D*, unsigned program, bool usingBindUni form, int* baseUniformIndex);
301 301
302 int yTextureLocation() const { return m_yTextureLocation; } 302 int yTextureLocation() const { return m_yTextureLocation; }
303 int uTextureLocation() const { return m_uTextureLocation; } 303 int uTextureLocation() const { return m_uTextureLocation; }
304 int vTextureLocation() const { return m_vTextureLocation; } 304 int vTextureLocation() const { return m_vTextureLocation; }
305 int alphaLocation() const { return m_alphaLocation; } 305 int alphaLocation() const { return m_alphaLocation; }
306 int ccMatrixLocation() const { return m_ccMatrixLocation; } 306 int matrixLocation() const { return m_ccMatrixLocation; }
307 int yuvAdjLocation() const { return m_yuvAdjLocation; } 307 int yuvAdjLocation() const { return m_yuvAdjLocation; }
308 308
309 private: 309 private:
310 int m_yTextureLocation; 310 int m_yTextureLocation;
311 int m_uTextureLocation; 311 int m_uTextureLocation;
312 int m_vTextureLocation; 312 int m_vTextureLocation;
313 int m_alphaLocation; 313 int m_alphaLocation;
314 int m_ccMatrixLocation; 314 int m_ccMatrixLocation;
315 int m_yuvAdjLocation; 315 int m_yuvAdjLocation;
316 }; 316 };
(...skipping 23 matching lines...) Expand all
340 private: 340 private:
341 int m_alphaLocation; 341 int m_alphaLocation;
342 int m_texTransformLocation; 342 int m_texTransformLocation;
343 int m_frequencyLocation; 343 int m_frequencyLocation;
344 int m_colorLocation; 344 int m_colorLocation;
345 }; 345 };
346 346
347 } // namespace cc 347 } // namespace cc
348 348
349 #endif 349 #endif
OLDNEW
« cc/active_animation.h ('K') | « cc/settings.cc ('k') | cc/shader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698