Home
last modified time | relevance | path

Searched refs:SkMessageBus (Results 1 – 25 of 35) sorted by relevance

12

/external/skqp/include/private/
DSkMessageBus.h27 class SkMessageBus : SkNoncopyable {
48 friend class SkMessageBus; variable
53 SkMessageBus();
54 static SkMessageBus* Get();
64 SkMessageBus<Message>* SkMessageBus<Message>::Get() { \
66 static SkMessageBus<Message>* bus; \
67 once([] { bus = new SkMessageBus<Message>(); }); \
74 SkMessageBus<Message>::Inbox::Inbox(uint32_t uniqueID) : fUniqueID(uniqueID) { in Inbox()
76 SkMessageBus<Message>* bus = SkMessageBus<Message>::Get(); in Inbox()
82 SkMessageBus<Message>::Inbox::~Inbox() { in ~Inbox()
[all …]
/external/skia/src/core/
DSkMessageBus.h30 class SkMessageBus : SkNoncopyable {
60 friend class SkMessageBus;
65 SkMessageBus();
66 static SkMessageBus* Get();
76 SkMessageBus<Message, IDType, AllowCopyableMessage>* \
77 SkMessageBus<Message, IDType, AllowCopyableMessage>::Get() { \
79 static SkMessageBus<Message, IDType, AllowCopyableMessage>* bus; \
80 once([] { bus = new SkMessageBus<Message, IDType, AllowCopyableMessage>(); }); \
87 SkMessageBus<Message, IDType, AllowCopyableMessage>::Inbox::Inbox(IDType uniqueID)
90 auto* bus = SkMessageBus<Message, IDType, AllowCopyableMessage>::Get();
[all …]
DSkPromiseImageTexture.cpp23 SkMessageBus<GrUniqueKeyInvalidatedMessage, uint32_t>::Post(msg); in ~SkPromiseImageTexture()
DSkResourceCache.h274 SkMessageBus<PurgeSharedIDMessage, uint32_t>::Inbox fPurgeSharedIDInbox;
/external/skqp/tests/
DMessageBusTest.cpp29 SkMessageBus<TestMessage>::Inbox inbox1, inbox2; in DEF_TEST()
34 SkMessageBus<TestMessage>::Post(m1); in DEF_TEST()
35 SkMessageBus<TestMessage>::Post(m2); in DEF_TEST()
46 SkMessageBus<TestMessage>::Post(m3); in DEF_TEST()
82 SkMessageBus<AddressedMessage>::Inbox inbox1(1), inbox2(2); in DEF_TEST()
84 SkMessageBus<AddressedMessage>::Post({0}); // Should go to both in DEF_TEST()
85 SkMessageBus<AddressedMessage>::Post({1}); // Should go to inbox1 in DEF_TEST()
86 SkMessageBus<AddressedMessage>::Post({2}); // Should go to inbox2 in DEF_TEST()
87 SkMessageBus<AddressedMessage>::Post({3}); // Should go nowhere in DEF_TEST()
DTextureProxyTest.cpp207 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post(msg); in basic_test()
280 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post( in invalidation_and_instantiation_test()
/external/skia/tests/
DMessageBusTest.cpp30 using TestMessageBus = SkMessageBus<TestMessage, uint32_t>; in DECLARE_SKMESSAGEBUS_MESSAGE()
85 using TestMessageBus = SkMessageBus<sk_sp<TestMessageRefCnt>, uint32_t, false>; in DECLARE_SKMESSAGEBUS_MESSAGE()
141 using AddressedMessageBus = SkMessageBus<AddressedMessage, ID>; in DECLARE_SKMESSAGEBUS_MESSAGE()
DTextureProxyTest.cpp206 SkMessageBus<GrUniqueKeyInvalidatedMessage, uint32_t>::Post(msg); in basic_test()
306 SkMessageBus<GrUniqueKeyInvalidatedMessage, uint32_t>::Post( in invalidation_and_instantiation_test()
/external/skqp/src/core/
DSkPromiseImageTexture.cpp23 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post(msg); in ~SkPromiseImageTexture()
DSkResourceCache.h273 SkMessageBus<PurgeSharedIDMessage>::Inbox fPurgeSharedIDInbox;
DSkResourceCache.cpp536 SkMessageBus<PurgeSharedIDMessage>::Post(PurgeSharedIDMessage(sharedID)); in PostPurgeSharedID()
/external/skia/src/gpu/
DGrClientMappedBufferManager.h44 using BufferFinishedMessageBus = SkMessageBus<BufferFinishedMessage,
DGrResourceCache.h338 using TextureFreedMessageBus = SkMessageBus<GrTextureFreedMessage,
341 typedef SkMessageBus<GrUniqueKeyInvalidatedMessage, uint32_t>::Inbox InvalidUniqueKeyInbox;
DGrBackendTextureImageGenerator.cpp41 SkMessageBus<GrTextureFreedMessage, GrDirectContext::DirectContextID>::Post(msg); in ~RefHelper()
/external/skqp/src/gpu/
DGrResourceCache.h313 typedef SkMessageBus<GrUniqueKeyInvalidatedMessage>::Inbox InvalidUniqueKeyInbox;
314 typedef SkMessageBus<GrGpuResourceFreedMessage>::Inbox FreedGpuResourceInbox;
DGrBackendTextureImageGenerator.cpp31 SkMessageBus<GrGpuResourceFreedMessage>::Post(msg); in ~RefHelper()
DGrSoftwarePathRenderer.cpp231 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post(fMsg); in onChange()
/external/skqp/src/gpu/ccpr/
DGrCCPathCache.cpp90 SkMessageBus<sk_sp<Key>>::Post(sk_ref_sp(this)); in onChange()
108 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post( in ~GrCCPathCache()
112 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post( in ~GrCCPathCache()
DGrCCPathCache.h171 SkMessageBus<sk_sp<Key>>::Inbox fInvalidatedKeysInbox;
/external/skqp/src/gpu/text/
DGrTextBlobCache.cpp38 SkMessageBus<PurgeBlobMessage>::Post(PurgeBlobMessage(blobID, cacheID)); in PostPurgeBlobMessage()
DGrTextBlobCache.h184 SkMessageBus<PurgeBlobMessage>::Inbox fPurgeBlobInbox;
/external/skia/src/gpu/text/
DGrTextBlobCache.h92 SkMessageBus<PurgeBlobMessage, uint32_t>::Inbox fPurgeBlobInbox SK_GUARDED_BY(fSpinLock);
DGrTextBlobCache.cpp78 SkMessageBus<PurgeBlobMessage, uint32_t>::Post(PurgeBlobMessage(blobID, cacheID)); in PostPurgeBlobMessage()
/external/skia/src/image/
DSkImage_GpuBase.cpp261 SkMessageBus<GrTextureFreedMessage, GrDirectContext::DirectContextID>::Post(msg); in MakePromiseImageLazyProxy()
/external/skqp/src/gpu/ops/
DGrTessellatingPathRenderer.cpp52 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post(fMsg); in onChange()

12