3177eef39277b64af3213603b58ff934b5218e39 |
|
03-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: store gl_program in gl_transform_feedback_object rather than gl_shader_program This will allow us to make the CurrentProgram array store gl_program which allows us to do a bunch of simplifications. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
700bc94dcebf4257740483d2ba467b138234fa1a |
|
03-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/glsl: move LinkedTransformFeedback from gl_shader_program to gl_program This will help allow us to store gl_program in the CurrentProgram array rather than gl_shader_program which will allow a bunch of simplifications. Note that we make LinkedTransformFeedback a pointer so we don't waste memory creating a struct for each stage. We also store a pointer to the gl_program that will contain the pointer in gl_shader_program so we can get easy access to the correct stage. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
fc8b358bd6971cc858bb06bdb4eed92656a6d8bd |
|
10-Oct-2016 |
Tapani Pälli <tapani.palli@intel.com> |
mesa: fix error handling in _mesa_TransformFeedbackVaryings Patch changes function to use _mesa_lookup_shader_program_err both in TransformFeedbackVaryings and GetTransformFeedbackVarying that handles errors correctly for invalid values of shader program. Fixes following dEQP test: dEQP-GLES31.functional.debug.negative_coverage.get_error.shader.transform_feedback_varyings Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98135 Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
bac39dddcf28d9d2df2f60c8dbb384c54366ed73 |
|
29-May-2016 |
Dave Airlie <airlied@redhat.com> |
mesa/xfb: report calculated size for XFB buffer objects. This fixes: GL45-CTS.direct_state_access.xfb_buffers This test looks correct to me, we should work out the size value and report it rather than using only the size from the Range interface. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
47fbe178fa631ae855fa862d638f5313a2b13bc3 |
|
09-May-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Call TransformFeedback driver hooks before setting flags. This way, the driver's EndTransformFeedback() hook can tell whether the transform feedback operation was paused. It's also convenient to have Paused remain false until the driver's PauseTransformFeedback hook finishes. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
cf039a309a36ba537b45f3bfe7e5a154c87d51ad |
|
10-Mar-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: split transform feedback buffer into its own struct This will be used in a following patch to implement interface query support for TRANSFORM_FEEDBACK_BUFFER. Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
258299d87ad932246ae8b1aa979b4a1a398db155 |
|
03-Mar-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: use bitmask of active xfb buffer indices This allows us to print the correct binding point when not all buffers declared in the shader are bound. For example if we use a single buffer: layout(xfb_buffer=2, offset=0) out vec4 v; We now print '2' when the buffer is not bound rather than '0'. Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
0941ef3dd57e692ee1a897ed83bd887d0cebdc63 |
|
06-Mar-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: flip current tf object back to default if current is being deleted In the rather unusual case of Bind + Delete, we need to make sure that we unbind the current tf object. Fixes dEQP-GLES3.functional.lifetime.delete_bound.transform_feedback Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
c83e161c91d1ca6cba1c277a21e380d0884e7660 |
|
09-Dec-2015 |
Andreas Boll <andreas.boll.dev@gmail.com> |
mesa: Fix typos in print messages s/inconsistant/inconsistent/ s/occurences/occurrences/ Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
90e98ea215906bb7e9ecadc4d30d2718ba2186ad |
|
18-May-2015 |
Ian Romanick <ian.d.romanick@intel.com> |
Revert "mesa: Add ARB_direct_state_access checks in XFB functions" This reverts commit 7d212765a470972f4712e42caf6406b257220369. Acked-by: Fredrik Höglund <fredrik@kde.org> Cc: "10.6" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
7d212765a470972f4712e42caf6406b257220369 |
|
10-May-2015 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Add ARB_direct_state_access checks in XFB functions Signed-off-by: Fredrik Höglund <fredrik@kde.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
dc39d843d21898752ce5d79804ff9f638595d3a9 |
|
11-Mar-2015 |
Tapani Pälli <tapani.palli@intel.com> |
mesa: refactor GetTransformFeedbackVarying Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
6ead10d08f0a4e0ccc699437ed424a0019c07ef8 |
|
22-Jan-2015 |
Martin Peres <martin.peres@linux.intel.com> |
main: Added entry point for glGetTransformFeedbacki64_v v2: Review from Laura Ekstrand - use the transform feedback object lookup wrapper v3: - use the new name of _mesa_lookup_transform_feedback_object_err v4: Review from Laura Ekstrand - fix some alignement problems Reviewed-by: Laura Ekstrand <laura@jlekstrand.net> Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
8799ecddb680f908b719df531dfe740e056ccb77 |
|
16-Feb-2015 |
Martin Peres <martin.peres@linux.intel.com> |
main: Added entry point for glGetTransformFeedbacki_v v2: Review from Laura Ekstrand - use the transform feedback object lookup wrapper v3: - use the new name of _mesa_lookup_transform_feedback_object_err Reviewed-by: Laura Ekstrand <laura@jlekstrand.net> Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
e59d2434a075176ebc94438f81d742e222da3e82 |
|
16-Feb-2015 |
Martin Peres <martin.peres@linux.intel.com> |
main: Added entry point for glGetTransformFeedbackiv v2: Review from Laura Ekstrand - use the transform feedback object lookup wrapper Reviewed-by: Laura Ekstrand <laura@jlekstrand.net> Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
296d82376e5d31961c02f6669f2012eb7bf4439d |
|
20-Jan-2015 |
Martin Peres <martin.peres@linux.intel.com> |
main: Added entry point for glTransformFeedbackBufferRange v2: review from Laura Ekstrand - use the refactored code to lookup the objects - improve some error messages - factor out the gl method name computation - better handle the spec differences between the DSA and non-DSA cases - quote the spec a little more v3: review from Laura Ekstrand - use the new name of _mesa_lookup_bufferobj_err - swap the comments around the offset and size checks v4: review from Laura Ekstrand - add more spec quotes - properly fix the comments around the offset and size checks v5: review from Laura Ekstrand - add quotes on the spec citations - revert some changes in the printf format v6: review from Laura Ekstrand - remove a redondant "gl" in a method name Signed-off-by: Martin Peres <martin.peres@linux.intel.com> Reviewed-by: Laura Ekstrand <laura@jlekstrand.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
a5d165afed8dae34f0b4f281fc1c390d019e9b97 |
|
20-Jan-2015 |
Martin Peres <martin.peres@linux.intel.com> |
main: Added entry point for glTransformFeedbackBufferBase v2: Review from Laura Ekstrand - give more helpful error messages - factor the lookup code for the xfb and objBuf - replace some already-existing tabs with spaces - add comments to explain the cases where xfb == 0 or buffer == 0 - fix the condition for binding the transform buffer or not v3: Review from Laura Ekstrand - rename _mesa_lookup_bufferobj_err to _mesa_lookup_transform_feedback_bufferobj_err and make it static to avoid a future conflict - make _mesa_lookup_transform_feedback_object_err static v4: Review from Laura Ekstrand - add the pdf page number when quoting the spec - rename some of the symbols to follow the public/private conventions v5: Review from Laura Ekstrand - properly rename some of the symbols to follow the public/private conventions - fix some alignments - add quotes around a spec citation - add back a newline I accidentally deleted - add spaces around the ternary operator usages Signed-off-by: Martin Peres <martin.peres@linux.intel.com> Reviewed-by: Laura Ekstrand <laura@jlekstrand.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
c86cb2da255216524974eb1c92caa1ecb378e32e |
|
14-Jan-2015 |
Martin Peres <martin.peres@linux.intel.com> |
main: Added entry point for glCreateTransformFeedbacks v2: Review from Laura Ekstrand - generate the name of the gl method once - shorten some lines to stay in the 78 chars limit v3: Review from Fredrik Höglund <fredrik@kde.org> - rename gl_mthd_name to func - set EverBound in _mesa_create_transform_feedbacks in the dsa case v4: - rename _mesa_create_transform_feedbacks to create_transform_feedbacks and make it static Reviewed-by: Laura Ekstrand <laura@jlekstrand.net> Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
d7193ce42cedc4cc7839fc4522edf5724e954c80 |
|
07-Mar-2015 |
Brian Paul <brianp@vmware.com> |
mesa: use strdup() instead of _mesa_strdup() We were already using strdup() in various places in Mesa. Get rid of the _mesa_strdup() wrapper. All the callers pass a non-NULL argument so the NULL check isn't needed either. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
c2e130f8201239f836f429cab3beddb4d66a3357 |
|
28-Feb-2015 |
Brian Paul <brianp@vmware.com> |
mesa/main: replace Elements() with ARRAY_SIZE() We've been using a mix of these two macros for a while now. Let's just use the later everywhere. It seems to be the convention used by other open-source projects. Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
bfcdb843830bba0190e00e35e3c5c18c4bdb5de1 |
|
21-Feb-2015 |
Matt Turner <mattst88@gmail.com> |
mesa: Use assert() instead of ASSERT wrapper. Acked-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
835abfaba415bd8d24ee178f53ef1cad73a4e6ce |
|
15-Nov-2013 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Add _mesa_set_transform_feedback_binding() Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
c03477050a6f51e601f75cb3c061a3e16a5b7171 |
|
03-May-2013 |
Gregory Hainaut <gregory.hainaut@gmail.com> |
mesa/sso: rename Shader to the pointer _Shader Basically a sed but shaderapi.c and get.c. get.c => GL_CURRENT_PROGAM always refer to the "old" UseProgram behavior shaderapi.c => the old api stil update the Shader object directly V2: formatting improvement V3 (idr): * Rebase fixes after a block of code was moved from ir_to_mesa.cpp to shaderapi.c. * Trivial reformatting. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
e190709119d8eb85c67bfbad5be699d39ad0118e |
|
22-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa: Ensure that transform feedback refers to the correct program. Previous to this patch, the _mesa_{Begin,Resume}TransformFeedback functions were using ctx->Shader.CurrentProgram[MESA_SHADER_VERTEX] to find the program that would be the source of transform feedback data. This isn't correct--if there's a geometry shader present it should be ctx->Shader.CurrentProgram[MESA_SHADER_GEOMETRY]. (These might be different if separate shader objects are in use). This patch creates a function get_xfb_source(), which figures out the correct program to use based on GL state, and updates _mesa_{Begin,Resume}TransformFeedback to call it. get_xfb_source() is written in terms of the gl_shader_stage enum, so it should not need modification when we add tessellation shaders in the future. It also creates a new driver flag, NewTransformFeedbackProg, which is flagged whenever this program changes. To reduce future confusion, this patch also rewords some comments and error message text to avoid referring to vertex shaders. Cc: 10.0 <mesa-stable@lists.freedesktop.org> v2: make the for loop in get_xfb_source() clearer. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
1aef45578ced422df622a251fcce83bbe01d617e |
|
09-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa: Fold long lines introduced by the previous patch. Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
3b22146dc714b6090f7423abbc4df53d7d1fdaa9 |
|
09-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa: Replace ctx->Shader.Current{Vertex,Fragment,Geometry}Program with an array. These are replaced with ctx->Shader.CurrentProgram[MESA_SHADER_{VERTEX,FRAGMENT,GEOMETRY}]. In patches to follow, this will allow us to replace a lot of ad-hoc logic with a variable index into the array. With the exception of the changes to mtypes.h, this patch was generated entirely by the command: find src -type f '(' -iname '*.c' -o -iname '*.cpp' ')' \ -print0 | xargs -0 sed -i \ -e 's/\.CurrentVertexProgram/.CurrentProgram[MESA_SHADER_VERTEX]/g' \ -e 's/\.CurrentGeometryProgram/.CurrentProgram[MESA_SHADER_GEOMETRY]/g' \ -e 's/\.CurrentFragmentProgram/.CurrentProgram[MESA_SHADER_FRAGMENT]/g' Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
f02ee3044ffe3ec3e3613e79c0c25aa9eeef5c9f |
|
26-Oct-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Separate transform feedback object initialization from allocation. Both Gallium and i965 subclass gl_transform_feedback_object, which requires implementing a custom NewTransformFeedback hook. Creating a helper function to initialize the fields avoids code duplication and divergence. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
2b71b3d4666b076ef45d03b9b4b4c527bda21e1c |
|
07-Sep-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Disallow relinking if a program is used by an active XFB object. Paused transform feedback objects may refer to a program other than the current program. If any active objects refer to a program, LinkProgram must reject the request to relink. The code to detect this is ugly since _mesa_HashWalk is awkward to use, but unfortunately we can't use hash_table_foreach since there's no way to get at the underlying struct hash_table (and even then, we'd need to handle locking somehow). Fixes the last subcase of Piglit's new ARB_transform_feedback2 api-errors test. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
9cc74c93f8983f978e7315e021eb59dfaca6404b |
|
06-Sep-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Reject ResumeTransformFeedback if the wrong program is bound. This is actually a pretty important error condition: otherwise, you could set up transform feedback with one program, and resume it with a program that generates a completely different set of outputs. Fixes a subcase of Piglit's new ARB_transform_feedback2 api-errors test. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
c732f68cf4aca06bac03e6a70c49047057c0c357 |
|
06-Sep-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Track the vertex program active at BeginTransformFeedback() time. The next few patches will use this for API error checking. All of the drivers appear to CALLOC_STRUCT transform feedback objects, so this should be properly NULL initialized on creation. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
a7d616da69d631cc088c01b761a8b1b8b36c6b13 |
|
06-Sep-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Disallow TransformFeedbackVaryings when active. Fixes a subcase of Piglit's new ARB_transform_feedback2 api-errors test. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
6d8dd59cf53d2f47b817d79204a52bb3a46e8c77 |
|
26-Aug-2013 |
Timothy Arceri <t_arceri@yahoo.com.au> |
mesa: free object labels when deleting Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
3d8d5b298a268b119d840bc9bae0ee9e0c9244a9 |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Restore 78-column wrapping of license text in C-style comments. The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
96ff2edc73ccf11d4d198ba3665507f73ae4a9f7 |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability. This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
b95cbe5e800e95d888d148e20e6a4e34c8857a9e |
|
15-Apr-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa,i965: use NewDriverState to communicate TFB state changes with the driver _NEW_TRANSFORM_FEEDBACK is not used by core Mesa, so it can be removed. Instead, an new private flag is added to i965 to serve the same purpose. If you're new to this: * When creating a context. you can set private dirty flags in gl_context::DriverFlags, eg.: ctx->DriverFlags.NewStateX = BRW_NEW_STATE_X; * When StateX is changed, core Mesa does: ctx->NewDriverState |= ctx->DriverFlags.NewStateX; * When you have to draw, read and clear ctx->NewDriverState. * Pros: not touching NewState, the driver decides the mapping between GL states and hw state groups, unlimited number of flags in core Mesa (still limited number of flags in the driver though) Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
b76f6d9557ff27140e18cf8aa2b57db8876d5d4d |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove #include "mfeatures.h" from numerous source files None of the remaining FEATURE_x symbols in mfeatures.h are used anymore. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
a9754793dab4b24c09cae21c29f902ce0e53319a |
|
17-Jan-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Drop manual checks for outside begin/end. We now have a separate dispatch table for begin/end that prevent these functions from being entered during that time. The ASSERT_OUTSIDE_BEGIN_END_WITH_RETVALs are left because I don't want to change any return values or introduce new error-only stubs at this point. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
fd93d55141f11069fb76a9b377ad1af88d0ecdd3 |
|
19-Dec-2012 |
Matt Turner <mattst88@gmail.com> |
Make IsTransformFeedback() return false before BindTransformFeedback() The GL 4.3 an ES 3.0 specs say A transform feedback object is created by binding a name returned by GenTransformFeedbacks with the command void BindTransformFeedback( enum target, uint id ); Fixes arb_transform_feedback2-istransformfeedback and part of es3conform's CoverageES30.test. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
5b7099c74d7774dc59895536bad53bd1196e398c |
|
15-Dec-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Make a function is_transform_feedback_active_and_unpaused. The rather unweildy logic for determining this condition was repeated in a large number of places. This patch consolidates it to a single inline function. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
1ad516207d2297b14fe26627e5bb599a9f704ac5 |
|
15-Dec-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Fix corner cases of BindBufferBase with transform feedback. This patch implements the following behaviours, which are mandated by the GL 4.3 and GLES3 specs. 1. Regarding the GL_TRANSFORM_FEEDBACK_BUFFER_SIZE query: "If the ... size was not specified when the buffer object was bound (e.g. if it was bound with BindBufferBase), ... zero is returned." (GL 4.3 section 6.7.1 "Indexed Buffer Object Limits and Binding Queries"). 2. "BindBufferBase binds the entire buffer, even when the size of the buffer is changed after the binding is established. It is equivalent to calling BindBufferRange with offset zero, while size is determined by the size of the bound buffer at the time the binding is used." (GL 4.3 section 6.1.1 "Binding Buffer Objects to Indexed Targets"). I interpret "at the time the binding is used" to mean "at the time of the call to glBeginTransformFeedback". 3. "Regardless of the size specified with BindBufferRange, or indirectly with BindBufferBase, the GL will never read or write beyond the end of a bound buffer. In some cases this constraint may result in visibly different behavior when a buffer overflow would otherwise result, such as described for transform feedback operations in section 13.2.2." (GL 4.3 section 6.1.1 "Binding Buffer Objects to Indexed Targets"). Item 1 has been part of the spec all the way back to the inception of the EXT_transform_feedback extension. Items 2 and 3 were added in GL 4.2 and GLES 3. Prior to GL 4.2, in place of items 2 and 3, the spec simply said "BindBufferBase is equivalent to calling BindBufferRange with offset zero and size equal to the size of buffer." For transform feedback, Mesa behaved as though this meant "...equal to the size of buffer at the time of the call to BindBufferBase". However, this was problematic because it left it ambiguous what to do if the buffer is shrunk between the call to BindBuffer{Base,Range} and the call to BeginTransformFeedback. Prior to this patch, Mesa's behaviour was to try to write beyond the end of the buffer, likely resulting in memory corruption. In light of this, I'm interpreting the spec change as a clarification, not an intended behavioural change, so I'm making the change apply regardless of API version. Fixes GLES3 conformance test transform_feedback2_pause_resume.test. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
b87e65c3b61caeaa4f97a34d62e148e59a0dd5b8 |
|
13-Dec-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa/gles3: Generate error on draw call if transform feedback would overflow. In desktop GL, if a draw call would cause transform feedback buffers to overflow, the draw call should succeed, and the extra primitives should simply not be recorded in the transform feedback buffers. In GLES3, however, if a draw call would cause transform feedback buffers to overflow, the draw call is supposed to produce an INVALID_OPERATION error and no drawing should occur. This patch implements the GLES3-required behaviour. Fixes GLES3 conformance test "transform_feedback_overflow.test". Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
3870f2903f030969491fa287b7f8d7eaf1d2f4f9 |
|
12-Dec-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: refactor _mesa_compute_max_transform_feedback_vertices from i965. Previously, the i965 driver contained code to compute the maximum number of vertices that could be written without overflowing any transform feedback buffers. This code wasn't driver-specific, and for GLES3 support we're going to need to use it in core mesa. So this patch moves the code into a core mesa function, _mesa_compute_max_transform_feedback_vertices(). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> v2: Eliminate C++-style variable declarations, since these won't work with MSVC. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
8f3570efc740dc36305c99b8c932a02427975cc9 |
|
22-Nov-2012 |
Matt Turner <mattst88@gmail.com> |
mesa: Use correct glGetTransformFeedbackVarying name in error msg Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
bb3db388d8d4c7c2276a1db27fadaa1c57f1b39c |
|
06-Nov-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Fix const correctness of API implementation functions. This patch changes the use of const in the type signatures of _mesa_ShaderSource() and _mesa_TransformFeedbackVaryings(), to match the type signatures in the GL spec. This avoids warnings when building the code-generated api_exec.c file. Note: previously we avoided the build warnings because these functions were being type-checked against ShaderSourceARB and TransformFeedbackVaryingsEXT; those functions are semantically equivalent, but have fewer const qualifiers in their type signatures. Acked-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
91b828ea740daa0bff6abb7da03dd18594016091 |
|
31-Oct-2012 |
Paul Berry <stereotype441@gmail.com> |
dispatch: Delete unused init_dispatch functions. The new code-generated version of _mesa_create_exec_table() populates the entire dispatch table (except for dynamic functions) by itself; it no longer calls separate functions to initialize parts of the dispatch table. This patch removes those no-longer-needed functions. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
27d70b7266cc5e8562b4cccae763976834eb0ce2 |
|
05-Nov-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix MSVC signed/unsigned warnings in transformfeedback.c Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
8e45e38512a1f7c8b304b96226105da54e473d25 |
|
27-Oct-2012 |
Brian Paul <brianp@vmware.com> |
mesa: silence MSVC signed/unsigned comparision warnings in transformfeedback.c Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
2e0de807513abdeb239ce02177ccbbd6b18af90c |
|
19-Oct-2012 |
Paul Berry <stereotype441@gmail.com> |
_mesa_create_exec_table: GLES3 fixes. This patch sets up the dispatch table for the following GLES3 functions when a GLES3 context is in use: - BeginQuery - BeginTransformFeedback - BindSampler - BindTransformFeedback - BlitFramebuffer - ClearBufferfi - ClearBufferfv - ClearBufferiv - ClearBufferuiv - ClientWaitSync - CopyBufferSubData - DeleteQueries - DeleteSamplers - DeleteSync - DeleteTransformFeedbacks - EndQuery - EndTransformFeedback - FenceSync - FramebufferTextureLayer - GenQueries - GenSamplers - GenTransformFeedbacks - GetInteger64v - GetQueryObjectuiv - GetQueryiv - GetSamplerParameterfv - GetSamplerParameteriv - GetStringi - GetSynciv - GetTransformFeedbackVarying - GetVertexAttribIiv - GetVertexAttribIuiv - IsQuery - IsSampler - IsSync - IsTransformFeedback - PauseTransformFeedback - RenderbufferStorageMultisample - ResumeTransformFeedback - SamplerParameterf - SamplerParameterfv - SamplerParameteri - SamplerParameteriv - TransformFeedbackVaryings - VertexAttribDivisor - VertexAttribIPointer - WaitSync And it avoids setting up the dispatch table for these non-GLES3 functions: - ColorMaski - GetBooleani_v - Enablei - Disablei - IsEnabledi - ClearColorIiEXT - ClearColorIuiEXT - TextureStorage2DEXT - TextureStorage3DEXT - GetActiveUniformName - GetnUniformdv - GetnUniformfv - GetnUniformiv - GetnUniformuiv Reviewed-by: Brian Paul <brianp@vmware.com> v2: Make the ctx argument to _mesa_init_transform_feedback_dispatch() a const pointer. Add a comment to remind us to add GetBufferParameteri64v once tests exist for it. Also add VertexAttribDivisor for GLES3, and remove GetActiveUniformName and GetnUniform{dv,fv,iv,uiv} for GLES3. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
dda982f1a7f1b8f525894e01975e69b262696153 |
|
11-Sep-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
mesa: remove FEATURE_EXT_transform_feedback define. Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
2b7a972e3f36bfcdc6fbe2b59d7ffdcde49c9405 |
|
04-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
Don't cast the return value of malloc/realloc This patch has been generated by the following Coccinelle semantic patch: // Don't cast the return value of malloc/realloc. // // Casting the return value of malloc/realloc only stands to hide // errors. @@ type T; expression E1, E2; @@ - (T) ( _mesa_align_calloc(E1, E2) | _mesa_align_malloc(E1, E2) | calloc(E1, E2) | malloc(E1) | realloc(E1, E2) )
/external/mesa3d/src/mesa/main/transformfeedback.c
|
375e73d85948b43aa509e25f0a210ebd10238b6f |
|
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement glGet queries and error handling for ARB_transform_feedback3 Acked-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
15ac66e331abdab12e882d80a6b4f647bc905298 |
|
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: rename MaxTransformFeedbackSeparateAttribs to MaxTransformFeedbackBuffers This is a cleanup for ARB_transform_feedback3, where GL_MAX_TRANSFORM_FEEDBACK_BUFFERS is introduced for interleaved attribs and has the same meaning as GL_MAX_.._SEPARATE_ATTRIBS for separate attribs. Also, the maximum number of TFB buffers is reduced from 32 to 4, which makes this patch useful even without the extension. I don't know of any hardware which can do more than 4. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
d988ea5e810868244eb1a1e7ede32295c9ed9ad4 |
|
22-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: minor transform feedback comments
/external/mesa3d/src/mesa/main/transformfeedback.c
|
b82c47215689d1243d1aa810bff7f06d8288d686 |
|
15-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Move glBindBufferBase and glBindBufferRange() to bufferobj. The rest of the TFB implementation remains in transformfeedback.c, and this will be shared with UBOs. v2: Move the size/offset checks shared with UBOs to common code as well. (Kenneth's review) Reviewed-by: Brian Paul <brianp@vmware.com> (v1) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
05b086ce934fa2967da736db8db429d0886735a9 |
|
04-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Support BindBuffer{Base,Offset,Range} with a buffer of 0. _mesa_lookup_bufferobj returns NULL for 0, which caused us to say "there's no such buffer object" and raise an error, rather than correctly binding the shared NullBufferObj. Now you can unbind your buffers. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
56118ef9292caa947216d6b0a75c6ae588419556 |
|
14-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Validate the drawing primitive against the transform feedback mode. Fixes piglit GL_EXT_transform_feedback/negative-prims. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
9d36c96d6ec9f2c05c8e0b9ef18c5462cddee8c1 |
|
03-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix glGetTransformFeedbackVarying(). The current implementation was totally broken -- it was looking in an unpopulated structure for varyings, and trying to do so using the current list of varying names, not the list used at link time. v2: Fix leaking of memory into the program per re-link. Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
86bb45ffc36280263ba99fdca0c341489ad99e7f |
|
30-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Additional error checks for transform feedback. From the EXT_transform_feedback spec: The error INVALID_OPERATION is also generated by BeginTransformFeedbackEXT if no binding points would be used, either because no program object is active or because the active program object has specified no varying variables to record. ... The error INVALID_VALUE is generated by BindBufferRangeEXT or BindBufferOffsetEXT if <offset> is not word-aligned. Fixes Piglit tests: - EXT_transform_feedback/api-errors no_prog_active - EXT_transform_feedback/api-errors interleaved_no_varyings - EXT_transform_feedback/api-errors separate_no_varyings - EXT_transform_feedback/api-errors bind_offset_offset_1 - EXT_transform_feedback/api-errors bind_offset_offset_2 - EXT_transform_feedback/api-errors bind_offset_offset_3 - EXT_transform_feedback/api-errors bind_offset_offset_5 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
ebfad9f6a125738b9bfc5d5f7d09a8b57856674a |
|
30-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Check that all buffers are bound in BeginTransformFeedback. From the EXT_transform_feedback spec: The error INVALID_OPERATION is generated by BeginTransformFeedbackEXT if any transform feedback buffer object binding point used in transform feedback mode does not have a buffer object bound. This required adding a new NumBuffers field to the gl_transform_feedback_info struct, to keep track of how many transform feedback buffers are required by the current program. Fixes Piglit tests: - EXT_transform_feedback/api-errors interleaved_unbound - EXT_transform_feedback/api-errors separate_unbound_0_1 - EXT_transform_feedback/api-errors separate_unbound_0_2 - EXT_transform_feedback/api-errors separate_unbound_1_2 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
1979e22e13dd28553bcc67cc51e56684e6ee4768 |
|
30-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Fix typos in transform feedback error messages. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
87c7e5fb876bf280d8693ef3b0f4351b1d2eec3b |
|
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Disable certain error checks when transform feedback is paused When transform feedback is paused, it is legal to change programs or to perform drawing operations using a drawing mode that doesn't match the transform feedback mode. Reviewed-by: Brian Paul <brianp@vmare.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
08ce48733d9441e1daa779027dbea1ce9964cc77 |
|
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Ensure that Paused is reset to false on EndTransformFeedback. If a client calls BeginTransformFeedback(), then PauseTransformFeedback(), then EndTransformFeedback(), we need to make sure that the transform feedback object is not left in a "paused" state, otherwise the next call to BeginTransformFeedback() will leave transform feedback paused. Reviewed-by: Brian Paul <brianp@vmare.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
291ae4e6396872679fef72ed4fdd46fb7f945c3d |
|
16-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Remove unnecessary FLUSH_VERTICES in bind_buffer_range It isn't necessary to call FLUSH_VERTICES from bind_buffer_range, because transform feedback buffers are not allowed to be changed when transform feedback is active. Thanks to Marek Olšák for pointing out this bug. Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
38b118d49ddbc8bd5d96cc0d23d681887fca045e |
|
08-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Fix off-by-one error in transform feedback size check. In _mesa_BindBufferRange(), we need to verify that the offset and size specified by the client do not exceed the size of the underlying buffer. We were accidentally doing this check using ">=" rather than ">", so we were generating a bogus error if the client specified an offset and size that fit exactly in the underlying buffer. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/transformfeedback.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/main/transformfeedback.c
|
a98ceee0ee3692783047c6f8f9f6bf6afbf4dd3b |
|
22-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Track changes to transform feedback state. This patch adds a new bit to the ctx->NewState bitfield, _NEW_TRANSFORM_FEEDBACK, to track state changes that affect ctx->TransformFeedback. This bit can be used by driver back-ends to avoid expensive recomputations when transform feedback state has not been modified. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
c67d9cfd9d5d04b5b32170616f75b34e0192304b |
|
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix signed/unsigned comparison warning
/external/mesa3d/src/mesa/main/transformfeedback.c
|
48dcdcffd61c6c3755d818493bc3b7bdc1260ea5 |
|
25-Oct-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: initialize ARB_transform_feedback2 dispatch Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
f77aa278d354bebdbda940b31c9cccf12a5d146f |
|
24-Oct-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix GL error checking in TransformFeedbackVaryings Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/transformfeedback.c
|
076bd11112742ca615880f2c6dc6ed235ab37eb5 |
|
30-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix error string, remove out of date comment
/external/mesa3d/src/mesa/main/transformfeedback.c
|
be293c14c6992027e417ae473b77c5e04382d7e3 |
|
30-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove commented-out #include
/external/mesa3d/src/mesa/main/transformfeedback.c
|
2be2e1d3ada2d9cb5c1c42e955629d8fbbafcd0b |
|
29-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix a few incorrect error messages
/external/mesa3d/src/mesa/main/transformfeedback.c
|
db61b9ce39bccc43140357652ceb78baaf2aea44 |
|
07-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Directly include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/main/transformfeedback.c
|
0117da40cd7edd3d165bb28569c289b37eca12b9 |
|
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mtypes.h in files that use gl_context struct. Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
/external/mesa3d/src/mesa/main/transformfeedback.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/transformfeedback.c
|
9eca0e2c3e9409b5da49d9a5052d3665e7d45bb1 |
|
02-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix some printf warnings with casts
/external/mesa3d/src/mesa/main/transformfeedback.c
|
86af037e6a1643284f87c5e01c3fcb09dd07bf35 |
|
01-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Fix many printf-like warnings. Most of these are just typecasting to long to match the arg type. I don't really care too much about getting a GLsizei or whatever appropriate type in. However, there were a number of real bugs, like missing arguments or passing floats to integer format specifiers. My favorite: printflike("%s, argument") is missing an argument.
/external/mesa3d/src/mesa/main/transformfeedback.c
|
32a9b2799e5e1254fdf84af8248ea86e234d6dd4 |
|
06-Jul-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Always initialize transform feedback state. Assert ctx->Driver.NewTransformFeedback if the feature is enabled; Use the default callbacks otherwise. The rest of core mesa expects the state to be initialized.
/external/mesa3d/src/mesa/main/transformfeedback.c
|
5b90f83aee89d051983485cdec5b5db2f3659256 |
|
01-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: free xform feedback hash table
/external/mesa3d/src/mesa/main/transformfeedback.c
|
ec2b92f98c2e7f161521b447cc1d9a36bce3707c |
|
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/main/transformfeedback.c
|
a37b2219d6e3f299379c6434d65f300660d12c3e |
|
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: refactor shader api / object code Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
/external/mesa3d/src/mesa/main/transformfeedback.c
|
39c13a115eb45fb6c711cd86cda3a0c178975b52 |
|
14-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: another transform feedback error check, 80-col wrapping
/external/mesa3d/src/mesa/main/transformfeedback.c
|
b093016bd0660cc4ac6142aa8d4d6add5b6bfce8 |
|
11-May-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Make FEATURE_EXT_transform_feedback more modular. This allows transformfeedback.h and st_cb_xformfb.h to be included and used without knowing if FEATURE_EXT_transform_feedback is enabled. Fix build of ES overlay.
/external/mesa3d/src/mesa/main/transformfeedback.c
|
d74f525060f779cfe449c20853b11ba2bbcdea6d |
|
11-May-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: s/uint/GLuint/ in _mesa_BindTransformFeedback prototype. From http://www.opengl.org/registry/api/glext.h GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); Fixes MinGW build.
/external/mesa3d/src/mesa/main/transformfeedback.c
|
fef6e36e0736a68e24d7844bae65a01de8359214 |
|
11-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: more transform feedback infrastructure Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
/external/mesa3d/src/mesa/main/transformfeedback.c
|
3100f31b747a3294e1e7043ed9a61d8b90bf423a |
|
02-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: minor fixes in _mesa_GetTransformFeedbackVarying()
/external/mesa3d/src/mesa/main/transformfeedback.c
|
bef912abd3345268168fdff82b4a36f64f1d78a0 |
|
01-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header.
/external/mesa3d/src/mesa/main/transformfeedback.c
|
de8530e1546733bf21b2e0518d6c5bda560770b9 |
|
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: initial check-in of transform feedback functions
/external/mesa3d/src/mesa/main/transformfeedback.c
|