diff options
author | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:19:56 +0000 |
---|---|---|
committer | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:19:56 +0000 |
commit | ae933ce0ea5fd9d21cb6ef2cee7e729d32690aac (patch) | |
tree | 62d80e33b16679d01454cf814977a7030d3a5462 /gm/samplerstress.cpp | |
parent | d6176b0dcacb124539e0cfd051e6d93a9782f020 (diff) |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part III of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6475053
git-svn-id: http://skia.googlecode.com/svn/trunk@5264 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/samplerstress.cpp')
-rw-r--r-- | gm/samplerstress.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp index 4329f12470..93a26dd49c 100644 --- a/gm/samplerstress.cpp +++ b/gm/samplerstress.cpp @@ -12,13 +12,13 @@ namespace skiagm { -/** +/** * Stress test the samplers by rendering a textured glyph with a mask and * an AA clip */ class SamplerStressGM : public GM { public: - SamplerStressGM() + SamplerStressGM() : fTextureCreated(false) , fShader(NULL) , fMaskFilter(NULL) { @@ -47,7 +47,7 @@ protected: static const int xSize = 16; static const int ySize = 16; - fTexture.setConfig(SkBitmap::kARGB_8888_Config, + fTexture.setConfig(SkBitmap::kARGB_8888_Config, xSize, ySize, xSize*sizeof(SkColor)); |