blob: 77291567b4c8d3bdd881be4bf817f95138f1bf2b [file] [log] [blame]
Heather Miller118a4072019-07-25 11:33:30 -04001Skia Graphics Release Notes
2
3This file includes a list of high level updates for each milestone release.
4
5-----
6
Mike Reed430470d2019-09-12 17:09:12 -04007 * Remove isRectContour and ksNestedFillRects from public
Mike Reed86a14512019-09-13 08:26:56 -04008 * Start to move nested SkPath types (e.g. Direction, Verb) up to root level in SkPathTypes.h
Mike Reed430470d2019-09-12 17:09:12 -04009
Brian Osman172bb442019-09-06 10:16:02 -040010Milestone 79
11
12 * Make the size of program/pipeline caches configurable via
13 GrContextOptions::fRuntimeProgramCacheSize
14 https://review.skia.org/239756
15
Heather Miller118a4072019-07-25 11:33:30 -040016Milestone 78
17
Hal Canary2af5db72019-08-20 11:28:37 -040018 * Added RELEASE_NOTES.txt file
Hal Canary3b0e7f62019-08-20 14:52:02 -040019 https://review.skia.org/229760
Mike Reed9dc0b9e2019-07-29 17:52:48 -040020
Hal Canary2af5db72019-08-20 11:28:37 -040021 * SkDrawLooper is no longer supported in SkPaint or SkCanvas.
Hal Canary3b0e7f62019-08-20 14:52:02 -040022 https://review.skia.org/230579
23 https://review.skia.org/231736
Mike Reed9dc0b9e2019-07-29 17:52:48 -040024
Hal Canary3b0e7f62019-08-20 14:52:02 -040025 * SkPath::Iter::next() now ignores its consumDegenerates bools. Those will so
26 go away entirely
27 https://review.skia.org/235104
Mike Reedba7e9a62019-08-16 13:30:34 -040028
Hal Canary2af5db72019-08-20 11:28:37 -040029 * SkImage: new factories: DecodeToRaster, DecodeToTexture
Hal Canary3b0e7f62019-08-20 14:52:02 -040030 https://review.skia.org/234476
Mike Reeda5acbf92019-08-14 11:08:41 -040031
Hal Canary2af5db72019-08-20 11:28:37 -040032 * SkImageFilter API refactor started:
33 - Provide new factory API in include/effects/SkImageFilters
34 - Consolidated enum types to use SkTileMode and SkColorChannel
35 - Hide filter implementation classes
Hal Canary3b0e7f62019-08-20 14:52:02 -040036 - Hide previously public functions on SkImageFilter that were intended for
37 internal use only
38 https://review.skia.org/230198
39 https://review.skia.org/230876
40 https://review.skia.org/231256
Florin Malita48009492019-08-01 17:20:19 -040041
Hal Canary3b0e7f62019-08-20 14:52:02 -040042 * SkColorFilters::HSLAMatrix - new matrix color filter operating in HSLA
43 space.
44 https://review.skia.org/231736
Brian Salomond4764a12019-08-08 12:08:24 -040045
Hal Canary3b0e7f62019-08-20 14:52:02 -040046 * Modify GrBackendFormat getters to not return internal pointers. Use an enum
47 class for GL formats.
48 https://review.skia.org/233160
Brian Salomonec22b1a2019-08-09 09:41:48 -040049
Hal Canary2af5db72019-08-20 11:28:37 -040050 * Expose GrContext::dump() when SK_ENABLE_DUMP_GPU is defined.
Hal Canary3b0e7f62019-08-20 14:52:02 -040051 https://review.skia.org/233557
Sergey Ulanov2739fd22019-08-11 22:46:33 -070052
Hal Canary3b0e7f62019-08-20 14:52:02 -040053 * Vulkan backend now supports YCbCr sampler for I420 Vulkan images that are
54 not backed by external images.
55 https://review.skia.org/233776
Leon Scroggins III6154ac42019-08-14 11:29:29 -040056
Hal Canary3b0e7f62019-08-20 14:52:02 -040057 * Add SkCodec::SelectionPolicy for distinguishing between decoding a still
58 image or an image sequence for a container format that has both (e.g. HEIF).
59 https://review.skia.org/232839
Brian Osmand566e2e2019-08-14 13:19:04 -040060
Hal Canary3b0e7f62019-08-20 14:52:02 -040061 * SkImage::makeTextureImage and SkImage::MakeCrossContextFromPixmap no longer
62 take an SkColorSpace parameter. It was unused.
63 https://review.skia.org/234579
64 https://review.skia.org/234912
Brian Osmand5148372019-08-14 16:14:51 -040065
Hal Canary3b0e7f62019-08-20 14:52:02 -040066 * SkImage::reinterpretColorSpace - to reinterpret image contents in a new
67 color space.
68 https://review.skia.org/234328
Brian Osman4c3fd342019-08-15 12:13:53 -040069
Hal Canary2af5db72019-08-20 11:28:37 -040070 * Removed SkImage::MakeCrossContextFromEncoded.
Hal Canary3b0e7f62019-08-20 14:52:02 -040071 https://review.skia.org/234912
Hal Canary2af5db72019-08-20 11:28:37 -040072
Jim Van Verth066ceb12019-08-28 14:35:55 -040073 * Add Metal support for GrFence, GrSemaphore, and GrBackendSemaphore
74 https://review.skia.org/233416
75
Hal Canary2af5db72019-08-20 11:28:37 -040076 * SkMallocPixelRef: remove MakeDirect and MakeWithProc from API.
77 https://review.skia.org/234660
Mike Klein334a6422019-08-27 08:12:15 -050078
Michael Ludwiga595f862019-08-27 15:25:49 -040079 * Remove 4-parameter variant of SkRect::join() and intersect(), and
80 noemptycheck variants of intersect().
81 https://review.skia.org/235832
82 https://review.skia.org/237142
83
Mike Klein334a6422019-08-27 08:12:15 -050084 * Remove unused sk_sp comparison operators.
85 https://review.skia.org/236942
Michael Ludwiga595f862019-08-27 15:25:49 -040086
87 * Add SkColor4f variant to experimental_DrawEdgeAAQuad for SkiaRenderer.
88 https://review.skia.org/237492
Robert Phillipscf39f372019-09-03 10:29:20 -040089
90 * Deprecated maxCount resource cache limit for Ganesh.
91 This hasn't been relevant for a long time.
92
Brian Osmana66081d2019-09-03 14:59:26 -040093 * Changed GrContextOptions' fDisallowGLSLBinaryCaching to fShaderCacheStrategy,
94 and allow caching SkSL.
95 https://review.skia.org/238856
Robert Phillipsd470e1b2019-09-04 15:05:35 -040096
97 * Added kRG_88_SkColorType. This is intended to help support YUV uses case (e.g., NV12).
Robert Phillips429f0d32019-09-11 17:03:28 -040098 As such, the addition is focused on allowing creation of SkPixmaps and SkImages and not
Robert Phillipsd470e1b2019-09-04 15:05:35 -040099 SkSurfaces (i.e., who wants to render to RG?)
Brian Osmaned58e002019-09-06 14:42:43 -0400100
101 * Add GrContext::precompileShader to allow up-front compilation of previously-cached shaders.
102 https://review.skia.org/239438
Robert Phillips429f0d32019-09-11 17:03:28 -0400103
104 * Added kAlpha_16_SkColorType and kRG_1616_SkColorType. This is intended to help support HDR YUV
105 uses case (e.g., P010 and P016). As such, the addition is focused on allowing creation of
106 SkPixmaps and SkImages and not SkSurfaces (i.e., who wants to render to render to these?)