On Fri, 2011-12-02 at 08:14 -0700, Brian Paul wrote: > This hook was added many years ago to allow using an alternative > implementation of memcpy() for glTexImage() that was faster under some > circumstances. > > The code is still present in the state tracker in st_cb_texture.c > > The hook is only used in texstore.c in the memcpy_texture() helper. > It's not used for glCompressedTex[Sub]Image nor a few other places > where it could have been used. > > The non-gallium drivers just set ctx->Driver.TextureMemCpy = memcpy so > it's really not utilized there. > > If we think that using regular memcpy() everywhere is OK, I'd like to > remove this hook. I haven't done any investigation into whether the > assembly __memcpy() function in st_cb_teximage.c is really any faster > nowadays. But if there really is a benefit to this function, we could > use it in more places. > > Any comments?
That was a very long time ago. I'd be surprised if the problem persists. Keith _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev