Name Description Size
base
chromium
gpu
SkColorData.h See ITU-R Recommendation BT.709 at http://www.itu.int/rec/R-REC-BT.709/ . 13747
SkEncodedInfo.h We strive to make the number of components per pixel obvious through our naming conventions. Ex: kRGB has 3 components. kRGBA has 4 components. This sometimes results in redundant Alpha and Color information. Ex: kRGB images must also be kOpaque. 9250
SkExif.h Parse the metadata specified in |data|. 2980
SkGainmapInfo.h Parameters for converting the gainmap from its image encoding to log space. These are specified per color channel. The alpha value is unused. 4234
SkGainmapShader.h A gainmap shader will apply a gainmap to an base image using the math described alongside the definition of SkGainmapInfo. 2009
SkIDChangeListener.h Used to be notified when a gen/unique ID is invalidated, typically to preemptively purge associated items from a cache that are no longer reachable. The listener can be marked for deregistration if the cached item is remove before the listener is triggered. This prevents unbounded listener growth when cache items are routinely removed before the gen ID/unique ID is invalidated. 2344
SkJpegGainmapEncoder.h Encode an UltraHDR image to |dst|. The base image is specified by |base|, and |baseOptions| controls the encoding behavior for the base image. The gainmap image is specified by |gainmap|, and |gainmapOptions| controls the encoding behavior for the gainmap image. The rendering behavior of the gainmap image is provided in |gainmapInfo|. If |baseOptions| or |gainmapOptions| specify XMP metadata, then that metadata will be overwritten. Returns true on success. Returns false on an invalid or unsupported |src|. 1559
SkJpegMetadataDecoder.h An interface that can be used to extract metadata from an encoded JPEG file. 2688
SkPathRef.h Holds the path verbs and points. It is versioned by a generation ID. None of its public methods modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an SkPathRef::Editor object. Installing the editor resets the generation ID. It also performs copy-on-write if the SkPathRef is shared by multiple SkPaths. The caller passes the Editor's constructor a pointer to a sk_sp<SkPathRef>, which may be updated to point to a new SkPathRef after the editor's constructor returns. The points and verbs are stored in a single allocation. The points are at the begining of the allocation while the verbs are stored at end of the allocation, in reverse order. Thus the points and verbs both grow into the middle of the allocation until the meet. To access verb i in the verb array use ref.verbs()[~i] (because verbs() returns a pointer just beyond the first logical verb or the last verb in memory). 19627
SkSLSampleUsage.h Represents all of the ways that a fragment processor is sampled by its parent. 2586
SkWeakRefCnt.h \class SkWeakRefCnt SkWeakRefCnt is the base class for objects that may be shared by multiple objects. When an existing strong owner wants to share a reference, it calls ref(). When a strong owner wants to release its reference, it calls unref(). When the shared object's strong reference count goes to zero as the result of an unref() call, its (virtual) weak_dispose method is called. It is an error for the destructor to be called explicitly (or via the object going out of scope on the stack or calling delete) if getRefCnt() > 1. In addition to strong ownership, an owner may instead obtain a weak reference by calling weak_ref(). A call to weak_ref() must be balanced by a call to weak_unref(). To obtain a strong reference from a weak reference, call try_ref(). If try_ref() returns true, the owner's pointer is now also a strong reference on which unref() must be called. Note that this does not affect the original weak reference, weak_unref() must still be called. When the weak reference count goes to zero, the object is deleted. While the weak reference count is positive and the strong reference count is zero the object still exists, but will be in the disposed state. It is up to the object to define what this means. Note that a strong reference implicitly implies a weak reference. As a result, it is allowable for the owner of a strong ref to call try_ref(). This will have the same effect as calling ref(), but may be more expensive. Example: SkWeakRefCnt myRef = strongRef.weak_ref(); ... // strongRef.unref() may or may not be called if (myRef.try_ref()) { ... // use myRef myRef.unref(); } else { // myRef is in the disposed state } myRef.weak_unref(); 6384
SkXmp.h An interface to extract information from XMP metadata. 1693