<p dir="ltr"><br>
On Jan 8, 2016 7:01 PM, "Ian Romanick" <<a href="mailto:idr@freedesktop.org">idr@freedesktop.org</a>> wrote:<br>
><br>
> From: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>><br>
><br>
> This is the second of several series to stop using client APIs in meta.<br>
> The first series removed the use of buffer object client APIs, and it<br>
> landed last year. Most of the work was done last year, but I didn't<br>
> start send patches until I had test cases. The tests are out on the<br>
> piglit list, and they should land soon.<br>
><br>
> This series is actually a little bit of a fib. I had thought that<br>
> user-generated names were valid for sampler objects, but Emil pointed<br>
> out that they are not... but that was a few weeks after I wrote this<br>
> code. Either way, I think this makes the code better, and I'm not very<br>
> excited about rebasing it out of the larger series.</p>
<p dir="ltr">Right. In any case, it should save us CPU cycles on API validation. Probably not really needed for stable, but it also shouldn't hurt anything and, if its a pain to pull out of the series, probably best to pull it into stable with the rest.</p>
<p dir="ltr">I had a couple of minor comments. Do with them as you will. Series is</p>
<p dir="ltr">Reviewed-by: Jason Ekstrand<<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>></p>
<p dir="ltr">> There are 25 patches after this, and there are still probably 40 more<br>
> left to write.<br>
><br>
> I intend fo all but the last two in this series to end up on at least<br>
> the 11.1 branch. Once everything is done, I plan to put together a<br>
> single branch with all the fixes for Emil to pull to stable.<br>
><br>
> Ian Romanick (18):<br>
> mesa: Add _mesa_set_sampler_wrap method<br>
> mesa: Add _mesa_set_sampler_filters method<br>
> mesa: Add _mesa_set_sampler_srgb_decode method<br>
> mesa: Refator _mesa_BindSampler to make _mesa_bind_sampler<br>
> meta/blit: Group the SamplerParameteri calls with the other sampler<br>
> operations<br>
> meta/blit: Use internal functions for sampler object access<br>
> meta/blit: Save and restore the sampler using gl_sampler_object<br>
> instead of GL API object handle<br>
> meta/blit: Don't pollute the sampler object namespace in<br>
> _mesa_meta_setup_sampler<br>
> meta/generate_mipmap: Use internal functions for sampler object access<br>
> meta/generate_mipmap: Track sampler using gl_sampler_object instead of<br>
> GL API object handle<br>
> meta/generate_mipmap: Save and restore the sampler using<br>
> gl_sampler_object instead of GL API object handle<br>
> meta/generate_mipmap: Don't pollute the sampler object namespace<br>
> meta/decompress: Use internal functions for sampler object access<br>
> meta/decompress: Track sampler using gl_sampler_object instead of GL<br>
> API object handle<br>
> meta/decompress: Save and restore the sampler using gl_sampler_object<br>
> instead of GL API object handle<br>
> meta/decompress: Don't pollute the sampler object namespace<br>
> meta: Only bind the sampler in one place<br>
> meta: Unconditionally set GL_SKIP_DECODE_EXT<br>
><br>
> src/mesa/drivers/common/meta.c | 46 +++++++++++--------<br>
> src/mesa/drivers/common/meta.h | 10 ++--<br>
> src/mesa/drivers/common/meta_blit.c | 45 +++++++++---------<br>
> src/mesa/drivers/common/meta_generate_mipmap.c | 53 +++++++++++----------<br>
> src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c | 4 +-<br>
> src/mesa/main/samplerobj.c | 56 ++++++++++++++++++++---<br>
> src/mesa/main/samplerobj.h | 17 +++++++<br>
> 7 files changed, 153 insertions(+), 78 deletions(-)<br>
><br>
> --<br>
> 2.5.0<br>
><br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</p>