aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-18 21:43:03 +0000
committerGravatar scroggo <scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-18 21:43:03 +0000
commitb66365f5dd8cba718e1657ee3c85b4406e55f17d (patch)
tree60779c569b5bedf5f67170cb9ff8d5d62b16f71a /Makefile
parent3f0dcf96c332b1b0cb9b63043d16607e8702259b (diff)
Updates to the unix sample app.
Rather than placing pixels, use XPutImage to place the bitmap on screen. Modify the color arrangements for 8888 when building the sample app, so they agree with X. Add a title to simple sample. Include SkTouchGesture. git-svn-id: http://skia.googlecode.com/svn/trunk@963 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e482060c62..db04678225 100644
--- a/Makefile
+++ b/Makefile
@@ -106,6 +106,9 @@ else
LINKER_OPTS += -lpng -lfreetype -lGL
DEFINES += -DSK_BUILD_FOR_UNIX -DSK_ENABLE_LIBPNG -DGR_LINUX_BUILD=1
+ ifeq ($(SKIA_SAMPLES_FOR_X),true)
+ DEFINES += -DSK_SAMPLES_FOR_X
+ endif
# needed for freetype support
C_INCLUDES += -I/usr/include/freetype2
SRC_LIST += src/ports/SkFontHost_linux.cpp