Home
last modified time | relevance | path

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

12

/external/skia/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/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/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.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/skqp/src/core/
DSkPromiseImageTexture.cpp23 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post(msg); in ~SkPromiseImageTexture()
DSkResourceCache.h273 SkMessageBus<PurgeSharedIDMessage>::Inbox fPurgeSharedIDInbox;
/external/skia/src/core/
DSkPromiseImageTexture.cpp23 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post(msg); in ~SkPromiseImageTexture()
DSkResourceCache.h273 SkMessageBus<PurgeSharedIDMessage>::Inbox fPurgeSharedIDInbox;
/external/skia/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/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/
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/skia/src/gpu/
DGrResourceCache.h336 typedef SkMessageBus<GrUniqueKeyInvalidatedMessage>::Inbox InvalidUniqueKeyInbox;
337 typedef SkMessageBus<GrGpuResourceFreedMessage>::Inbox FreedGpuResourceInbox;
DGrBackendTextureImageGenerator.cpp33 SkMessageBus<GrGpuResourceFreedMessage>::Post(msg); in ~RefHelper()
DGrSoftwarePathRenderer.cpp234 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post(fMsg); in onChange()
/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.cpp38 SkMessageBus<PurgeBlobMessage>::Post(PurgeBlobMessage(blobID, cacheID)); in PostPurgeBlobMessage()
DGrTextBlobCache.h188 SkMessageBus<PurgeBlobMessage>::Inbox fPurgeBlobInbox;
/external/skqp/src/gpu/ops/
DGrTessellatingPathRenderer.cpp52 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post(fMsg); in onChange()

12