Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
external_skia
Commits
15413a8e
Commit
15413a8e
authored
11 years ago
by
Derek Sollenberger
Committed by
Android (Google) Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "Update Skia defines to be more in line with those used in chromium m30" into klp-dev
parents
ddacd158
f4ad2a30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
include/core/SkUserConfig.h
include/core/SkUserConfig.h
+14
-0
No files found.
include/core/SkUserConfig.h
View file @
15413a8e
...
...
@@ -46,6 +46,20 @@
#define SK_BUILD_FOR_ANDROID_FRAMEWORK
#define SK_SUPPORT_GPU 1
// Android Text Tuning
#define SK_GAMMA_APPLY_TO_A8
#define SK_GAMMA_EXPONENT 1.4
#define SK_GAMMA_CONTRAST 0.0
// Optimizations for chromium (m30)
#define GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"
#define IGNORE_ROT_AA_RECT_OPT
#define SKIA_IGNORE_GPU_MIPMAPS
// Disable this check because it is too strict for some chromium-specific
// subclasses of SkPixelRef. See bug: crbug.com/171776.
#define SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK
// do this build check for other tools that still read this header
#ifdef ANDROID
#include <utils/misc.h>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment