Go to file
Brian Salomon c320b15768 Introduce GrColorType
This begins the journey towards using different types to refer to CPU data and GPU texture formats. This is one part of removing GrPixelConfig and more directly using GL/VK texture formats

GrColorType represents a particular layout of color/gray/alpha channels in CPU memory. It does not refer to texture formats or sRGB-encoding. It is basically SkColorType specialized to the GPU backend with some formats added and some removed.

Read/WritePixel interfaces use GrColorType to describe the CPU side of the transaction.

There's still a lot of punting to GrPixelConfig in API-specific code. There's a lot more to be done.

Bug: 6718
Bug: 7580

Change-Id: I8d813ae9a4416a06596f22a4b87da02091989718
Reviewed-on: https://skia-review.googlesource.com/107264
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2018-02-20 19:30:13 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Move control of explicit GPU resource allocation to GrContextOptions 2018-02-08 12:36:29 +00:00
bin fetch-clang-format: better error checking 2018-01-22 20:33:49 +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 Start thread pool in skia_dm on Android. 2018-02-20 15:31:43 +00:00
docs fix IRect doc 2018-02-20 18:10:33 +00:00
example Revert "Revert "Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""""" 2018-02-03 01:59:59 +00:00
experimental [sksg] Add 'plane' geometry node 2018-02-20 17:08:53 +00:00
fuzz hide virtual and rename to onMakeComposed 2018-02-19 19:40:14 +00:00
gm hide virtual and rename to onMakeComposed 2018-02-19 19:40:14 +00:00
gn Drop unused support for MSAA sample locations 2018-02-20 17:19:13 +00:00
include Introduce GrColorType 2018-02-20 19:30:13 +00:00
infra Add SKQP bot to build universal APK to master 2018-02-20 17:02:13 +00:00
platform_tools android_build_app: optionally disable gradle daemon 2018-02-20 17:14:33 +00:00
resources Ensure all rows of a gif are initialized 2018-02-16 17:26:56 +00:00
samplecode Fix thrashing issue with multitextured atlas. 2018-02-17 00:11:27 +00:00
site fix IRect doc 2018-02-20 18:10:33 +00:00
src Introduce GrColorType 2018-02-20 19:30:13 +00:00
tests Introduce GrColorType 2018-02-20 19:30:13 +00:00
third_party Reland "remove third_party/etc1" 2018-02-20 16:52:43 +00:00
tools fix IRect doc 2018-02-20 18:10:33 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Ignore generated README.recipes.md 2017-10-26 18:07:27 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Add link annotation support to SkSVGDevice. 2018-02-06 23:35:16 +00:00
BUILD.gn [sksg] Add 'plane' geometry node 2018-02-20 17:08:53 +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 skia/third_party/externals/skcms/ 08d4cf2b3..fa14d14de (3 commits) 2018-02-20 19:03:03 +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 Reland "remove third_party/etc1" 2018-02-20 16:52:43 +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
whitespace.txt Test change 2018-02-15 17:46:19 +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.