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

Side by Side Diff: cc/ShaderChromium.h

Issue 10990116: [cc] Color evicted vs. invalidated checkerboard tiles differently (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/CCTiledLayerImpl.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"
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 331
332 class FragmentShaderCheckerboard { 332 class FragmentShaderCheckerboard {
333 public: 333 public:
334 FragmentShaderCheckerboard(); 334 FragmentShaderCheckerboard();
335 std::string getShaderString() const; 335 std::string getShaderString() const;
336 336
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 int colorLocation() const { return m_colorLocation; }
341 private: 342 private:
342 int m_alphaLocation; 343 int m_alphaLocation;
343 int m_texTransformLocation; 344 int m_texTransformLocation;
344 int m_frequencyLocation; 345 int m_frequencyLocation;
346 int m_colorLocation;
345 }; 347 };
346 348
347 } // namespace cc 349 } // namespace cc
348 350
349 #endif // USE(ACCELERATED_COMPOSITING) 351 #endif // USE(ACCELERATED_COMPOSITING)
350 352
351 #endif 353 #endif
OLDNEW
« no previous file with comments | « cc/CCTiledLayerImpl.cpp ('k') | cc/ShaderChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698