mesa.git
18 years agocorrected cursor drawing
Sean D'Epagnier [Sun, 24 Sep 2006 10:57:26 +0000 (10:57 +0000)]
corrected cursor drawing
added handling of SIGWINCH
fixed input of recieving SIGIO while handling SIGIO
corrected input code for return
uncommented normal calculation to models

18 years agoallocate larger TempImage, use COMBO var to choose test format/type
Brian Paul [Sat, 23 Sep 2006 16:09:26 +0000 (16:09 +0000)]
allocate larger TempImage, use COMBO var to choose test format/type

18 years agofix the broken fallback string/debug stuff
Brian Paul [Fri, 22 Sep 2006 19:28:36 +0000 (19:28 +0000)]
fix the broken fallback string/debug stuff

18 years agoremove extra indentation
Brian Paul [Fri, 22 Sep 2006 19:09:50 +0000 (19:09 +0000)]
remove extra indentation

18 years agoGet rid of _swrast_mask_rgba_array() and _swrast_mask_index_array().
Brian Paul [Fri, 22 Sep 2006 17:44:39 +0000 (17:44 +0000)]
Get rid of _swrast_mask_rgba_array() and _swrast_mask_index_array().

18 years agofix up access to vertex attrib components which don't really exist but are defined...
Roland Scheidegger [Fri, 22 Sep 2006 15:48:50 +0000 (15:48 +0000)]
fix up access to vertex attrib components which don't really exist but are defined to some default value by the spec (fogcoord yzw, normal w, secondary color w), by replacing those components with zero/one respectively using swizzling.

18 years agoExplicit test for +ve pitches in intelEmitCopyBlit()
Keith Whitwell [Fri, 22 Sep 2006 14:43:09 +0000 (14:43 +0000)]
Explicit test for +ve pitches in intelEmitCopyBlit()

18 years agodon't skip user clip plane clipping when the current vertex program is position invar...
Roland Scheidegger [Fri, 22 Sep 2006 13:34:24 +0000 (13:34 +0000)]
don't skip user clip plane clipping when the current vertex program is position invariant.

18 years agoUse _Enabled rather than _Active when checking for fragment shaders
Keith Whitwell [Fri, 22 Sep 2006 11:45:21 +0000 (11:45 +0000)]
Use _Enabled rather than _Active when checking for fragment shaders

18 years agoFlush driver, not just tnl module.
Keith Whitwell [Fri, 22 Sep 2006 11:40:35 +0000 (11:40 +0000)]
Flush driver, not just tnl module.

18 years agoresize buffers in MakeCurrent
Keith Whitwell [Fri, 22 Sep 2006 11:36:30 +0000 (11:36 +0000)]
resize buffers in MakeCurrent

18 years agoRemove unused variable.
Keith Whitwell [Fri, 22 Sep 2006 11:33:46 +0000 (11:33 +0000)]
Remove unused variable.

18 years ago Correcting directory name in OpenVMS-Makefile
Jouk Jansen [Fri, 22 Sep 2006 11:09:07 +0000 (11:09 +0000)]
Correcting directory name in OpenVMS-Makefile

18 years agoremove rgb[] array from span_arrays_struct - was only used in a few places
Brian Paul [Thu, 21 Sep 2006 23:19:40 +0000 (23:19 +0000)]
remove rgb[] array from span_arrays_struct - was only used in a few places

18 years agonew comments, indentation fixes
Brian Paul [Thu, 21 Sep 2006 23:04:29 +0000 (23:04 +0000)]
new comments, indentation fixes

18 years agobump version to 6.5.2
Brian Paul [Thu, 21 Sep 2006 23:02:21 +0000 (23:02 +0000)]
bump version to 6.5.2

18 years agomove a conditional into an assertion
Brian Paul [Thu, 21 Sep 2006 22:59:50 +0000 (22:59 +0000)]
move a conditional into an assertion

18 years agoupdated doxygen info
Brian Paul [Thu, 21 Sep 2006 22:54:53 +0000 (22:54 +0000)]
updated doxygen info

18 years agoupdated extension info
Brian Paul [Thu, 21 Sep 2006 22:53:15 +0000 (22:53 +0000)]
updated extension info

18 years agoRe-org of per-release info.
Brian Paul [Thu, 21 Sep 2006 22:51:16 +0000 (22:51 +0000)]
Re-org of per-release info.
From now on, put all release-specific info into the release-X.Y.Z.html file
rather than scattered between a relnotes file, versions.html and news.html.

