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