mesa.git
17 years agoadded z/s keys to reset/step rotation
Brian [Fri, 16 Nov 2007 22:18:30 +0000 (15:18 -0700)]
added z/s keys to reset/step rotation

17 years agoOnly emit texcoords for enabled units. Enable/disable units with 0..7 keys.
Brian [Fri, 16 Nov 2007 22:17:37 +0000 (15:17 -0700)]
Only emit texcoords for enabled units. Enable/disable units with 0..7 keys.

Also, asst. clean-ups.

17 years agofix bogus assumption if ddx has set up surface reg for z buffer
Roland Scheidegger [Thu, 15 Nov 2007 00:13:16 +0000 (01:13 +0100)]
fix bogus assumption if ddx has set up surface reg for z buffer

this is wrong since even if ddx has not set up a surface reg to cover the z
buffer we should pretend it has on those rv100 chips since they presumably do
not do z buffer tiling if not using hyperz, so we can use linear addressing
just the same. Doesn't seem to fix #13080, but it's wrong anyway and the bug
almost certainly broke newer non-tcl chips.

17 years agofix position invariant vertex programs for sw-tnl
Roland Scheidegger [Wed, 14 Nov 2007 23:52:38 +0000 (00:52 +0100)]
fix position invariant vertex programs for sw-tnl

do the same math as for fixed function pipe, including
user clip planes.
(mostly resurrected from the dead t_vb_arbprogram.c code)

17 years agoremove dependency on libGLU
Brian [Mon, 12 Nov 2007 15:02:09 +0000 (08:02 -0700)]
remove dependency on libGLU

17 years agoadd glw.pc.in to tarball list, remove from DEPEND_FILES
Brian [Mon, 12 Nov 2007 14:51:28 +0000 (07:51 -0700)]
add glw.pc.in to tarball list, remove from DEPEND_FILES

17 years agoi965: correct the opcode of XY_SETUP_BLT_CMD. fix bug #12730
Xiang, Haihao [Mon, 12 Nov 2007 02:20:26 +0000 (10:20 +0800)]
i965: correct the opcode of XY_SETUP_BLT_CMD. fix bug #12730

17 years agotest that point/line/quad rendering hits the right pixels
Brian [Sat, 10 Nov 2007 00:02:12 +0000 (17:02 -0700)]
test that point/line/quad rendering hits the right pixels

17 years ago[i915] Remove old frontbuffer rotation hack.
Eric Anholt [Fri, 9 Nov 2007 23:05:56 +0000 (15:05 -0800)]
[i915] Remove old frontbuffer rotation hack.

This was replaced in previous releases of xserver/dri/libGL by reporting the
damage to the frontbuffer so that the server and driver could handle it
appropriately.

17 years ago[intel] By default, output batchbuffer decode to stderr like other debug info.
Eric Anholt [Wed, 7 Nov 2007 00:07:10 +0000 (16:07 -0800)]
[intel] By default, output batchbuffer decode to stderr like other debug info.

17 years ago[intel] Initialize a depth buffer if the visual has depth 24 but no stencil.
Eric Anholt [Thu, 8 Nov 2007 22:49:37 +0000 (14:49 -0800)]
[intel] Initialize a depth buffer if the visual has depth 24 but no stencil.

17 years ago[intel] Move over files that will be shared with 965-fbo work.
Eric Anholt [Wed, 7 Nov 2007 18:04:59 +0000 (10:04 -0800)]
[intel] Move over files that will be shared with 965-fbo work.

17 years agocheck for texture and renderbuffer in check_end_texture_render()
Brian [Fri, 9 Nov 2007 15:55:49 +0000 (08:55 -0700)]
check for texture and renderbuffer in check_end_texture_render()

17 years agocode clean-ups, reformatting
Benno Schulenberg [Fri, 9 Nov 2007 15:54:21 +0000 (08:54 -0700)]
code clean-ups, reformatting

17 years agoremove commented-out code
Benno Schulenberg [Fri, 9 Nov 2007 15:54:16 +0000 (08:54 -0700)]
remove commented-out code