18 years agoreplace assert(0) with error report, improved comments, etc
Brian Paul [Thu, 21 Sep 2006 22:43:51 +0000 (22:43 +0000)]
replace assert(0) with error report, improved comments, etc

18 years agoFix incorrect byteswap_mapping(). Disable swizzle path on bigEndian
Keith Whitwell [Thu, 21 Sep 2006 18:31:36 +0000 (18:31 +0000)]
Fix incorrect byteswap_mapping().  Disable swizzle path on bigEndian
until someone can figure out whats wrong there.

18 years agouse new _mesa_little_endian() function
Brian Paul [Thu, 21 Sep 2006 15:51:55 +0000 (15:51 +0000)]
use new _mesa_little_endian() function

18 years agoadded _mesa_little_endian()
Brian Paul [Thu, 21 Sep 2006 15:51:06 +0000 (15:51 +0000)]
added _mesa_little_endian()

18 years agoGLUT_FORCE_VISUAL env var to force glut to use a particular visual (debug only)
Brian Paul [Thu, 21 Sep 2006 15:16:36 +0000 (15:16 +0000)]
GLUT_FORCE_VISUAL env var to force glut to use a particular visual (debug only)

18 years agonew code to init DirectColor colormaps
Brian Paul [Thu, 21 Sep 2006 15:14:30 +0000 (15:14 +0000)]
new code to init DirectColor colormaps

18 years agoFix the dstMap for rgb888 and bgr888 texture formats, which are the
Keith Whitwell [Thu, 21 Sep 2006 12:43:05 +0000 (12:43 +0000)]
Fix the dstMap for rgb888 and bgr888 texture formats, which are the
opposite to what you'd naively expect.

18 years agoDo a better job of choosing texture formats to avoid image conversions.
Keith Whitwell [Thu, 21 Sep 2006 10:20:15 +0000 (10:20 +0000)]
Do a better job of choosing texture formats to avoid image conversions.

18 years agouse the requested internal texture format where possible
Keith Whitwell [Thu, 21 Sep 2006 10:07:04 +0000 (10:07 +0000)]
use the requested internal texture format where possible

18 years agoCatch a couple of cases where we would have to delete and recreate the
Keith Whitwell [Thu, 21 Sep 2006 10:06:18 +0000 (10:06 +0000)]
Catch a couple of cases where we would have to delete and recreate the
miptree object.

18 years agoDeal with the overloading of _mesa_texstore_rgba, which is actually
Keith Whitwell [Wed, 20 Sep 2006 22:40:34 +0000 (22:40 +0000)]
Deal with the overloading of _mesa_texstore_rgba, which is actually
used to store all sorts of formats.

Software mesa fails the glean pixelFormats test, but it appears to be
failing even with the swizzle code disabled??

18 years agoExtend swizzle support to all remaining source formats and texture
Keith Whitwell [Wed, 20 Sep 2006 22:02:48 +0000 (22:02 +0000)]
Extend swizzle support to all remaining source formats and texture
destination formats.

18 years agotry to use a 8888 texture format which will result in only a memcopy in mesa's texsto...
Roland Scheidegger [Wed, 20 Sep 2006 19:11:56 +0000 (19:11 +0000)]
try to use a 8888 texture format which will result in only a memcopy in mesa's texstore functions whenever possible for r200 and r300. r200 can use hw formats argb8888, rgba8888 and abgr8888 (or the opposite on big endian), r300 can use argb8888, bgra8888, rgba8888 and abgr8888 regardless of endian, as it supports free component swizzling.

18 years agoSupport both big and little endian, more source types and more
Keith Whitwell [Wed, 20 Sep 2006 18:56:19 +0000 (18:56 +0000)]
Support both big and little endian, more source types and more
destination formats through the swizzle path.  It would be great to
see this tested on eg, PPC machines...

18 years agoreenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if only swizz...
Roland Scheidegger [Wed, 20 Sep 2006 18:22:19 +0000 (18:22 +0000)]
reenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if only swizzling is required as it works just fine (tested with glean pixelFormats test and a hacked up r200 driver which always uses that format).

18 years agoFix various typos to pass glean pixelFormats test.
Keith Whitwell [Wed, 20 Sep 2006 17:41:18 +0000 (17:41 +0000)]
Fix various typos to pass glean pixelFormats test.

