cb55010652
This reverts commit6fc04f88a8
. Reason for revert: Chrome roll failure suspect because of: * https://chromium-review.googlesource.com/c/chromium/src/+/1837131 (22 commits) * https://chromium-review.googlesource.com/c/chromium/src/+/1837214 (24 commits) Original change's description: > Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime" > > This is a reland ofce240cc6fd
> > Original change's description: > > SkSurface asynchronous read APIs allow client to extend pixel lifetime > > > > Previously the pixel data passed to the client was only valid during > > the client's callback. This meant if the client wanted to defer > > processing of the data a copy was necessary. > > > > Now we pass an object to the callback and the pixel lifetime is tied > > to the lifetime of that object. > > > > The object may be holding a GPU transfer buffer mapped. We don't assume > > that the object will be released on the direct GrContext thread. So > > when the object is destroyed it posts a message to a new type, > > GrClientMappedBufferManager, hanging off the direct context. The direct > > context will periodically check for messages and unmap and then unref > > buffers so that they can be reused. Currently this is done in > > GrContext::performDeferredCleanup() and GrDrawingManager::flush(). > > > > The old API is kept around for backwards compatibility but it is > > reimplemented as a bridge on top of the new mechanism. > > > > Also a utility function to SkImageInfo is added to directly make a new > > info with a specified dimensions rather than passing the width and > > height separately to makeWH(). > > > > Bug: chromium:973403 > > Bug: skia:8962 > > > > Change-Id: Id5cf04235376170142a48e90d3ecd13fd021a2a6 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245457 > > Reviewed-by: Brian Osman <brianosman@google.com> > > Commit-Queue: Brian Salomon <bsalomon@google.com> > > Bug: chromium:973403, skia:8962 > Change-Id: I5cecd36276c8b6dc942cf549c7095db2df88530c > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245678 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Brian Salomon <bsalomon@google.com> TBR=bsalomon@google.com,brianosman@google.com Change-Id: I9e01d1b82fb399b94292441d91da51176bb161d9 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: chromium:973403, skia:8962 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245956 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com>
139 lines
5.0 KiB
Plaintext
139 lines
5.0 KiB
Plaintext
Skia Graphics Release Notes
|
|
|
|
This file includes a list of high level updates for each milestone release.
|
|
|
|
* * *
|
|
|
|
Milestone 79
|
|
|
|
[Insert new notes here.]
|
|
|
|
* Add SkColorInfo. It's dimensionless SkImageInfo.
|
|
https://review.skia.org/245261
|
|
|
|
* Added SkPixmap-based createBackendTexture method to GrContext. This allows clients to create
|
|
backend resources (initialized with texture data) that Skia/Ganesh doesn't know about/track.
|
|
https://review.skia.org/244676
|
|
|
|
* Add explicit src and dst colorspace parameters to SkColorFilter::filterColor4f()
|
|
https://review.skia.org/244882
|
|
|
|
* Remove Vulkan/Metal float32 RGBA texture support
|
|
https://review.skia.org/244881
|
|
|
|
* Add SkSurface::MakeFromCAMetalLayer
|
|
https://review.skia.org/242563
|
|
|
|
* Added kAlpha_F16_SkColorType, kRG_F16_SkColorType and kRGBA_16161616_SkColorType.
|
|
This is intended to help support HDR YUV uses case (e.g., P010 and P016). As such,
|
|
the addition is focused on allowing creation of SkPixmaps and SkImages and not
|
|
SkSurfaces (i.e., who wants to render to render to these?)
|
|
https://review.skia.org/241357
|
|
|
|
* Start to move nested SkPath types (e.g. Direction, Verb) up to root level in SkPathTypes.h
|
|
https://review.skia.org/241079
|
|
|
|
* Remove isRectContour and ksNestedFillRects from public
|
|
https://review.skia.org/241078
|
|
|
|
* Added kRG_88_SkColorType. This is intended to help support YUV uses case (e.g., NV12).
|
|
As such, the addition is focused on allowing creation of SkPixmaps and SkImages and not
|
|
SkSurfaces (i.e., who wants to render to RG?)
|
|
https://review.skia.org/239930
|
|
https://review.skia.org/235797
|
|
|
|
* Make the size of program/pipeline caches configurable via
|
|
GrContextOptions::fRuntimeProgramCacheSize
|
|
https://review.skia.org/239756
|
|
|
|
* Added kAlpha_16_SkColorType and kRG_1616_SkColorType. This is intended to help support HDR YUV
|
|
uses case (e.g., P010 and P016). As such, the addition is focused on allowing creation of
|
|
SkPixmaps and SkImages and not SkSurfaces (i.e., who wants to render to render to these?)
|
|
https://review.skia.org/239930
|
|
|
|
* Add GrContext::precompileShader to allow up-front compilation of previously-cached shaders.
|
|
https://review.skia.org/239438
|
|
|
|
* * *
|
|
|
|
Milestone 78
|
|
|
|
* Added RELEASE_NOTES.txt file
|
|
https://review.skia.org/229760
|
|
|
|
* SkDrawLooper is no longer supported in SkPaint or SkCanvas.
|
|
https://review.skia.org/230579
|
|
https://review.skia.org/231736
|
|
|
|
* SkPath::Iter::next() now ignores its consumDegenerates bools. Those will so
|
|
go away entirely
|
|
https://review.skia.org/235104
|
|
|
|
* SkImage: new factories: DecodeToRaster, DecodeToTexture
|
|
https://review.skia.org/234476
|
|
|
|
* SkImageFilter API refactor started:
|
|
- Provide new factory API in include/effects/SkImageFilters
|
|
- Consolidated enum types to use SkTileMode and SkColorChannel
|
|
- Hide filter implementation classes
|
|
- Hide previously public functions on SkImageFilter that were intended for
|
|
internal use only
|
|
https://review.skia.org/230198
|
|
https://review.skia.org/230876
|
|
https://review.skia.org/231256
|
|
|
|
* SkColorFilters::HSLAMatrix - new matrix color filter operating in HSLA
|
|
space.
|
|
https://review.skia.org/231736
|
|
|
|
* Modify GrBackendFormat getters to not return internal pointers. Use an enum
|
|
class for GL formats.
|
|
https://review.skia.org/233160
|
|
|
|
* Expose GrContext::dump() when SK_ENABLE_DUMP_GPU is defined.
|
|
https://review.skia.org/233557
|
|
|
|
* Vulkan backend now supports YCbCr sampler for I420 Vulkan images that are
|
|
not backed by external images.
|
|
https://review.skia.org/233776
|
|
|
|
* Add SkCodec::SelectionPolicy for distinguishing between decoding a still
|
|
image or an image sequence for a container format that has both (e.g. HEIF).
|
|
https://review.skia.org/232839
|
|
|
|
* SkImage::makeTextureImage and SkImage::MakeCrossContextFromPixmap no longer
|
|
take an SkColorSpace parameter. It was unused.
|
|
https://review.skia.org/234579
|
|
https://review.skia.org/234912
|
|
|
|
* SkImage::reinterpretColorSpace - to reinterpret image contents in a new
|
|
color space.
|
|
https://review.skia.org/234328
|
|
|
|
* Removed SkImage::MakeCrossContextFromEncoded.
|
|
https://review.skia.org/234912
|
|
|
|
* Add Metal support for GrFence, GrSemaphore, and GrBackendSemaphore
|
|
https://review.skia.org/233416
|
|
|
|
* SkMallocPixelRef: remove MakeDirect and MakeWithProc from API.
|
|
https://review.skia.org/234660
|
|
|
|
* Remove 4-parameter variant of SkRect::join() and intersect(), and
|
|
noemptycheck variants of intersect().
|
|
https://review.skia.org/235832
|
|
https://review.skia.org/237142
|
|
|
|
* Remove unused sk_sp comparison operators.
|
|
https://review.skia.org/236942
|
|
|
|
* Add SkColor4f variant to experimental_DrawEdgeAAQuad for SkiaRenderer.
|
|
https://review.skia.org/237492
|
|
|
|
* Deprecated maxCount resource cache limit for Ganesh.
|
|
This hasn't been relevant for a long time.
|
|
|
|
* Changed GrContextOptions' fDisallowGLSLBinaryCaching to fShaderCacheStrategy,
|
|
and allow caching SkSL.
|
|
https://review.skia.org/238856
|