3fa0423c0230154c80d8f45d3232acc10b6e2014 |
|
25-Jan-2013 |
Brian Paul <brianp@vmware.com> |
vbo: add a null pointer check to handle OOM instead of crashing Note: This is a candidate for the 9.0 branch. (cherry picked from commit 7a89f08a22eb83ed2f0c51e516397d6415e64a3d)
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
492b69f3be3e355064c67bc6f4a30d40e997ce9d |
|
30-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: fix glVertexAttribI* functions The functions were broken, because they converted ints to floats. Now we can finally advertise OpenGL 3.0. ;) In this commit, the vbo module also tracks the type for each attrib in addition to the size. It can be one of FLOAT, INT, UNSIGNED_INT. The little ugliness is the vertex attribs are declared as floats even though there may be integer values. The code just copies integer values into them without any conversion. This implementation passes the glVertexAttribI piglit test which I am going to commit in piglit soon. The test covers vertex arrays, immediate mode and display lists. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> v2: cosmetic changes as suggested by Brian (cherry picked from commit acf438f5375e2426386694e541b843dc6f8fd11a)
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
a010215463c63680c69e90202fe3fcd2e5b25fa6 |
|
29-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Kill ES2 wrapper functions v2: Fix completely broken condition around ClearColorIiEXT and ClearColorIuiEXT. v3: Add special VertexAttrib handling for ES2. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
fb4f2d34256aee6b0005b18769a395dd066d3820 |
|
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glMaterial face and pname in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
4cb3579e52fed48d623698610e31d05ac8c8946f |
|
26-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rename ColorMaterialBitmask to _ColorMaterialBitmask Since it's a derived field.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
ae5d7d5e8970f90b9713897387d7d46a2b4485ab |
|
18-Jun-2012 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Add support for GL_ARB_base_instance Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
014306578be1f7aeb883e7b22eb255eda82fa011 |
|
09-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: implement DEBUG_ALWAYS_FLUSH debug option This flag has been around for a while but it wasn't actually used anywhere. Now, setting this flag causes a glFlush() to be issued after each drawing call (including glBegin/End, glDrawElements, glDrawArrays, glDrawPixels, glCopyPixels and glBitmap).
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
1bc16bf98a1b5a4cca0c0ae2a80ba7982c6e4651 |
|
08-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix glMaterial / dlist bug When glColorMaterial() is used to latch glColor commands to a material attribute, glMaterial calls to change that material should become no-ops. This failed to work properly when the glMaterial call was inside a display list. This removes the Material function from the vbo_attrib_tmp.h template file. We have separate/different implementations for the "save" and "exec" cases now. NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
a7ac9c9c7dc7401ca6143d1e7476df5e3c2758b7 |
|
23-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: move vbo_draw_method into vbo_context.h I'll need vbo_context in that function soon. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.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_exec_api.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_exec_api.c
|
7ca4f07b5b77ccac0a9b60dc5ac9082906b5947e |
|
14-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fold error generation into _mesa_valid_prim_mode(). We want to start emitting an INVALID_OPERATION from here for transform feedback. Note that this forced dlist.c to almost not use this function, since it wants different behavior during dlist compile. Just pull the non-TF, non-GS test out for compile, because: 1) TF doesn't matter in that case because there's no drawing. 2) I don't think we're going to see GSes and display lists in the same context, if we don't do GL_ARB_compatibility. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.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_exec_api.c
|
01cd9a7d9292507a8c9e6cdc74ba1083248b0bf0 |
|
02-Dec-2011 |
Brian Paul <brianp@vmware.com> |
vbo: remove unreachable _mesa_error() call If mode is not GL_POINT/LINE/FILL we'll have already reported the error earlier in the function and returned so we can never get here. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.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_exec_api.c
|
97dedfda5fbb4078db28519e50adeeeb8e1a1dc1 |
|
10-Nov-2011 |
Brian Paul <brianp@vmware.com> |
vbo: better handling of VBO allocation failures Previously, if we failed to allocate a VBO (either for display list compilation or immediate mode rendering) we'd eventually segfault when trying to map the non-existant buffer or in a glVertex/Color/etc call when we hit a null pointer. Now we don't try to map non-existant buffers and if we do fail to allocate a VBO we plug in no-op functions for glVertex/Color/etc so we don't segfault.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
cd30c28e3b98da1e83d8c07375a4d51e1750afc2 |
|
10-Nov-2011 |
Brian Paul <brianp@vmware.com> |
vbo: pull some code from api_noop.c into vbo module Only a handful of functions from api_noop.c are actually used by the VBO module. Move them to the VBO module. With this change, none of the code in api_noop.c is actually used anymore.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
fd7c46f53f3a7ae5c67f3c44ba283eeb4f72b366 |
|
29-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Add dd_function_table::PrepareExecBegin This hook allows the driver to prepare for a glBegin/glEnd. i965 will use the hook to avoid avoid recursive calls to FLUSH_VERTICES during a buffer resolve meta-op. Detailed Justification ---------------------- When vertices are queued during a glBegin/glEnd block, those vertices must of course be drawn before any rendering state changes. To enusure this, Mesa calls FLUSH_VERTICES as a prehook to such state changes. Therefore, FLUSH_VERTICES itself cannot change rendering state without falling into a recursive trap. This precludes meta-ops, namely i965 buffer resolves, from occuring while any vertices are queued. To avoid that situation, i965 must satisfy the following condition: that it queues no vertex if a buffer needs resolving. To satisfy this, i965 will use the PrepareExecBegin hook to resolve all buffers on entering a glBegin/glEnd block. -------- v2: Don't add dd_function_table::CleanupExecEnd. Anholt and I discovered that hook to be unnecessary. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
0e6646db3248057b7750031d825535cd7a0e5aec |
|
21-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: check glBegin()/glDrawArrays()/etc mode with _mesa_valid_prim_mode() We now raise an GL_INVALID_ENUM in glBegin() if mode is illegal, as was done in Yuanhan Liu's original patch. Take geometry shaders support into account too. Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
51fcf080a342896ea0bc71dce01e948c810a8db9 |
|
04-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/vbo: add ARB_vertex_type_2_10_10_10_rev APIs. This adds the vertex processing paths for the 2101010 types. It converts the attributes to floats for all the immediate entry points, some entrypoints are normalised and the attrib APIs take a normalized parameter. There are four main paths, ui10 -> float unnormalized i10 -> float unnormalized ui10 -> float normalized i10 -> float normalized along with the ui2/i2 equivs. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
56f0c00f125ee75caeadc1c9e8cab8a488635e5e |
|
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove target parameter from dd_function_table::UnmapBuffer No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
a40008ac649acf0e7f47294145fe0b14393f03d3 |
|
08-Apr-2011 |
Chia-I Wu <olvaffe@gmail.com> |
mesa: fix !FEATURE_GL build Move vbo_exec_FlushVertices_internal out of FEATURE_beginend. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
f1cdce95f606584a56eabf3b38eea19ff4c75757 |
|
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
vbo: check array indexes to prevent negative indexing See the piglit dlist-fdo31590.c test NOTE: This is a candidate for the 7.10 branch.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
584d1e23096ed103ae62c13685a435b220b482f2 |
|
07-Apr-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Update _ElementSize in a few more places.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
8731f0363fea81394417b2da8a9ac9788a0dcfc6 |
|
02-Mar-2011 |
Brian Paul <brianp@vmware.com> |
vbo: add vbo_always_unmap_buffers() Drivers can call this function as needed. It tells the VBO module to always unmap the current glBegin/glEnd VBO when we flush. Otherwise it's possible to be in a flushed state but still have the VBO mapped.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
a2924b488b8d77381779bbb5a0097c467678d39b |
|
02-Mar-2011 |
Brian Paul <brianp@vmware.com> |
vbo: generate GL_INVALID_VALUE for bad glVertexAttrib index
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
d7fcb2ac81e1b1da593f0ce7375324773470d8ed |
|
22-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: simplify NeedFlush flag clearing
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
d8aebc4e4b9bb2b62dec5849698cfc1f2ed67c21 |
|
22-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: use ctx intstead of exec->ctx
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
da9adb9613ff55638e37186c89bfa4a558cafb28 |
|
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: more comments
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
6f027ba20d6bb642f1d05cc3ad63169e4f3196e1 |
|
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: make vbo_exec_FlushVertices_internal() static
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
bbd756e824c8d37bc7f8e9138466e8cad067afc5 |
|
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: remove old debug code, add comments
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
ae4b6e04cdea188f6b5e656a1aafb6c3343fe5a7 |
|
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: rename some vars, add new comments, fix formatting, etc.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
8b2598d000e4002bd0f07bf1eeecf4488fb6627c |
|
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: use ctx instead of exec->ctx
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
14b36cd568b7f3ae963430248fcd7ef0b7a165f6 |
|
09-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
vbo: Include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
98ee6739d97b5592a7dad0b453c78e180a51ad50 |
|
07-Dec-2010 |
Chia-I Wu <olv@lunarg.com> |
vbo: Fix GLES2 glVertexAttrib. Attribute 0 has no special meaning in GLES2. Add VertexAttrib4f_nopos for that purpose and make _es_VertexAttrib* call the new function. Rename _vbo_* to _es_* to avoid confusion. These functions are only used by GLES, and now some of them (_es_VertexAttrib*) even behave differently than vbo_VertexAttrib*.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
9f0d7dd25941b2f327c7bedf7513eee871829073 |
|
07-Dec-2010 |
Chia-I Wu <olv@lunarg.com> |
vbo: Drop second ATTR macro. There is no need to have a special version of ATTR for !FEATURE_beginend, since 81ccb3e2ce708619f4c23537a237d61bdffdd35f.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
2e64c2209e7f9d5acbcc9d70bf315732f3c403b3 |
|
31-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
vbo: Avoid unnecessary copy to/from current in vertex format upgrade. Rebuilding the vertex format from scratch every time we see a new vertex attribute is rather costly, new attributes can be appended at the end avoiding a copy to current and then back again, and the full attr pointer recalculation. In the not so likely case of an already existing attribute having its size increased the old behavior is preserved, this could be optimized more, not sure if it's worth it. It's a modest improvement in FlightGear (that game punishes the VBO module pretty hard in general, framerate goes from some 46 FPS to 50 FPS with the nouveau classic driver). Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
ca2618f4b632bf4b357a539a8fb7dafc99b35976 |
|
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: implement integer-valued vertex attribute functions The integers still get converted to floats. That'll have to change someday.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
be45255ab1f63c10fefcf2f399ac7d1c9294cf6a |
|
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
vbo: support for primitive restart We handle splitting of glDrawArrays() calls into two primitives here so that drivers don't have to worry about it.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
81ccb3e2ce708619f4c23537a237d61bdffdd35f |
|
13-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop the "neutral" tnl module Just always check for FLUSH_UPDATE_CURRENT and call Driver.BeginVertices when necessary. By using the unlikely() macros, this ends up as a 10% performance improvement (for isosurf, anyway) over the old, complicated function pointer swapping.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.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_exec_api.c
|
cc2f337d06987ea7a8fbf30ce33330b4d993207c |
|
15-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix potential out-of-bounds access by _vbo_Materialf. _vbo_Materialf calls _vbo_Materialfv, which uses the params argument as an array.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
44f9aef9ee9ceda0659e882afbac4d877267c4fd |
|
23-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move GLES1/2 vbo entrypoints to vbo_exec_api.c This let's us drop stubs.c.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
96b0807253a491442e336844f997fdc4e1761303 |
|
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: unmap the immediate mode VB before destroying it Fixes failed assertion from fd.o bug 27713. The assertion was added with the new resource/transfer changes. This patch could apply to the 7.8 branch but it's not essential.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
3b7ac45162412a79c3cd4d4dbc16bd54db597608 |
|
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: implement core Mesa support for GL_ARB_draw_instanced
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
2cf44390d1e819f23e1d7ceb3199276c9148c647 |
|
23-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Move src/mesa/glapi/dispatch.h to mesa. glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
99ae9e8d7d57ae37629754edd5b1e3716611827f |
|
19-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop macro wrappers for the aligned memory functions
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
298be2b028263b2c343a707662c6fbfa18293cb2 |
|
19-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Replace the _mesa_*printf() wrappers with the plain libc versions
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
c7ac486261ad30ef654f6d0b1608da4e8483cd40 |
|
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_memcpy in favor of plain memcpy. This may break the SUNOS4 build, but it's no longer relevant.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.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_exec_api.c
|
c8cdce665790263bb2142d894a81c87abc4da9fb |
|
01-Dec-2009 |
Brian Paul <brianp@vmware.com> |
vbo: make flush recursion check code per-context This fixes invalid failed assertions when running multi-threaded apps.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
2198497203ec427f836978098028abf3350e5e57 |
|
19-Nov-2009 |
Brian Paul <brianp@vmware.com> |
vbo: added recursion check in vbo_exec_FlushVertices()
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
898de4a9d5e47ed32c600e5907476fd9338aa7e9 |
|
05-Nov-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/mesa/drivers/windows/gdi/mesa.def
|
1c3f7ab74ce492d6c92f2e3a0f29957fa9a71d96 |
|
05-Nov-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix out-of-bounds array access The exec->vtx.inputs[] array was being written past its end. This was clobbering the following vbo_exec_context::eval state. Probably not noticed since evaluators and immediate mode rendering don't happen at the same time. Fixed the loop in vbo_exec_vtx_init(). Changed the size of the vbo_exec_context::vtx.arrays[] array. Added a bunch of debug-build assertions. Issue found by Vinson Lee.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
fdce832437537f8e89f7ea57d15e73a481bd240e |
|
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix up vbo comments
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
cef97267d696d37f4dccb22951499ca25d5d87ad |
|
12-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: New feature FEATURE_beginend. This feature corresponds to the Begin/End paradigm. Disabling this feature also eliminates the use of GLvertexformat completely.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
a73ba2d31b87e974f6846a8aaced704634f6f657 |
|
09-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_dlist follow feature conventions. As shown in mfeatures.h, this allows users of dlist.h to work without knowing if the feature is available.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
aefa1f6ab1d9267b223b06ae205ab34c8e0d7c02 |
|
08-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_evaluators follow feature conventions. As shown in mfeatures.h, this allows users of eval.h to work without knowing if the feature is available.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
80630d1fed6cd32e75f5e97e2cd27509be21d093 |
|
08-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: New feature FEATURE_arrayelt. This allows the removal of AEcontext.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
d03dde16ebb5ab7f109c8ff6d710d54d50d4fa8f |
|
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
vbo: call _mesa_valid_to_render()
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
877061141ae263128eac8ec1f1077f34e52651fa |
|
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
9d5479eeeb84a0a8d909e329b1e8e9888d424900 |
|
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix assertion, #define IMM_BUFFER_NAME This was sometimes seen when Glean exited upon test failure when using Gallium.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
ee98ae5a29ca870149c4a0d2a8f25f55e0fd333a |
|
09-Jun-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
|
0d3c8fbf12289a8cc081c2d68e810c4bf29d1f8d |
|
08-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/vbo: drop all references to vbo on destroy We were adding references to the input arrays, but failing to drop them on destruction. This could lead to a 64kb buffer being leaked each context destruction.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.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_exec_api.c
|
ef5fd0b66a0ddfa1df5c39a8711dd542107c61c3 |
|
09-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: yet tighter still usage of FLUSH_NEED_CURRENT Previous change broke redbook/polys and probably others. I'm fairly sure that drivers like r300 don't need to touch ctx->Driver.NeedVertices, but this code is incredibly fragile and I'm not confident about removing it from there. Hopefully this gets things working again.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
0756dc876c01a3d07da34e2da1899b340b0fb819 |
|
09-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: stricter checks on Driver.NeedFlush This variable is being used in the r300 driver to trigger a flush under circumstances unrelated to the use in the vbo module. Tighten up the checks in vbo so as to avoid conflict with r300. Reported by Maciej Cencora <m.cencora@gmail.com>
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
368ca83a3fdfbe8dfe591ab73d29c500d1a91c0a |
|
04-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: second attempt - avoid getting buffer_ptr and buffer_map out of sync
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
fba923ff4415ce8a14c890dea65bcb07b2f87fb5 |
|
04-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
Revert "vbo: avoid getting buffer_ptr and buffer_map out of sync" This fixed a minor bug but broke everything else. This reverts commit 579ef8ab1984d895867f547afa60b3bec4c4599a.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
579ef8ab1984d895867f547afa60b3bec4c4599a |
|
04-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: avoid getting buffer_ptr and buffer_map out of sync
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
f9ce417aaf14c00e72e92307b910de5dbed1bb6d |
|
04-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: use FLUSH_UPDATE_CURRENT flag to indicate whether the vbo module is active Add asserts for expected values on wakeup and flush. Remove cases where this flag is set or cleared except when waking up and flushing vbo module.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
916de35d677ca5238e9515840fa5aa9f81302c5b |
|
03-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/gallium-0.1' Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/include/pipe/p_defines.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
|
2785af803f7d6d64ff17c10645e5f10499289ed0 |
|
03-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: missing line from previous commit
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
c4d1f4607abf3dfbcfcffc5c67bb89d420d3381a |
|
03-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: use MapBufferRange where available Previously would have to allocate a new VBO after firing a draw command as subsequent call to Map() on old VBO might block if the driver had submitted the commands to hardware.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
c64a2b708944ec671b1104067245500fcfc6ed94 |
|
03-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: Add BeginVertices driver call Provides notification to the VBO modules prior to the first immediate call. Pairs with FlushVertices()
/external/mesa3d/src/mesa/vbo/vbo_exec_api.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
|
dea0d4d56326f148a42c766bdbaf1b5bb247cc59 |
|
03-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix GLSL issue preventing use of all 16 generic vertex attributes Only 15 actually worked before since we always reserved generic[0] as an alias for vertex position. The case of vertex attribute 0 is tricky. The spec says that there is no aliasing between generic vertex attributes 0..MAX_VERTEX_ATTRIBS-1 and the conventional attributes. But it also says that calls to glVertexAttrib(0, v) are equivalent to glVertex(v). The distinction seems to be in glVertex-mode versus vertex array mode. So update the VBO code so that if the shader uses generic[0] but not gl_Vertex, route the attribute data set with glVertex() to go to shader input generic[0]. No change needed for the glDrawArrays/Elements() path. This is a potentially risky change so regressions are possible. All the usual tests seem OK though.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
d7f1cb5b5a134b63227d5746a2dd1f05597c5c2f |
|
10-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
|
fa1b533012030cd67148b5bf1e018fd5e30c96f8 |
|
03-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: add new internal state for tracking current vertex attribs
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
fb8db63a89c4ac7fbbbc0912e1dde0871ae9c35c |
|
26-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into HEAD Conflicts: src/mesa/vbo/vbo.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
|
6222eb3fcd12147ea2e7ccc20a71a921cebbb0d2 |
|
25-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some VBO buffer object issues The VBO module may use a real VBO or a malloc'd buffer for vertex storage. Be careful not to accidentally replace the later with the former when drawing. Check if using a real VBO at destroy time to prevent a double-free.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
6f765fbde42a4f729780aa39d2b0ed9d736dd5a8 |
|
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added vbo_use_buffer_objects() to specify that immediate mode data should be put into bufferobjects
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
9acf207277b4de91b917b37a92f6b612f4710c80 |
|
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/ (cherry picked from commit 8a369b909a6648ae7a5a0c2dcb972a2f96f99a80)
/external/mesa3d/src/mesa/vbo/vbo_exec_api.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_exec_api.c
|
47ad296a183929c2007c35c60d722b4ac680417d |
|
11-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa into gallium-0.2 Conflicts: src/mesa/drivers/dri/i915/intel_ioctl.c src/mesa/main/texstore.c src/mesa/tnl/t_vp_build.c src/mesa/vbo/vbo_exec_draw.c
|
a69fc5129bdf2f245c5bf2e0fe7b542caf7809a9 |
|
04-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: improved gl_buffer_object reference counting Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
37c74af01ce52b603f565a6c8a9094500d5cb87a |
|
04-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: improved gl_buffer_object reference counting Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
8d2400f2161efa95d2ef18fec353db4841f09637 |
|
08-Jul-2008 |
Jonathan White <jwhite@tungstengraphics.com> |
mesa: added GLAPIENTRY keywords
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
dd3311aa89035aa2e624f54b6914cfbcf57b33d7 |
|
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added _vbo_VertexAttrib4f()
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
1b241a4369fcba5972a7ab38b9a5595a434e0b56 |
|
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added _vbo_Materialfv()
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
71f67dde34546f40c7617948f8fa945288e55e17 |
|
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: _vbo_Color4f, _vbo_Normal3f, _vbo_MultiTexCoord4f functions
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
8a369b909a6648ae7a5a0c2dcb972a2f96f99a80 |
|
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
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_exec_api.c
|
d758479b9fbff803bdac15f3f39d32ef9064db71 |
|
11-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Fix glBegin-time test for invalid programs/shaders. Cherry-picked from master.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
c45a525cdc4bd5f9b35c4f6abae6a65f3279e2c4 |
|
14-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: revert fast-track glColor and similar calls when not immediate mode rendering Revert commit d08cd68d3f5456b69ad504ede2b090c0bb6474db This change caused some glean tests to fail. The alpha value of colors was always 1.0 instead of the value from glColor4fv(). The mesa color array found in st_draw() has size=3 instead of size=4.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
d08cd68d3f5456b69ad504ede2b090c0bb6474db |
|
10-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: fast-track glColor and similar calls when not immediate mode rendering Often these are mixed in with draw arrays calls, etc. Try not to get the whole immediate rendering state machine going when we receive one of these on their own.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
4e9c8166b064de4eed38e385880cd491e6d8d9c4 |
|
20-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix glBegin-time test for invalid programs/shaders.
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
f252974121febc6a1a59793d932b32b798f90fc6 |
|
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix VBO clean-up in vbo_exec_vtx_destroy()
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
5568a7d30120d830c93494a7b3382bfa8b4d2800 |
|
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added vbo_use_buffer_objects() to specify that immediate mode data should be put into bufferobjects
/external/mesa3d/src/mesa/vbo/vbo_exec_api.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_exec_api.c
|
37aca21129d87946d2dc6b45fa5bacd514921550 |
|
28-Jun-2007 |
zhang <zxpmyth@yahoo.com.cn> |
a variety of fixes for MingW
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
ae55d5322c9cff61f61e8df04bb0846332cc85ce |
|
06-Apr-2007 |
Brian <brian@yutani.localnet.net> |
for evaluators, loop to VBO_ATTRIB_TEX7, not VBO_ATTRIB_INDEX. See bug 10543
/external/mesa3d/src/mesa/vbo/vbo_exec_api.c
|
3f4826a358cab8b6d638fc8eb46aef668a7bcf46 |
|
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
XXX comments about shaders
/external/mesa3d/src/mesa/vbo/vbo_exec_api.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_exec_api.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_exec_api.c
|