mesa.git
14 years agollvmpipe: silence cast warnings in test programs
Brian Paul [Thu, 13 May 2010 19:21:19 +0000 (13:21 -0600)]
llvmpipe: silence cast warnings in test programs

14 years agogallivm: added lp_dump_llvmtype() debug helper
Brian Paul [Thu, 13 May 2010 16:24:10 +0000 (10:24 -0600)]
gallivm: added lp_dump_llvmtype() debug helper

14 years agollvmpipe: additional comments
Brian Paul [Thu, 13 May 2010 15:26:17 +0000 (09:26 -0600)]
llvmpipe: additional comments

14 years agogallivm: rename a var
Brian Paul [Wed, 12 May 2010 21:32:04 +0000 (15:32 -0600)]
gallivm: rename a var

14 years agoegl: Allow a prioritized list of default drivers
Kristian Høgsberg [Thu, 13 May 2010 20:06:29 +0000 (16:06 -0400)]
egl: Allow a prioritized list of default drivers

When there is no user driver or any matching display drivers we fall
back to the default driver.  This patch lets us have a list of default
drivers instead of just one.  The drivers are loaded in turn and we
attempt to initialize the display.  If it fails we unload the driver
and move on to the next one.

Compared to the display driver mechanism, this avoids loading a number
of drivers and then only using one.  Also, we call Initialize to see
if the driver will work instead of relying on Probe.  To know for sure
that a driver will work, Probe really have to do a full Initialize, so
we will just use Initialize directly.

14 years agoegl_dri2: Downgrade initialization errors to warnings
Kristian Høgsberg [Thu, 13 May 2010 19:42:51 +0000 (15:42 -0400)]
egl_dri2: Downgrade initialization errors to warnings

Don't want to shutdown everything if egl_dri2 fails to initialize.

14 years agoutil: Fix ptr -> int conversion.
José Fonseca [Thu, 13 May 2010 20:14:07 +0000 (21:14 +0100)]
util: Fix ptr -> int conversion.

14 years agoConditionally revert "gallivm: Use a more compact approach for lp_build_broadcast_sca...
José Fonseca [Thu, 13 May 2010 20:03:08 +0000 (21:03 +0100)]
Conditionally revert "gallivm: Use a more compact approach for lp_build_broadcast_scalar()."

This reverts commit a09e46c72461183c879d8472b44fe740ecc79b9f.

14 years agoi965: Reduce a single GL_QUADS to GL_TRIANGLE_FAN.
Eric Anholt [Thu, 13 May 2010 18:31:56 +0000 (11:31 -0700)]
i965: Reduce a single GL_QUADS to GL_TRIANGLE_FAN.

This is similar to the GL_QUAD_STRIP -> TRIANGLE_STRIP optimization --
the GS usage to split the quads into tris is a huge bottleneck, so a
quick check improves glean blendFunc time massively (width * height of
the window of single-pixel GL_QUADS, many many times).  This may also
end up helping with cairo performance, which sometimes ends up drawing
a single quad.

14 years agointel: Don't update window system renderbuffers on TexImage.
Eric Anholt [Thu, 13 May 2010 17:13:52 +0000 (10:13 -0700)]
intel: Don't update window system renderbuffers on TexImage.

While sometimes rendering occurs in the form of blits for TexImage, it
doesn't interact with the window system renderbuffers, so skip it.

14 years agomesa: Remove no-op wrappers around trig functions.
Eric Anholt [Wed, 5 May 2010 15:36:20 +0000 (08:36 -0700)]
mesa: Remove no-op wrappers around trig functions.

14 years agomesa: Remove _mesa_pow(), which is always just pow().
Eric Anholt [Wed, 5 May 2010 15:29:13 +0000 (08:29 -0700)]
mesa: Remove _mesa_pow(), which is always just pow().

14 years agor300g: fix texture transfers
Marek Olšák [Thu, 13 May 2010 18:32:08 +0000 (20:32 +0200)]
r300g: fix texture transfers

The regression has first shown up after this state tracker change:
b0427bedde80e3189524651a327235bdfddbc613.

FDO bug #28082.

14 years agomesa: silence compiler warning
Alan Hourihane [Thu, 13 May 2010 17:49:02 +0000 (18:49 +0100)]
mesa: silence compiler warning

14 years agollvmpipe: Update instructions for MSVC builds.
José Fonseca [Thu, 13 May 2010 15:18:05 +0000 (16:18 +0100)]
llvmpipe: Update instructions for MSVC builds.

