[Mesa3d-dev] [PATCH] Remove a few more instances of the MEMCPY macro.

2010-02-19 Thread Kenneth Graunke
--- It looks like these were missed in commit 2240ba10. This also removes the last of the SUNOS4 defines; we can probably remove configs/sunos4* as well. src/glu/mesa/gluP.h | 10 -- src/glu/mesa/nurbssrf.c |4 ++-- src/glu/mesa/project.c |2 +- src/glu/mini/gluP.h |

[Mesa3d-dev] [PATCH 00/11] Kill various _mesa_* wrappers.

2010-02-18 Thread Kenneth Graunke
These patches remove various _mesa_foo() wrappers in favor of simply calling foo() directly. I've split them out by function so it's possible to pick and choose which ones to apply. Sorry for the spam. I figured I'd resend updated copies since Brian mentioned possibly including them before the

[Mesa3d-dev] [PATCH 03/11] Remove _mesa_strcpy in favor of plain strcpy.

2010-02-18 Thread Kenneth Graunke
--- src/mesa/main/imports.c | 11 ++- src/mesa/main/imports.h |3 --- src/mesa/shader/slang/slang_mem.c |2 +- src/mesa/shader/slang/slang_utility.c |2 +- src/mesa/shader/slang/slang_utility.h |2 +- 5 files changed, 5 insertions(+), 15

[Mesa3d-dev] [PATCH 10/11] Remove _mesa_memset in favor of plain memset.

2010-02-18 Thread Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant. --- src/glx/glcontextmodes.c |7 ++- src/mesa/drivers/dri/i965/brw_state_upload.c |2 +- src/mesa/drivers/dri/i965/brw_wm_sampler_state.c |2 +- src/mesa/drivers/windows/gdi/mesa.def

[Mesa3d-dev] [PATCH 11/11] Remove _mesa_memcmp in favor of plain memcmp.

2010-02-18 Thread Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant. --- src/mesa/drivers/dri/r300/r300_fragprog_common.c |2 +- src/mesa/drivers/dri/r300/r300_vertprog.c|3 +-- src/mesa/main/bitset.h |2 +- src/mesa/main/imports.c |

[Mesa3d-dev] [PATCH 02/11] Remove _mesa_strncat in favor of plain strncat.

2010-02-18 Thread Kenneth Graunke
--- src/mesa/main/imports.c |7 --- src/mesa/main/imports.h |3 --- src/mesa/shader/atifragshader.c | 16 3 files changed, 8 insertions(+), 18 deletions(-) diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index cd19373..1a7535d 100644

Re: [Mesa3d-dev] Is pipe transfer supposed to be temporary?

2010-01-20 Thread Kenneth Graunke
On Tuesday 19 January 2010 21:42:29 Chia-I Wu wrote: 2010/1/19 Michel Dänzer mic...@daenzer.net: The ximage backend uses only softpipe and that is why I didn't notice that. softpipe seems to work well with permanent pipe transfers, but I think it is vital to use the interface correctly.

Re: [Mesa3d-dev] glsl-pp-rework-2 branch merge

2009-12-09 Thread Kenneth Graunke
On Wednesday 09 December 2009 09:16:57 michal wrote: Hi all, I would like to merge this branch back to master this week. If anoyone could test if the build works on his/her system, it would be nice. Thanks. Hi Michal, I don't see any code in the new branch that handles the #extension

Re: [Mesa3d-dev] [RFC] Move _mesa_memcpy to imports.h and inline it

2009-12-04 Thread Kenneth Graunke
On Friday 04 December 2009 07:50:15 Roland Scheidegger wrote: [snip] diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 6a34aec..0f10111 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -268,17 +268,6 @@ _mesa_bzero( void *dst, size_t n ) #endif

Re: [Mesa3d-dev] [RFC] Move _mesa_memcpy to imports.h and inline it

2009-12-04 Thread Kenneth Graunke
On Friday 04 December 2009 07:39:47 Brian Paul wrote: [snip] I've attached patches to remove a number of the wrappers, should you decide you want to go that way. Thanks. I think I'll sit on these for a while though. There's a few feature branches that will get merged in coming weeks and