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.
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to