Home
last modified time | relevance | path

Searched refs:scratch_gc (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_transform.c233 GCPtr scratch_gc; in glamor_get_stipple_pixmap() local
250 scratch_gc = GetScratchGC(8, screen); in glamor_get_stipple_pixmap()
251 if (!scratch_gc) in glamor_get_stipple_pixmap()
256 if (ChangeGC(NullClient, scratch_gc, in glamor_get_stipple_pixmap()
259 ValidateGC(&pixmap->drawable, scratch_gc); in glamor_get_stipple_pixmap()
261 (*scratch_gc->ops->CopyPlane)(&bitmap->drawable, in glamor_get_stipple_pixmap()
263 scratch_gc, in glamor_get_stipple_pixmap()
269 FreeScratchGC(scratch_gc); in glamor_get_stipple_pixmap()
277 FreeScratchGC(scratch_gc); in glamor_get_stipple_pixmap()
H A Dglamor_dash.c86 GCPtr scratch_gc; in glamor_get_dash_pixmap() local
99 scratch_gc = GetScratchGC(8, screen); in glamor_get_dash_pixmap()
100 if (!scratch_gc) in glamor_get_dash_pixmap()
110 (void) ChangeGC(NullClient, scratch_gc, in glamor_get_dash_pixmap()
112 ValidateGC(&pixmap->drawable, scratch_gc); in glamor_get_dash_pixmap()
117 scratch_gc->ops->PolyFillRect (&pixmap->drawable, scratch_gc, 1, &rect); in glamor_get_dash_pixmap()
121 FreeScratchGC(scratch_gc); in glamor_get_dash_pixmap()
H A Dglamor_composite_glyphs.c76 GCPtr scratch_gc; in glamor_copy_glyph() local
87 scratch_gc = GetScratchGC(upload_pixmap->drawable.depth, screen); in glamor_copy_glyph()
88 if (!scratch_gc) { in glamor_copy_glyph()
94 if (ChangeGC(NullClient, scratch_gc, in glamor_copy_glyph()
97 FreeScratchGC(scratch_gc); in glamor_copy_glyph()
100 ValidateGC(&upload_pixmap->drawable, scratch_gc); in glamor_copy_glyph()
102 (*scratch_gc->ops->CopyPlane)(glyph_draw, in glamor_copy_glyph()
104 scratch_gc, in glamor_copy_glyph()
H A Dglamor_egl.c284 GCPtr scratch_gc; in glamor_make_pixmap_exportable() local
363 scratch_gc = GetScratchGC(pixmap->drawable.depth, screen); in glamor_make_pixmap_exportable()
364 ValidateGC(&pixmap->drawable, scratch_gc); in glamor_make_pixmap_exportable()
366 scratch_gc->ops->CopyArea(&pixmap->drawable, &exported->drawable, in glamor_make_pixmap_exportable()
367 scratch_gc, in glamor_make_pixmap_exportable()
370 FreeScratchGC(scratch_gc); in glamor_make_pixmap_exportable()