Go to file
Florin Malita af2769d00b Banish SkShaderBase::isRasterPipelineOnly()
Keeping related heuristics in sync with actual shader capabilities is somewhat tricky,
and overall fragile.

So how about this: instead of an explicit opt-in mechanism, try to instantiate a legacy
shader context and fall back to raster pipeline on failure (null Context => implicit
opt-in for raster pipeline).  Shaders can still choose not to draw by returning both a
null Context and failing appendStages().

BUG=skia:7772
Change-Id: I2e76f51af7064853a6cb851b4c30c82eba3ee828
Reviewed-on: https://skia-review.googlesource.com/118383
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
2018-04-04 18:13:48 +00:00
animations
bench Revert "allow timing in release-with-assert builds" 2018-03-30 16:22:17 +00:00
bin remove fetch-gn dependency on buildtools 2018-02-21 20:42:26 +00:00
debugger Revert "Revert "Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""""" 2018-02-03 01:59:59 +00:00
dm Remove old method of drawing DDL SKPs from DM (in favor of ViaDDL method) 2018-03-28 17:21:24 +00:00
docs fix global method indentation 2018-04-03 20:02:25 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [skottie] Clean up SkottieProperties 2018-03-23 18:09:50 +00:00
fuzz Move oss-fuzz to MockGPUCanvas 2018-04-03 17:02:20 +00:00
gm Add SkOffsetSimplePolygon. 2018-04-03 14:37:50 +00:00
gn Add SkSurfaceCharacterization operator== && != 2018-04-04 15:41:48 +00:00
include Add SkSurfaceCharacterization operator== && != 2018-04-04 15:41:48 +00:00
infra add Mac ASAN bots 2018-04-04 16:42:18 +00:00
platform_tools Viewer/Amdroid: universal build, resources in APK 2018-03-06 22:52:10 +00:00
resources Add color fonts. 2018-03-28 20:14:44 +00:00
samplecode ccpr: Various cleanups 2018-03-27 15:38:34 +00:00
site fix global method indentation 2018-04-03 20:02:25 +00:00
src Banish SkShaderBase::isRasterPipelineOnly() 2018-04-04 18:13:48 +00:00
tests Add SkSurfaceCharacterization operator== && != 2018-04-04 15:41:48 +00:00
third_party Roll FreeType. 2018-03-28 16:06:34 +00:00
tools Clean up buffering and serializatoin. 2018-04-04 00:53:01 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore [lottiecap] Moved over from buildbot repo. 2018-03-20 13:25:23 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Support x86 build with VS 2015 2018-03-19 15:20:35 +00:00
BUILD.gn Revert "Disable GPU support by default when building for host in Fuchsia" 2018-04-02 20:46:42 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll skia/third_party/externals/skcms/ 7dd7eed65..d26d270c8 (1 commit) 2018-04-04 16:38:28 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Presubmit that modified json files are valid json. 2018-02-12 16:32:12 +00:00
public.bzl Add color fonts. 2018-03-28 20:14:44 +00:00
README
README.chromium
whitespace.txt Revert "Whitespace change" 2018-03-31 21:50:37 +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.