From cf8fb1f6f03fc77f9927564f9ef9abeeeec508d2 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 2 Aug 2012 14:03:32 +0000 Subject: Create GPU-less build of Skia. git-svn-id: http://skia.googlecode.com/svn/trunk@4912 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/config/SkUserConfig.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/config') diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h index b180c89fa8..b51a801626 100644 --- a/include/config/SkUserConfig.h +++ b/include/config/SkUserConfig.h @@ -176,4 +176,13 @@ #define SK_A32_SHIFT 24 #endif + +/* Determines whether to build code that supports the GPU backend. Some classes + that are not GPU-specific, such as SkShader subclasses, have optional code + that is used allows them to interact with the GPU backend. If you'd like to + omit this code set SK_SUPPORT_GPU to 0. This also allows you to omit the gpu + directories from your include search path when you're not building the GPU + backend. Defaults to 1 (build the GPU code). + */ +//#define SK_SUPPORT_GPU 1 #endif -- cgit v1.2.3