diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-17 14:24:46 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-17 14:24:46 +0000 |
commit | 16bab87a78cfaf6a4f334e1af910c46883f460af (patch) | |
tree | d3673b82876bca69b03b1eaf04d3f0fdc16ee622 /Makefile | |
parent | 1dd17a133f4fa5c5a0c752e6b9a6f7af6f329fb8 (diff) |
Add GL context creation for X so that gm can run GPU on Linux.
http://codereview.appspot.com/4548047/
git-svn-id: http://skia.googlecode.com/svn/trunk@1343 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -115,19 +115,19 @@ ifeq ($(SKIA_BUILD_FOR),mac) SRC_LIST += gpu/src/mac/GrGLDefaultInterface_mac.cpp else - LINKER_OPTS += -lpng -lfreetype -lGL + LINKER_OPTS += -lpng -lfreetype -lGL -lGLU -lX11 DEFINES += -DSK_BUILD_FOR_UNIX -DSK_ENABLE_LIBPNG -DGR_LINUX_BUILD=1 - ifeq ($(SKIA_SAMPLES_FOR_X),true) - DEFINES += -DSK_SAMPLES_FOR_X - endif + #Assume the color order for now. + DEFINES += -DSK_SAMPLES_FOR_X + # needed for freetype support C_INCLUDES += -I/usr/include/freetype2 SRC_LIST += src/ports/SkFontHost_linux.cpp SRC_LIST += src/ports/SkFontHost_gamma_none.cpp SRC_LIST += src/ports/SkFontHost_FreeType.cpp SRC_LIST += src/ports/SkFontHost_FreeType_Subpixel.cpp - SRC_LIST += src/utils/SkEGLContext_none.cpp + SRC_LIST += src/utils/unix/SkEGLContext_Unix.cpp # these are our registry-based factories SRC_LIST += src/images/SkImageDecoder_Factory.cpp SRC_LIST += src/images/SkImageEncoder_Factory.cpp @@ -135,7 +135,7 @@ else # support files SRC_LIST += src/images/SkScaledBitmapSampler.cpp - SRC_LIST += gpu/src/GrGLDefaultInterface_none.cpp + SRC_LIST += gpu/src/unix/GrGLDefaultInterface_unix.cpp endif # For these files, and these files only, compile with -msse2. |