blob: 5e3a3642b8f5570dd2b13e5b0487155a749ba6cc [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
Heather Millercc13acb2019-10-22 15:45:45 -04007Milestone 80
Heather Millerd5153bb2019-10-17 00:03:36 -04008
Heather Millercc13acb2019-10-22 15:45:45 -04009<Insert new notes here- top is most recent.>
10
Brian Salomon3683a4f2019-10-28 09:16:47 -040011 * Remove old async read pixels APIs
12 https://review.skia.org/251198
13
Heather Millercc13acb2019-10-22 15:45:45 -040014* * *
15
16Milestone 79
Heather Millerd5153bb2019-10-17 00:03:36 -040017
Mike Reeda32654c2019-10-04 10:18:34 -040018 * SkTextBlob::Iter to discover the glyph indices and typefaces in each run
19 https://skia-review.googlesource.com/246296
20
Brian Osman11e6aa82019-10-16 13:58:42 -040021 * Added support for PQ and HLG transfer functions to SkColorSpace.
Heather Millerd5153bb2019-10-17 00:03:36 -040022 https://skia-review.googlesource.com/c/skia/+/249000
Brian Osman11e6aa82019-10-16 13:58:42 -040023
Greg Daniel8b666172019-10-09 12:38:22 -040024 * Added new api on GrContext ComputeImageSize. This replaces the hold static helper
25 ComputeTextureSize.
Heather Millerd5153bb2019-10-17 00:03:36 -040026 https://skia-review.googlesource.com/c/skia/+/247337
Hal Canary9e514a12019-10-01 15:15:36 -040027
Brian Salomon9241a6d2019-10-03 13:26:54 -040028 * New versions of SkSurface async-rescale-and read APIs that allow client to extend
29 the lifetime of the result data. Old versions are deprecated.
30 https://review.skia.org/245457
31
Hal Canary9e514a12019-10-01 15:15:36 -040032 * Add SkColorInfo. It's dimensionless SkImageInfo.
33 https://review.skia.org/245261
34
35 * Added SkPixmap-based createBackendTexture method to GrContext. This allows clients to create
36 backend resources (initialized with texture data) that Skia/Ganesh doesn't know about/track.
37 https://review.skia.org/244676
38
39 * Add explicit src and dst colorspace parameters to SkColorFilter::filterColor4f()
40 https://review.skia.org/244882
41
42 * Remove Vulkan/Metal float32 RGBA texture support
43 https://review.skia.org/244881
44
45 * Add SkSurface::MakeFromCAMetalLayer
46 https://review.skia.org/242563
47
48 * Added kAlpha_F16_SkColorType, kRG_F16_SkColorType and kRGBA_16161616_SkColorType.
49 This is intended to help support HDR YUV uses case (e.g., P010 and P016). As such,
50 the addition is focused on allowing creation of SkPixmaps and SkImages and not
51 SkSurfaces (i.e., who wants to render to render to these?)
52 https://review.skia.org/241357
53
54 * Start to move nested SkPath types (e.g. Direction, Verb) up to root level in SkPathTypes.h
55 https://review.skia.org/241079
56
57 * Remove isRectContour and ksNestedFillRects from public
58 https://review.skia.org/241078
59
60 * Added kRG_88_SkColorType. This is intended to help support YUV uses case (e.g., NV12).
61 As such, the addition is focused on allowing creation of SkPixmaps and SkImages and not
62 SkSurfaces (i.e., who wants to render to RG?)
63 https://review.skia.org/239930
64 https://review.skia.org/235797
65
Brian Osman172bb442019-09-06 10:16:02 -040066 * Make the size of program/pipeline caches configurable via
67 GrContextOptions::fRuntimeProgramCacheSize
68 https://review.skia.org/239756
69
Hal Canary9e514a12019-10-01 15:15:36 -040070 * Added kAlpha_16_SkColorType and kRG_1616_SkColorType. This is intended to help support HDR YUV
71 uses case (e.g., P010 and P016). As such, the addition is focused on allowing creation of
72 SkPixmaps and SkImages and not SkSurfaces (i.e., who wants to render to render to these?)
73 https://review.skia.org/239930
74
75 * Add GrContext::precompileShader to allow up-front compilation of previously-cached shaders.
76 https://review.skia.org/239438
77
78* * *
79
Heather Miller118a4072019-07-25 11:33:30 -040080Milestone 78
81
Hal Canary2af5db72019-08-20 11:28:37 -040082 * SkDrawLooper is no longer supported in SkPaint or SkCanvas.
Hal Canary3b0e7f62019-08-20 14:52:02 -040083 https://review.skia.org/230579
84 https://review.skia.org/231736
Mike Reed9dc0b9e2019-07-29 17:52:48 -040085
Hal Canary3b0e7f62019-08-20 14:52:02 -040086 * SkPath::Iter::next() now ignores its consumDegenerates bools. Those will so
87 go away entirely
88 https://review.skia.org/235104
Mike Reedba7e9a62019-08-16 13:30:34 -040089
Hal Canary2af5db72019-08-20 11:28:37 -040090 * SkImage: new factories: DecodeToRaster, DecodeToTexture
Hal Canary3b0e7f62019-08-20 14:52:02 -040091 https://review.skia.org/234476
Mike Reeda5acbf92019-08-14 11:08:41 -040092
Hal Canary2af5db72019-08-20 11:28:37 -040093 * SkImageFilter API refactor started:
94 - Provide new factory API in include/effects/SkImageFilters
95 - Consolidated enum types to use SkTileMode and SkColorChannel
96 - Hide filter implementation classes
Hal Canary3b0e7f62019-08-20 14:52:02 -040097 - Hide previously public functions on SkImageFilter that were intended for
98 internal use only
99 https://review.skia.org/230198
100 https://review.skia.org/230876
101 https://review.skia.org/231256
Florin Malita48009492019-08-01 17:20:19 -0400102
Hal Canary3b0e7f62019-08-20 14:52:02 -0400103 * SkColorFilters::HSLAMatrix - new matrix color filter operating in HSLA
104 space.
105 https://review.skia.org/231736
Brian Salomond4764a12019-08-08 12:08:24 -0400106
Hal Canary3b0e7f62019-08-20 14:52:02 -0400107 * Modify GrBackendFormat getters to not return internal pointers. Use an enum
108 class for GL formats.
109 https://review.skia.org/233160
Brian Salomonec22b1a2019-08-09 09:41:48 -0400110
Hal Canary2af5db72019-08-20 11:28:37 -0400111 * Expose GrContext::dump() when SK_ENABLE_DUMP_GPU is defined.
Hal Canary3b0e7f62019-08-20 14:52:02 -0400112 https://review.skia.org/233557
Sergey Ulanov2739fd22019-08-11 22:46:33 -0700113
Hal Canary3b0e7f62019-08-20 14:52:02 -0400114 * Vulkan backend now supports YCbCr sampler for I420 Vulkan images that are
115 not backed by external images.
116 https://review.skia.org/233776
Leon Scroggins III6154ac42019-08-14 11:29:29 -0400117
Hal Canary3b0e7f62019-08-20 14:52:02 -0400118 * Add SkCodec::SelectionPolicy for distinguishing between decoding a still
119 image or an image sequence for a container format that has both (e.g. HEIF).
120 https://review.skia.org/232839
Brian Osmand566e2e2019-08-14 13:19:04 -0400121
Hal Canary3b0e7f62019-08-20 14:52:02 -0400122 * SkImage::makeTextureImage and SkImage::MakeCrossContextFromPixmap no longer
123 take an SkColorSpace parameter. It was unused.
124 https://review.skia.org/234579
125 https://review.skia.org/234912
Brian Osmand5148372019-08-14 16:14:51 -0400126
Hal Canary3b0e7f62019-08-20 14:52:02 -0400127 * SkImage::reinterpretColorSpace - to reinterpret image contents in a new
128 color space.
129 https://review.skia.org/234328
Brian Osman4c3fd342019-08-15 12:13:53 -0400130
Hal Canary2af5db72019-08-20 11:28:37 -0400131 * Removed SkImage::MakeCrossContextFromEncoded.
Hal Canary3b0e7f62019-08-20 14:52:02 -0400132 https://review.skia.org/234912
Hal Canary2af5db72019-08-20 11:28:37 -0400133
Jim Van Verth066ceb12019-08-28 14:35:55 -0400134 * Add Metal support for GrFence, GrSemaphore, and GrBackendSemaphore
135 https://review.skia.org/233416
136
Hal Canary2af5db72019-08-20 11:28:37 -0400137 * SkMallocPixelRef: remove MakeDirect and MakeWithProc from API.
138 https://review.skia.org/234660
Mike Klein334a6422019-08-27 08:12:15 -0500139
Michael Ludwiga595f862019-08-27 15:25:49 -0400140 * Remove 4-parameter variant of SkRect::join() and intersect(), and
141 noemptycheck variants of intersect().
142 https://review.skia.org/235832
143 https://review.skia.org/237142
144
Mike Klein334a6422019-08-27 08:12:15 -0500145 * Remove unused sk_sp comparison operators.
146 https://review.skia.org/236942
Michael Ludwiga595f862019-08-27 15:25:49 -0400147
148 * Add SkColor4f variant to experimental_DrawEdgeAAQuad for SkiaRenderer.
149 https://review.skia.org/237492
Robert Phillipscf39f372019-09-03 10:29:20 -0400150
151 * Deprecated maxCount resource cache limit for Ganesh.
152 This hasn't been relevant for a long time.
153
Brian Osmana66081d2019-09-03 14:59:26 -0400154 * Changed GrContextOptions' fDisallowGLSLBinaryCaching to fShaderCacheStrategy,
155 and allow caching SkSL.
156 https://review.skia.org/238856
Chris Dalton38f0a492019-10-07 11:51:07 -0600157
158 * Use GL_QCOM_TILED_RENDERING to explicitly discard stencil
Heather Millercc13acb2019-10-22 15:45:45 -0400159
160 * Added RELEASE_NOTES.txt file
161 https://review.skia.org/229760