示例#1
0
文件: fill.c 项目: AZed/cairo
void
fill (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
    cairo_perf_cover_sources_and_operators (perf, "fill", do_fill, NULL);
    cairo_perf_cover_sources_and_operators (perf, "fill-annuli", do_fill_annuli, NULL);
    cairo_perf_cover_sources_and_operators (perf, "fill-eo-noaa", do_fill_eo_noaa, NULL);
}
示例#2
0
文件: fill.c 项目: ghub/NVprSDK
void
fill (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
    if (! cairo_perf_can_run (perf, "fill", NULL))
	return;

    cairo_perf_cover_sources_and_operators (perf, "fill", do_fill);
    cairo_perf_cover_sources_and_operators (perf, "fill-annuli", do_fill_annuli);
    cairo_perf_cover_sources_and_operators (perf, "fill-eo-noaa", do_fill_eo_noaa);
}
示例#3
0
void
text (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
    if (! cairo_perf_can_run (perf, "text", NULL))
	return;

    cairo_perf_cover_sources_and_operators (perf, "text", do_text, NULL);
}
示例#4
0
文件: glyphs.c 项目: ghub/NVprSDK
void
glyphs (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
    if (! cairo_perf_can_run (perf, "glyphs", NULL))
	return;

    cairo_perf_cover_sources_and_operators (perf, "glyphs", do_glyphs);
}
void
paint_with_alpha (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
    if (! cairo_perf_can_run (perf, "paint-with-alpha", NULL))
	return;

    cairo_perf_cover_sources_and_operators (perf, "paint-with-alpha",
					    do_paint_with_alpha);
}
示例#6
0
文件: glyphs.c 项目: AZed/cairo
void
glyphs (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
    cairo_perf_cover_sources_and_operators (perf, "glyphs8mono", do_glyphs8mono, count_glyphs8mono);
    cairo_perf_cover_sources_and_operators (perf, "glyphs8", do_glyphs8, count_glyphs8);
    cairo_perf_cover_sources_and_operators (perf, "glyphs8ca", do_glyphs8ca, count_glyphs8ca);

    cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
    cairo_set_source_rgb (cr, 0, 0, 0);

    cairo_perf_run (perf, "glyphs8", do_glyphs8, count_glyphs8);
    cairo_perf_run (perf, "glyphs10", do_glyphs10, count_glyphs10);
    cairo_perf_run (perf, "glyphs12", do_glyphs12, count_glyphs12);
    cairo_perf_run (perf, "glyphs16", do_glyphs16, count_glyphs16);
    cairo_perf_run (perf, "glyphs20", do_glyphs20, count_glyphs20);
    cairo_perf_run (perf, "glyphs24", do_glyphs24, count_glyphs24);
    cairo_perf_run (perf, "glyphs32", do_glyphs32, count_glyphs32);
    cairo_perf_run (perf, "glyphs40", do_glyphs40, count_glyphs40);
    cairo_perf_run (perf, "glyphs48", do_glyphs48, count_glyphs48);

    cairo_perf_cover_sources_and_operators (perf, "glyphs48mono", do_glyphs48mono, count_glyphs48mono);
    cairo_perf_cover_sources_and_operators (perf, "glyphs48", do_glyphs48, count_glyphs48);
    cairo_perf_cover_sources_and_operators (perf, "glyphs48ca", do_glyphs48ca, count_glyphs48ca);
}
示例#7
0
文件: stroke.c 项目: csyuschmjuh/apl
void
stroke (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
    cairo_perf_cover_sources_and_operators (perf, "stroke", do_stroke, NULL);
    cairo_perf_cover_sources_and_operators (perf, "strokes", do_strokes, NULL);
}
示例#8
0
文件: text.c 项目: csyuschmjuh/apl
void
text (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
    cairo_perf_cover_sources_and_operators (perf, "text", do_text, NULL);
}
示例#9
0
文件: fill.c 项目: 3oyka/cairo2
void
fill (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
    cairo_perf_cover_sources_and_operators (perf, "fill", do_fill);
}
示例#10
0
void
hash_table (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
    cairo_perf_cover_sources_and_operators (perf, "hash-table",
					    do_hash_table, NULL);
}