17 years agorecreate from changed gl_API.xml
Roland Scheidegger [Fri, 9 Nov 2007 13:49:01 +0000 (14:49 +0100)]
recreate from changed gl_API.xml

17 years agoalias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)
Roland Scheidegger [Fri, 9 Nov 2007 13:46:59 +0000 (14:46 +0100)]
alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)

these should be the same functions (as per spec).

17 years agoPrevent loss of vectorequiv information when an alias follows the function being...
Ian Romanick [Fri, 9 Nov 2007 01:45:34 +0000 (17:45 -0800)]
Prevent loss of vectorequiv information when an alias follows the function being aliased.

17 years agofix Unichrome/Blender crash, bug 13142
Benno Schulenberg [Thu, 8 Nov 2007 14:34:20 +0000 (07:34 -0700)]
fix Unichrome/Blender crash, bug 13142

17 years agoFix compilation for !GLX_DIRECT_RENDERING.
Kristian Høgsberg [Tue, 6 Nov 2007 19:34:15 +0000 (14:34 -0500)]
Fix compilation for !GLX_DIRECT_RENDERING.

17 years agoRemove a couple of "deprecated" fields from __GLXcontextRec.
Kristian Høgsberg [Tue, 6 Nov 2007 18:32:04 +0000 (13:32 -0500)]
Remove a couple of "deprecated" fields from __GLXcontextRec.

The __GLXcontextRec struct is internal to the libGL implementation.  No point
in "deprecating", just get rid of it.

17 years agoDon't return 0 in a void function.
Kristian Høgsberg [Tue, 6 Nov 2007 16:56:24 +0000 (11:56 -0500)]
Don't return 0 in a void function.

17 years agor200: Re-expose SetTexOffset functionality.
Michel Dänzer [Tue, 6 Nov 2007 17:24:46 +0000 (18:24 +0100)]
r200: Re-expose SetTexOffset functionality.

This seems to have been mismerged with the DRI interface changes.

17 years agor200: Fix SetTexOffset format for 16 bit pixmaps/textures.
Michel Dänzer [Tue, 6 Nov 2007 17:22:42 +0000 (18:22 +0100)]
r200: Fix SetTexOffset format for 16 bit pixmaps/textures.

Use symbolic array indices to clarify.

17 years agoPass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.
Kristian Høgsberg [Tue, 6 Nov 2007 16:22:59 +0000 (11:22 -0500)]
Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.

17 years agoRenamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL.
Oliver McFadden [Mon, 5 Nov 2007 22:05:16 +0000 (22:05 +0000)]
Renamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL.

17 years agor300: initial user clipping for TCL paths
Dave Airlie [Sun, 4 Nov 2007 04:02:55 +0000 (15:02 +1100)]
r300: initial user clipping for TCL paths

I've no idea if this code might break something or how it should interact
with vertex shaders, it makes the clip demo work for me

17 years agoLookup visual in visual list, not fbconfig list.
Kristian Høgsberg [Mon, 5 Nov 2007 22:02:03 +0000 (17:02 -0500)]
Lookup visual in visual list, not fbconfig list.

Also, handle visual not found error case by throwing X error.

17 years agoFilter both visuals and fbconfigs against driver supported configs.
Kristian Høgsberg [Mon, 5 Nov 2007 20:42:55 +0000 (15:42 -0500)]
Filter both visuals and fbconfigs against driver supported configs.

17 years agoCheck for NULL VB->EdgeFlag array.
Brian [Mon, 5 Nov 2007 21:41:18 +0000 (14:41 -0700)]
Check for NULL VB->EdgeFlag array.

There might be a bug elsewhere, but this is a simple work-around for now.
See bug 12614

17 years agofix mmx code (bug 12614)
Brian [Mon, 5 Nov 2007 21:38:27 +0000 (14:38 -0700)]
fix mmx code (bug 12614)

17 years agoFix GLX build of xserver master branch.
Michel Dänzer [Mon, 5 Nov 2007 09:03:26 +0000 (10:03 +0100)]
Fix GLX build of xserver master branch.

