Re: [Mesa-dev] [PATCH 1/3] vbo: implement uploading of current attribs

2012-10-29 Thread Marek Olšák
On Mon, Oct 29, 2012 at 10:55 PM, Eric Anholt wrote: > Marek Olšák writes: > >> The driver chooses which attrib should be uploaded by calling >> vbo_get_current_attrib_buffer. >> >> The reason for this is we can track which current attribs are dirty and skip >> uploading accordingly. Before, we h

Re: [Mesa-dev] [PATCH 1/3] vbo: implement uploading of current attribs

2012-10-29 Thread Eric Anholt
Marek Olšák writes: > The driver chooses which attrib should be uploaded by calling > vbo_get_current_attrib_buffer. > > The reason for this is we can track which current attribs are dirty and skip > uploading accordingly. Before, we had to upload the attribs every draw call, > which wasn't very

Re: [Mesa-dev] [PATCH 1/3] vbo: implement uploading of current attribs

2012-10-29 Thread Brian Paul
On 10/28/2012 09:18 PM, Marek Olšák wrote: The driver chooses which attrib should be uploaded by calling vbo_get_current_attrib_buffer. The reason for this is we can track which current attribs are dirty and skip uploading accordingly. Before, we had to upload the attribs every draw call, which

[Mesa-dev] [PATCH 1/3] vbo: implement uploading of current attribs

2012-10-28 Thread Marek Olšák
The driver chooses which attrib should be uploaded by calling vbo_get_current_attrib_buffer. The reason for this is we can track which current attribs are dirty and skip uploading accordingly. Before, we had to upload the attribs every draw call, which wasn't very effective. Stats for a whole run