Re: [Mesa-dev] [PATCH 13/23] main: Minor whitespace fixes in ClearNamedBuffer[Sub]Data.

2015-03-16 Thread Fredrik Höglund
This patch is:

Reviewed-by: Fredrik Höglund fred...@kde.org

On Thursday 12 February 2015, Laura Ekstrand wrote:
 ---
  src/mesa/main/bufferobj.c | 4 ++--
  src/mesa/main/bufferobj.h | 4 ++--
  2 files changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
 index bd21c8a..88230d6 100644
 --- a/src/mesa/main/bufferobj.c
 +++ b/src/mesa/main/bufferobj.c
 @@ -1765,10 +1765,10 @@ void GLAPIENTRY
  _mesa_ClearBufferSubData(GLenum target, GLenum internalformat,
   GLintptr offset, GLsizeiptr size,
   GLenum format, GLenum type,
 - const GLvoid* data)
 + const GLvoid *data)
  {
 GET_CURRENT_CONTEXT(ctx);
 -   struct gl_buffer_object* bufObj;
 +   struct gl_buffer_object *bufObj;
  
 bufObj = get_buffer(ctx, glClearBufferSubData, target, 
 GL_INVALID_VALUE);
 if (!bufObj)
 diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
 index 5254727..2a66444 100644
 --- a/src/mesa/main/bufferobj.h
 +++ b/src/mesa/main/bufferobj.h
 @@ -220,7 +220,7 @@ _mesa_GetBufferSubData(GLenum target, GLintptrARB offset,
  void GLAPIENTRY
  _mesa_ClearBufferData(GLenum target, GLenum internalformat,
GLenum format, GLenum type,
 -  const GLvoid * data);
 +  const GLvoid *data);
  
  void GLAPIENTRY
  _mesa_ClearNamedBufferData(GLuint buffer, GLenum internalformat,
 @@ -231,7 +231,7 @@ void GLAPIENTRY
  _mesa_ClearBufferSubData(GLenum target, GLenum internalformat,
   GLintptr offset, GLsizeiptr size,
   GLenum format, GLenum type,
 - const GLvoid * data);
 + const GLvoid *data);
  
  void GLAPIENTRY
  _mesa_ClearNamedBufferSubData(GLuint buffer, GLenum internalformat,
 

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH 13/23] main: Minor whitespace fixes in ClearNamedBuffer[Sub]Data.

2015-02-20 Thread Martin Peres

Please squash this in the previous commit (with git rebase -i).

On 12/02/2015 04:05, Laura Ekstrand wrote:

---
  src/mesa/main/bufferobj.c | 4 ++--
  src/mesa/main/bufferobj.h | 4 ++--
  2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index bd21c8a..88230d6 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -1765,10 +1765,10 @@ void GLAPIENTRY
  _mesa_ClearBufferSubData(GLenum target, GLenum internalformat,
   GLintptr offset, GLsizeiptr size,
   GLenum format, GLenum type,
- const GLvoid* data)
+ const GLvoid *data)
  {
 GET_CURRENT_CONTEXT(ctx);
-   struct gl_buffer_object* bufObj;
+   struct gl_buffer_object *bufObj;
  
 bufObj = get_buffer(ctx, glClearBufferSubData, target, GL_INVALID_VALUE);

 if (!bufObj)
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
index 5254727..2a66444 100644
--- a/src/mesa/main/bufferobj.h
+++ b/src/mesa/main/bufferobj.h
@@ -220,7 +220,7 @@ _mesa_GetBufferSubData(GLenum target, GLintptrARB offset,
  void GLAPIENTRY
  _mesa_ClearBufferData(GLenum target, GLenum internalformat,
GLenum format, GLenum type,
-  const GLvoid * data);
+  const GLvoid *data);
  
  void GLAPIENTRY

  _mesa_ClearNamedBufferData(GLuint buffer, GLenum internalformat,
@@ -231,7 +231,7 @@ void GLAPIENTRY
  _mesa_ClearBufferSubData(GLenum target, GLenum internalformat,
   GLintptr offset, GLsizeiptr size,
   GLenum format, GLenum type,
- const GLvoid * data);
+ const GLvoid *data);
  
  void GLAPIENTRY

  _mesa_ClearNamedBufferSubData(GLuint buffer, GLenum internalformat,


___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH 13/23] main: Minor whitespace fixes in ClearNamedBuffer[Sub]Data.

2015-02-20 Thread Laura Ekstrand
Again, Ian requested that this be a separate commit.

On Fri, Feb 20, 2015 at 6:22 AM, Martin Peres martin.pe...@free.fr wrote:

 Please squash this in the previous commit (with git rebase -i).


 On 12/02/2015 04:05, Laura Ekstrand wrote:

 ---
   src/mesa/main/bufferobj.c | 4 ++--
   src/mesa/main/bufferobj.h | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

 diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
 index bd21c8a..88230d6 100644
 --- a/src/mesa/main/bufferobj.c
 +++ b/src/mesa/main/bufferobj.c
 @@ -1765,10 +1765,10 @@ void GLAPIENTRY
   _mesa_ClearBufferSubData(GLenum target, GLenum internalformat,
GLintptr offset, GLsizeiptr size,
GLenum format, GLenum type,
 - const GLvoid* data)
 + const GLvoid *data)
   {
  GET_CURRENT_CONTEXT(ctx);
 -   struct gl_buffer_object* bufObj;
 +   struct gl_buffer_object *bufObj;
bufObj = get_buffer(ctx, glClearBufferSubData, target,
 GL_INVALID_VALUE);
  if (!bufObj)
 diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
 index 5254727..2a66444 100644
 --- a/src/mesa/main/bufferobj.h
 +++ b/src/mesa/main/bufferobj.h
 @@ -220,7 +220,7 @@ _mesa_GetBufferSubData(GLenum target, GLintptrARB
 offset,
   void GLAPIENTRY
   _mesa_ClearBufferData(GLenum target, GLenum internalformat,
 GLenum format, GLenum type,
 -  const GLvoid * data);
 +  const GLvoid *data);
 void GLAPIENTRY
   _mesa_ClearNamedBufferData(GLuint buffer, GLenum internalformat,
 @@ -231,7 +231,7 @@ void GLAPIENTRY
   _mesa_ClearBufferSubData(GLenum target, GLenum internalformat,
GLintptr offset, GLsizeiptr size,
GLenum format, GLenum type,
 - const GLvoid * data);
 + const GLvoid *data);
 void GLAPIENTRY
   _mesa_ClearNamedBufferSubData(GLuint buffer, GLenum internalformat,



___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 13/23] main: Minor whitespace fixes in ClearNamedBuffer[Sub]Data.

2015-02-11 Thread Laura Ekstrand
---
 src/mesa/main/bufferobj.c | 4 ++--
 src/mesa/main/bufferobj.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index bd21c8a..88230d6 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -1765,10 +1765,10 @@ void GLAPIENTRY
 _mesa_ClearBufferSubData(GLenum target, GLenum internalformat,
  GLintptr offset, GLsizeiptr size,
  GLenum format, GLenum type,
- const GLvoid* data)
+ const GLvoid *data)
 {
GET_CURRENT_CONTEXT(ctx);
-   struct gl_buffer_object* bufObj;
+   struct gl_buffer_object *bufObj;
 
bufObj = get_buffer(ctx, glClearBufferSubData, target, GL_INVALID_VALUE);
if (!bufObj)
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
index 5254727..2a66444 100644
--- a/src/mesa/main/bufferobj.h
+++ b/src/mesa/main/bufferobj.h
@@ -220,7 +220,7 @@ _mesa_GetBufferSubData(GLenum target, GLintptrARB offset,
 void GLAPIENTRY
 _mesa_ClearBufferData(GLenum target, GLenum internalformat,
   GLenum format, GLenum type,
-  const GLvoid * data);
+  const GLvoid *data);
 
 void GLAPIENTRY
 _mesa_ClearNamedBufferData(GLuint buffer, GLenum internalformat,
@@ -231,7 +231,7 @@ void GLAPIENTRY
 _mesa_ClearBufferSubData(GLenum target, GLenum internalformat,
  GLintptr offset, GLsizeiptr size,
  GLenum format, GLenum type,
- const GLvoid * data);
+ const GLvoid *data);
 
 void GLAPIENTRY
 _mesa_ClearNamedBufferSubData(GLuint buffer, GLenum internalformat,
-- 
2.1.0

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev