History log of /external/mesa3d/src/mesa/vbo/vbo_context.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
97e2f625b8bcba96acde29dcd017031e036f4a24 16-Apr-2012 Marek Olšák <maraeo@gmail.com> vbo: remove vbo_context::mat_currval

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/vbo/vbo_context.c
8c990de0d682bbedfd7e1988d4f8948ea99b0cc3 16-Apr-2012 Marek Olšák <maraeo@gmail.com> vbo: remove vbo_context::generic_currval

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/vbo/vbo_context.c
fa48137f292bbf8cbcd65e9caf33633cddc96600 16-Apr-2012 Marek Olšák <maraeo@gmail.com> vbo: remove vbo_context::legacy_currval

It's not nice when you have several variables pointing to the same array
and you wanna ask your editor "where is this used" and you only get an answer
for one of the four currval, legacy_currval, generic_currval, mat_currval,
which is quite useless, because you never see the whole picture.

Let's get rid of the additional pointers.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/vbo/vbo_context.c
0a7602b938893e1b04a01ca8680376cbeec053ab 26-Dec-2011 Brian Paul <brianp@vmware.com> vbo: signal _NEW_ARRAY when transitioning between glBegin/End, glDrawArrays

This fixes a regression seen with the isosurf demo when switching between
glBegin/End and glDrawArrays (do it several times). The problem was the
driver wasn't getting _NEW_ARRAY when the arrays were subtly changed:
(vertex3f, normal3f) vs. (normal3f, vertex3f).

This patch fixes that by signaling _NEW_ARRAY whenever we transition
between glBegin/End and glDrawArrays mode and display lists.

The patch also fixes up the initialization of the map_vp_none[] array
to stop putting strange values in the last five elements of the array.

v2: remove DRAW_ELEMENTS, don't distinguish between glDrawArrays and
glDrawElements

v3: add DRAW_DISPLAY_LIST for the display list case, just to be safe.

Reviewed-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Tested-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/vbo/vbo_context.c
ed42c2580717527b2005580940fc766d95bb6b0b 31-Oct-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> vbo: Use The VERT_{ATTRIB,BIT} defines.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/vbo/vbo_context.c
584d1e23096ed103ae62c13685a435b220b482f2 07-Apr-2011 José Fonseca <jfonseca@vmware.com> mesa: Update _ElementSize in a few more places.
/external/mesa3d/src/mesa/vbo/vbo_context.c
204991bf5d29caa3fa54df9e4f6898faa73752cf 07-Apr-2011 Brian Paul <brianp@vmware.com> mesa: Update _ElementSize.
/external/mesa3d/src/mesa/vbo/vbo_context.c
984d64881fbdd6524bbd4f78ef7f9daaa6c5567b 26-Dec-2010 Marek Olšák <maraeo@gmail.com> vbo: remove a redundant call to _ae_invalidate_state

It's called in vbo_exec_invalidate_state too.
/external/mesa3d/src/mesa/vbo/vbo_context.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/vbo/vbo_context.c
8d5c83c467f83b44f5f2e271c4f9cca2d45af518 12-May-2010 Chia-I Wu <olv@lunarg.com> mesa/es: Remove omit list.

vbo/vbo_save* are the last members on the omit list. Test FEATURE_dlist
in the sources and remove the omit list.
/external/mesa3d/src/mesa/vbo/vbo_context.c
208fdac73a9b7f8f511f0ec8eeb5c09d4577b3a4 04-May-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Only initialize save dispatch table for OpenGL
/external/mesa3d/src/mesa/vbo/vbo_context.c
072aeb57bd20b5fc39cf9d46a693a1a9aa9de11e 25-Feb-2010 Brian Paul <brianp@vmware.com> vbo: remove dead code
/external/mesa3d/src/mesa/vbo/vbo_context.c
01d7e3d5a25a7cc49b38f5561d00c2ff22c43e93 09-Feb-2010 Michal Krol <michal@vmware.com> mesa: Enable true refcounting for NullBufferObj.

This object can be shared with another context, so we cannot just
delete it when the owning context is being destroyed.