18 years agoEnhance compute_component_mapping() to convert to and from any of the
Keith Whitwell [Wed, 20 Sep 2006 17:07:13 +0000 (17:07 +0000)]
Enhance compute_component_mapping() to convert to and from any of the
color base formats.

18 years agoAdd a comment about the interactions of negative pitches, overlapping
Keith Whitwell [Wed, 20 Sep 2006 15:04:05 +0000 (15:04 +0000)]
Add a comment about the interactions of negative pitches, overlapping
blits and the different ways of specifying a blit on this hardware.

18 years agoremove some dead code
Keith Whitwell [Wed, 20 Sep 2006 15:00:24 +0000 (15:00 +0000)]
remove some dead code

18 years agoFix some warnings
Keith Whitwell [Wed, 20 Sep 2006 14:58:55 +0000 (14:58 +0000)]
Fix some warnings

18 years agofix mixed texgen/non-texgen with texgen modes requiring plane parameters (GL_OBJECT_L...
Roland Scheidegger [Wed, 20 Sep 2006 14:56:21 +0000 (14:56 +0000)]
fix mixed texgen/non-texgen with texgen modes requiring plane parameters (GL_OBJECT_LINEAR, GL_EYE_LINEAR). This is a chip limitation, try to hack it up regardless or use a tcl fallback in some cases. Might still produce wrong results if fixed up, but so far this corrects celestia ring shadows (in multitexture mode), doom3 (arb renderer), quake4 (arb renderer and some less visible bugs in r200 renderer), and even the remaining texgenmix broken case (this is pure luck though, it is easy to construct artifical cases where it will break).

18 years agoSupport ARB_texture_rectangle.
Keith Whitwell [Wed, 20 Sep 2006 14:54:49 +0000 (14:54 +0000)]
Support ARB_texture_rectangle.

18 years ago1) Add a new flag in the sarea (coopting the unused texAge value) to
Keith Whitwell [Wed, 20 Sep 2006 14:44:40 +0000 (14:44 +0000)]
1) Add a new flag in the sarea (coopting the unused texAge value) to
identify context switches between members of a share group -
ie. multiple contexts in a single application, possibly on different
threads.  In this case the contexts share a bufmgr instance and there
is no need to evict textures - so don't.

2) Use a new flag 'need_flush' to ensure hardware rendering is flushed
prior to starting a software fallback.

18 years agoBroadwater seems to prefer this style of blitting.
Keith Whitwell [Wed, 20 Sep 2006 14:39:53 +0000 (14:39 +0000)]
Broadwater seems to prefer this style of blitting.

18 years agomake current GLX context per-thread
Brian Paul [Wed, 20 Sep 2006 14:39:47 +0000 (14:39 +0000)]
make current GLX context per-thread

18 years agofix a memleak in DestroyContext()
Brian Paul [Wed, 20 Sep 2006 14:39:24 +0000 (14:39 +0000)]
fix a memleak in DestroyContext()

18 years agoadd accelerated glCopyPixels path
Keith Whitwell [Wed, 20 Sep 2006 14:36:49 +0000 (14:36 +0000)]
add accelerated glCopyPixels path

18 years agoAdd a new internal program parameter value STATE_TEXRECT_SCALE which
Keith Whitwell [Wed, 20 Sep 2006 14:30:22 +0000 (14:30 +0000)]
Add a new internal program parameter value STATE_TEXRECT_SCALE which
provides 1/width and 1/height of the active texture, useful for
implementing ARB_texture_rectangle support on hardware which only
supports ARB_npot-style texturing.

18 years agoFix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBA
Keith Whitwell [Wed, 20 Sep 2006 14:28:42 +0000 (14:28 +0000)]
Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBA
conversions, ensuring that the final A value is 0xff in those cases
where we use a RGBA hardware texture format to store RGB textures.
Fix a couple of cases where hardwired texture conversions were
ignoring this restriction.

18 years agoExport _mesa_print_alu_instruction() to allow drivers to roll their
Keith Whitwell [Wed, 20 Sep 2006 12:57:54 +0000 (12:57 +0000)]
Export _mesa_print_alu_instruction() to allow drivers to roll their
own debug code for programs with driver-private opcodes.

Remove redundant loop in _mesa_num_inst_src_regs().

