Home
last modified time | relevance | path

Searched refs:SK_REQUIRES (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/src/core/
DSkScalerCache.h113 size_t commonFilterLoop(SkDrawableGlyphBuffer* drawables, Fn&& fn) SK_REQUIRES(fMu);
117 std::tuple<SkGlyph*, size_t> glyph(SkPackedGlyphID) SK_REQUIRES(fMu);
119 std::tuple<SkGlyphDigest, size_t> digest(SkPackedGlyphID) SK_REQUIRES(fMu);
122 SkGlyphDigest addGlyph(SkGlyph* glyph) SK_REQUIRES(fMu);
124 std::tuple<const void*, size_t> prepareImage(SkGlyph* glyph) SK_REQUIRES(fMu);
127 std::tuple<const SkPath*, size_t> preparePath(SkGlyph*) SK_REQUIRES(fMu);
138 const SkGlyph** results) SK_REQUIRES(fMu);
DSkStrikeCache.h195 sk_sp<SkStrike> internalFindStrikeOrNull(const SkDescriptor& desc) SK_REQUIRES(fLock);
199 std::unique_ptr<SkStrikePinner> = nullptr) SK_REQUIRES(fLock);
202 void internalRemoveStrike(SkStrike* strike) SK_REQUIRES(fLock);
203 void internalAttachToHead(sk_sp<SkStrike> strike) SK_REQUIRES(fLock);
208 size_t internalPurge(size_t minBytesNeeded = 0) SK_REQUIRES(fLock);
211 void validate() const SK_REQUIRES(fLock);
DSkScalerCache.cpp175 [&](size_t i, SkGlyphDigest digest, SkPoint pos) SK_REQUIRES(fMu) { in prepareForDrawingMasksCPU()
193 [&](size_t i, SkGlyphDigest digest, SkPoint pos) SK_REQUIRES(fMu) { in prepareForMaskDrawing()
208 [&](size_t i, SkGlyphDigest digest, SkPoint pos) SK_REQUIRES(fMu) { in prepareForSDFTDrawing()
224 [&](size_t i, SkGlyphDigest digest, SkPoint pos) SK_REQUIRES(fMu) { in prepareForPathDrawing()
/third_party/skia/src/gpu/
DGrThreadSafeCache.h294 void makeExistingEntryMRU(Entry*) SK_REQUIRES(fSpinLock);
295 Entry* makeNewEntryMRU(Entry*) SK_REQUIRES(fSpinLock);
297 Entry* getEntry(const GrUniqueKey&, const GrSurfaceProxyView&) SK_REQUIRES(fSpinLock);
298 Entry* getEntry(const GrUniqueKey&, sk_sp<VertexData>) SK_REQUIRES(fSpinLock);
300 void recycleEntry(Entry*) SK_REQUIRES(fSpinLock);
303 const GrUniqueKey&) SK_REQUIRES(fSpinLock);
306 const GrSurfaceProxyView&) SK_REQUIRES(fSpinLock);
309 const GrUniqueKey&) SK_REQUIRES(fSpinLock);
313 IsNewerBetter) SK_REQUIRES(fSpinLock);
/third_party/skia/src/gpu/text/
DGrTextBlobCache.h75 void internalPurgeStaleBlobs() SK_REQUIRES(fSpinLock);
77 sk_sp<GrTextBlob> internalAdd(sk_sp<GrTextBlob> blob) SK_REQUIRES(fSpinLock);
78 void internalRemove(GrTextBlob* blob) SK_REQUIRES(fSpinLock);
80 void internalCheckPurge(GrTextBlob* blob = nullptr) SK_REQUIRES(fSpinLock);
/third_party/skia/include/private/
DSkThreadAnnotations.h38 #define SK_REQUIRES(...) \ macro
/third_party/skia/src/pdf/
DSkPDFDocument.cpp237 SkWStream* SkPDFDocument::beginObject(SkPDFIndirectReference ref) SK_REQUIRES(fMutex) { in beginObject()
242 void SkPDFDocument::endObject() SK_REQUIRES(fMutex) { in endObject()