14 years agoegl: Drop broken _EGL_PLATFORM_NO_OS code
Kristian Høgsberg [Thu, 13 May 2010 12:59:47 +0000 (08:59 -0400)]
egl: Drop broken _EGL_PLATFORM_NO_OS code

It would do strlen(library_suffix()) in _eglLoaderFile(), with
library_suffix() returning NULL.  So obviuosly not used or tested.

14 years agoegl: Don't try to load driver basename if the platform needs a suffix
Kristian Høgsberg [Thu, 13 May 2010 12:27:37 +0000 (08:27 -0400)]
egl: Don't try to load driver basename if the platform needs a suffix

That is, don't dlopen(egl_glx) when we know we need to append .so.

14 years agotrace: Add missing header.
Vinson Lee [Thu, 13 May 2010 08:47:31 +0000 (01:47 -0700)]
trace: Add missing header.

Fixes GCC implicit function declaration warning.

14 years agost/mesa: Remove unnecessary header.
Vinson Lee [Thu, 13 May 2010 08:37:44 +0000 (01:37 -0700)]
st/mesa: Remove unnecessary header.

14 years agogallium: Add tokens for Cygwin.
Vinson Lee [Thu, 13 May 2010 08:25:07 +0000 (01:25 -0700)]
gallium: Add tokens for Cygwin.

14 years agotrace: Remove unnecessary headers.
Vinson Lee [Thu, 13 May 2010 08:18:35 +0000 (01:18 -0700)]
trace: Remove unnecessary headers.

14 years agor300g: re-order caps
Marek Olšák [Thu, 13 May 2010 00:28:49 +0000 (02:28 +0200)]
r300g: re-order caps

14 years agor300g: fill out the shader limits
Marek Olšák [Wed, 12 May 2010 23:45:57 +0000 (01:45 +0200)]
r300g: fill out the shader limits

14 years agotrace: Update README
Jakob Bornecrantz [Wed, 12 May 2010 22:07:17 +0000 (23:07 +0100)]
trace: Update README

14 years agorbug: Update and add READMEs
Jakob Bornecrantz [Wed, 12 May 2010 22:06:54 +0000 (23:06 +0100)]
rbug: Update and add READMEs

14 years agoscons: Add -fvisibility=hidden to CFLAGS for gcc builds
Jakob Bornecrantz [Wed, 12 May 2010 21:48:32 +0000 (22:48 +0100)]
scons: Add -fvisibility=hidden to CFLAGS for gcc builds

14 years agograw: Make functions public
Jakob Bornecrantz [Wed, 12 May 2010 21:47:15 +0000 (22:47 +0100)]
graw: Make functions public

14 years agorbug: No need to have rbug as a input
Jakob Bornecrantz [Wed, 12 May 2010 20:11:39 +0000 (21:11 +0100)]
rbug: No need to have rbug as a input

14 years agogallivm: Ensure PIPE_OS_xxx are defined.
José Fonseca [Mon, 10 May 2010 07:24:23 +0000 (08:24 +0100)]
gallivm: Ensure PIPE_OS_xxx are defined.

14 years agogallivm: Use a more compact approach for lp_build_broadcast_scalar().
José Fonseca [Sun, 9 May 2010 21:31:18 +0000 (22:31 +0100)]
gallivm: Use a more compact approach for lp_build_broadcast_scalar().

It produces exactly the same machine code, but it cuts 5% of the
number of instructions generated for a typical shader.

Also, preserve the scalar when length is 1.

14 years agollvmpipe: Dump fs key's stencil state.
José Fonseca [Sun, 9 May 2010 20:18:14 +0000 (21:18 +0100)]
llvmpipe: Dump fs key's stencil state.

14 years agoutil: Add function to dump PIPE_STENCIL_OP_xxx
José Fonseca [Sun, 9 May 2010 20:17:46 +0000 (21:17 +0100)]
util: Add function to dump PIPE_STENCIL_OP_xxx

14 years agollvmpipe: Enable mem2reg pass even with LP_DEBUG=nopt.
José Fonseca [Wed, 12 May 2010 19:04:11 +0000 (20:04 +0100)]
llvmpipe: Enable mem2reg pass even with LP_DEBUG=nopt.

Otherwise things start crashing.

14 years agorbug: Add to all targets that link against trace
Jakob Bornecrantz [Wed, 12 May 2010 19:11:37 +0000 (20:11 +0100)]
rbug: Add to all targets that link against trace

