Re: [Mesa-dev] RFC: remove ctx->Driver.TextureMemCpy() hook

2011-12-04 Thread Eric Anholt
On Fri, 02 Dec 2011 08:14:56 -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 ho

Re: [Mesa-dev] RFC: remove ctx->Driver.TextureMemCpy() hook

2011-12-02 Thread Keith Whitwell
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

[Mesa-dev] RFC: remove ctx->Driver.TextureMemCpy() hook

2011-12-02 Thread Brian Paul
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 n