more work on compositing

SVN revision: 46043
This commit is contained in:
Carsten Haitzler 2010-02-10 13:36:06 +00:00
parent 22bcb163f2
commit 5c236def11
1 changed files with 3 additions and 3 deletions

View File

@ -1333,8 +1333,8 @@ eng_image_native_set(void *data, void *image, void *native)
n->visual = vis;
n->fbc = re->win->depth_cfg[depth].fbc;
im->native.yinvert = re->win->depth_cfg[depth].yinvert;
// im->native.loose = 1; // works well on nvidia - intel may not be happy i hear. for now.. lets make nv work 1. - because i have an nv card, 2. because it doesnt seem broken for texture-from-pixmap like fglrx has seemed, 3. its some of the best done drivers on linux
im->native.loose = 0;
im->native.loose = 1; // works well on nvidia - intel may not be happy i hear. for now.. lets make nv work 1. - because i have an nv card, 2. because it doesnt seem broken for texture-from-pixmap like fglrx has seemed, 3. its some of the best done drivers on linux
// im->native.loose = 0;
im->native.data = n;
im->native.func.data = re;
im->native.func.bind = _native_bind_cb;
@ -1342,7 +1342,7 @@ eng_image_native_set(void *data, void *image, void *native)
im->native.func.free = _native_free_cb;
n->glx_pixmap = glXCreatePixmap(re->win->disp, n->fbc,
n->pixmap, pixmap_att);
printf("new native texture for %x | %4ix%4i@%2ibpp = %p\n",
printf("new native texture for %x | %4i x %4i @ %2i = %p\n",
pm, w, h, depth, n->glx_pixmap);
if (!target)
{