URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f90801cd400ec251ef3ad9a7c2ebc6feadbc7860 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700
st/mesa: use new CSO_BITS_ALL_SHADERS Reviewed-by: Marek Olšák <marek.ol...@amd.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bf8fa82770622c0a8ba88e7cb506e507fb56061 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 cso: add CSO_BITS_ALL_SHADERS For saving/restoring all shader stages. Reviewed-by: Marek Olšák <marek.ol...@amd.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0636157c49701696f451dceac96bed43e7af830 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: simplify st->ctx, ctx->st usage in a various places URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5239832cf1f3a441594fe7d610f929c8c7e066c9 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: use _mesa_geometric_width/height() in glDrawPixels code Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b92d48fb6ba775f5d321cade5e268bdbcca60cc3 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: rename attr variable in st_DrawTex() Rename to 'tex_attr' to be a bit more clear. Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu> Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ce1f1245dac1c5eb3b5f296e2addcadb1378ca7 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: use 'cso' instead of 'st->cso_context' in st_DrawTex() Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu> Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79ffe94c8bf19747ff4204b9d3fd58dcf27d6de1 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: fix whitespace and add comment in st_DrawTex() Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu> Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4277618235b229f46cf5570908d10ed810198d76 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: used _mesa_num_tex_faces() in st_finalize_texture() Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu> Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffa1a1dd21a18534a044aa7e26f297c9f372ea4f Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 cso: make most of the cso_save/restore_x() functions static Users of the CSO save/restore facility all use the new cso_save/restore_state() functions instead. Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=223ffd8a0899ddfdd084d3854ab28e2e2e438382 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 postprocess: use new cso_save/restore_state() functions Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=70e8a4f734dff7afb2a0b1cd10813938343c6551 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 gallium/hud: use new cso_save/restore_state() functions Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66889d8f84192d2ccb9d63978b17335402555ec7 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 gallium/util: use new cso_save/restore_state() functions Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=38db9a4e262f01a82f55c89605bbc687e2ee99e3 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: use cso_save/restore_state() in st_cb_texture.c This simplifies the error handling code too. Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=33fc2486063cc15e95b8fad8f130be4376f06e95 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: use new cso_save/restore_state() functions Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=940357175517385e2f735b5243365d4b374371cd Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 cso: add new cso_save/restore_state() functions cso_save_state() takes a bitmask of state items to save. Calling cso_restore_state() restores those states. Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=017a003f1c5bc7508fc2d37e14dc67123248a2ac Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 cso: remove comment There's a similar comment just a few lines before. URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=347b9418acfc68544ab5c0cba6bfdd934e129b80 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: use new cso_set_viewport_dims() helper Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7af12ae852bdc957fc6f197c722822b82043ead Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 cso: add new cso_set_viewport_dims() helper To simplify some viewport setting code in the state tracker. Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f88c859cd36f54bd50ca37dbf9806f4f56f70b68 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: use 'cso' local var instead of st->cso_context Just a little cleaner. Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7d4fe90c42d85ecbbedeca8b77043b750e18212 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:32 2016 -0700 st/mesa: consolidate quad drawing code The glClear, glBitmap and glDrawPixels code now use a new st_draw_quad() helper function. Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b63fe0552b5f983bc19ab45231687dc684c5a267 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:31 2016 -0700 st/mesa: overhaul vertex setup for clearing, glDrawPixels, glBitmap Define a new st_util_vertex structure which is a bit smaller (9 floats versus the previous 12 floats per vertex). Clean up the glClear, glDrawPixels and glBitmap code that sets up the vertex data and does the drawing so it's all very similar. This can lead to more consolidation. v2: add assertion that vertex buffer slot == 0 to catch possible future change in cso_get_aux_vertex_buffer_slot() behavior. Reviewed-by: Jose Fonseca <jfons...@vmware.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b1535f82fc58a61e7837c28a0547a5cbe01e106 Author: Brian Paul <bri...@vmware.com> Date: Tue Feb 16 10:22:31 2016 -0700 st/mesa: include u_draw.h, not u_draw_quad.h in st_draw.c Reviewed-by: Jose Fonseca <jfons...@vmware.com> _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit