Searched refs:TestMessageRefCnt (Results 1 – 1 of 1) sorted by relevance
/external/skia/tests/ |
D | MessageBusTest.cpp | 74 struct TestMessageRefCnt : public SkRefCnt { struct 75 TestMessageRefCnt(int i, float f) : x(i), y(f) {} in TestMessageRefCnt() function 81 static inline bool SkShouldPostMessageToBus(const sk_sp<TestMessageRefCnt>&, uint32_t) { in SkShouldPostMessageToBus() argument 87 DECLARE_SKMESSAGEBUS_MESSAGE(sk_sp<TestMessageRefCnt>, uint32_t, false) in DECLARE_SKMESSAGEBUS_MESSAGE() argument 91 using TestMessageBus = SkMessageBus<sk_sp<TestMessageRefCnt>, uint32_t, false>; in DECLARE_SKMESSAGEBUS_MESSAGE() 95 auto m1 = sk_make_sp<TestMessageRefCnt>(5, 4.2f); in DECLARE_SKMESSAGEBUS_MESSAGE() 96 auto m2 = sk_make_sp<TestMessageRefCnt>(6, 4.3f); in DECLARE_SKMESSAGEBUS_MESSAGE() 101 SkTArray<sk_sp<TestMessageRefCnt>> messages; in DECLARE_SKMESSAGEBUS_MESSAGE() 110 auto m3 = sk_make_sp<TestMessageRefCnt>(1, 0.3f); in DECLARE_SKMESSAGEBUS_MESSAGE()
|