aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleApp.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-14 14:45:44 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-14 14:45:44 +0000
commit84223118f7073a28f42c11ad08595e07c0ceb933 (patch)
tree83cfdf905579369ab4a7f287c4478279a56f291a /samplecode/SampleApp.cpp
parent098e96df6ab0327f18537c7006ff2b0b4116ee30 (diff)
Remove some cruft from SampleApp.cpp
Review URL: http://codereview.appspot.com/4724042 git-svn-id: http://skia.googlecode.com/svn/trunk@1858 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleApp.cpp')
-rw-r--r--samplecode/SampleApp.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index 5251604dd9..e45303a49e 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -34,8 +34,6 @@
extern SkView* create_overview(int, const SkViewFactory[]);
-#define SK_SUPPORT_GL
-
#define ANIMATING_EVENTTYPE "nextSample"
#define ANIMATING_DELAY 750
@@ -46,10 +44,6 @@ extern SkView* create_overview(int, const SkViewFactory[]);
#endif
#define FPS_REPEAT_COUNT (10 * FPS_REPEAT_MULTIPLIER)
-#ifdef SK_SUPPORT_GL
- #include "GrGLConfig.h"
-#endif
-
static SampleWindow* gSampleWindow;
///////////////
@@ -175,10 +169,6 @@ SkViewRegister::SkViewRegister(SkViewFactory fact) : fFact(fact) {
gHead = this;
}
-#if defined(SK_SUPPORT_GL)
- #define SK_USE_SHADERS
-#endif
-
#if 0
#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFURLAccess.h>