Ensuring that buffer objects are properly refcounted guarantees
NullBufferObj is destroyed when all references to it are removed.
/external/mesa3d/src/mesa/vbo/vbo_context.c
d7ea9ddf5824556e47decac7ba200f37cf1e552f 10-Jun-2009 Brian Paul <brianp@vmware.com> mesa: use _mesa_reference_buffer_object() in a few places
/external/mesa3d/src/mesa/vbo/vbo_context.c
d30163ad4201dcd5a594694ab87be9e59db47edd 22-May-2009 Brian Paul <brianp@vmware.com> mesa: use Elements() for loop limit
/external/mesa3d/src/mesa/vbo/vbo_context.c
4f6b704f9796775d8d9937c3cf75a2901b99b896 07-May-2009 Brian Paul <brianp@vmware.com> mesa: move the NullBufferObj from GLcontext to gl_shared_state

Since shared array objects may point to the null/default buffer object,
the null/default buffer object should be part of the shared state.
/external/mesa3d/src/mesa/vbo/vbo_context.c
2218592d47b963791105f5b8fa1a0b3f3a07f674 11-Feb-2009 Brian Paul <brianp@vmware.com> mesa: get rid of _math_init()

Only VBO uses the evaluator code so call _math_init_eval() there.

Only TNL uses the transform/translate code so call _math_init_transformation()
and _math_init_translate9) there.

This is a step toward resolving some symbol collisions between Mesa's and
gallium's x86 codegen.
Have VBO and TNL modules call _math_init_transformation()
/external/mesa3d/src/mesa/vbo/vbo_context.c
e97681c7f551a2a2a6bd5eff0f4192a870c816c0 09-Feb-2009 Brian Paul <brianp@vmware.com> mesa: merge gallium-0.2 into gallium-master-merge

Merge commit 'origin/gallium-0.2' into gallium-master-merge

Conflicts:

Makefile
docs/relnotes-7.4.html
docs/relnotes.html
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/main/imports.c
src/mesa/main/mtypes.h
src/mesa/main/texcompress.c
src/mesa/main/texenvprogram.c
src/mesa/main/version.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_draw.c
ded949ed06e02ef26b1168b101daba04be78155e 24-Jan-2009 Brian Paul <brianp@vmware.com> mesa: set the new array->Format field in VBO code

Should help to solve failed assertion in i965 driver (see bug 19708)
/external/mesa3d/src/mesa/vbo/vbo_context.c
34a61c66fd1b625a5606b795d192a49632ff1787 22-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: refactor: move #define FEATURE flags into new mfeatures.h file

Also, check the FEATURE flags in many places.
(cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1)

Conflicts:

src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c
/external/mesa3d/src/mesa/vbo/vbo_context.c
a8d1521f30766b6a4707aa9966e1f2f9c0b3ac00 18-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/mesa/shader/slang/slang_link.c
4992806ae54d7d1db86eed9c6524aa05f4a2fbd6 16-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: protect against double-free in _vbo_DestroyContext()
/external/mesa3d/src/mesa/vbo/vbo_context.c
0397b2bb41b0f337af2949a15bcd7d0e7e8a7dc1 11-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'gallium-0.1' into gallium-0.2

A first attempt at moving gallium onto a branch directly off master...

It will be interesting to see how much work this takes to get running.

Have resolved the conflicts semi-arbitarily, not compiled or tested.

Conflicts:

.gitignore
Makefile
configs/config.mgw
configs/darwin
configs/darwin-x86ppc
configs/default
configs/freebsd-dri
configs/linux-dri
configs/linux-dri-xcb
configs/linux-fbdev
configs/linux-static
configs/linux-x86-64-static
configs/linux-x86-static
doxygen/Makefile
include/GL/gl.h
progs/demos/Makefile
progs/demos/descrip.mms
progs/demos/texenv.c
progs/egl/.gitignore
progs/egl/Makefile
progs/glsl/.gitignore
progs/glsl/Makefile
progs/glsl/convolutions.c
progs/samples/Makefile.mgw
progs/tests/.gitignore
progs/trivial/.gitignore
progs/trivial/point-param.c
progs/trivial/tri.c
progs/xdemos/.gitignore
progs/xdemos/glthreads.c
src/egl/drivers/demo/Makefile
src/egl/drivers/dri/Makefile
src/egl/main/Makefile
src/glu/Makefile
src/glu/sgi/Makefile
src/glu/sgi/Makefile.mgw
src/glut/glx/Makefile.mgw
src/glut/os2/WarpWin.cpp
src/glut/os2/glut_cindex.cpp
src/glut/os2/glut_gamemode.cpp
src/glut/os2/glut_win.cpp
src/glut/os2/glut_winmisc.cpp
src/glut/os2/os2_glx.cpp
src/glut/os2/os2_menu.cpp
src/glut/os2/os2_winproc.cpp
src/glw/Makefile
src/glx/x11/dri_glx.c
src/glx/x11/glxext.c
src/mesa/Makefile
src/mesa/Makefile.mgw
src/mesa/descrip.mms
src/mesa/drivers/beos/Makefile
src/mesa/drivers/common/descrip.mms
src/mesa/drivers/common/driverfuncs.c
src/mesa/drivers/directfb/Makefile
src/mesa/drivers/dri/Makefile.template
src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/common/dri_bufmgr.h
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/extension_helper.h
src/mesa/drivers/dri/common/mmio.h
src/mesa/drivers/dri/common/utils.c
src/mesa/drivers/dri/common/utils.h
src/mesa/drivers/dri/glcore/Makefile
src/mesa/drivers/dri/i810/i810screen.c
src/mesa/drivers/dri/i915/intel_ioctl.c
src/mesa/drivers/dri/i915/intel_ioctl.h
src/mesa/drivers/dri/i915/intel_screen.c
src/mesa/drivers/dri/i915/server/i830_common.h
src/mesa/drivers/dri/i915/server/i830_dri.h
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/server/i830_common.h
src/mesa/drivers/dri/i965/server/i830_dri.h
src/mesa/drivers/dri/mach64/mach64_screen.c
src/mesa/drivers/dri/nouveau/nouveau_context.h
src/mesa/drivers/dri/nouveau/nouveau_fifo.c
src/mesa/drivers/dri/nouveau/nouveau_fifo.h
src/mesa/drivers/dri/nouveau/nouveau_screen.c
src/mesa/drivers/dri/nouveau/nouveau_screen.h
src/mesa/drivers/dri/r128/r128_tex.h
src/mesa/drivers/dri/savage/savageioctl.h
src/mesa/drivers/fbdev/Makefile
src/mesa/drivers/osmesa/Makefile
src/mesa/drivers/osmesa/descrip.mms
src/mesa/drivers/x11/Makefile
src/mesa/drivers/x11/descrip.mms
src/mesa/drivers/x11/xm_dd.c
src/mesa/glapi/glapi.c
src/mesa/glapi/glthread.c
src/mesa/main/api_validate.c
src/mesa/main/attrib.c
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/buffers.c
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/descrip.mms
src/mesa/main/drawpix.c
src/mesa/main/enums.c
src/mesa/main/fbobject.c
src/mesa/main/glheader.h
src/mesa/main/imports.c
src/mesa/main/mipmap.c
src/mesa/main/mm.c
src/mesa/main/mm.h
src/mesa/main/mtypes.h
src/mesa/main/points.c
src/mesa/main/sources
src/mesa/main/state.c
src/mesa/main/texcompress_fxt1.c
src/mesa/main/texenvprogram.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c
src/mesa/math/descrip.mms
src/mesa/shader/arbprogram.c
src/mesa/shader/descrip.mms
src/mesa/shader/prog_execute.c
src/mesa/shader/prog_statevars.c
src/mesa/shader/prog_statevars.h
src/mesa/shader/prog_uniform.c
src/mesa/shader/program.c
src/mesa/shader/program.h
src/mesa/shader/shader_api.c
src/mesa/shader/slang/descrip.mms
src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
src/mesa/sources
src/mesa/swrast/descrip.mms
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_fragprog.c
src/mesa/swrast/s_readpix.c
src/mesa/swrast/s_span.c
src/mesa/swrast_setup/descrip.mms
src/mesa/tnl/descrip.mms
src/mesa/tnl/t_context.h
src/mesa/tnl/t_vp_build.c
src/mesa/tnl/tnl.h
src/mesa/vbo/descrip.mms
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_exec_array.c
src/mesa/x86-64/xform4.S
src/mesa/x86/rtasm/x86sse.c
src/mesa/x86/rtasm/x86sse.h
windows/VC6/progs/glut/glut.dsp
windows/VC7/mesa/gdi/gdi.vcproj
windows/VC7/mesa/glu/glu.vcproj
windows/VC7/mesa/mesa.sln
windows/VC7/mesa/mesa/mesa.vcproj
windows/VC7/mesa/osmesa/osmesa.vcproj
windows/VC7/progs/glut/glut.vcproj
windows/VC8/mesa/gdi/gdi.vcproj
windows/VC8/mesa/glu/glu.vcproj
windows/VC8/mesa/mesa.sln
windows/VC8/mesa/mesa/mesa.vcproj
windows/VC8/progs/glut/glut.vcproj
40d1a40f294f1ed2dacfad6f5498322fc08cc2d1 11-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move #define FEATURE flags into new mfeatures.h file