Also added calls to the create function in target helpers and in
tr_drm.c the latter being a hack and should be replaced with the
wrap screen target helper. But at least this way we don't regress.

14 years agotrace: Remove rbug from trace
Jakob Bornecrantz [Wed, 12 May 2010 18:26:19 +0000 (19:26 +0100)]
trace: Remove rbug from trace

14 years agorbug: Use container of macro
Jakob Bornecrantz [Wed, 12 May 2010 17:55:53 +0000 (18:55 +0100)]
rbug: Use container of macro

14 years agorbug: Fix draw blocking
Jakob Bornecrantz [Wed, 12 May 2010 17:55:42 +0000 (18:55 +0100)]
rbug: Fix draw blocking

14 years agorbug: Fix sampler views and surfaces in context info
Jakob Bornecrantz [Wed, 12 May 2010 14:33:40 +0000 (15:33 +0100)]
rbug: Fix sampler views and surfaces in context info

14 years agorbug: Fix shaders
Jakob Bornecrantz [Wed, 12 May 2010 13:38:20 +0000 (14:38 +0100)]
rbug: Fix shaders

14 years agorbug: Break out of trace
Jakob Bornecrantz [Tue, 4 May 2010 11:06:37 +0000 (12:06 +0100)]
rbug: Break out of trace

14 years agogallivm: additional comments
Brian Paul [Wed, 12 May 2010 18:41:53 +0000 (12:41 -0600)]
gallivm: additional comments

14 years agollvmpipe: s/bool/boolean/ in test progs
Brian Paul [Wed, 12 May 2010 18:12:08 +0000 (12:12 -0600)]
llvmpipe: s/bool/boolean/ in test progs

14 years agogallivm: s/bool/boolean
Brian Paul [Wed, 12 May 2010 18:10:55 +0000 (12:10 -0600)]
gallivm: s/bool/boolean

14 years agogallivm: rename vars, update comments, etc
Brian Paul [Wed, 12 May 2010 17:17:34 +0000 (11:17 -0600)]
gallivm: rename vars, update comments, etc

14 years agoegl_dri2: Zero out driver struct
Kristian Høgsberg [Wed, 12 May 2010 18:34:55 +0000 (14:34 -0400)]
egl_dri2: Zero out driver struct

Otherwise testing ->Probe for non-NULL and calling it goes boom.

14 years agor300g: Correct viewport setup for SW TCL.
Corbin Simpson [Wed, 12 May 2010 17:14:02 +0000 (10:14 -0700)]
r300g: Correct viewport setup for SW TCL.

glxgears now renders in the right place on-screen, although it is still
rather...psychedelic.

14 years agor300g: Add VBO dumper for SW TCL.
Corbin Simpson [Wed, 12 May 2010 17:10:54 +0000 (10:10 -0700)]
r300g: Add VBO dumper for SW TCL.

Commented out, not easily enabled. *Very* noisy.

14 years agor300g: Immediate mode won't work with SW TCL right now.
Corbin Simpson [Wed, 12 May 2010 17:09:50 +0000 (10:09 -0700)]
r300g: Immediate mode won't work with SW TCL right now.

This could be done later of course. SW TCL should have a much different
threshold because it's much more worth it.

14 years agor300g: Fix indentation.
Corbin Simpson [Wed, 12 May 2010 17:09:28 +0000 (10:09 -0700)]
r300g: Fix indentation.

14 years agogallivm: comment out LLVMUnionTypeKind case
Brian Paul [Wed, 12 May 2010 16:54:45 +0000 (10:54 -0600)]
gallivm: comment out LLVMUnionTypeKind case

14 years agogallivm: rename texel result param
Brian Paul [Wed, 12 May 2010 16:36:11 +0000 (10:36 -0600)]
gallivm: rename texel result param

Be clear that this parameter returns four texel channel results.

14 years agogallivm: add a few comments
Brian Paul [Wed, 12 May 2010 16:20:50 +0000 (10:20 -0600)]
gallivm: add a few comments

14 years agogallivm/llvmpipe: add const qualifiers
Brian Paul [Wed, 12 May 2010 16:20:03 +0000 (10:20 -0600)]
gallivm/llvmpipe: add const qualifiers

14 years agogallivm: added lp_typekind_name() util function
Brian Paul [Wed, 12 May 2010 16:04:48 +0000 (10:04 -0600)]
gallivm: added lp_typekind_name() util function