The internal CreatePixmap API has been extended.

17 years agoFix mem leak in SSE code generation path (Michel Dänzer) and don't crash if _mesa_exe...
Brian [Sat, 3 Nov 2007 14:50:55 +0000 (08:50 -0600)]
Fix mem leak in SSE code generation path (Michel Dänzer) and don't crash if _mesa_exec_malloc() returns NULL.

(picked from mesa_7_0_branch)

17 years agofix typo
Brian [Sat, 3 Nov 2007 14:46:59 +0000 (08:46 -0600)]
fix typo

17 years agor300: move more vap registers out of non tcl paths
Dave Airlie [Sat, 3 Nov 2007 08:35:39 +0000 (19:35 +1100)]
r300: move more vap registers out of non tcl paths

17 years agor300: fix misnumber register
Dave Airlie [Sat, 3 Nov 2007 08:20:22 +0000 (19:20 +1100)]
r300: fix misnumber register

17 years agor300: fix texwrap border color
Dave Airlie [Sat, 3 Nov 2007 07:58:46 +0000 (18:58 +1100)]
r300: fix texwrap border color

17 years agoremove dead code in _mesa_new_program()
Brian [Thu, 1 Nov 2007 14:00:45 +0000 (08:00 -0600)]
remove dead code in _mesa_new_program()

17 years agoAdd -fno-strict-aliasing workaround for all GCC targets
Dan Nicholson [Thu, 1 Nov 2007 13:01:53 +0000 (06:01 -0700)]
Add -fno-strict-aliasing workaround for all GCC targets

Use a GCC option to work around aliasing bugs. See commit 013dbcd for
more details.

17 years agonouveau: ppc, swap fragment programs on big endian systems.
Dave Airlie [Thu, 1 Nov 2007 08:19:45 +0000 (19:19 +1100)]
nouveau: ppc, swap fragment programs on big endian systems.

Thanks to the PS3 RSX project for figuring this out.

17 years agoi915: make i915 use the cached mappings for batch/buffer objects.
Dave Airlie [Wed, 31 Oct 2007 23:41:27 +0000 (10:41 +1100)]
i915: make i915 use the cached mappings for batch/buffer objects.

This should restore gears speed on 9xx hardware

17 years agoconfigs: Set -fexceptions for GLUT on linux-dri like other targets
Dan Nicholson [Wed, 31 Oct 2007 23:18:29 +0000 (16:18 -0700)]
configs: Set -fexceptions for GLUT on linux-dri like other targets

Quite a while ago, the GCC option -fexceptions was added for building
libglut. See here:

  http://article.gmane.org/gmane.comp.video.mesa3d.devel/9499

This was missing in the linux-dri targets.

17 years agoconfdiff.sh: A testing script for comparing configs settings
Dan Nicholson [Wed, 24 Oct 2007 01:17:16 +0000 (18:17 -0700)]
confdiff.sh: A testing script for comparing configs settings

This is a simple script that compares the make variables set by two
different configs stubs. The purpose is to highlight differences so
that any unnecessary duplication or divergence can be removed.

For example, on Linux x86:
    $ ./bin/confdiff.sh linux linux-x86

The output isn't very clean, but it should highlight that the only
difference is that the x86 target uses x86 assembler sources.

The script uses bash, mktemp, make, sed and diff. It is probably not
very portable and might only work on GNU make.

17 years agoconfigs: Always use -fPIC for shared libraries, never for static
Dan Nicholson [Wed, 31 Oct 2007 17:33:20 +0000 (10:33 -0700)]
configs: Always use -fPIC for shared libraries, never for static

Mesa currently disables -fPIC for DRI on x86, but most Linux distros are
re-enabling -fPIC for all DRI arches. Let's just do that here since
that's normally what's wanted for shared libraries. Some justification:

http://bugs.gentoo.org/show_bug.cgi?id=110840#c9

On the other hand, position-independent code is only necessary when
building shared libraries, so disable it for the static cases.

