aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-04 17:13:52 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-04 17:13:52 +0000
commitf987d1b2348258970cae675135b6dedda079de48 (patch)
treefa09c4a941878660d3a3f57877e0513c106afc0f /Makefile
parent65c82f52bea0db35b4422467abeee1e36b25ee05 (diff)
Remove dependence on platform GL headers. Remove code that attempts to infer GL function pointers on various platforms. Instead add platform-specific implementations for Windows and Mac. (GLX coming)
Review URL: http://codereview.appspot.com/4354048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1045 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bd46b02843..e51aedd69c 100644
--- a/Makefile
+++ b/Makefile
@@ -103,6 +103,8 @@ ifeq ($(SKIA_BUILD_FOR),mac)
SRC_LIST += src/images/SkImageDecoder_libpng.cpp
# support files
SRC_LIST += src/images/SkScaledBitmapSampler.cpp
+
+ SRC_LIST += gpu/src/mac/GrGLDefaultInterface_mac.cpp
else
LINKER_OPTS += -lpng -lfreetype -lGL
DEFINES += -DSK_BUILD_FOR_UNIX -DSK_ENABLE_LIBPNG -DGR_LINUX_BUILD=1
@@ -124,6 +126,8 @@ else
SRC_LIST += src/images/SkImageDecoder_libpng.cpp
# support files
SRC_LIST += src/images/SkScaledBitmapSampler.cpp
+
+ SRC_LIST += gpu/src/GrGLDefaultInterface_none.cpp
endif
# For these files, and these files only, compile with -msse2.