14 years agotgsi: also count instructions in tgsi_scan_shader()
Brian Paul [Wed, 12 May 2010 15:41:41 +0000 (09:41 -0600)]
tgsi: also count instructions in tgsi_scan_shader()

14 years agollvmpipe: Handle PIPE_CAP_GUARD_*.
José Fonseca [Wed, 12 May 2010 16:25:17 +0000 (17:25 +0100)]
llvmpipe: Handle PIPE_CAP_GUARD_*.

Without asserting.

14 years agollvmpipe: Use RAST_WHOLE/EDGE_TEST in more places.
José Fonseca [Wed, 12 May 2010 16:24:34 +0000 (17:24 +0100)]
llvmpipe: Use RAST_WHOLE/EDGE_TEST in more places.

14 years agollvmpipe: Move the opaque flag computation into the variant.
José Fonseca [Wed, 12 May 2010 16:12:59 +0000 (17:12 +0100)]
llvmpipe: Move the opaque flag computation into the variant.

14 years agosvga: Advertise shader limits.
José Fonseca [Wed, 12 May 2010 13:10:50 +0000 (14:10 +0100)]
svga: Advertise shader limits.

14 years agollvmpipe: Advertise (gallivm's) shader limits.
José Fonseca [Wed, 12 May 2010 13:10:23 +0000 (14:10 +0100)]
llvmpipe: Advertise (gallivm's) shader limits.

14 years agosoftpipe: Adverstise (tgsi_exec's) shader limits.
José Fonseca [Wed, 12 May 2010 13:10:10 +0000 (14:10 +0100)]
softpipe: Adverstise (tgsi_exec's) shader limits.

14 years agomesa/st: Expose pipe driver's shader limits.
José Fonseca [Wed, 12 May 2010 13:09:14 +0000 (14:09 +0100)]
mesa/st: Expose pipe driver's shader limits.

14 years agogallium: Add new fine grained PIPE_CAP_xx for shader limits.
José Fonseca [Wed, 12 May 2010 13:08:22 +0000 (14:08 +0100)]
gallium: Add new fine grained PIPE_CAP_xx for shader limits.

PIPE_CAP_GLSL and PIPE_CAP_SM3 not removed yet, as opcode support is not
yet covered.

14 years agogallium: Make PIPE_CAP_xxx enums.
José Fonseca [Tue, 11 May 2010 10:11:03 +0000 (11:11 +0100)]
gallium: Make PIPE_CAP_xxx enums.

14 years agost/egl: Link egl-apis to LLVM when enabled.
Chia-I Wu [Wed, 12 May 2010 07:46:57 +0000 (15:46 +0800)]
st/egl: Link egl-apis to LLVM when enabled.

This is required when a client API (i.e. OpenGL) uses the draw module.

14 years agost/mesa: Do not use draw module in OpenGL ES build.
Chia-I Wu [Wed, 12 May 2010 07:39:27 +0000 (15:39 +0800)]
st/mesa: Do not use draw module in OpenGL ES build.

This removes references to symbols in draw module for OpenGL ES build.
As OpenGL ES does not support feedback/selection mode, draw module is
used in pathes that will never be reached.  However, if the symbols are
referenced, it will bloat the final shared libraries unnecessarily.
This is serious when LLVM is enabled.

14 years agomesa/es: Merge back to core mesa.
Chia-I Wu [Wed, 12 May 2010 06:17:17 +0000 (14:17 +0800)]
mesa/es: Merge back to core mesa.

With the omit list gone, there are not too many differences in building
core mesa and ES overlay.  Remove the mesa/es and build both of them in
src/mesa/Makefile.

14 years agomesa/es: Remove omit list.
Chia-I Wu [Wed, 12 May 2010 05:37:37 +0000 (13:37 +0800)]
mesa/es: Remove omit list.

vbo/vbo_save* are the last members on the omit list.  Test FEATURE_dlist
in the sources and remove the omit list.

14 years agomesa: Make FEATURE_ATI_fragment_shader more modular.
Chia-I Wu [Wed, 12 May 2010 05:26:14 +0000 (13:26 +0800)]
mesa: Make FEATURE_ATI_fragment_shader more modular.

This allows atifragshader.h to be used without knowing if
FEATURE_ATI_fragment_shader is enabled.  As a result, atifragshader.c is
removed from the omit list in ES overlay.

14 years agomesa/es: Remove sources.mak.
Chia-I Wu [Wed, 12 May 2010 04:51:05 +0000 (12:51 +0800)]
mesa/es: Remove sources.mak.

All ES overlay sources have been merged into core Mesa.  Not much is
left in sources.mak so merge it into Makefile.

14 years agomesa/es: Update sources.mak and fix the build.
Chia-I Wu [Wed, 31 Mar 2010 04:44:26 +0000 (12:44 +0800)]
mesa/es: Update sources.mak and fix the build.

Remove sources that are feature-aware from the omit list.  x86 -O0 build
is ~12KiB smaller afther making those sources feature-aware.

Also, remove get.c from the omit list as get_es[12].c have been merged
to it.

14 years agost/mesa: Make st_cb_drawtex.h FEATURE_OES_draw_texture aware.
Chia-I Wu [Tue, 11 May 2010 05:20:40 +0000 (13:20 +0800)]
st/mesa: Make st_cb_drawtex.h FEATURE_OES_draw_texture aware.

This change allows st_cb_drawtex.h to be used without knowing if
FEATURE_OES_draw_texture is enabled.

14 years agomesa: Add dummy _mesa_lookup_query_object to queryobj.h.
Chia-I Wu [Wed, 31 Mar 2010 04:56:45 +0000 (12:56 +0800)]
mesa: Add dummy _mesa_lookup_query_object to queryobj.h.

This allows condrender.c to be compiled without FEATURE_queryobj.

14 years agost/mesa: Make st_cb_blit.h FEATURE_EXT_framebuffer_blit aware.
Chia-I Wu [Wed, 31 Mar 2010 04:33:26 +0000 (12:33 +0800)]
st/mesa: Make st_cb_blit.h FEATURE_EXT_framebuffer_blit aware.

This change allows st_cb_blit.h to be used without knowing if
FEATURE_EXT_framebuffer_blit is enabled.

14 years agost/mesa: Make st_cb_queryobj.h FEATURE_queryobj aware.
Chia-I Wu [Wed, 31 Mar 2010 04:29:05 +0000 (12:29 +0800)]
st/mesa: Make st_cb_queryobj.h FEATURE_queryobj aware.

This change allows st_cb_queryobj.h to be used without knowing if
FEATURE_queryobj is enabled.

14 years agost/mesa: Make FEATURE_feedback and FEATURE_rastpos more modular.
Chia-I Wu [Wed, 31 Mar 2010 04:01:16 +0000 (12:01 +0800)]
st/mesa: Make FEATURE_feedback and FEATURE_rastpos more modular.

Make st_cb_feedback.h FEATURE_feedback aware and st_cb_rastpos.h
FEATURE_rastpos aware.  Move creation of selection/feedback draw context
to st_init_draw.

14 years agost/mesa: Make st_cb_{bitmap,drawpixels}.h FEATURE_drawpix aware.
Chia-I Wu [Wed, 31 Mar 2010 03:54:20 +0000 (11:54 +0800)]
st/mesa: Make st_cb_{bitmap,drawpixels}.h FEATURE_drawpix aware.

This change allows st_cb_{bitmap,drawpixels}.h to be used without
knowing if FEATURE_drawpix is enabled.

14 years agost/mesa: Make st_cb_accum.h FEATURE_accum aware.
Chia-I Wu [Wed, 31 Mar 2010 03:43:49 +0000 (11:43 +0800)]
st/mesa: Make st_cb_accum.h FEATURE_accum aware.

This change allows st_cb_accum.h to be used without knowing if
FEATURE_accum is enabled.

14 years agomesa: Make FEATURE_EXT_transform_feedback more modular.
Chia-I Wu [Tue, 11 May 2010 05:20:40 +0000 (13:20 +0800)]
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.

14 years agoglapi: fix generator scripts w.r.t. GLX_USE_APPLEGL
Brian Paul [Wed, 12 May 2010 03:40:25 +0000 (21:40 -0600)]
glapi: fix generator scripts w.r.t. GLX_USE_APPLEGL

Commit 80b280db883edc9550484dba03bd5c124b6a9bf9 changed the .c files
instead of the .py generator scripts.

14 years agoglapi: added GL_ARB_transform_feedback2 entrypoints
Brian Paul [Wed, 12 May 2010 03:31:08 +0000 (21:31 -0600)]
glapi: added GL_ARB_transform_feedback2 entrypoints

14 years agoprogs/tests: disable invalid 3D texture compression tests
Brian Paul [Wed, 12 May 2010 03:27:31 +0000 (21:27 -0600)]
progs/tests: disable invalid 3D texture compression tests

14 years agoprogs/tests: fix a couple bugs in the getprocaddress.c test
Brian Paul [Wed, 12 May 2010 03:21:26 +0000 (21:21 -0600)]
progs/tests: fix a couple bugs in the getprocaddress.c test

14 years agomesa: fix error message strings
Brian Paul [Wed, 12 May 2010 03:13:21 +0000 (21:13 -0600)]
mesa: fix error message strings

14 years agoprogs/tests: update getprocaddress test since moving glapi files
Brian Paul [Wed, 12 May 2010 03:09:20 +0000 (21:09 -0600)]
progs/tests: update getprocaddress test since moving glapi files

14 years agomesa: added glGet code for GL_ARB_transform_feedback2
Brian Paul [Wed, 12 May 2010 03:08:08 +0000 (21:08 -0600)]
mesa: added glGet code for GL_ARB_transform_feedback2

14 years agomesa: remove unused header
Brian Paul [Wed, 12 May 2010 03:07:16 +0000 (21:07 -0600)]
mesa: remove unused header

14 years agomesa: remove unused header
Brian Paul [Wed, 12 May 2010 03:07:00 +0000 (21:07 -0600)]
mesa: remove unused header

14 years agoglew: update to version 1.5.4
Brian Paul [Wed, 12 May 2010 03:06:31 +0000 (21:06 -0600)]
glew: update to version 1.5.4

14 years agost/mesa: update query code for transform feedback
Brian Paul [Wed, 12 May 2010 03:04:43 +0000 (21:04 -0600)]
st/mesa: update query code for transform feedback

14 years agodocs: update GL3.txt w/ GL 3.3, 4.0 lists
Brian Paul [Wed, 12 May 2010 03:03:53 +0000 (21:03 -0600)]
docs: update GL3.txt w/ GL 3.3, 4.0 lists

14 years agomesa/st+tgsi: Provide a free callback to match with ureg_get_tokens().
José Fonseca [Tue, 11 May 2010 20:27:05 +0000 (21:27 +0100)]
mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens().

This fixes crashes with the memory debugging routines on Windows.

NOTE: This is a candidate for the 7.8 stable branch

14 years agoautoconf: Also strip '\r' character in version scrape.
Vinson Lee [Tue, 11 May 2010 19:33:30 +0000 (12:33 -0700)]
autoconf: Also strip '\r' character in version scrape.

Fixes autoconf GCC conftest.c test on Cygwin.

14 years agomesa: Optimize get.c by using a table-driven approach
Kristian Høgsberg [Tue, 11 May 2010 16:07:10 +0000 (12:07 -0400)]
mesa: Optimize get.c by using a table-driven approach

14 years agollvmpipe: fix texture image size calculation
Brian Paul [Tue, 11 May 2010 17:48:35 +0000 (11:48 -0600)]
llvmpipe: fix texture image size calculation

We were allocating too much memory for linear layouts.  The block_size
factor is already included in the row_stride and should not be used in
the img_stride calculation.  This is typically a 4x savings!

14 years agollvmpipe: add a simple resource tracking/debug feature
Brian Paul [Tue, 11 May 2010 17:50:43 +0000 (11:50 -0600)]
llvmpipe: add a simple resource tracking/debug feature

If debug build, keep a linked list of all allocated resources (textures).
The llvmipe_print_resources() function can be called from a debugger to
print a list of all resources, their sizes, total size, etc.

14 years agollvmpipe: remove trailing whitespace, rewrap comment
Brian Paul [Tue, 11 May 2010 16:22:54 +0000 (10:22 -0600)]
llvmpipe: remove trailing whitespace, rewrap comment

14 years agoscons: Export shouldn't be part of the if stanza.
José Fonseca [Tue, 11 May 2010 16:44:52 +0000 (17:44 +0100)]
scons: Export shouldn't be part of the if stanza.

14 years agost/mesa: Remove unnecessary header.
Vinson Lee [Tue, 11 May 2010 16:03:42 +0000 (09:03 -0700)]
st/mesa: Remove unnecessary header.

14 years agointel: Don't update renderbuffers in intelSetTexBuffer2 if we have invalidate
Kristian Høgsberg [Tue, 11 May 2010 14:32:40 +0000 (10:32 -0400)]
intel: Don't update renderbuffers in intelSetTexBuffer2 if we have invalidate