18 years agorestore debug output after brw_wm_fp compilation stage
Keith Whitwell [Wed, 20 Sep 2006 12:53:35 +0000 (12:53 +0000)]
restore debug output after brw_wm_fp compilation stage

18 years agoUse DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps.
Keith Whitwell [Wed, 20 Sep 2006 12:49:52 +0000 (12:49 +0000)]
Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps.

18 years agoadded LIBDRM_CFLAGS (Javier Villavicencio)
Brian Paul [Tue, 19 Sep 2006 22:43:41 +0000 (22:43 +0000)]
added LIBDRM_CFLAGS (Javier Villavicencio)

18 years agofix CFLAGS (bug 8344)
Brian Paul [Tue, 19 Sep 2006 16:31:37 +0000 (16:31 +0000)]
fix CFLAGS (bug 8344)

18 years agochange make depend output redirection to 2>&1 (bug 8344)
Brian Paul [Mon, 18 Sep 2006 22:55:13 +0000 (22:55 +0000)]
change make depend output redirection to 2>&1 (bug 8344)

18 years agocheck for n <= 1 in compute_min_mag_ranges(), bug 8320
Brian Paul [Mon, 18 Sep 2006 15:03:04 +0000 (15:03 +0000)]
check for n <= 1 in compute_min_mag_ranges(), bug 8320

18 years agoset lambda to zero for textured points (bug 8320)
Brian Paul [Mon, 18 Sep 2006 15:02:26 +0000 (15:02 +0000)]
set lambda to zero for textured points (bug 8320)

18 years ago6.5.1 md5 sums
Brian Paul [Sat, 16 Sep 2006 04:23:16 +0000 (04:23 +0000)]
6.5.1 md5 sums

18 years agoupdate 6.5.1 release date
Brian Paul [Sat, 16 Sep 2006 04:13:20 +0000 (04:13 +0000)]
update 6.5.1 release date

18 years agoadded #ifdef tests for Windows for int64_t, uint64_t
Brian Paul [Sat, 16 Sep 2006 04:10:56 +0000 (04:10 +0000)]
added #ifdef tests for Windows for int64_t, uint64_t

18 years agoreplace GLAPI w/ static and init var to 0 (Michel Donais)
Brian Paul [Fri, 15 Sep 2006 19:00:37 +0000 (19:00 +0000)]
replace GLAPI w/ static and init var to 0 (Michel Donais)

18 years agonpot version of redbook/mipmap.c
Keith Whitwell [Fri, 15 Sep 2006 10:41:54 +0000 (10:41 +0000)]
npot version of redbook/mipmap.c

18 years agoUse correct opcodes for GLX_EXT_texture_from_pixmap.
Ian Romanick [Thu, 14 Sep 2006 21:07:17 +0000 (21:07 +0000)]
Use correct opcodes for GLX_EXT_texture_from_pixmap.

Set the correct opcodes for GLX_EXT_texture_from_pixmap functions.  Changes
to the glproto package and the core X server are also required.

18 years agoset 6.5.1 release date
Brian Paul [Thu, 14 Sep 2006 20:31:13 +0000 (20:31 +0000)]
set 6.5.1 release date

18 years agoFallback if ColorLogicOp is enabled. Cleanup a bit the fallback
Jerome Glisse [Thu, 14 Sep 2006 17:44:58 +0000 (17:44 +0000)]
Fallback if ColorLogicOp is enabled. Cleanup a bit the fallback
function.

18 years agoRemove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian.
Michel Dänzer [Thu, 14 Sep 2006 16:17:06 +0000 (16:17 +0000)]
Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian.

18 years agoVS nr of urb entries is constrained to be one of a fixed set of values,
Keith Whitwell [Thu, 14 Sep 2006 10:37:09 +0000 (10:37 +0000)]
VS nr of urb entries is constrained to be one of a fixed set of values,
specifically {8,16,32}.

18 years agoalways use argb8888 instead of rgba8888, this is far more likely to hit a faster...
Roland Scheidegger [Wed, 13 Sep 2006 23:56:09 +0000 (23:56 +0000)]
always use argb8888 instead of rgba8888, this is far more likely to hit a faster memcopy path in mesa (at least on little endian systems, possibly on big endian too)

18 years agodetect some more cases which can use straight memcpy for _mesa_texstore_rgba8888
Roland Scheidegger [Wed, 13 Sep 2006 23:51:39 +0000 (23:51 +0000)]
detect some more cases which can use straight memcpy for _mesa_texstore_rgba8888

