[Mesa-dev] [PATCH 2/6] main: Added entry point for glTransformFeedbackBufferBase

2015-02-09 Thread Martin Peres
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: Revie

Re: [Mesa-dev] [PATCH 2/6] main: Added entry point for glTransformFeedbackBufferBase

2015-02-03 Thread Martin Peres
On 02/02/15 16:09, Ilia Mirkin wrote: On Mon, Feb 2, 2015 at 6:00 AM, Martin Peres wrote: +static struct gl_transform_feedback_object * +_mesa_lookup_transform_feedback_object_err(struct gl_context *ctx, + GLuint xfb, const char* func) +{ + struct gl

Re: [Mesa-dev] [PATCH 2/6] main: Added entry point for glTransformFeedbackBufferBase

2015-02-03 Thread Martin Peres
On 02/02/15 23:46, Laura Ekstrand wrote: On Mon, Feb 2, 2015 at 3:00 AM, Martin Peres mailto:martin.pe...@linux.intel.com>> wrote: @@ -543,15 +545,12 @@ bind_buffer_range(struct gl_context *ctx, GLuint index, */ void _mesa_bind_buffer_range_transform_feedback(struct

Re: [Mesa-dev] [PATCH 2/6] main: Added entry point for glTransformFeedbackBufferBase

2015-02-02 Thread Laura Ekstrand
On Mon, Feb 2, 2015 at 3:00 AM, Martin Peres wrote: > 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 > - fi

Re: [Mesa-dev] [PATCH 2/6] main: Added entry point for glTransformFeedbackBufferBase

2015-02-02 Thread Laura Ekstrand
Oops, what I meant to say was "Make the bufferobj lookup function static." The lookup transform feedback function doesn't have to be static. On Mon, Feb 2, 2015 at 6:09 AM, Ilia Mirkin wrote: > On Mon, Feb 2, 2015 at 6:00 AM, Martin Peres > wrote: > > +static struct gl_transform_feedback_object

Re: [Mesa-dev] [PATCH 2/6] main: Added entry point for glTransformFeedbackBufferBase

2015-02-02 Thread Ilia Mirkin
On Mon, Feb 2, 2015 at 6:00 AM, Martin Peres wrote: > +static struct gl_transform_feedback_object * > +_mesa_lookup_transform_feedback_object_err(struct gl_context *ctx, > + GLuint xfb, const char* func) > +{ > + struct gl_transform_feedback_object *obj;

[Mesa-dev] [PATCH 2/6] main: Added entry point for glTransformFeedbackBufferBase

2015-02-02 Thread Martin Peres
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: Revie

Re: [Mesa-dev] [PATCH 2/6] main: Added entry point for glTransformFeedbackBufferBase

2015-01-29 Thread Laura Ekstrand
On Thu, Jan 29, 2015 at 4:55 AM, Martin Peres wrote: > 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 > - f

[Mesa-dev] [PATCH 2/6] main: Added entry point for glTransformFeedbackBufferBase

2015-01-29 Thread Martin Peres
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 Signed-of