mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
Export exaPrepare/FinishGC to the rest of EXA, and use it in the ImageGlyph
implementation to avoid unprepared access to the tile. Also, relocate
the fbGetDrawable to avoid using a stale dest pointer after
exaSolidBoxClipped() may have migrated it. Revealed by xtest.
This commit is contained in:
parent
c720ffe875
commit
5f95146fcf
4 changed files with 23 additions and 4 deletions
|
|
@ -36,7 +36,7 @@
|
|||
* Solid doesn't use an extra pixmap source, and Stippled/OpaqueStippled are
|
||||
* 1bpp and never in fb, so we don't worry about them.
|
||||
*/
|
||||
static void
|
||||
void
|
||||
exaPrepareAccessGC(GCPtr pGC)
|
||||
{
|
||||
if (pGC->fillStyle == FillTiled)
|
||||
|
|
@ -46,7 +46,7 @@ exaPrepareAccessGC(GCPtr pGC)
|
|||
/**
|
||||
* Finishes access to the tile in the GC, if used.
|
||||
*/
|
||||
static void
|
||||
void
|
||||
exaFinishAccessGC(GCPtr pGC)
|
||||
{
|
||||
if (pGC->fillStyle == FillTiled)
|
||||
|
|
|
|||
Loading…
Reference in a new issue