mesa/src
Brian Paul 0d044f7d61 mesa/vbo: replace vbo_draw_method() with _mesa_set_drawing_arrays()
The arrays specified by ctx->Array._DrawArrays are used for all
vertex drawing via vbo_context::draw_prims().  Different arrays are
used for immediate mode, vertex arrays, display lists, etc.  Changing
from one to another requires updating derived/driver array state.

Before, we indirectly specifid the arrays with the gl_draw_method values.
Now we just directly specify the arrays instead.  This is simpler and
will allow a subsequent display list optimization.

In the future, it might make sense to get rid of ctx->Array._DrawArrays
entirely and just pass the arrays as another parameter to
vbo_context::draw_prims().

Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
2018-01-29 08:35:14 -07:00
..
amd ac: fix indentation 2018-01-29 11:14:23 +11:00
broadcom broadcom/vc5: Enable CLIF dumping of V3D 4.2. 2018-01-27 19:04:21 +11:00
compiler nir: mark unused space in packed_tex_data 2018-01-29 08:11:22 +02:00
egl egl: keep extension list sorted, per comment at the top 2018-01-25 16:38:11 +00:00
gallium r600: add ARB_query_buffer_object support 2018-01-29 05:42:28 +10:00
gbm autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
getopt
glx autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl
intel anv/gen10: Emit CS stall and mark push constants dirty. 2018-01-26 11:59:17 -08:00
loader loader: let compiler figure out the length of the string 2018-01-25 11:40:25 +00:00
mapi mapi: remove duplicate GL typedefs 2018-01-25 17:42:50 +00:00
mesa mesa/vbo: replace vbo_draw_method() with _mesa_set_drawing_arrays() 2018-01-29 08:35:14 -07:00
util meson: correctly set SYSCONFDIR for loading dirrc 2018-01-24 13:10:32 -08:00
vulkan vulkan: Update the XML and headers to 1.0.68 2018-01-25 13:30:05 -08:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
meson.build meson: define inc_gbm as empty if not otherwise assigned 2018-01-11 15:40:02 -08:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00