Searched refs:mAnyFunctor (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/pipeline/skia/ |
D | FunctorDrawable.h | 41 , mAnyFunctor(std::in_place_type<LegacyFunctor>, functor, listener) {} in FunctorDrawable() 45 , mAnyFunctor(std::in_place_type<NewFunctor>, functor) {} in FunctorDrawable() 50 if (mAnyFunctor.index() == 0) { in syncFunctor() 51 std::get<0>(mAnyFunctor).handle->sync(data); in syncFunctor() 53 (*(std::get<1>(mAnyFunctor).functor))(DrawGlInfo::kModeSync, nullptr); in syncFunctor() 76 std::variant<NewFunctor, LegacyFunctor> mAnyFunctor; variable
|
D | VkInteropFunctorDrawable.cpp | 154 if (mAnyFunctor.index() == 0) { in onDraw() 155 std::get<0>(mAnyFunctor).handle->drawGl(info); in onDraw() 157 (*(std::get<1>(mAnyFunctor).functor))(DrawGlInfo::kModeDraw, &info); in onDraw() 190 if (auto lp = std::get_if<LegacyFunctor>(&mAnyFunctor)) { in ~VkInteropFunctorDrawable()
|
D | GLFunctorDrawable.cpp | 35 if (auto lp = std::get_if<LegacyFunctor>(&mAnyFunctor)) { in ~GLFunctorDrawable() 197 if (mAnyFunctor.index() == 0) { in onDraw() 198 std::get<0>(mAnyFunctor).handle->drawGl(info); in onDraw() 200 (*(std::get<1>(mAnyFunctor).functor))(DrawGlInfo::kModeDraw, &info); in onDraw()
|
D | VkFunctorDrawable.cpp | 123 if (mAnyFunctor.index() == 0) { in onSnapGpuDrawHandler() 124 return std::make_unique<VkFunctorDrawHandler>(std::get<0>(mAnyFunctor).handle, matrix, clip, in onSnapGpuDrawHandler()
|