static void set_random_xpf(GrPipelineBuilder* pipelineBuilder, GrProcessorTestData* d) { SkAutoTUnref<const GrXPFactory> xpf(GrProcessorTestFactory<GrXPFactory>::Create(d)); SkASSERT(xpf); pipelineBuilder->setXPFactory(xpf.get()); }
static void set_random_xpf(GrPaint* paint, GrProcessorTestData* d) { sk_sp<GrXPFactory> xpf(GrProcessorTestFactory<GrXPFactory>::Make(d)); SkASSERT(xpf); paint->setXPFactory(std::move(xpf)); }
static void xtp_config_dialog_hide(GtkWidget *dlg, XfceTextPluginData *xtpd) { xpf("xtp_config_dialog_hide( %p , %p )", dlg, xtpd); xfce_panel_plugin_unblock_menu(xtpd->plugin); xpf(" done\n"); }