17 years agoAdd -fno-strict-aliasing workaround for Linux GCC targets
Dan Nicholson [Wed, 31 Oct 2007 16:47:39 +0000 (09:47 -0700)]
Add -fno-strict-aliasing workaround for Linux GCC targets

Most Linux distros work around aliasing problems in Mesa by compiling
with the GCC option -fno-strict-aliasing. Two examples:

  https://bugs.freedesktop.org/show_bug.cgi?id=6046
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394311

This makes -fno-strict-aliasing the default with a comment that
developers should consider commenting it out. There is a already a note
about these bugs in docs/helpwanted.html.

17 years agoGLSL support in i965 driver
Brian [Wed, 31 Oct 2007 15:57:07 +0000 (09:57 -0600)]
GLSL support in i965 driver

17 years agoupdated list
Brian [Wed, 31 Oct 2007 15:44:01 +0000 (09:44 -0600)]
updated list

17 years agocheck for count==0 in _mesa_validate_DrawArrays()
Brian [Wed, 31 Oct 2007 15:38:51 +0000 (09:38 -0600)]
check for count==0 in _mesa_validate_DrawArrays()

17 years agoFix some build warnings, mostly with XCB.
Michel Dänzer [Tue, 30 Oct 2007 16:47:17 +0000 (17:47 +0100)]
Fix some build warnings, mostly with XCB.

17 years agoAlias glStencilOpSeparateATI with glStencilOpSeparate.
Brian [Tue, 30 Oct 2007 16:24:34 +0000 (10:24 -0600)]
Alias glStencilOpSeparateATI with glStencilOpSeparate.

17 years agotest glStencilFuncSeparateATI()
Brian [Tue, 30 Oct 2007 16:23:58 +0000 (10:23 -0600)]
test glStencilFuncSeparateATI()

17 years agoFinish up ATI_separate_stencil
Brian [Tue, 30 Oct 2007 15:13:58 +0000 (09:13 -0600)]
Finish up ATI_separate_stencil

Add entrypoints to glapi XML file and regenerate files.
Implement glStencilOpSeparateATI().
Consolidate some code in stencil.c

17 years agoadd missing _mesa_StencilFuncSeparateATI function
Roland Scheidegger [Tue, 30 Oct 2007 13:09:17 +0000 (14:09 +0100)]
add missing _mesa_StencilFuncSeparateATI function

17 years agoMore vblank cleanups.
Michel Dänzer [Tue, 30 Oct 2007 12:16:50 +0000 (13:16 +0100)]
More vblank cleanups.

* Fix crash at context creation in most drivers supporting vblank.
* Don't pass vblank sequence or flags to functions that get passed the drawable
  private already.
* Attempt to initialize vblank related drawable private fields just once
  per drawable. May need more work in some drivers.

17 years ago[i915] Include header to pick up intel_ttm_bo_create_from_handle() proto.
Eric Anholt [Mon, 29 Oct 2007 18:56:50 +0000 (11:56 -0700)]
[i915] Include header to pick up intel_ttm_bo_create_from_handle() proto.

17 years agoMerge branch 'origin'
Eric Anholt [Mon, 29 Oct 2007 20:24:27 +0000 (13:24 -0700)]
Merge branch 'origin'

17 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa
Jesse Barnes [Mon, 29 Oct 2007 19:06:36 +0000 (12:06 -0700)]
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa

17 years agoRefactor and fix core vblank support
Jesse Barnes [Mon, 29 Oct 2007 18:56:31 +0000 (11:56 -0700)]
Refactor and fix core vblank support

Consolidate support for synchronizing to and retrieving vblank counters.  Also
fix the core vblank code to return monotonic MSC counters, which are required
by some GLX extensions.  Adding support for multiple pipes to a low level
driver is fairly easy, the Intel 965 driver provides simple example code (see
intel_buffers.c:intelWindowMoved()).

