blob: 73e2ba552cccc978a4916771b3c57aecbc948ddf [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
Hal Canary9e514a12019-10-01 15:15:36 -04005* * *
Mike Reed430470d2019-09-12 17:09:12 -04006
Brian Osman172bb442019-09-06 10:16:02 -04007Milestone 79
8
Hal Canary9e514a12019-10-01 15:15:36 -04009[Insert new notes here.]
10
Brian Salomon9241a6d2019-10-03 13:26:54 -040011 * New versions of SkSurface async-rescale-and read APIs that allow client to extend
12 the lifetime of the result data. Old versions are deprecated.
13 https://review.skia.org/245457
14
Hal Canary9e514a12019-10-01 15:15:36 -040015 * Add SkColorInfo. It's dimensionless SkImageInfo.
16 https://review.skia.org/245261
17
18 * Added SkPixmap-based createBackendTexture method to GrContext. This allows clients to create
19 backend resources (initialized with texture data) that Skia/Ganesh doesn't know about/track.
20 https://review.skia.org/244676
21
22 * Add explicit src and dst colorspace parameters to SkColorFilter::filterColor4f()
23 https://review.skia.org/244882
24
25 * Remove Vulkan/Metal float32 RGBA texture support
26 https://review.skia.org/244881
27
28 * Add SkSurface::MakeFromCAMetalLayer
29 https://review.skia.org/242563
30
31 * Added kAlpha_F16_SkColorType, kRG_F16_SkColorType and kRGBA_16161616_SkColorType.
32 This is intended to help support HDR YUV uses case (e.g., P010 and P016). As such,
33 the addition is focused on allowing creation of SkPixmaps and SkImages and not
34 SkSurfaces (i.e., who wants to render to render to these?)
35 https://review.skia.org/241357
36
37 * Start to move nested SkPath types (e.g. Direction, Verb) up to root level in SkPathTypes.h
38 https://review.skia.org/241079
39
40 * Remove isRectContour and ksNestedFillRects from public
41 https://review.skia.org/241078
42
43 * Added kRG_88_SkColorType. This is intended to help support YUV uses case (e.g., NV12).
44 As such, the addition is focused on allowing creation of SkPixmaps and SkImages and not
45 SkSurfaces (i.e., who wants to render to RG?)
46 https://review.skia.org/239930
47 https://review.skia.org/235797
48
Brian Osman172bb442019-09-06 10:16:02 -040049 * Make the size of program/pipeline caches configurable via
50 GrContextOptions::fRuntimeProgramCacheSize
51 https://review.skia.org/239756
52
Hal Canary9e514a12019-10-01 15:15:36 -040053 * Added kAlpha_16_SkColorType and kRG_1616_SkColorType. This is intended to help support HDR YUV
54 uses case (e.g., P010 and P016). As such, the addition is focused on allowing creation of
55 SkPixmaps and SkImages and not SkSurfaces (i.e., who wants to render to render to these?)
56 https://review.skia.org/239930
57
58 * Add GrContext::precompileShader to allow up-front compilation of previously-cached shaders.
59 https://review.skia.org/239438
60
61* * *
62
Heather Miller118a4072019-07-25 11:33:30 -040063Milestone 78
64
Hal Canary2af5db72019-08-20 11:28:37 -040065 * Added RELEASE_NOTES.txt file
Hal Canary3b0e7f62019-08-20 14:52:02 -040066 https://review.skia.org/229760
Mike Reed9dc0b9e2019-07-29 17:52:48 -040067
Hal Canary2af5db72019-08-20 11:28:37 -040068 * SkDrawLooper is no longer supported in SkPaint or SkCanvas.
Hal Canary3b0e7f62019-08-20 14:52:02 -040069 https://review.skia.org/230579
70 https://review.skia.org/231736
Mike Reed9dc0b9e2019-07-29 17:52:48 -040071
Hal Canary3b0e7f62019-08-20 14:52:02 -040072 * SkPath::Iter::next() now ignores its consumDegenerates bools. Those will so
73 go away entirely
74 https://review.skia.org/235104
Mike Reedba7e9a62019-08-16 13:30:34 -040075
Hal Canary2af5db72019-08-20 11:28:37 -040076 * SkImage: new factories: DecodeToRaster, DecodeToTexture
Hal Canary3b0e7f62019-08-20 14:52:02 -040077 https://review.skia.org/234476
Mike Reeda5acbf92019-08-14 11:08:41 -040078
Hal Canary2af5db72019-08-20 11:28:37 -040079 * SkImageFilter API refactor started:
80 - Provide new factory API in include/effects/SkImageFilters
81 - Consolidated enum types to use SkTileMode and SkColorChannel
82 - Hide filter implementation classes
Hal Canary3b0e7f62019-08-20 14:52:02 -040083 - Hide previously public functions on SkImageFilter that were intended for
84 internal use only
85 https://review.skia.org/230198
86 https://review.skia.org/230876
87 https://review.skia.org/231256
Florin Malita48009492019-08-01 17:20:19 -040088
Hal Canary3b0e7f62019-08-20 14:52:02 -040089 * SkColorFilters::HSLAMatrix - new matrix color filter operating in HSLA
90 space.
91 https://review.skia.org/231736
Brian Salomond4764a12019-08-08 12:08:24 -040092
Hal Canary3b0e7f62019-08-20 14:52:02 -040093 * Modify GrBackendFormat getters to not return internal pointers. Use an enum
94 class for GL formats.
95 https://review.skia.org/233160
Brian Salomonec22b1a2019-08-09 09:41:48 -040096
Hal Canary2af5db72019-08-20 11:28:37 -040097 * Expose GrContext::dump() when SK_ENABLE_DUMP_GPU is defined.
Hal Canary3b0e7f62019-08-20 14:52:02 -040098 https://review.skia.org/233557
Sergey Ulanov2739fd22019-08-11 22:46:33 -070099
Hal Canary3b0e7f62019-08-20 14:52:02 -0400100 * Vulkan backend now supports YCbCr sampler for I420 Vulkan images that are
101 not backed by external images.
102 https://review.skia.org/233776
Leon Scroggins III6154ac42019-08-14 11:29:29 -0400103
Hal Canary3b0e7f62019-08-20 14:52:02 -0400104 * Add SkCodec::SelectionPolicy for distinguishing between decoding a still
105 image or an image sequence for a container format that has both (e.g. HEIF).
106 https://review.skia.org/232839
Brian Osmand566e2e2019-08-14 13:19:04 -0400107
Hal Canary3b0e7f62019-08-20 14:52:02 -0400108 * SkImage::makeTextureImage and SkImage::MakeCrossContextFromPixmap no longer
109 take an SkColorSpace parameter. It was unused.
110 https://review.skia.org/234579
111 https://review.skia.org/234912
Brian Osmand5148372019-08-14 16:14:51 -0400112
Hal Canary3b0e7f62019-08-20 14:52:02 -0400113 * SkImage::reinterpretColorSpace - to reinterpret image contents in a new
114 color space.
115 https://review.skia.org/234328
Brian Osman4c3fd342019-08-15 12:13:53 -0400116
Hal Canary2af5db72019-08-20 11:28:37 -0400117 * Removed SkImage::MakeCrossContextFromEncoded.
Hal Canary3b0e7f62019-08-20 14:52:02 -0400118 https://review.skia.org/234912
Hal Canary2af5db72019-08-20 11:28:37 -0400119
Jim Van Verth066ceb12019-08-28 14:35:55 -0400120 * Add Metal support for GrFence, GrSemaphore, and GrBackendSemaphore
121 https://review.skia.org/233416
122
Hal Canary2af5db72019-08-20 11:28:37 -0400123 * SkMallocPixelRef: remove MakeDirect and MakeWithProc from API.
124 https://review.skia.org/234660
Mike Klein334a6422019-08-27 08:12:15 -0500125
Michael Ludwiga595f862019-08-27 15:25:49 -0400126 * Remove 4-parameter variant of SkRect::join() and intersect(), and
127 noemptycheck variants of intersect().
128 https://review.skia.org/235832
129 https://review.skia.org/237142
130
Mike Klein334a6422019-08-27 08:12:15 -0500131 * Remove unused sk_sp comparison operators.
132 https://review.skia.org/236942
Michael Ludwiga595f862019-08-27 15:25:49 -0400133
134 * Add SkColor4f variant to experimental_DrawEdgeAAQuad for SkiaRenderer.
135 https://review.skia.org/237492
Robert Phillipscf39f372019-09-03 10:29:20 -0400136
137 * Deprecated maxCount resource cache limit for Ganesh.
138 This hasn't been relevant for a long time.
139
Brian Osmana66081d2019-09-03 14:59:26 -0400140 * Changed GrContextOptions' fDisallowGLSLBinaryCaching to fShaderCacheStrategy,
141 and allow caching SkSL.
142 https://review.skia.org/238856