Re: Eliminating pipe_texture->cpp and pipe_surface->cpp in gallium

2008-06-27 Thread José Fonseca
On Fri, Jun 27, 2008 at 9:37 PM, Jakob Bornecrantz <[EMAIL PROTECTED]> wrote: > On Fri, Jun 27, 2008 at 12:57 PM, José Fonseca > <[EMAIL PROTECTED]> wrote: >> In order to properly represent the compressed textures and (yuv formats >> to some extent) it is necessary to abandon the chars-per-pixels c

Re: Eliminating pipe_texture->cpp and pipe_surface->cpp in gallium

2008-06-27 Thread Jakob Bornecrantz
On Fri, Jun 27, 2008 at 12:57 PM, José Fonseca <[EMAIL PROTECTED]> wrote: > In order to properly represent the compressed textures and (yuv formats > to some extent) it is necessary to abandon the chars-per-pixels concept > in gallium, and use instead the concept of pixel blocks (in p_format.h): >

Eliminating pipe_texture->cpp and pipe_surface->cpp in gallium

2008-06-27 Thread José Fonseca
In order to properly represent the compressed textures and (yuv formats to some extent) it is necessary to abandon the chars-per-pixels concept in gallium, and use instead the concept of pixel blocks (in p_format.h): /** * Describe accurately the pixel format. * * The chars-per-pixel concept fa