Home
last modified time | relevance | path

Searched refs:glyphSet (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/external/xserver/render/
H A Dglyph.c282 AddGlyph(GlyphSetPtr glyphSet, GlyphPtr glyph, Glyph id) in AddGlyph() argument
287 CheckDuplicates(&globalGlyphs[glyphSet->fdepth], "AddGlyph top global"); in AddGlyph()
290 gr = FindGlyphRef(&globalGlyphs[glyphSet->fdepth], signature, in AddGlyph()
300 globalGlyphs[glyphSet->fdepth].tableEntries++; in AddGlyph()
304 gr = FindGlyphRef(&glyphSet->hash, id, FALSE, 0); in AddGlyph()
307 FreeGlyph(gr->glyph, glyphSet->fdepth); in AddGlyph()
309 glyphSet->hash.tableEntries++; in AddGlyph()
312 CheckDuplicates(&globalGlyphs[glyphSet->fdepth], "AddGlyph bottom"); in AddGlyph()
316 DeleteGlyph(GlyphSetPtr glyphSet, Glyph id) in DeleteGlyph() argument
321 gr = FindGlyphRef(&glyphSet->hash, id, FALSE, 0); in DeleteGlyph()
[all …]
H A Dglyphstr.h103 AddGlyph(GlyphSetPtr glyphSet, GlyphPtr glyph, Glyph id);
106 DeleteGlyph(GlyphSetPtr glyphSet, Glyph id);
108 extern GlyphPtr FindGlyph(GlyphSetPtr glyphSet, Glyph id);
113 ResizeGlyphSet(GlyphSetPtr glyphSet, CARD32 change);
H A Drender.c890 GlyphSetPtr glyphSet; in ProcRenderCreateGlyphSet() local
925 glyphSet = AllocateGlyphSet(f, format); in ProcRenderCreateGlyphSet()
926 if (!glyphSet) in ProcRenderCreateGlyphSet()
930 glyphSet, RT_NONE, NULL, DixCreateAccess); in ProcRenderCreateGlyphSet()
933 if (!AddResource(stuff->gsid, GlyphSetType, (void *) glyphSet)) in ProcRenderCreateGlyphSet()
941 GlyphSetPtr glyphSet; in ProcRenderReferenceGlyphSet() local
950 rc = dixLookupResourceByType((void **) &glyphSet, stuff->existing, in ProcRenderReferenceGlyphSet()
956 glyphSet->refcnt++; in ProcRenderReferenceGlyphSet()
957 if (!AddResource(stuff->gsid, GlyphSetType, (void *) glyphSet)) in ProcRenderReferenceGlyphSet()
968 GlyphSetPtr glyphSet; in ProcRenderFreeGlyphSet() local
[all …]
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxpict.c219 dmxBEFreeGlyphSet(ScreenPtr pScreen, GlyphSetPtr glyphSet) in dmxBEFreeGlyphSet() argument
221 dmxGlyphPrivPtr glyphPriv = DMX_GET_GLYPH_PRIV(glyphSet); in dmxBEFreeGlyphSet()
236 dmxBECreateGlyphSet(int idx, GlyphSetPtr glyphSet) in dmxBECreateGlyphSet() argument
240 dmxGlyphPrivPtr glyphPriv = DMX_GET_GLYPH_PRIV(glyphSet); in dmxBECreateGlyphSet()
241 PictFormatPtr pFmt = glyphSet->format; in dmxBECreateGlyphSet()
279 GlyphSetPtr glyphSet; in dmxProcRenderCreateGlyphSet() local
287 dixLookupResourceByType((void **) &glyphSet, in dmxProcRenderCreateGlyphSet()
296 DMX_SET_GLYPH_PRIV(glyphSet, glyphPriv); in dmxProcRenderCreateGlyphSet()
307 if ((beret = dmxBECreateGlyphSet(i, glyphSet)) != Success) { in dmxProcRenderCreateGlyphSet()
312 dmxBEFreeGlyphSet(screenInfo.screens[j], glyphSet); in dmxProcRenderCreateGlyphSet()
[all …]
H A Ddmxpict.h100 extern int dmxBECreateGlyphSet(int idx, GlyphSetPtr glyphSet);
101 extern Bool dmxBEFreeGlyphSet(ScreenPtr pScreen, GlyphSetPtr glyphSet);
H A Ddmxextension.c1150 GlyphSetPtr glyphSet = value; in dmxBERestoreRenderGlyph() local
1152 dmxGlyphPrivPtr glyphPriv = DMX_GET_GLYPH_PRIV(glyphSet); in dmxBERestoreRenderGlyph()
1170 if ((beret = dmxBECreateGlyphSet(scrnNum, glyphSet)) != Success) { in dmxBERestoreRenderGlyph()
1177 table = glyphSet->hash.table; in dmxBERestoreRenderGlyph()
1180 for (i = 0; i < glyphSet->hash.hashSet->size; i++) { in dmxBERestoreRenderGlyph()
1191 gids = xallocarray(glyphSet->hash.tableEntries, sizeof(Glyph)); in dmxBERestoreRenderGlyph()
1192 glyphs = xallocarray(glyphSet->hash.tableEntries, sizeof(XGlyphInfo)); in dmxBERestoreRenderGlyph()
1198 for (i = 0; i < glyphSet->hash.hashSet->size; i++) { in dmxBERestoreRenderGlyph()
1224 gids, glyphs, glyphSet->hash.tableEntries, images, in dmxBERestoreRenderGlyph()