The new code bumps the media stream counter extension version to 2 and adds a
new getDrawableMSC callback.  This callback takes a drawablePrivate pointer,
which is used to calculate the MSC value seen by clients based on the actual
vblank counter(s) returned from the kernel.  The new drawable private fields
are as follows:
  - vblSeq - used for tracking vblank counts for buffer swapping
  - vblFlags - flags (e.g. current pipe), updated by low level driver
  - msc_base - MSC counter from the last time the current pipe changed
  - vblank_base - kernel DRM vblank counter from the last time the pipe changed

Using the above variables, the core vblank code (in vblank.c) can calculate a
monotonic MSC value.  The low level DRI drivers are responsible for updating
the current pipe (by setting VBLANK_FLAG_SECONDARY for example in vblFlags)
along with msc_base and vblank_base whenever the pipe associated with a given
drawable changes (again, see intelWindowMoved for an example of this).

Drivers should fill in the GetDrawableMSC DriverAPIRec field to point to
driDrawableGetMSC32 and add code for pipe switching as outlined above to fully
support the new scheme.

17 years agoBuild xdemos programs by default on linux-dri
Dan Nicholson [Mon, 29 Oct 2007 18:21:37 +0000 (11:21 -0700)]
Build xdemos programs by default on linux-dri

Since libglut is no longer hardcoded, we can build the xdemos programs
so long as a GLX enabled libGL and libGLU have been built.

17 years agoRemember to call XSync() before resetting X error handler.
Chris Rankin [Mon, 29 Oct 2007 18:37:32 +0000 (14:37 -0400)]
Remember to call XSync() before resetting X error handler.

17 years agolinux-dri-xcb: Fix undefined refs when linking with libGL
Dan Nicholson [Mon, 29 Oct 2007 18:17:04 +0000 (11:17 -0700)]
linux-dri-xcb: Fix undefined refs when linking with libGL

GL_LIB_DEPS was missing -lXdamage and -lXfixes, which was causing
linker errors when trying to build the programs.

17 years agodisable ctx->Driver.NewProgram() call in _mesa_new_program()
Brian [Mon, 29 Oct 2007 16:01:15 +0000 (10:01 -0600)]
disable ctx->Driver.NewProgram() call in _mesa_new_program()

This was causing infinite recursive calls w/ software drivers.
All vertex/fragment shaders should be allocated by calling
ctx->Driver.NewProgram(), not by calling _mesa_new_program().

17 years agoupdate APP_LIB_DEPS for static library configs (patch 3/3)
Dan Nicholson [Mon, 29 Oct 2007 15:05:13 +0000 (09:05 -0600)]
update APP_LIB_DEPS for static library configs (patch 3/3)

17 years agosimplify APP_LIB_DEPS (patch 2/3)
Dan Nicholson [Mon, 29 Oct 2007 15:04:30 +0000 (09:04 -0600)]
simplify APP_LIB_DEPS (patch 2/3)

17 years agospecify app lib dependencies in Makefiles (patch 1/3)
Dan Nicholson [Mon, 29 Oct 2007 15:03:01 +0000 (09:03 -0600)]
specify app lib dependencies in Makefiles (patch 1/3)

17 years agoOnly set R_MODE with NV_point_sprite
Alan Hourihane [Sun, 28 Oct 2007 20:07:37 +0000 (20:07 +0000)]
Only set R_MODE with NV_point_sprite

17 years agoconfigs: Fix linux-static to link correctly
Dan Nicholson [Fri, 26 Oct 2007 22:43:44 +0000 (15:43 -0700)]
configs: Fix linux-static to link correctly

The linux-static target was missing necessary libraries and hardcoding
their location to /usr/X11R6/lib. This makes it comparable to the x86
and x86-64 static targets.

17 years agoMerge branch '965-glsl'
Zou Nan hai [Fri, 26 Oct 2007 07:39:50 +0000 (15:39 +0800)]
Merge branch '965-glsl'

Conflicts:

src/mesa/drivers/dri/i965/brw_sf.h
src/mesa/drivers/dri/i965/intel_context.c

17 years agouse grep -q
Brian [Thu, 25 Oct 2007 20:46:35 +0000 (14:46 -0600)]
use grep -q

