Go to file
Chinmay Garde f832c0ae49 Allows Skia users to disable use of API_AVAILABLE in the Metal backend.
On certain older versions of the Clang toolchain, the use of the API_AVAILABLE
macro on symbols in C++ translation units causes the visibility of those
symbols to me treated as default instead of the hidden. This causes internal
symbols to be exposed from release dylibs.

This mechanism allows users of the toolchains that have not been updated to the
latest versions to disable the use of the macro in release configurations.

Change-Id: I656361770c2011cff4c1b252761b5d0f3d89edc5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/277775
Auto-Submit: Chinmay Garde <chinmaygarde@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-03-19 21:10:55 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""" 2020-03-19 13:10:59 +00:00
bin [infra] Fix bin/try 2020-01-14 12:05:56 +00:00
build/fuchsia Add command line argument to specify the rendertests file. 2020-03-05 17:51:12 +00:00
build_overrides Add Dawn on Windows job. 2020-02-28 17:48:37 +00:00
dm Clean up for DDL program pre-compilation 2020-03-05 19:11:37 +00:00
docker Revert "fiddle - Don't make warnings into errors." 2020-02-07 21:39:38 +00:00
docs/examples Add fiddle example for MakeLinear 2020-03-18 17:53:11 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""" 2020-03-19 13:10:59 +00:00
fuzz Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""" 2020-03-19 13:10:59 +00:00
gm Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""" 2020-03-19 13:10:59 +00:00
gn Allows Skia users to disable use of API_AVAILABLE in the Metal backend. 2020-03-19 21:10:55 +00:00
include Allows Skia users to disable use of API_AVAILABLE in the Metal backend. 2020-03-19 21:10:55 +00:00
infra Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""" 2020-03-19 13:10:59 +00:00
modules Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""" 2020-03-19 13:10:59 +00:00
platform_tools Reland "GrGLMakeNativeInterface_{iOS,mac,win}: clean up" 2020-01-08 16:55:43 +00:00
resources Arrange instruction to reduce register pressure 2020-03-17 21:37:18 +00:00
samplecode Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""" 2020-03-19 13:10:59 +00:00
site add m82 release notes 2020-03-17 17:17:41 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Allows Skia users to disable use of API_AVAILABLE in the Metal backend. 2020-03-19 21:10:55 +00:00
tests Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""" 2020-03-19 13:10:59 +00:00
third_party Restore logic to check for .git in ANGLE BUILD.gn 2020-03-02 20:02:19 +00:00
tools Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""" 2020-03-19 13:10:59 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Optimize SkSL xor where one argument is constant 2019-12-20 14:50:46 +00:00
BUILD.gn Allows Skia users to disable use of API_AVAILABLE in the Metal backend. 2020-03-19 21:10:55 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll ../src 21cbc653d600..05edc0038612 (738 commits) 2020-03-19 04:49:23 +00:00
go.mod Update Go Deps 2020-03-11 05:30:16 +00:00
go.sum Update Go Deps 2020-03-11 05:30:16 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py [Tree Status] Update all references in Skia repo to tree-status 2020-03-02 18:43:49 +00:00
public.bzl [skottie] Cleanup: split animators into separate CUs 2020-03-17 15:48:17 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots""" 2020-03-19 13:10:59 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.