[PATCH 10/10] glamor: Add glamor_program based poly_text and image_text

Markus Wick markus at selfnet.de
Fri Mar 21 11:18:46 PDT 2014


Am 2014-03-21 00:43, schrieb Keith Packard:
>> more important to only get one mipmap level: max_level = 0
> I copied this code from elsewhere; do you have a substitute suggestion?

glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);
The other parameters are sampler parameters, max_level is a texture 
parameter and affects allocation.

>> Is a font always realized? I wonder as we reallize on font_get.
> "realized" just means that I've uploaded the glyph data to the GPU; 
> it's
> per-GPU, and hence per-screen to us. I delay until the first font_get 
> in
> case you've got multiple screens and use a font on only a subset.

So what will happen if a program only alloc and delete a font? As 
font_get wasn't called, we delete a not initialized font.


More information about the xorg-devel mailing list