check-point for testing drawBitmap [raster,gpu] -> [raster,gpu]
git-svn-id: http://skia.googlecode.com/svn/trunk@1796 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleCode.h b/samplecode/SampleCode.h
index c42ee25..98162a7 100644
--- a/samplecode/SampleCode.h
+++ b/samplecode/SampleCode.h
@@ -6,6 +6,8 @@
#include "SkKey.h"
#include "SkView.h"
+class GrContext;
+
class SampleCode {
public:
static bool KeyQ(const SkEvent&, SkKey* outKey);
@@ -23,6 +25,8 @@
static SkMSec GetAnimTimeDelta();
static SkScalar GetAnimSecondsDelta();
static SkScalar GetAnimScalar(SkScalar speedPerSec, SkScalar period = 0);
+
+ static GrContext* GetGr();
};
//////////////////////////////////////////////////////////////////////////////