17 years agoIgnore new programs
Dan Nicholson [Thu, 25 Oct 2007 18:34:16 +0000 (11:34 -0700)]
Ignore new programs

17 years agosimplify/fix the ASM_FLAGS tests (bug 12931)
Brian [Thu, 25 Oct 2007 17:10:10 +0000 (11:10 -0600)]
simplify/fix the ASM_FLAGS tests (bug 12931)

17 years agoadded catamount-osmesa-pgi config
Alex Neundorf [Wed, 24 Oct 2007 22:31:22 +0000 (16:31 -0600)]
added catamount-osmesa-pgi config

17 years agodon't build x86, x86-64 dirs if not needed
Brian [Wed, 24 Oct 2007 22:24:06 +0000 (16:24 -0600)]
don't build x86, x86-64 dirs if not needed

17 years agofix assorted bugs, works now
Brian [Wed, 24 Oct 2007 19:55:22 +0000 (13:55 -0600)]
fix assorted bugs, works now

17 years agoadd to git
Brian [Wed, 24 Oct 2007 18:43:02 +0000 (12:43 -0600)]
add to git

17 years agoImplement gl_PointCoord attribute for GLSL fragment shaders.
Brian [Wed, 24 Oct 2007 17:37:05 +0000 (11:37 -0600)]
Implement gl_PointCoord attribute for GLSL fragment shaders.

Contains the normalized fragment position within a point sprite.

17 years agoproperly init dst reg's CondMask/Swizzle fields
Brian [Tue, 23 Oct 2007 16:55:24 +0000 (10:55 -0600)]
properly init dst reg's CondMask/Swizzle fields

17 years agobump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many instructions
Brian [Tue, 23 Oct 2007 16:24:53 +0000 (10:24 -0600)]
bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many instructions

17 years agoadd directfb glut sources to tarball
Brian [Tue, 23 Oct 2007 14:22:21 +0000 (08:22 -0600)]
add directfb glut sources to tarball

17 years agodon't apply ColorMask to main gc
Brian [Mon, 22 Oct 2007 23:50:17 +0000 (17:50 -0600)]
don't apply ColorMask to main gc

17 years agoglxinfo: Try creating a GLX context using an fbconfig if no visuals are available.
Kristian Høgsberg [Thu, 18 Oct 2007 19:19:08 +0000 (15:19 -0400)]
glxinfo: Try creating a GLX context using an fbconfig if no visuals are available.

17 years agoi915: Add some sanity checks to blit command debugging code.
Michel Dänzer [Thu, 18 Oct 2007 16:30:15 +0000 (18:30 +0200)]
i915: Add some sanity checks to blit command debugging code.

17 years agoFramework for supporting z24_s8 and z32 depth textures on r300.
Ian Romanick [Wed, 17 Oct 2007 20:11:01 +0000 (13:11 -0700)]
Framework for supporting z24_s8 and z32 depth textures on r300.

17 years agoInitial support for ARB_depth_texture
Ian Romanick [Wed, 17 Oct 2007 19:07:04 +0000 (12:07 -0700)]
Initial support for ARB_depth_texture

Currently only GL_DEPTH_COMPONENT16 are supported.  I don't know what the
hardware bits are to select the other formats, but it shouldn't be too hard
to figure out.

17 years agoSupport cards that have ARB_fp but not ARB_shadow.
Ian Romanick [Wed, 17 Oct 2007 19:05:55 +0000 (12:05 -0700)]
Support cards that have ARB_fp but not ARB_shadow.

17 years agomga: Enable (trivial) support for GL_APPLE_vertex_array_object, bump DRIVER_DATE
Ian Romanick [Wed, 17 Oct 2007 17:39:24 +0000 (10:39 -0700)]
mga: Enable (trivial) support for GL_APPLE_vertex_array_object, bump DRIVER_DATE

