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

Side by Side Diff: gm/smallimage.cpp

Issue 769423002: work in progress (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « experimental/tools/multipage_pdf_profiler.cpp ('k') | gyp/experimental.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #include "Resources.h"
2 #include "gm.h"
3
4 DEF_SIMPLE_GM(small_image, canvas, 8, 8) {
5 SkBitmap bitmap;
6 if (GetResourceAsBitmap("randPixels.png", &bitmap)) {
7 canvas->drawBitmap(bitmap, 0.0f, 0.0f);
8 } else {
9 SkDebugf("\nCould not decode resource.\n");
10 }
11 }
OLDNEW
« no previous file with comments | « experimental/tools/multipage_pdf_profiler.cpp ('k') | gyp/experimental.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698