Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 6ec66c8

Browse files
authored
Merge pull request #102 from livecode/skia-remove_gpu
[[ Skia ]] Remove unused GPU files from Skia build
2 parents 80c6f1d + d3f1f9e commit 6ec66c8

File tree

2 files changed

+10
-517
lines changed

2 files changed

+10
-517
lines changed

libskia/include/config/SkUserConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
here.
4848
*/
4949
//#define SK_DEBUG
50-
//#define SK_RELEASE
50+
#define SK_RELEASE
5151

5252
/* Skia has certain debug-only code that is extremely intensive even for debug
5353
builds. This code is useful for diagnosing specific issues, but is not
@@ -129,7 +129,7 @@
129129
directories from your include search path when you're not building the GPU
130130
backend. Defaults to 1 (build the GPU code).
131131
*/
132-
//#define SK_SUPPORT_GPU 1
132+
#define SK_SUPPORT_GPU 0
133133

134134
/* Skia makes use of histogram logging macros to trace the frequency of
135135
* events. By default, Skia provides no-op versions of these macros.

0 commit comments

Comments
 (0)