Esempio n. 1
0
static void set_random_xpf(GrPipelineBuilder* pipelineBuilder, GrProcessorTestData* d) {
    SkAutoTUnref<const GrXPFactory> xpf(GrProcessorTestFactory<GrXPFactory>::Create(d));
    SkASSERT(xpf);
    pipelineBuilder->setXPFactory(xpf.get());
}
Esempio n. 2
0
static void set_random_xpf(GrPaint* paint, GrProcessorTestData* d) {
    sk_sp<GrXPFactory> xpf(GrProcessorTestFactory<GrXPFactory>::Make(d));
    SkASSERT(xpf);
    paint->setXPFactory(std::move(xpf));
}
Esempio n. 3
0
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");
}