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

Unified Diff: gm/lightingshader2.cpp

Issue 2171853002: Fixed GM:lightingshader2 size (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/lightingshader2.cpp
diff --git a/gm/lightingshader2.cpp b/gm/lightingshader2.cpp
index c2f4d6caaca04cfd94d4037fd0ed5076e0cb6dc5..9283449e2ccd020c8b4bf4957761591a373f287b 100644
--- a/gm/lightingshader2.cpp
+++ b/gm/lightingshader2.cpp
@@ -38,7 +38,7 @@ protected:
}
SkISize onISize() override {
- return SkISize::Make(kGMSize, kGMSize);
+ return SkISize::Make(600, 740);
}
void onOnceBeforeDraw() override {
@@ -214,7 +214,6 @@ protected:
private:
static const int kTexSize = 96;
- static const int kGMSize = 512;
sk_sp<SkShader> fOpaqueDiffuse;
sk_sp<SkShader> fTranslucentDiffuse;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698