blob: 02e64f889fc5d61db2927597183c5c7a7b676443 [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
Mike Reeda32654c2019-10-04 10:18:34 -04007 * SkTextBlob::Iter to discover the glyph indices and typefaces in each run
8 https://skia-review.googlesource.com/246296
9
Brian Osman172bb442019-09-06 10:16:02 -040010Milestone 79
11
Hal Canary9e514a12019-10-01 15:15:36 -040012[Insert new notes here.]
13
Brian Salomon9241a6d2019-10-03 13:26:54 -040014 * New versions of SkSurface async-rescale-and read APIs that allow client to extend
15 the lifetime of the result data. Old versions are deprecated.
16 https://review.skia.org/245457
17
Hal Canary9e514a12019-10-01 15:15:36 -040018 * Add SkColorInfo. It's dimensionless SkImageInfo.
19 https://review.skia.org/245261
20
21 * Added SkPixmap-based createBackendTexture method to GrContext. This allows clients to create
22 backend resources (initialized with texture data) that Skia/Ganesh doesn't know about/track.
23 https://review.skia.org/244676
24
25 * Add explicit src and dst colorspace parameters to SkColorFilter::filterColor4f()
26 https://review.skia.org/244882
27
28 * Remove Vulkan/Metal float32 RGBA texture support
29 https://review.skia.org/244881
30
31 * Add SkSurface::MakeFromCAMetalLayer
32 https://review.skia.org/242563
33
34 * Added kAlpha_F16_SkColorType, kRG_F16_SkColorType and kRGBA_16161616_SkColorType.
35 This is intended to help support HDR YUV uses case (e.g., P010 and P016). As such,
36 the addition is focused on allowing creation of SkPixmaps and SkImages and not
37 SkSurfaces (i.e., who wants to render to render to these?)
38 https://review.skia.org/241357
39
40 * Start to move nested SkPath types (e.g. Direction, Verb) up to root level in SkPathTypes.h
41 https://review.skia.org/241079
42
43 * Remove isRectContour and ksNestedFillRects from public
44 https://review.skia.org/241078
45
46 * Added kRG_88_SkColorType. This is intended to help support YUV uses case (e.g., NV12).
47 As such, the addition is focused on allowing creation of SkPixmaps and SkImages and not
48 SkSurfaces (i.e., who wants to render to RG?)
49 https://review.skia.org/239930
50 https://review.skia.org/235797
51
Brian Osman172bb442019-09-06 10:16:02 -040052 * Make the size of program/pipeline caches configurable via
53 GrContextOptions::fRuntimeProgramCacheSize
54 https://review.skia.org/239756
55
Hal Canary9e514a12019-10-01 15:15:36 -040056 * Added kAlpha_16_SkColorType and kRG_1616_SkColorType. This is intended to help support HDR YUV
57 uses case (e.g., P010 and P016). As such, the addition is focused on allowing creation of
58 SkPixmaps and SkImages and not SkSurfaces (i.e., who wants to render to render to these?)
59 https://review.skia.org/239930
60
61 * Add GrContext::precompileShader to allow up-front compilation of previously-cached shaders.
62 https://review.skia.org/239438
63
64* * *
65
Heather Miller118a4072019-07-25 11:33:30 -040066Milestone 78
67
Hal Canary2af5db72019-08-20 11:28:37 -040068 * Added RELEASE_NOTES.txt file
Hal Canary3b0e7f62019-08-20 14:52:02 -040069 https://review.skia.org/229760
Mike Reed9dc0b9e2019-07-29 17:52:48 -040070
Hal Canary2af5db72019-08-20 11:28:37 -040071 * SkDrawLooper is no longer supported in SkPaint or SkCanvas.
Hal Canary3b0e7f62019-08-20 14:52:02 -040072 https://review.skia.org/230579
73 https://review.skia.org/231736
Mike Reed9dc0b9e2019-07-29 17:52:48 -040074
Hal Canary3b0e7f62019-08-20 14:52:02 -040075 * SkPath::Iter::next() now ignores its consumDegenerates bools. Those will so
76 go away entirely
77 https://review.skia.org/235104
Mike Reedba7e9a62019-08-16 13:30:34 -040078
Hal Canary2af5db72019-08-20 11:28:37 -040079 * SkImage: new factories: DecodeToRaster, DecodeToTexture
Hal Canary3b0e7f62019-08-20 14:52:02 -040080 https://review.skia.org/234476
Mike Reeda5acbf92019-08-14 11:08:41 -040081
Hal Canary2af5db72019-08-20 11:28:37 -040082 * SkImageFilter API refactor started:
83 - Provide new factory API in include/effects/SkImageFilters
84 - Consolidated enum types to use SkTileMode and SkColorChannel
85 - Hide filter implementation classes
Hal Canary3b0e7f62019-08-20 14:52:02 -040086 - Hide previously public functions on SkImageFilter that were intended for
87 internal use only
88 https://review.skia.org/230198
89 https://review.skia.org/230876
90 https://review.skia.org/231256
Florin Malita48009492019-08-01 17:20:19 -040091
Hal Canary3b0e7f62019-08-20 14:52:02 -040092 * SkColorFilters::HSLAMatrix - new matrix color filter operating in HSLA
93 space.
94 https://review.skia.org/231736
Brian Salomond4764a12019-08-08 12:08:24 -040095
Hal Canary3b0e7f62019-08-20 14:52:02 -040096 * Modify GrBackendFormat getters to not return internal pointers. Use an enum
97 class for GL formats.
98 https://review.skia.org/233160
Brian Salomonec22b1a2019-08-09 09:41:48 -040099
Hal Canary2af5db72019-08-20 11:28:37 -0400100 * Expose GrContext::dump() when SK_ENABLE_DUMP_GPU is defined.
Hal Canary3b0e7f62019-08-20 14:52:02 -0400101 https://review.skia.org/233557
Sergey Ulanov2739fd22019-08-11 22:46:33 -0700102
Hal Canary3b0e7f62019-08-20 14:52:02 -0400103 * Vulkan backend now supports YCbCr sampler for I420 Vulkan images that are
104 not backed by external images.
105 https://review.skia.org/233776
Leon Scroggins III6154ac42019-08-14 11:29:29 -0400106
Hal Canary3b0e7f62019-08-20 14:52:02 -0400107 * Add SkCodec::SelectionPolicy for distinguishing between decoding a still
108 image or an image sequence for a container format that has both (e.g. HEIF).
109 https://review.skia.org/232839
Brian Osmand566e2e2019-08-14 13:19:04 -0400110
Hal Canary3b0e7f62019-08-20 14:52:02 -0400111 * SkImage::makeTextureImage and SkImage::MakeCrossContextFromPixmap no longer
112 take an SkColorSpace parameter. It was unused.
113 https://review.skia.org/234579
114 https://review.skia.org/234912
Brian Osmand5148372019-08-14 16:14:51 -0400115
Hal Canary3b0e7f62019-08-20 14:52:02 -0400116 * SkImage::reinterpretColorSpace - to reinterpret image contents in a new
117 color space.
118 https://review.skia.org/234328
Brian Osman4c3fd342019-08-15 12:13:53 -0400119
Hal Canary2af5db72019-08-20 11:28:37 -0400120 * Removed SkImage::MakeCrossContextFromEncoded.
Hal Canary3b0e7f62019-08-20 14:52:02 -0400121 https://review.skia.org/234912
Hal Canary2af5db72019-08-20 11:28:37 -0400122
Jim Van Verth066ceb12019-08-28 14:35:55 -0400123 * Add Metal support for GrFence, GrSemaphore, and GrBackendSemaphore
124 https://review.skia.org/233416
125
Hal Canary2af5db72019-08-20 11:28:37 -0400126 * SkMallocPixelRef: remove MakeDirect and MakeWithProc from API.
127 https://review.skia.org/234660
Mike Klein334a6422019-08-27 08:12:15 -0500128
Michael Ludwiga595f862019-08-27 15:25:49 -0400129 * Remove 4-parameter variant of SkRect::join() and intersect(), and
130 noemptycheck variants of intersect().
131 https://review.skia.org/235832
132 https://review.skia.org/237142
133
Mike Klein334a6422019-08-27 08:12:15 -0500134 * Remove unused sk_sp comparison operators.
135 https://review.skia.org/236942
Michael Ludwiga595f862019-08-27 15:25:49 -0400136
137 * Add SkColor4f variant to experimental_DrawEdgeAAQuad for SkiaRenderer.
138 https://review.skia.org/237492
Robert Phillipscf39f372019-09-03 10:29:20 -0400139
140 * Deprecated maxCount resource cache limit for Ganesh.
141 This hasn't been relevant for a long time.
142
Brian Osmana66081d2019-09-03 14:59:26 -0400143 * Changed GrContextOptions' fDisallowGLSLBinaryCaching to fShaderCacheStrategy,
144 and allow caching SkSL.
145 https://review.skia.org/238856
Chris Dalton38f0a492019-10-07 11:51:07 -0600146
147 * Use GL_QCOM_TILED_RENDERING to explicitly discard stencil