History log of /external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c538846e313c43858fb118db012b592513c0ed29 26-Oct-2016 Brian Paul <brianp@vmware.com> mesa: rename gl_client_array -> gl_vertex_array

The term "client array" is a legacy thing dating back to the pre-VBO
era when _all_ vertex arrays lived in client memory.

Nowadays, it only contains vertex array state which is derived from
gl_array_attributes and gl_vertex_buffer_binding. It's used by the
VBO module and some drivers.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
c63e8b1193fd380e999b8ef258a20e57884820f4 30-Jul-2015 Marek Olšák <marek.olsak@amd.com> vbo: pass the stream from DrawTransformFeedbackStream to drivers

Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
1a92637c68b84fa30e90f442e8a3d32c450cafcc 08-Apr-2014 Iago Toral Quiroga <itoral@igalia.com> tnl: Merge _tnl_vbo_draw_prims() into _tnl_draw_prims().

This should help prevent situations where we render without proper index
bounds. For example: https://bugs.freedesktop.org/show_bug.cgi?id=59455

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
80ac616fca709ab10f7aae062d96ec18d05097a7 05-Apr-2013 Christoph Bumiller <e0425955@student.tuwien.ac.at> mesa: add indirect drawing buffer parameter to draw functions

Split from patch implementing ARB_draw_indirect.

v2: Const-qualify the struct gl_buffer_object *indirect argument.
v3: Fix up some more draw calls for new argument.
v4: Fix up rebase conflicts in i965.
v5: Undo const-qualification

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
1f9239ec8d67c3e8ee64e6f5306499b6d97ea136 24-Jul-2012 Brian Paul <brianp@vmware.com> nouveau: include glformats.h to get missing prototype

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=52449
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
50f7e75f9e945cfbb2ae868cc961a2205a0b6e73 23-Apr-2012 Marek Olšák <maraeo@gmail.com> mesa: move gl_client_array*[] from vbo_draw_func into gl_context

In the future we'd like to treat vertex arrays as a state and
not as a parameter to the draw function. This is the first step
towards that goal. Part of the goal is to avoid array re-validation
for every draw call.

This commit adds:
const struct gl_client_array **gl_context::Array::_DrawArrays.

The pointer is changed in:
* vbo_draw_method
* vbo_rebase_prims - unused by gallium
* vbo_split_prims - unused by gallium
* st_RasterPos

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
2e47d01c9e5325906cf3bb979279599991c6328e 23-Dec-2011 Ben Skeggs <bskeggs@redhat.com> nouveau/vieux: switch to libdrm_nouveau-2.0
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
42d4972bf0b147b0241c2be7e6579fd64cf2c216 31-Dec-2011 Yuanhan Liu <yuanhan.liu@linux.intel.com> vbo: introduce vbo_get_minmax_indices function

Introduce vbo_get_minmax_indices() function to handle the min/max index
computation for nr_prims(>= 1). The old code just compute the first
prim's min/max index; this would results an error rendering if user
called functions like glMultiDrawElements(). This patch servers as
fixing this issue.

As when nr_prims = 1, we can pass 1 to paramter nr_prims, thus I made
vbo_get_minmax_index() static.

v2: per Roland's suggestion, put the indices address compuation into
vbo_get_minmax_index() instead.

Also do comination if possible to reduce map/unmap count

v3: per Brian's suggestion, use a pointer for start_prim to avoid
structure copy per loop.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
14bb957b996dcc5392b8fa589bd3ffa5c55cb6b4 09-Dec-2011 Marek Olšák <maraeo@gmail.com> mesa: implement DrawTransformFeedback from ARB_transform_feedback2

It's like DrawArrays, but the count is taken from a transform feedback
object.

This removes DrawTransformFeedback from dd_function_table and adds the same
function to GLvertexformat (with the function parameters matching GL).

The vbo_draw_func callback has a new parameter
"struct gl_transform_feedback_object *tfb_vertcount".

The rest of the code just validates states and forwards the transform
feedback object into vbo_draw_func.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
aceb5b3277e83b17da57b14c4c1a005032bf2ecc 15-Nov-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Fix typo.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
cdb38b5d3d1b93a90a91ad06c0f03efdfde6b525 10-Nov-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Split hardware/software TNL instantiation more cleanly.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
453b71855294508fce8358134f9bf5316043b834 31-Oct-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Fix type promotion issue on 32bit platforms.

Fixes some VTX protection errors introduced by e89af209261.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
f67fa5229331f6d4920175dd0d6e1e6a2c69c060 31-Oct-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Keep small DYNAMIC_DRAW vertex buffers in system ram.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
e89af209261e51988b99d954d09f2cbc59e55358 29-Oct-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Optimize VBO binding re-emission.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
57382e71ef892a36ca2171fe8758aba6c9c885e6 29-Oct-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Split out array handling to its own file.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
9d1f1fcf136e8f5f427ae203128ff641cc9e7197 29-Oct-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Use a macro to iterate over the bound vertex attributes.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
f2098e0fefbbcd72df4c8283d195beae4a113f35 29-Oct-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Split out the scratch helpers to a separate file.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
c25fcf5aa5beccd7731706b8f85682170a2eca56 28-Sep-2010 Francisco Jerez <currojerez@riseup.net> nouveau: Get larger push buffers.

Useful to amortize the command submission/reloc overhead (e.g. etracer
goes from 72 to 109 FPS on nv4b).
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
22c83ac47a50ed1fdab59476886a7e56910a653a 17-Sep-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Cleanup more references to old FBOs and VBOs.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
7f1f4c14eced51bf3f43764e2864693ba1c4a6d5 21-Mar-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Random cleanups.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
c944fb5ffe7cf16154d6395001f43a6c965cab1f 18-Mar-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Implement texcoord generation.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
d475eae50b15646efd83fa7f73ad7f2b40dd5206 11-Mar-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Some minor vertex submission fixes.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
ea027bda8e4a7cdd8f131e01ab4ff80d6c6a3ab7 07-Mar-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Split big client buffers in the indexed case too.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
80316cbefaa28454ab9d6da44ac93805608c3685 04-Mar-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Try to keep client buffers smaller than the scratch VBO length.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
43c347c63ee10db95bd912fc39b1127fa35305a4 04-Mar-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Pack client arrays as they're copied to the real BO.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
41b19c279a0eae61f0f95c3b66376a25635241fd 17-Feb-2010 Johannes Obermayr <johannesobermayr@gmx.de> nouveau: fix legacy dri driver build
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
bfb5dc68fcc9f5dee71f66d9499b8bdcde9627ea 01-Feb-2010 Francisco Jerez <currojerez@riseup.net> Import a classic DRI driver for nv0x-nv2x.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c