17 years agomga: Enable (trivial) support for GL_EXT_gpu_program_parameters.
Ian Romanick [Wed, 17 Oct 2007 17:36:48 +0000 (10:36 -0700)]
mga: Enable (trivial) support for GL_EXT_gpu_program_parameters.

17 years agopbutil: Do not require GLX_SGIX_pbuffer for fbconfig only-functions.
Kristian Høgsberg [Wed, 17 Oct 2007 21:03:33 +0000 (17:03 -0400)]
pbutil: Do not require GLX_SGIX_pbuffer for fbconfig only-functions.

17 years agoReplace repeat_remainder() with a simpler macro that just casts args to unsigned.
Brian [Wed, 17 Oct 2007 20:30:18 +0000 (14:30 -0600)]
Replace repeat_remainder() with a simpler macro that just casts args to unsigned.

17 years agoPull workaround for unset GLX_DRAWABLE_TYPE back in.
Kristian Høgsberg [Wed, 17 Oct 2007 19:05:47 +0000 (15:05 -0400)]
Pull workaround for unset GLX_DRAWABLE_TYPE back in.

The old version just set GLX_DRAWABLE_TYPE to GLX_WINDOW_BIT for
configs received through glXGetVisualConfigs and to
GLX_WINDOW_BIT | GLX_PIXMAP_BIT for configs received as FBConfigs.
The X server needs to send this info, but keep the workaround for now.

Fixes #12835.

17 years agoglxinfo: Also print number of fbconfigs.
Kristian Høgsberg [Wed, 17 Oct 2007 18:43:35 +0000 (14:43 -0400)]
glxinfo: Also print number of fbconfigs.

17 years agoDon't call the driver clear hook when the effective scissor rectangle is empty.
Michel Dänzer [Wed, 17 Oct 2007 16:28:03 +0000 (18:28 +0200)]
Don't call the driver clear hook when the effective scissor rectangle is empty.

17 years agoi915: Don't emit 'empty' blit rectangles.
Michel Dänzer [Wed, 17 Oct 2007 16:26:31 +0000 (18:26 +0200)]
i915: Don't emit 'empty' blit rectangles.

The hardware seems to interpret them differently and produce unexpected
results...

17 years agoFixup a couple of thinkos in glxinfo changes.
Kristian Høgsberg [Wed, 17 Oct 2007 14:14:55 +0000 (10:14 -0400)]
Fixup a couple of thinkos in glxinfo changes.

17 years agoHandle fbconfigs and glx visuals separately.
Kristian Høgsberg [Tue, 16 Oct 2007 20:07:47 +0000 (16:07 -0400)]
Handle fbconfigs and glx visuals separately.

The old implementation fetches fbconfigs or glx visuals once and assumes the list
describes both fbconfigs and glx visuals.  This patch splits it up and fetches
visuals and fbconfigs in two steps and keep the two lists separate.  A server
could have no glx visuals or no glx fbconfigs and the old code wouldn't know the
difference.

17 years agoImplement support for printing glx fbconfigs in glxinfo.
Kristian Høgsberg [Tue, 16 Oct 2007 20:01:34 +0000 (16:01 -0400)]
Implement support for printing glx fbconfigs in glxinfo.

17 years agoglxinfo: Only print visuals that actually support GLX.
Kristian Høgsberg [Tue, 16 Oct 2007 00:12:01 +0000 (20:12 -0400)]
glxinfo: Only print visuals that actually support GLX.

17 years agoReplace symlink generation from i915 with files in intel/ and symlinks there.
Eric Anholt [Tue, 16 Oct 2007 19:25:35 +0000 (12:25 -0700)]
Replace symlink generation from i915 with files in intel/ and symlinks there.

17 years agoi915: Make sure extensions that require TTM actually work.
Michel Dänzer [Tue, 16 Oct 2007 13:48:46 +0000 (15:48 +0200)]
i915: Make sure extensions that require TTM actually work.

17 years agoi915: fixup TTM interfaces to follow drm changes
Dave Airlie [Tue, 16 Oct 2007 11:10:44 +0000 (22:10 +1100)]
i915: fixup TTM interfaces to follow drm changes