[Mesa-dev] gallium-userbuf branch (was: Re: [PATCH 3/9] st/mesa: make user index buffers optional)

Marek Olšák maraeo at gmail.com
Tue May 8 07:34:27 PDT 2012


Hi,

I'd like to merge this branch soon. Does friday May 11 sound good or
should I wait more?

Marek

On Mon, Apr 30, 2012 at 1:38 AM, Marek Olšák <maraeo at gmail.com> wrote:
> Hi,
>
> I pushed the branch in the main Mesa repository. r600g, softpipe and
> llvmpipe should work without regressions. I'll test r300g later.
>
> Summary:
> - st/mesa optionally uploads index and constant buffers
> - set_constant_buffer has been updated to support the BindBufferRange
> functionality (for UBOs)
> - a plain pointer to a user buffer has been added into
> pipe_vertex_buffer, pipe_index_buffer, and new pipe_constant_buffer,
> deprecating the user_buffer_create function; this results in a small
> speed-up in some CPU-bound apps.
> - all state trackers have been adapted not to use user_buffer_create
> (except for graw tests)
>
> FYI, these are the new commits which are follow-ups to the series sent
> to mesa-dev earlier:
> - st/mesa: remove more unnecessary code in draw_vbo
> - st/mesa: reorder code in draw_vbo
> - gallium: add void *user_buffer to pipe_constant_buffer
> - radeonsi: don't create temporary user buffer for r600_upload_const_buffer
> - gallium: remove pipe_resource::user_ptr
> - gallium/util: stop using user buffers in util_draw_texquad
> - st/xorg: fix compilation - wrong libkms include file
> - cso: cso_context should install u_vbuf by itself and not st/mesa
> - st/vega: use cso_draw_arrays
> - st/vega: don't use user_buffer_create
> - st/xa: don't use user_buffer_create
> - st/xorg: don't use user_buffer_create
>
> Feel free to review and test.
> Thank you.
>
> Marek
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list