18 years agoAlways mark tex state atom as dirty when the texture image is dirty, this ensures...
Roland Scheidegger [Wed, 13 Sep 2006 23:20:10 +0000 (23:20 +0000)]
Always mark tex state atom as dirty when the texture image is dirty, this ensures texture cache gets flushed in case the new texture has the same offset as the old one (fixes glean pixelFormat test at least on r200).

18 years agoupdated comment
Brian Paul [Wed, 13 Sep 2006 22:49:48 +0000 (22:49 +0000)]
updated comment

18 years agodon't use derived value _ColorLogicOpEnabled as it's not current by the time we call...
Roland Scheidegger [Wed, 13 Sep 2006 22:41:46 +0000 (22:41 +0000)]
don't use derived value _ColorLogicOpEnabled as it's not current by the time we call the blend/logic op functions. Fixes glean logicOp test on r200.

18 years agoadded GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1)
Brian Paul [Wed, 13 Sep 2006 21:02:32 +0000 (21:02 +0000)]
added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1)

18 years agojust comments and const qualifiers
Brian Paul [Wed, 13 Sep 2006 20:26:43 +0000 (20:26 +0000)]
just comments and const qualifiers

18 years agofix broken do_EXP()
Brian Paul [Wed, 13 Sep 2006 20:14:24 +0000 (20:14 +0000)]
fix broken do_EXP()

18 years agofix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting is not...
Roland Scheidegger [Wed, 13 Sep 2006 17:35:44 +0000 (17:35 +0000)]
fix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting is not enabled (?). This fixes demos/cubemap as well as glean texCube test.

18 years agomake sure we upload the new vertex program if the program string changes.
Roland Scheidegger [Wed, 13 Sep 2006 17:30:11 +0000 (17:30 +0000)]
make sure we upload the new vertex program if the program string changes.

18 years agomake triangle smoothing a sw fallback (Martign van Oosterhout)
Brian Paul [Wed, 13 Sep 2006 16:41:25 +0000 (16:41 +0000)]
make triangle smoothing a sw fallback (Martign van Oosterhout)

18 years agoFix compilation warning.
Jerome Glisse [Tue, 12 Sep 2006 18:52:13 +0000 (18:52 +0000)]
Fix compilation warning.

18 years agoRemoving some of r200 dependency, cleaning up code a bit,
Jerome Glisse [Tue, 12 Sep 2006 18:34:43 +0000 (18:34 +0000)]
Removing some of r200 dependency, cleaning up code a bit,
and fixing a couple of warning. More cleanup and shuffle
to come. I have tested this change they might broke things
especialy with r300_texstate.c change (format_x doesn't
seems to be use at all by r300).

18 years agoquieten debug
Keith Whitwell [Tue, 12 Sep 2006 14:27:57 +0000 (14:27 +0000)]
quieten debug

18 years agoPotential fix for doom3 lockups. Seems that there is a conflict
Keith Whitwell [Tue, 12 Sep 2006 13:54:31 +0000 (13:54 +0000)]
Potential fix for doom3 lockups.  Seems that there is a conflict
between the vertex cache, the vertex shader and the clipping stages,
all of which are competitors for URB entries assigned to the VS unit.
This change reduces the maximum number of clip and VS threads by
enough to ensure that they cannot consume all the available URB
entries, and then reduces the number somewhat more up to an arbitary
amount I discovered by trial and error.  Unfortunately trial and error
solutions don't inspire total confidence...

18 years agoDisassemble active program when DEBUG_VS is set.
Keith Whitwell [Tue, 12 Sep 2006 13:51:09 +0000 (13:51 +0000)]
Disassemble active program when DEBUG_VS is set.

18 years agoAdd code to tweak aubfile state and primitives on replay.
Keith Whitwell [Tue, 12 Sep 2006 13:50:22 +0000 (13:50 +0000)]
Add code to tweak aubfile state and primitives on replay.

18 years agoEncode a unique id in the aub header date fields.
Keith Whitwell [Tue, 12 Sep 2006 13:43:10 +0000 (13:43 +0000)]
Encode a unique id in the aub header date fields.

18 years agoWin32 fixes (SF bug 1554931)
Brian Paul [Mon, 11 Sep 2006 16:39:04 +0000 (16:39 +0000)]
Win32 fixes (SF bug 1554931)

