[Mesa-dev] [PATCH] mesa: rewrite accum buffer support

2011-12-04 Thread Brian Paul
Implemented in terms of renderbuffer mapping/unmapping and format packing/unpacking functions. The swrast and state tracker code for implementing accumulation are unused and will be removed in the next commit. v2: don't use memcpy() in _mesa_clear_accum_buffer() --- src/mesa/SConscript

[Mesa-dev] [PATCH 6/6] mesa: simplify _mesa_remove_renderbuffer()

2011-12-04 Thread Brian Paul
--- src/mesa/main/renderbuffer.c | 12 ++-- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c index 22df88c..d82b19a 100644 --- a/src/mesa/main/renderbuffer.c +++ b/src/mesa/main/renderbuffer.c @@ -156,17 +156,9 @@

[Mesa-dev] [PATCH 4/6] mesa/drivers: use new swrast renderbuffer functions

2011-12-04 Thread Brian Paul
--- src/mesa/drivers/common/driverfuncs.c |7 +++-- src/mesa/drivers/dri/intel/intel_screen.c | 15 +++-- src/mesa/drivers/dri/intel/intel_span.c | 27 + src/mesa/drivers/dri/nouveau/nouveau_screen.c |7 +++-- src/mesa/drivers/dri/radeo

[Mesa-dev] [PATCH 2/6] mesa: remove unused functions in depthstencil.c

2011-12-04 Thread Brian Paul
--- src/mesa/main/depthstencil.c | 155 -- src/mesa/main/depthstencil.h | 16 2 files changed, 0 insertions(+), 171 deletions(-) diff --git a/src/mesa/main/depthstencil.c b/src/mesa/main/depthstencil.c index 40d6c96..af5c12f 100644 --- a/src/mesa/ma

[Mesa-dev] [PATCH 1/6] mesa: make some renderbuffer functions static

2011-12-04 Thread Brian Paul
The functions to allocate software color, depth, accum, etc buffers aren't called from anywhere else. --- src/mesa/main/renderbuffer.c | 96 +- src/mesa/main/renderbuffer.h | 28 2 files changed, 48 insertions(+), 76 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 2/4] mesa: rewrite accum buffer support

2011-12-04 Thread Brian Paul
On 12/04/2011 03:45 PM, Eric Anholt wrote: On Sat, 3 Dec 2011 10:07:36 -0700, Brian Paul wrote: Implemented in terms of renderbuffer mapping/unmapping and format packing/unpacking functions. The swrast and state tracker code for implementing accumulation are unused and will be removed in the

Re: [Mesa-dev] [PATCH 2/4] mesa: rewrite accum buffer support

2011-12-04 Thread Eric Anholt
On Sat, 3 Dec 2011 10:07:36 -0700, Brian Paul wrote: > Implemented in terms of renderbuffer mapping/unmapping and format > packing/unpacking functions. > > The swrast and state tracker code for implementing accumulation are > unused and will be removed in the next commit. > + ctx->Driver.MapR

Re: [Mesa-dev] RFC: remove ctx->Driver.TextureMemCpy() hook

2011-12-04 Thread Eric Anholt
On Fri, 02 Dec 2011 08:14:56 -0700, Brian Paul wrote: > > This hook was added many years ago to allow using an alternative > implementation of memcpy() for glTexImage() that was faster under some > circumstances. > > The code is still present in the state tracker in st_cb_texture.c > > The ho

[Mesa-dev] [PATCH] mesa: add missing RG_INTEGER and some RED_INTEGER_EXT checks.

2011-12-04 Thread Dave Airlie
From: Dave Airlie This just adds the correct checks and asserts in the right places. This doesn't fix all the tests that I've sent to piglit, need to add int paths to go alongside the uint paths that don't go via float to fix it up properly. I'm not sure how much of that could be templated/shar

[Mesa-dev] [Bug 43520] New: CoreBreach: Static lightning broken in Mesa 7.11

2011-12-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43520 Bug #: 43520 Summary: CoreBreach: Static lightning broken in Mesa 7.11 Classification: Unclassified Product: Mesa Version: 7.11 Platform: Other OS/Version: All Status:

[Mesa-dev] [PATCH 1/1] st/mesa: Use util_blit_pixels_writemask() for depth blits as well in st_copy_texsubimage().

2011-12-04 Thread Henri Verbeet
This has no piglit regressions on r600g and softpipe. Signed-off-by: Henri Verbeet --- src/mesa/state_tracker/st_cb_texture.c | 174 +--- 1 files changed, 91 insertions(+), 83 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker