mesa.git
16 years agoUse __DRIextension mechanism providing loader functionality to the driver.
Kristian Høgsberg [Thu, 28 Feb 2008 15:32:28 +0000 (10:32 -0500)]
Use __DRIextension mechanism providing loader functionality to the driver.

Instead of passing in a fixed struct, the loader now passes in a list
of __DRIextension structs, to advertise the functionality it can provide
to the driver.  Each extension is individually versioned and can be
extended or phased out as the interface develops.

16 years agoReduce the versioning madness required to create a DRI2 screen.
Kristian Høgsberg [Tue, 26 Feb 2008 04:37:23 +0000 (23:37 -0500)]
Reduce the versioning madness required to create a DRI2 screen.

Right now the DRI2 screen constructor takes 3 different versions:
DRI, DDX and DRM.  This is mostly useless, though:

  DRI: The DRI driver doesn't actually care about the DRI protocol,
  it only talks to the loader, which in turn speaks DRI protocol.  Thus,
  the DRI protocol version is of not interest to the DRI driver, but it
  needs to know what functionality the loader provides.  At this point
  that's reflected in the __DRIinterfaceMethods struct and the
  internal_version integer.

  DDX: The DDX version number is essentially used to track extensions
  to the SAREA.  With DRI2 the SAREA consists of a number of versioned,
  self-describing blocks, so the DDX version is no longer interesting.

  DRM: We have the fd, lets just ask the kernel ourselves.

16 years agointel: Set the lock flag early to avoid deadlock.
Kristian Høgsberg [Fri, 29 Feb 2008 20:04:26 +0000 (15:04 -0500)]
intel: Set the lock flag early to avoid deadlock.

Another regression from the intel_context.c merge.

16 years agoi965: use _Current pointer instead of Current pointer.
Xiang, Haihao [Fri, 29 Feb 2008 03:15:02 +0000 (11:15 +0800)]
i965: use _Current pointer instead of Current pointer.
fix double free issue(bug#14710). It also corrects glsl/bitmap demo behavior.

16 years ago[965] Fix conditional sequencing to allow the frame_buffer_texobj case.
Eric Anholt [Fri, 29 Feb 2008 00:04:54 +0000 (16:04 -0800)]
[965] Fix conditional sequencing to allow the frame_buffer_texobj case.

Previously the frame_buffer_texobj case would have been bound as a normal
texture, at best resulting in no surface data being associated with it.

16 years ago[intel] Bug #14575: Unmap buffers when deleting/dataing as required.
Eric Anholt [Thu, 28 Feb 2008 23:45:46 +0000 (15:45 -0800)]
[intel] Bug #14575: Unmap buffers when deleting/dataing as required.

Otherwise, we would assertion error when doing the final unreference of the
buffer with an outstanding map (catching the memory leak).

16 years agor300: R5xx and R3xx use different registers for RS_IP and RS_INST
Christoph Brill [Thu, 28 Feb 2008 21:33:46 +0000 (22:33 +0100)]
r300: R5xx and R3xx use different registers for RS_IP and RS_INST

These changes are taken from the xf86-video-ati driver. They update the header
file accordingly and also remove some UNKOWN variables.

16 years ago[965] Bug #9151: make fragment.position return window coords not screen coords.
Eric Anholt [Thu, 28 Feb 2008 21:18:12 +0000 (13:18 -0800)]
[965] Bug #9151: make fragment.position return window coords not screen coords.

16 years ago[965] Fix serious copy'n'paste failure in brw state dumping.
Eric Anholt [Wed, 27 Feb 2008 19:01:28 +0000 (11:01 -0800)]
[965] Fix serious copy'n'paste failure in brw state dumping.

16 years agoadded git on Windows section
Brian [Thu, 28 Feb 2008 15:03:04 +0000 (08:03 -0700)]
added git on Windows section

16 years agoa few words about how the cell driver works.
Brian [Thu, 28 Feb 2008 01:13:21 +0000 (18:13 -0700)]
a few words about how the cell driver works.

16 years agomesa: separate shader program object from shader object.
Xiang, Haihao [Thu, 28 Feb 2008 13:27:16 +0000 (21:27 +0800)]
mesa: separate shader program object from shader object.

Currently a callback delete_shader_cb is used for deleting shader
and shader program objects. Mesa detaches all attached shaders in
_mesa_free_shader_program_data when deleting shader program objects. However
it is likely that these shaders have been freed in _mesa_free_shader,
which will result in unexpected behaviour. This fix uses a single callback for
shader program objects and deletes shader program objects before shader objects.

16 years ago[intel] fix compressed image height
Zou Nan hai [Thu, 28 Feb 2008 08:49:38 +0000 (16:49 +0800)]
[intel] fix compressed image height

16 years agoConvert crlf->lf line endings.
José Fonseca [Thu, 28 Feb 2008 07:34:32 +0000 (16:34 +0900)]
Convert crlf->lf line endings.

Windows/DOS users should enable core.autocrlf from now on:

  git config --global core.autocrlf true

16 years agoDisable autocrlf for Visual Studio project files.
Jose Fonseca [Thu, 28 Feb 2008 03:34:01 +0000 (12:34 +0900)]
Disable autocrlf for Visual Studio project files.

16 years agodocument cell -DSPU_MAIN_PARAM_LONG_LONG flag
Brian [Thu, 28 Feb 2008 01:01:37 +0000 (18:01 -0700)]
document cell -DSPU_MAIN_PARAM_LONG_LONG flag

16 years agor300: properly handle GL_POINT in glPolygonMode
Christoph Brill [Wed, 27 Feb 2008 21:06:38 +0000 (22:06 +0100)]
r300: properly handle GL_POINT in glPolygonMode

Until now the polygon mode was completely turned of when you used
GL_POINT. For me it looked buggy to completely disable the polygon
mode for FrontMode and BackMode if any of these was GL_POINT.

16 years agointel: Always use intelInitExtensions() for initializing extensions.
Kristian Høgsberg [Wed, 27 Feb 2008 16:19:29 +0000 (11:19 -0500)]
intel: Always use intelInitExtensions() for initializing extensions.

16 years agor300: add artificial output to match fragment program input
Markus Amsler [Wed, 27 Feb 2008 01:06:17 +0000 (02:06 +0100)]
r300: add artificial output to match fragment program input

16 years agomesa: set input read only on success
Markus Amsler [Wed, 27 Feb 2008 01:04:06 +0000 (02:04 +0100)]
mesa: set input read only on success

16 years agoi965: Setup framebuffer texture in meta_draw_region.
Kristian Høgsberg [Tue, 26 Feb 2008 22:57:41 +0000 (17:57 -0500)]
i965: Setup framebuffer texture in meta_draw_region.

With DRI2 we there is no screen region until a drawable is bound to
the context.  Set up the framebuffer texture in meta_draw_region instead
which should also handle the case where the draw region changes as a
result of resizing a redirected window or resizing the screen.

16 years ago[965] Don't segfault on INTEL_DEBUG=batch when a surface buffer is NULL.
Eric Anholt [Tue, 26 Feb 2008 21:28:51 +0000 (13:28 -0800)]
[965] Don't segfault on INTEL_DEBUG=batch when a surface buffer is NULL.

16 years ago[965] remove dead brw_parameter_list_state_flags.
Eric Anholt [Thu, 21 Feb 2008 18:42:07 +0000 (10:42 -0800)]
[965] remove dead brw_parameter_list_state_flags.

This was replaced by Mesa core code.

16 years ago[r300] fix wow-pinkness regression. Fixed by Markus Amsler
Christoph Brill [Tue, 26 Feb 2008 21:10:54 +0000 (22:10 +0100)]
[r300] fix wow-pinkness regression. Fixed by Markus Amsler

16 years ago[r300] Document based on chapter 10.4 and 10.5
Christoph Brill [Tue, 26 Feb 2008 20:40:55 +0000 (21:40 +0100)]
[r300] Document based on chapter 10.4 and 10.5

This commit adds most of the graphics backend registers and of the rasterizer
registers. Again, some minor bugs were found and marked with TODO or even
fixed.

16 years ago [i915] fix texture size exceed limit case when running celestia
Zou Nan hai [Tue, 26 Feb 2008 09:20:12 +0000 (17:20 +0800)]
 [i915] fix texture size exceed limit case when running celestia

16 years ago[intel] Handle -EAGAINs correctly in execbuffer.
Thomas Hellstrom [Tue, 26 Feb 2008 08:19:27 +0000 (09:19 +0100)]
[intel] Handle -EAGAINs correctly in execbuffer.
Dont stop on fence creation errors.

16 years agoA few more fixes to the dlsym() fix.
Kristian Høgsberg [Tue, 26 Feb 2008 03:24:09 +0000 (22:24 -0500)]
A few more fixes to the dlsym() fix.

Argh, seriously, I did test that, I just forgot to amend the commit
before pushing.

16 years agodri2: dlsym requires some quotes..
Dave Airlie [Tue, 26 Feb 2008 02:28:45 +0000 (12:28 +1000)]
dri2: dlsym requires some quotes..

16 years agoUse dlsym() to avoid referencing __dri2DriverInitScreen.
Kristian Høgsberg [Tue, 26 Feb 2008 01:02:25 +0000 (20:02 -0500)]
Use dlsym() to avoid referencing __dri2DriverInitScreen.

Sort-of a stop-gap workaround.  There are a couple of nicer ways to
do this that doesn't require dlfcn.h, but they're more invasive.

16 years agoautoconf: Add gcc search patch to MKDEP_OPTIONS to eliminate warnings.
Kristian Høgsberg [Mon, 25 Feb 2008 23:50:26 +0000 (18:50 -0500)]
autoconf: Add gcc search patch to MKDEP_OPTIONS to eliminate warnings.

Also, use -include to avoid error message when make initially fails to
include the non-existent depend file.

16 years agointel: Add missing include file to silence last couple of warnings.
Kristian Høgsberg [Mon, 25 Feb 2008 22:34:24 +0000 (17:34 -0500)]
intel: Add missing include file to silence last couple of warnings.

16 years agointel: Initialize color and spec arrays in LOCAL_VARS macro.
Kristian Høgsberg [Mon, 25 Feb 2008 22:28:09 +0000 (17:28 -0500)]
intel: Initialize color and spec arrays in LOCAL_VARS macro.

Avoids spamming compilation output with tons of warnings about
use of possibly uninitialized variables.

16 years agoChange GetCompressedTexImage in dd_function_table to not take const pointers.
Kristian Høgsberg [Mon, 25 Feb 2008 21:52:35 +0000 (16:52 -0500)]
Change GetCompressedTexImage in dd_function_table to not take const pointers.

They're changed by the intel driver implementation and thus not const.
Fixes compilation warning.

16 years agoRemove GetMSC DriverAPI function.
Kristian Høgsberg [Mon, 25 Feb 2008 21:14:37 +0000 (16:14 -0500)]
Remove GetMSC DriverAPI function.

The DriverAPI is internal to the DRI drivers and GetDrawableMSC
obsoletes GetMSC.  Also, since the DRI driver interface has not yet
been released, just drop the getMSC function from the DRI interface
instead using the ABI preserving version mechanism.

Finally, using void pointer privates in the DRI interface is not allowed,
always pass the actual types around (__DRIdrawable in this case) to
enhance type safety and readability of the code.

16 years agoRemove now unused setTexOffset from __DriverAPIRec.
Kristian Høgsberg [Mon, 25 Feb 2008 20:36:42 +0000 (15:36 -0500)]
Remove now unused setTexOffset from __DriverAPIRec.

16 years agor300: Corrected a cache flush bug in r300EmitCacheFlush.
Oliver McFadden [Mon, 25 Feb 2008 23:18:15 +0000 (23:18 +0000)]
r300: Corrected a cache flush bug in r300EmitCacheFlush.

Corrects commit 74ae5a875d6b3f1ffea2ac09c6ef0062d4980f15.

16 years agor300: Moved the state code into separate functions.
Oliver McFadden [Mon, 25 Feb 2008 22:48:26 +0000 (22:48 +0000)]
r300: Moved the state code into separate functions.

16 years ago[r300] revert complete stupid changes
Christoph Brill [Mon, 25 Feb 2008 22:20:23 +0000 (23:20 +0100)]
[r300] revert complete stupid changes

16 years ago[r300] Document registers completed 10.1 to 10.3
Christoph Brill [Mon, 25 Feb 2008 22:08:02 +0000 (23:08 +0100)]
[r300] Document registers completed 10.1 to 10.3

16 years ago[r300] Add more register from the AMD spec
Christoph Brill [Mon, 25 Feb 2008 22:04:17 +0000 (23:04 +0100)]
[r300] Add more register from the AMD spec

16 years ago[r300] Document POLY_MODE and add some TODOs that might have triggered some bugs
Christoph Brill [Mon, 25 Feb 2008 21:55:13 +0000 (22:55 +0100)]
[r300] Document POLY_MODE and add some TODOs that might have triggered some bugs

16 years ago[r300] Document some registers in the POINT area
Christoph Brill [Mon, 25 Feb 2008 21:45:36 +0000 (22:45 +0100)]
[r300] Document some registers in the POINT area

16 years ago[r300] Further document and add register definitions (found bugs in LINE handling)
Christoph Brill [Mon, 25 Feb 2008 21:36:16 +0000 (22:36 +0100)]
[r300] Further document and add register definitions (found bugs in LINE handling)

16 years ago[r300] Sync fog color register names
Christoph Brill [Mon, 25 Feb 2008 20:48:25 +0000 (21:48 +0100)]
[r300] Sync fog color register names

16 years ago[r300] Sync fog register names to the AMD spec
Christoph Brill [Mon, 25 Feb 2008 20:44:11 +0000 (21:44 +0100)]
[r300] Sync fog register names to the AMD spec

16 years ago[r300] Further document FG_ALPHA_FUNC (renamed from R300_PP_ALPHA_TEST) and finally...
Christoph Brill [Mon, 25 Feb 2008 20:35:13 +0000 (21:35 +0100)]
[r300] Further document FG_ALPHA_FUNC (renamed from R300_PP_ALPHA_TEST) and finally add some information to R300_RB3D_DSTCACHE_CTLSTAT

16 years ago[r300] Document R300_RB3D_COLORMASK properly and rename it to RB3D_COLOR_CHANNEL_MASK
Christoph Brill [Mon, 25 Feb 2008 20:04:23 +0000 (21:04 +0100)]
[r300] Document R300_RB3D_COLORMASK properly and rename it to RB3D_COLOR_CHANNEL_MASK

16 years ago[r300] Add register definitions based on AMD spec starting with chapter 10
Christoph Brill [Mon, 25 Feb 2008 19:54:23 +0000 (20:54 +0100)]
[r300] Add register definitions based on AMD spec starting with chapter 10

16 years ago[r300] Add some more register from the AMD spec in the area of AARESOLVE
Christoph Brill [Mon, 25 Feb 2008 19:30:40 +0000 (20:30 +0100)]
[r300] Add some more register from the AMD spec in the area of AARESOLVE

16 years ago[r300] Sync the names for Z-Buffer registers with the AMD spec
Christoph Brill [Mon, 25 Feb 2008 19:24:00 +0000 (20:24 +0100)]
[r300] Sync the names for Z-Buffer registers with the AMD spec

This patch tries to get the Z-Buffer register names in sync with the AMD spec
so that talking to AMD engineers is much simpler.

16 years ago[r300] Add more struct names for r300_hw_state
Christoph Brill [Mon, 25 Feb 2008 19:20:59 +0000 (20:20 +0100)]
[r300] Add more struct names for r300_hw_state

16 years ago[r300] rename all unkown structs r300_hw_state to readable names
Christoph Brill [Mon, 25 Feb 2008 19:18:10 +0000 (20:18 +0100)]
[r300] rename all unkown structs r300_hw_state to readable names

16 years ago[r300] Add RB3D_DISCARD_SRC_PIXEL_LTE_THRESHOLD and some HyperZ defintions
Christoph Brill [Mon, 25 Feb 2008 19:15:20 +0000 (20:15 +0100)]
[r300] Add RB3D_DISCARD_SRC_PIXEL_LTE_THRESHOLD and some HyperZ defintions

16 years ago[r300] Replace more magic number by register definitions from AMD
Christoph Brill [Mon, 25 Feb 2008 19:11:46 +0000 (20:11 +0100)]
[r300] Replace more magic number by register definitions from AMD

16 years ago[r300] clean some more magic registers based on AMD spec
Christoph Brill [Mon, 25 Feb 2008 19:08:33 +0000 (20:08 +0100)]
[r300] clean some more magic registers based on AMD spec

16 years ago[r300] Update some magic registers to real names
Christoph Brill [Mon, 25 Feb 2008 19:03:35 +0000 (20:03 +0100)]
[r300] Update some magic registers to real names

16 years ago[r300] Document Z-buffer related register ZB_BW_CNTL
Christoph Brill [Mon, 25 Feb 2008 19:01:27 +0000 (20:01 +0100)]
[r300] Document Z-buffer related register ZB_BW_CNTL

16 years ago[r300] document VAP_CNTL based on AMD spec
Christoph Brill [Mon, 25 Feb 2008 18:50:05 +0000 (19:50 +0100)]
[r300] document VAP_CNTL based on AMD spec

16 years ago[r300] Document some of the wild guesses in VAP_OUTPUT_VTX_FMT based on AMD spec
Christoph Brill [Mon, 25 Feb 2008 18:39:16 +0000 (19:39 +0100)]
[r300] Document some of the wild guesses in VAP_OUTPUT_VTX_FMT based on AMD spec

16 years ago[r300] document type 3 packets to draw primitives based on AMD spec
Christoph Brill [Mon, 25 Feb 2008 18:18:08 +0000 (19:18 +0100)]
[r300] document type 3 packets to draw primitives based on AMD spec

16 years agoObsolete, replaced by glut_fcb.c (fortran callbacks)
Brian [Mon, 25 Feb 2008 18:00:01 +0000 (11:00 -0700)]
Obsolete, replaced by glut_fcb.c (fortran callbacks)

16 years agoReplace glut_fbc.c with glut_fcb.c (cb=callback)
Brian [Mon, 25 Feb 2008 17:57:40 +0000 (10:57 -0700)]
Replace glut_fbc.c with glut_fcb.c (cb=callback)

16 years agointel: Only enable GL_ARB_occlusion_query on i965.
Kristian Høgsberg [Mon, 25 Feb 2008 17:03:28 +0000 (12:03 -0500)]
intel: Only enable GL_ARB_occlusion_query on i965.

16 years ago [intel] fix random ut2004 crash on some machine, for cubemap textures,
Zou Nan hai [Mon, 25 Feb 2008 07:27:47 +0000 (15:27 +0800)]
 [intel] fix random ut2004 crash on some machine, for cubemap textures,
image offset is already considered when map, add it again in
        StoreImage may lead to wrong result and crash.

16 years agoi965: fix assertion failure caused by commit dd1d66fc4ab5d7064113a2017a431c3461598b91.
Xiang, Haihao [Mon, 25 Feb 2008 03:04:59 +0000 (11:04 +0800)]
i965: fix assertion failure caused by commit dd1d66fc4ab5d7064113a2017a431c3461598b91.

16 years agor300: fixup some more names
Dave Airlie [Sat, 23 Feb 2008 09:17:00 +0000 (19:17 +1000)]
r300: fixup some more names

16 years agor300: some initial register info from doc drop
Dave Airlie [Sat, 23 Feb 2008 08:54:07 +0000 (18:54 +1000)]
r300: some initial register info from doc drop

16 years agointel: Merge intel_context.c from i915 and i965.
Kristian Høgsberg [Fri, 22 Feb 2008 23:06:19 +0000 (18:06 -0500)]
intel: Merge intel_context.c from i915 and i965.

16 years agoMerge {i915,i965}/intel_context.h as intel/intel_context.h
Kristian Høgsberg [Fri, 22 Feb 2008 05:51:52 +0000 (00:51 -0500)]
Merge {i915,i965}/intel_context.h as intel/intel_context.h

16 years agoUse drm_i915_sarea instead of drmI830Sarea and remove i830_common.h
Alan Hourihane [Fri, 22 Feb 2008 00:18:54 +0000 (00:18 +0000)]
Use drm_i915_sarea instead of drmI830Sarea and remove i830_common.h

16 years agoautoconf: Fix thinko when checking freebsd CPU types
Dan Nicholson [Thu, 21 Feb 2008 18:32:04 +0000 (10:32 -0800)]
autoconf: Fix thinko when checking freebsd CPU types

16 years agoautoconf: Set the default drivers after checking platform specifics
Dan Nicholson [Thu, 21 Feb 2008 18:17:19 +0000 (10:17 -0800)]
autoconf: Set the default drivers after checking platform specifics

The platform-specific overrides to the DRI drivers were being ignored
because the default was being set first. Instead, have the default be a
fallback after the platform checks.

16 years agoFix glBegin-time test for invalid programs/shaders.
Brian [Wed, 20 Feb 2008 15:54:15 +0000 (08:54 -0700)]
Fix glBegin-time test for invalid programs/shaders.

16 years agoraise GL_INVALID_OPERATION if glProgramString compilation fails
Brian [Wed, 20 Feb 2008 15:53:41 +0000 (08:53 -0700)]
raise GL_INVALID_OPERATION if glProgramString compilation fails

16 years agoRegenerated (see bug 11893)
Brian [Tue, 19 Feb 2008 15:39:12 +0000 (08:39 -0700)]
Regenerated (see bug 11893)

16 years agoAdded <size name="Get" mode="get"/> lines for point parameter tokens.
Brian [Tue, 19 Feb 2008 15:38:42 +0000 (08:38 -0700)]
Added <size name="Get" mode="get"/> lines for point parameter tokens.

See bug 11893.  This allows GL_POINT_SIZE_MIN/MAX/etc to be queried with
indirect rendering.

16 years agoRegenerated (raise GL_INVALID_VALUE if counter param is negative)
Brian [Tue, 19 Feb 2008 15:27:44 +0000 (08:27 -0700)]
Regenerated (raise GL_INVALID_VALUE if counter param is negative)

16 years agoIf parameter is a 'counter', raise GL_INVALID_VALUE if value is negative
Brian [Tue, 19 Feb 2008 15:27:08 +0000 (08:27 -0700)]
If parameter is a 'counter', raise GL_INVALID_VALUE if value is negative

Fixes bug 10984.

16 years agoApple: Pulled in changes from Apple's patchset to allow mesa to build on darwin again
Jeremy Huddleston [Tue, 19 Feb 2008 08:54:35 +0000 (00:54 -0800)]
Apple: Pulled in changes from Apple's patchset to allow mesa to build on darwin again
(cherry picked from commit e70609b7b877dc0d8e67c958c453305e78f831df)

16 years ago fix compile for previous commit
Zou Nan hai [Tue, 19 Feb 2008 06:53:58 +0000 (14:53 +0800)]
 fix compile for previous commit

16 years ago[i965] fix broken glsl texdemo1
Zou Nan hai [Tue, 19 Feb 2008 06:47:57 +0000 (14:47 +0800)]
[i965] fix broken glsl texdemo1

16 years agoInstall dri_sarea.h in 'make install'
Adam Jackson [Mon, 18 Feb 2008 16:45:40 +0000 (11:45 -0500)]
Install dri_sarea.h in 'make install'

16 years agoIgnore glxgears_pixmap
Dan Nicholson [Mon, 18 Feb 2008 03:34:48 +0000 (19:34 -0800)]
Ignore glxgears_pixmap

16 years agoDistribute dri_sarea.h with the tarballs
Dan Nicholson [Mon, 18 Feb 2008 02:10:15 +0000 (18:10 -0800)]
Distribute dri_sarea.h with the tarballs

The GL/internal/dri_sarea.h header was missing from the tarballs,
causing the build to bomb for DRI2.

16 years agoglapi: Generate xserver glapi sources in the mesa tree
Dan Nicholson [Wed, 16 Jan 2008 03:25:41 +0000 (19:25 -0800)]
glapi: Generate xserver glapi sources in the mesa tree

Instead of generating the glapi sources for the xserver and commiting
them to the xserver tree, we can keep them in the mesa tree and change
the xserver build to use the files from the mesa tree.

This makes the xserver glx build more robust as it reduces the chances
for mismatches of the glX API used in the xserver vs. in mesa.

16 years agoFix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915)
Brian [Sat, 16 Feb 2008 16:56:54 +0000 (09:56 -0700)]
Fix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915)

Also, general clean-up of the Xlib-optimized glDraw/CopyPixels code.

16 years agoAdded minmag.c test
Brian [Sat, 16 Feb 2008 16:38:34 +0000 (09:38 -0700)]
Added minmag.c test

Test that different minification and magnification filters are chosen for the
non-mipmapped texture case.

16 years agoFix path to minstall in last commit.
Adam Jackson [Fri, 15 Feb 2008 22:22:09 +0000 (17:22 -0500)]
Fix path to minstall in last commit.

16 years agoInstall dri_interface.h in 'make install'.
Adam Jackson [Fri, 15 Feb 2008 22:17:03 +0000 (17:17 -0500)]
Install dri_interface.h in 'make install'.

16 years ago[intel] Allow attIndex to be negative to avoid defeating the >= 0 check.
Eric Anholt [Fri, 15 Feb 2008 21:48:11 +0000 (13:48 -0800)]
[intel] Allow attIndex to be negative to avoid defeating the >= 0 check.

Otherwise, we would go wildly out of bounds if passed -1 (no renderbuffer), such
as while doing LOCK_HARDWARE with glDrawBuffer(GL_NONE).

16 years ago[915] Don't attempt our accelerated drawpixels if no color buffer is attached.
Eric Anholt [Fri, 15 Feb 2008 21:42:37 +0000 (13:42 -0800)]
[915] Don't attempt our accelerated drawpixels if no color buffer is attached.

Otherwise, glDrawBuffer(GL_NONE); glDrawPixels() results in a segfault when
we try to emit the color buffer state during setup.

16 years ago[915] Revert broken context creation change from IS_915 commit.
Eric Anholt [Fri, 15 Feb 2008 21:16:01 +0000 (13:16 -0800)]
[915] Revert broken context creation change from IS_915 commit.

The IS_945 case was left to fall through to the 830 case, along with the
not-recognized-at-all case, making that dead code.

16 years agoFix glBindTexture crash (bug 14514)
Brian [Fri, 15 Feb 2008 20:41:39 +0000 (13:41 -0700)]
Fix glBindTexture crash (bug 14514)

16 years agochmod a-x **/glslnoise.c
Adam Jackson [Fri, 15 Feb 2008 20:05:42 +0000 (15:05 -0500)]
chmod a-x **/glslnoise.c

16 years agoFix parallel build by making symlinks before makedepend.
Adam Jackson [Fri, 15 Feb 2008 19:59:30 +0000 (14:59 -0500)]
Fix parallel build by making symlinks before makedepend.

16 years agoFix sis_dri on ia64.
Adam Jackson [Fri, 15 Feb 2008 19:57:51 +0000 (14:57 -0500)]
Fix sis_dri on ia64.

16 years agoFix build on ia64.
Adam Jackson [Fri, 15 Feb 2008 19:56:32 +0000 (14:56 -0500)]
Fix build on ia64.

16 years agoAdd IS_915(), simplify IS_9XX() a bit.
Adam Jackson [Fri, 15 Feb 2008 19:52:58 +0000 (14:52 -0500)]
Add IS_915(), simplify IS_9XX() a bit.

16 years ago[intel] Bug #13636: Allow recursive buffer mapping in bufmgr_ttm.
Eric Anholt [Fri, 15 Feb 2008 00:14:00 +0000 (16:14 -0800)]
[intel] Bug #13636: Allow recursive buffer mapping in bufmgr_ttm.