18 years agoundo some accidental changes in _mesa_is_legal_format_and_type()
Brian Paul [Mon, 11 Sep 2006 15:25:49 +0000 (15:25 +0000)]
undo some accidental changes in _mesa_is_legal_format_and_type()

18 years agoinit accum buffer fields in _mesa_update_framebuffer_visual()
Brian Paul [Mon, 11 Sep 2006 15:04:23 +0000 (15:04 +0000)]
init accum buffer fields in _mesa_update_framebuffer_visual()

18 years agoremove code to deal with non-normalized texture coordinates for tex rect targets...
Roland Scheidegger [Sun, 10 Sep 2006 19:19:13 +0000 (19:19 +0000)]
remove code to deal with non-normalized texture coordinates for tex rect targets (swtcl tex coord translation stage, tcl tex matrix adaption) and use the chip's native handling of such coords instead (!!!). Seems noone noticed those bits in the se_coord_fmt reg, even though it works fairly similar to r200 (except it's set per-unit and always active, so only enable it for texture rectangles).

18 years agoRedefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problems
Brian Paul [Sun, 10 Sep 2006 17:42:57 +0000 (17:42 +0000)]
Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problems
converting 0 to exactly 0.0
This goes against the OpenGL spec (see table 2.6) but solves problems
when doing byte -> float -> ubyte conversion for particular texture formats.

18 years agodon't use xmesa_DrawPixels_8R8G8B() if there's a software alpha channel
Brian Paul [Sun, 10 Sep 2006 17:10:36 +0000 (17:10 +0000)]
don't use xmesa_DrawPixels_8R8G8B() if there's a software alpha channel

18 years agocause a raster fallback if a yuv texture is used on texture unit > 0 as yuv conversio...
Roland Scheidegger [Sun, 10 Sep 2006 13:48:51 +0000 (13:48 +0000)]
cause a raster fallback if a yuv texture is used on texture unit > 0 as yuv conversion appears only to work on first unit.

18 years agoBasic facility for playing back captured aubfiles. Requires a small
Keith Whitwell [Fri, 8 Sep 2006 10:36:32 +0000 (10:36 +0000)]
Basic facility for playing back captured aubfiles.  Requires a small
hack to the drm to disable command verification on the cmd_buffer
ioctl.  Doesn't exactly replay as commands are normally delivered as
batchbuffers but are captured and replayed as commands on the ring.

18 years agocause a vtxfmt fallback directly when hitting NewList for radeon and r200 drivers...
Roland Scheidegger [Fri, 8 Sep 2006 00:54:55 +0000 (00:54 +0000)]
cause a vtxfmt fallback directly when hitting NewList for radeon and r200 drivers, otherwise we'll mix up tcl and vtxfmt path for some reason. This fixes a warzone2100 asssertion failure.

18 years agoConsistent return values from the bm* functions.
Keith Whitwell [Thu, 7 Sep 2006 19:58:16 +0000 (19:58 +0000)]
Consistent return values from the bm* functions.
Get aubfile generation working again.

18 years agoCope with memory pool fragmentation by allowing a second attempt at
Keith Whitwell [Thu, 7 Sep 2006 19:05:40 +0000 (19:05 +0000)]
Cope with memory pool fragmentation by allowing a second attempt at
rendering operations to take place after evicting all resident
buffers.

Cope better with memory allocation failures throughout the driver and
improve tracking of failures.

18 years agoAdd some asserts, fix some not-quite-bugs.
Keith Whitwell [Thu, 7 Sep 2006 18:28:35 +0000 (18:28 +0000)]
Add some asserts, fix some not-quite-bugs.

18 years agoFix glitch with pool alignments.
Keith Whitwell [Thu, 7 Sep 2006 16:29:37 +0000 (16:29 +0000)]
Fix glitch with pool alignments.

18 years agoUse lower alignments where possible. Also pad out allocated blocks to
Keith Whitwell [Thu, 7 Sep 2006 16:23:22 +0000 (16:23 +0000)]
Use lower alignments where possible.  Also pad out allocated blocks to
a multiple of alignment to avoid accumulating unusable free blocks.

18 years agoMake sure bmBufferOffset is called for all active buffers every time
Keith Whitwell [Thu, 7 Sep 2006 16:09:50 +0000 (16:09 +0000)]
Make sure bmBufferOffset is called for all active buffers every time
we render.  Currenly requires that some state be re-examined after
every LOCK_HARDWARE().