Also, check the FEATURE flags in many places.
/external/mesa3d/src/mesa/vbo/vbo_context.c
520a455f55f6c6c529dc6b725a5225793c0b4b01 28-Dec-2007 Brian <brian.paul@tungstengraphics.com> fix vbo display list memleak upon context destruction
/external/mesa3d/src/mesa/vbo/vbo_context.c
f0676cc4223fe05d84cee9d16f1094a7bfa181d4 28-Dec-2007 Brian <brian.paul@tungstengraphics.com> fix vbo display list memleak upon context destruction
/external/mesa3d/src/mesa/vbo/vbo_context.c
c885775cae8feabe5431ba7867fac99332f5ee8e 08-Dec-2007 Brian <brian.paul@tungstengraphics.com> New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl module.
/external/mesa3d/src/mesa/vbo/vbo_context.c
c3e6bfc9e27038172fff47f9cc5a8a53ff7038a3 02-Aug-2007 Brian <brian.paul@tungstengraphics.com> Remove some code that was never hit (bug 11811).

Also added an assertion to check that NR_MAT_ATTRIBS == MAT_ATTRIB_MAX.
In the unlikely event this ever changes, maybe restore the code.
/external/mesa3d/src/mesa/vbo/vbo_context.c
c223c6b663cd5db39ba19c2be74b88cc3b8f53f3 04-Jul-2007 Brian <brian.paul@tungstengraphics.com> Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
/external/mesa3d/src/mesa/vbo/vbo_context.c
e21096b07c5854d01114b58f87d08709e370f8b7 27-Feb-2007 Brian <brian@yutani.localnet.net> fix mem leak
/external/mesa3d/src/mesa/vbo/vbo_context.c
50f76b9d9b4b17940798b44233b9b5af2f932117 15-Jan-2007 Keith Whitwell <keith@tungstengraphics.com> Correctly initialize current attribute sizes.

Some legacy attributes (eg color) have an initial value other than {0,0,0,1}
which means that their initial size != 1 either.
/external/mesa3d/src/mesa/vbo/vbo_context.c
fd2756006a0baf63f60548d8f509de5b9a143608 30-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that our
NV_vertex_program implementation has slightly incorrect aliasing
behaviour. I think this is reasonable given the simplification and
the fact that the mainstream ARB_vp continues to have the correct
behaviour.
/external/mesa3d/src/mesa/vbo/vbo_context.c
e8abd098b36c30d76b4c396970fd793ae58e0702 30-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> Remove wakeup functions. This code is intended to be active all the
time.
/external/mesa3d/src/mesa/vbo/vbo_context.c
48f5deab94be832a782a440f55a7bc742d50a62f 30-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> switch several dri drivers over
/external/mesa3d/src/mesa/vbo/vbo_context.c
99efde461d3b8615863bdb7308e05289e0db0422 30-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> better handling of current attributes. Trivial dlist and varray tests work
/external/mesa3d/src/mesa/vbo/vbo_context.c
fd12b37dbada6f945a94b93ecf332d0b6a8eef06 29-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> Checkpoint of new vbo-building code. Currently builds regular arrays
rather than VBO's - VBOs are easy but need to look closer at the
driver interface. The trivial/tri demo works.
/external/mesa3d/src/mesa/vbo/vbo_context.c