profile/ivi/mesa.git
17 years agofix typo
Brian [Sat, 27 Jan 2007 02:08:34 +0000 (19:08 -0700)]
fix typo

17 years agodocument, re-indent _mesa_ffsll()
Brian [Sat, 27 Jan 2007 02:01:55 +0000 (19:01 -0700)]
document, re-indent _mesa_ffsll()

17 years agoMerge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Sat, 27 Jan 2007 01:55:12 +0000 (18:55 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa

17 years agoBug #9604: Fix a static buffer allocation failure.
Eric Anholt [Sun, 21 Jan 2007 02:09:32 +0000 (18:09 -0800)]
Bug #9604: Fix a static buffer allocation failure.

The pool that the static buffer got allocated from was sized by pitch * height,
but the buffer generated from it had its size aligned to a tile boundary, so
allocation failed if pitch * height wasn't aligned.  However, the 2d driver
ensures that the size ends at a tile boundary, so just pass the 2d driver's
buffer size rather than calculating it.

17 years agoAdd _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.
Eric Anholt [Sun, 21 Jan 2007 02:06:38 +0000 (18:06 -0800)]
Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.

17 years agoRemove dead code causing a warning.
Eric Anholt [Sun, 21 Jan 2007 01:59:08 +0000 (17:59 -0800)]
Remove dead code causing a warning.

17 years agoOverride Const.CheckArrayBounds for Xserver in XMesaCreateContext().
George Sapountzis [Wed, 6 Dec 2006 04:54:13 +0000 (06:54 +0200)]
Override Const.CheckArrayBounds for Xserver in XMesaCreateContext().

This leaves one last XFree86Server ifdef in Mesa core.

---

Bug 9285: misc glcore, xmesa cleanups

ACKed by Ian Romanick.

17 years agoDrop old (pre-AIGLX) GLcore interface.
George Sapountzis [Wed, 6 Dec 2006 04:43:23 +0000 (06:43 +0200)]
Drop old (pre-AIGLX) GLcore interface.

The old GLcore interface was replaced in Xorg 7.1 with the addition of AIGLX,
it is only used by DDX's which are known not to work with the new DIX glx code.

---

Bug 9285: misc glcore, xmesa cleanups

ACKed by Ian Romanick.

17 years agoMerge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa
Zou Nan hai [Thu, 25 Jan 2007 23:05:02 +0000 (07:05 +0800)]
Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa

17 years agoARB_Occlusion_query should support multiple query at same time
Zou Nan hai [Thu, 25 Jan 2007 23:04:15 +0000 (07:04 +0800)]
ARB_Occlusion_query should support multiple query at same time

17 years agonouveau: unbreak NOUVEAU_RING_DEBUG
Ben Skeggs [Thu, 25 Jan 2007 04:12:49 +0000 (15:12 +1100)]
nouveau: unbreak NOUVEAU_RING_DEBUG

17 years agonouveau: add result scaling to shader backend, use it in RSQ emul for NV40.
Ben Skeggs [Thu, 25 Jan 2007 02:40:51 +0000 (13:40 +1100)]
nouveau: add result scaling to shader backend, use it in RSQ emul for NV40.

17 years agonouveau: and here's the "oops, I suck" commit :)
Ben Skeggs [Thu, 25 Jan 2007 01:08:49 +0000 (12:08 +1100)]
nouveau: and here's the "oops, I suck" commit :)

17 years agonouveau: some extra debug output
Ben Skeggs [Thu, 25 Jan 2007 00:56:45 +0000 (11:56 +1100)]
nouveau: some extra debug output

17 years ago965 glxswapcontrol fix
Zou Nan hai [Wed, 24 Jan 2007 08:07:43 +0000 (16:07 +0800)]
965 glxswapcontrol fix

17 years ago 965 ARB_Occlusion_query fix
Zou Nan hai [Wed, 24 Jan 2007 07:47:15 +0000 (15:47 +0800)]
 965 ARB_Occlusion_query fix

17 years agosilence C++ warnings
Brian [Tue, 23 Jan 2007 19:50:08 +0000 (12:50 -0700)]
silence C++ warnings

17 years agofixes for C++ warnings/errors
Brian [Tue, 23 Jan 2007 18:46:02 +0000 (11:46 -0700)]
fixes for C++ warnings/errors

17 years agoi915tex: Relocation fixes:
Thomas Hellstrom [Tue, 23 Jan 2007 08:04:58 +0000 (09:04 +0100)]
i915tex: Relocation fixes:

Increase the number of allowed relocations per batchbuffer.
Fix an assert to avoid an array index overflow.
(Reported by Steve Wilkins)

17 years agoi915tex: Fix randr resizing. Rotation still broken.
Thomas Hellstrom [Tue, 23 Jan 2007 07:57:38 +0000 (08:57 +0100)]
i915tex: Fix randr resizing. Rotation still broken.

17 years agonouveau: DPH and CMP for NV40 which doesn't do it natively.
Ben Skeggs [Tue, 23 Jan 2007 05:25:25 +0000 (16:25 +1100)]
nouveau: DPH and CMP for NV40 which doesn't do it natively.

17 years agonouveau: allow for card-specific shader infos to be kept
Ben Skeggs [Tue, 23 Jan 2007 05:07:12 +0000 (16:07 +1100)]
nouveau: allow for card-specific shader infos to be kept

NV30/40 fragprog: build FP_CONTROL per-shader, still some hardcoded bits for
                  this reg.. It looks like it has to do with the number of
  temps used, but needs more looking at.
NV40 vtxprog    : build VP_IN_REG/VP_OUT_REG during shader compile

17 years agonouveau: fill in condition info for instructions
Ben Skeggs [Tue, 23 Jan 2007 02:36:45 +0000 (13:36 +1100)]
nouveau: fill in condition info for instructions

17 years agonouveau: unbreak nv40
Ben Skeggs [Tue, 23 Jan 2007 00:06:16 +0000 (11:06 +1100)]
nouveau: unbreak nv40

17 years agonouveau: reindent shader pass0/pass2
Ben Skeggs [Sun, 21 Jan 2007 06:16:39 +0000 (17:16 +1100)]
nouveau: reindent shader pass0/pass2

if this gets rejected by the commit list, just ignore it..
nothing interesting to see here :)

17 years agonouveau: start converting shaders into a tree format again..
Ben Skeggs [Sun, 21 Jan 2007 05:45:40 +0000 (16:45 +1100)]
nouveau: start converting shaders into a tree format again..

No branching stuff implemented yet.  Works enough for gears, probably
other stuff broken.

17 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa
Jeremy Kolb [Mon, 22 Jan 2007 01:47:10 +0000 (20:47 -0500)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa

17 years agonouveau: Fixes for nv30.
Jeremy Kolb [Mon, 22 Jan 2007 01:30:31 +0000 (20:30 -0500)]
nouveau: Fixes for nv30.

17 years agonouveau: fix some bugs in the nv10 swtcl.
Stephane Marchesin [Sun, 21 Jan 2007 23:12:05 +0000 (00:12 +0100)]
nouveau: fix some bugs in the nv10 swtcl.

17 years agonouveau: add nv04 state support, and small nv04 fixes.
Stephane Marchesin [Sun, 21 Jan 2007 03:06:57 +0000 (04:06 +0100)]
nouveau: add nv04 state support, and small nv04 fixes.

17 years agonouveau: rename pass0_arb to pass0.
Ben Skeggs [Sat, 20 Jan 2007 22:48:33 +0000 (09:48 +1100)]
nouveau: rename pass0_arb to pass0.

I was expecting to have 2 frontends for the shader code (asm, glsl).
With Brian's work on GLSL this is unnecessary :)

17 years agonouveau: kill off shader pass1.
Ben Skeggs [Sat, 20 Jan 2007 22:31:00 +0000 (09:31 +1100)]
nouveau: kill off shader pass1.

It sucks, and we have someone who can do a much better job than I can starting
work on it soon.  alloc_temp/free_temp is left in pass2 to workaround fragprog
temps/outputs overlapping, but this all belongs in the optimiser.

17 years agonouveau: shader backend branching support for all cards that support it.
Ben Skeggs [Sat, 20 Jan 2007 22:13:27 +0000 (09:13 +1100)]
nouveau: shader backend branching support for all cards that support it.

17 years agonouveau: bump drm patchlevel
Ben Skeggs [Fri, 19 Jan 2007 04:39:36 +0000 (15:39 +1100)]
nouveau: bump drm patchlevel

17 years agonouveau: preliminary nv50 state
Patrice Mandin [Thu, 18 Jan 2007 21:07:17 +0000 (22:07 +0100)]
nouveau: preliminary nv50 state

17 years agosupport as much of GL_EXT_stencil_two_side as we can. untested.
Aapo Tahkola [Thu, 18 Jan 2007 03:56:13 +0000 (05:56 +0200)]
support as much of GL_EXT_stencil_two_side as we can. untested.

17 years agoNew debug config for linux-dri
Keith Whitwell [Wed, 17 Jan 2007 08:44:13 +0000 (08:44 +0000)]
New debug config for linux-dri

17 years agoI965: fix bug#9625-get the correct PV for quardstrip
Xiang, Haihao [Wed, 17 Jan 2007 02:39:50 +0000 (10:39 +0800)]
I965: fix bug#9625-get the correct PV for quardstrip

The order of vertices in payload for quardstrip is (0, 1, 3, 2),
so the PV for quardstrip is c->reg.vertex[2].

17 years ago Fix bug#9673
Xiang, Haihao [Wed, 17 Jan 2007 02:17:10 +0000 (10:17 +0800)]
 Fix bug#9673

 Cast from pointer to unsinged long and cast to pointer from
 unsinged long

17 years agonouveau: Use the most recent card list.
Stephane Marchesin [Tue, 16 Jan 2007 20:43:54 +0000 (21:43 +0100)]
nouveau: Use the most recent card list.

17 years agomesa: Update _Current along Current on fragment program bound.
Jerome Glisse [Mon, 15 Jan 2007 20:19:52 +0000 (21:19 +0100)]
mesa: Update _Current along Current on fragment program bound.

Same as a previously committed patch for vertex program, we
update fragment program ptr _Current along the Current one
so that _Current can't end up pointing to a no more valid
program.

17 years agonouveau:nv10: fix setting clip region
Patrice Mandin [Mon, 15 Jan 2007 17:58:24 +0000 (18:58 +0100)]
nouveau:nv10: fix setting clip region

17 years agonouveau: Fix a bug in the nv04 swtcl.
Stephane Marchesin [Mon, 15 Jan 2007 11:38:24 +0000 (12:38 +0100)]
nouveau: Fix a bug in the nv04 swtcl.

17 years agonouveau: Add 0x0244 pciid manually for now..
Ben Skeggs [Mon, 15 Jan 2007 06:28:56 +0000 (17:28 +1100)]
nouveau: Add 0x0244 pciid manually for now..

pciids.sf.net is slow to add it so our generator picks it up,
and it's *really* annoying me :)

17 years agonouveau: fail CreateScreen on unknown cards instead of guessing.
Ben Skeggs [Mon, 15 Jan 2007 06:23:04 +0000 (17:23 +1100)]
nouveau: fail CreateScreen on unknown cards instead of guessing.

17 years agonouveau: Implement much of the fog handling.
Carlos Martín Nieto [Sun, 14 Jan 2007 23:00:30 +0000 (00:00 +0100)]
nouveau: Implement much of the fog handling.

17 years agonouveau: Update nouveau_reg.h from renouveau to the latest version.
Stephane Marchesin [Sun, 14 Jan 2007 21:39:37 +0000 (22:39 +0100)]
nouveau: Update nouveau_reg.h from renouveau to the latest version.

17 years agonouveau: Make the state cache hierarchical.
Stephane Marchesin [Sun, 14 Jan 2007 20:17:08 +0000 (21:17 +0100)]
nouveau: Make the state cache hierarchical.

17 years agonouveau: add the nv04 swtcl module (it's untested for now).
Stephane Marchesin [Sun, 14 Jan 2007 19:37:57 +0000 (20:37 +0100)]
nouveau: add the nv04 swtcl module (it's untested for now).

17 years agonouveau: Cleanup the nv10 swtcl module.
Stephane Marchesin [Sat, 13 Jan 2007 22:56:55 +0000 (23:56 +0100)]
nouveau: Cleanup the nv10 swtcl module.

17 years agonouveau: nv10: 16 bits color buffer format
Patrice Mandin [Sun, 14 Jan 2007 19:14:58 +0000 (20:14 +0100)]
nouveau: nv10: 16 bits color buffer format

17 years agoMerge branch 'master' of git+ssh://pmandin@git.freedesktop.org/git/mesa/mesa
Patrice Mandin [Sun, 14 Jan 2007 18:56:30 +0000 (19:56 +0100)]
Merge branch 'master' of git+ssh://pmandin@git.freedesktop.org/git/mesa/mesa

17 years agonouveau: nv10: added missing functions
Patrice Mandin [Sun, 14 Jan 2007 18:55:45 +0000 (19:55 +0100)]
nouveau: nv10: added missing functions

17 years agor300: Fix vertex program position invariant bug, force position reading.
Jerome Glisse [Sun, 14 Jan 2007 18:31:30 +0000 (19:31 +0100)]
r300: Fix vertex program position invariant bug, force position reading.

When we have a position invariant program we need to force routing the
position otherwise you may handle transform quite random data which might
be funny but unlikely what you want :).

17 years agomesa: Update _Current ptr along Current when a new vertex program is bind.
Jerome Glisse [Sun, 14 Jan 2007 13:49:36 +0000 (14:49 +0100)]
mesa: Update _Current ptr along Current when a new vertex program is bind.

On new vertex program bind only the Current ptr where updated to
point to the new program; this could lead to _Current pointing to
and out of date or even a no more existing program which in turn
could lead to a segfault in some driver. To avoid this _Current
ptr is updated along Current if _Current where previously pointing
to the same program.

17 years agonouveau: remove already defined NV15_TCL and NV17_TCL
Patrice Mandin [Sun, 14 Jan 2007 13:11:10 +0000 (14:11 +0100)]
nouveau: remove already defined NV15_TCL and NV17_TCL

17 years agonouveau: import color material r,g,b,a
Patrice Mandin [Sun, 14 Jan 2007 13:09:04 +0000 (14:09 +0100)]
nouveau: import color material r,g,b,a

17 years agonouveau: nv10: stencil functions
Patrice Mandin [Sun, 14 Jan 2007 13:03:42 +0000 (14:03 +0100)]
nouveau: nv10: stencil functions

17 years agonouveau: nv10: currently fails initcard and bindbuffers, till done
Patrice Mandin [Sun, 14 Jan 2007 11:51:30 +0000 (12:51 +0100)]
nouveau: nv10: currently fails initcard and bindbuffers, till done

17 years agonouveau: nv10 blending done, remove nv10Viewport
Patrice Mandin [Sun, 14 Jan 2007 11:45:15 +0000 (12:45 +0100)]
nouveau: nv10 blending done, remove nv10Viewport

17 years agonouveau: update nv10 state
Patrice Mandin [Sat, 13 Jan 2007 13:14:19 +0000 (14:14 +0100)]
nouveau: update nv10 state

17 years agonouveau: Add clear color for nv10
Patrice Mandin [Sat, 13 Jan 2007 12:56:18 +0000 (13:56 +0100)]
nouveau: Add clear color for nv10

17 years agonv10 has alpha color mask
Patrice Mandin [Sat, 13 Jan 2007 12:22:03 +0000 (13:22 +0100)]
nv10 has alpha color mask

17 years agoFix typo from commit 1d312ae0137eb39bf74fac91eb97ed25c289a4ca .
Jerome Glisse [Thu, 11 Jan 2007 11:53:06 +0000 (12:53 +0100)]
Fix typo from commit 1d312ae0137eb39bf74fac91eb97ed25c289a4ca .

17 years agoTrack rename of DamagePost -> DamageAdd.
Eric Anholt [Wed, 10 Jan 2007 00:39:10 +0000 (16:39 -0800)]
Track rename of DamagePost -> DamageAdd.

17 years agoput back missing Driver.PolygonMode call (bug 9578)
Roland Scheidegger [Tue, 9 Jan 2007 13:42:22 +0000 (14:42 +0100)]
put back missing Driver.PolygonMode call (bug 9578)

17 years agoi915tex: Remove unused tex_program field.
Michel Dänzer [Thu, 21 Dec 2006 17:06:58 +0000 (18:06 +0100)]
i915tex: Remove unused tex_program field.

17 years agointel_finalize_mipmap_tree: Only flush batchbuffer when necessary.
Michel Dänzer [Thu, 21 Dec 2006 16:30:00 +0000 (17:30 +0100)]
intel_finalize_mipmap_tree: Only flush batchbuffer when necessary.

17 years agoMerge branch 'origin'
Keith Packard [Mon, 8 Jan 2007 07:00:48 +0000 (23:00 -0800)]
Merge branch 'origin'

17 years agonouveau: allow the use of multiple subchannels/objects by default.
Ben Skeggs [Mon, 8 Jan 2007 00:53:45 +0000 (11:53 +1100)]
nouveau: allow the use of multiple subchannels/objects by default.

17 years agoVarious warning fixes for i965 driver.
Keith Packard [Sun, 7 Jan 2007 01:13:45 +0000 (17:13 -0800)]
Various warning fixes for i965 driver.

vertex/fragment programs provided as const.
bmSetFenceLock should return bmSetFence value.

17 years agoInitialize GL_ARB_occlusion_query only if DRM support is present.
Keith Packard [Sun, 7 Jan 2007 01:13:29 +0000 (17:13 -0800)]
Initialize GL_ARB_occlusion_query only if DRM support is present.

DRM versions before 1.8 do not include the necessary ioctls to support
GL_ARB_occlusion_query, don't enable it on these versions.

17 years agoi965: Support linear format in i965.
Haihao Xiang [Wed, 27 Dec 2006 00:45:02 +0000 (16:45 -0800)]
i965: Support linear format in i965.

Signed-off-by: Keith Packard <keithp@neko.keithp.com>
17 years agoi965: xdemos/glxthreads get: Assertion `block->fenced' failed (9201)
Zou Nan hai [Wed, 13 Dec 2006 07:27:17 +0000 (15:27 +0800)]
i965: xdemos/glxthreads get: Assertion `block->fenced' failed (9201)

Signed-off-by: Keith Packard <keithp@neko.keithp.com>
17 years agoi965: Take clip rects into account when computing max prim
Zou Nan hai [Tue, 12 Dec 2006 07:00:27 +0000 (15:00 +0800)]
i965: Take clip rects into account when computing max prim

Signed-off-by: Keith Packard <keithp@neko.keithp.com>
17 years agoi965: ARB_occlusion_query support
Wang Zhenyu [Mon, 11 Dec 2006 08:01:56 +0000 (00:01 -0800)]
i965: ARB_occlusion_query support

Signed-off-by: Keith Packard <keithp@neko.keithp.com>
17 years agoi965: Avoid branch instructions while in single program flow mode.
Eric Anholt [Wed, 18 Oct 2006 07:24:01 +0000 (00:24 -0700)]
i965: Avoid branch instructions while in single program flow mode.

There is an errata for Broadwater that threads don't have the instruction/loop
mask stacks initialized on thread spawn.  In single program flow mode, those
stacks are not writable, so we can't initialize them.  However, they do get
read during ELSE and ENDIF instructions.  So, instead, replace branch
instructions in single program flow mode with predicated jumps (ADD to the ip
register), avoiding use of the more complicated branch instructions that may
fail.  This is also a minor optimization as no ENDIF equivalent is necessary.

Signed-off-by: Keith Packard <keithp@neko.keithp.com>
17 years agoi965: Connect INTEL_DEBUG=sync up to cmd/batch ioctls.
Eric Anholt [Wed, 11 Oct 2006 19:16:09 +0000 (12:16 -0700)]
i965: Connect INTEL_DEBUG=sync up to cmd/batch ioctls.

Signed-off-by: Keith Packard <keithp@neko.keithp.com>
17 years agoMerge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Sat, 6 Jan 2007 21:55:07 +0000 (14:55 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa

17 years agodocument 32-bit Z line/point fix
Brian [Sat, 6 Jan 2007 19:58:28 +0000 (12:58 -0700)]
document 32-bit Z line/point fix

17 years agoUse GLuint instead of GLint to store intermediate Z values. Fixes problems when...
Brian [Sat, 6 Jan 2007 19:55:17 +0000 (12:55 -0700)]
Use GLuint instead of GLint to store intermediate Z values.  Fixes problems when using 32-bit Z buffer.

17 years agoAdd reporting of damage by DRI drivers when the extension support is available.
Eric Anholt [Sat, 6 Jan 2007 02:19:58 +0000 (18:19 -0800)]
Add reporting of damage by DRI drivers when the extension support is available.

With this, tools like ximagesrc in gstreamer correctly see updates from GL
rendering.  Support requires that the Xdamage library be current (but will be
disabled if not present) plus a new X Server with support for the new
XDamagePost request.  libGL now has a new interface version, and also links
against libXdamage and libXfixes to support it, but backwards compatibility
is retained.

Currently, all drivers report damage at SwapBuffers time through common code --
front buffer rendering doesn't result in damage being reported.  Also, the
damage is against the root window, as our drivers don't yet render to backing
store when they should (composited environments).

17 years agoMerge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Fri, 5 Jan 2007 15:42:45 +0000 (08:42 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa

17 years agodocument VBO bug fix 9445
Brian [Fri, 5 Jan 2007 15:41:16 +0000 (08:41 -0700)]
document VBO bug fix 9445

17 years agoFix glPush/PopClientAttrib() for VBO state (bug 9445).
Brian [Fri, 5 Jan 2007 15:40:06 +0000 (08:40 -0700)]
Fix glPush/PopClientAttrib() for VBO state (bug 9445).

17 years agoMerge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa
Ian Romanick [Fri, 5 Jan 2007 02:37:10 +0000 (18:37 -0800)]
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa

17 years agoUse glxbyteorder.h in server-side source files.
Ian Romanick [Thu, 4 Jan 2007 22:53:48 +0000 (14:53 -0800)]
Use glxbyteorder.h in server-side source files.

17 years agoHack indent flags for indirect_reqsize.h to eliminate extra diffs.
Ian Romanick [Thu, 4 Jan 2007 22:52:53 +0000 (14:52 -0800)]
Hack indent flags for indirect_reqsize.h to eliminate extra diffs.

17 years agoAdd missing files to server generation list.
Ian Romanick [Thu, 4 Jan 2007 22:47:41 +0000 (14:47 -0800)]
Add missing files to server generation list.

The files indirect_reqsize.c and indirect_reqsize.h were missing from
the list of files to be generated for the server.  Add them back to
the list.  Also, update the INDENT_FLAGS to prevent conversion of
'GLbyte *pc' to 'GLbyte * pc' in function prototypes.

17 years agor300: Correct bug introduced by fragprog rework.
Jerome Glisse [Thu, 4 Jan 2007 19:27:49 +0000 (20:27 +0100)]
r300: Correct bug introduced by fragprog rework.

Thx for Tilman who spoted the bugs.

17 years agos/unsigned/size_t/ (Matthias Hopf)
Brian [Thu, 4 Jan 2007 14:53:32 +0000 (07:53 -0700)]
s/unsigned/size_t/ (Matthias Hopf)

17 years agoUpdate spot light params
Patrice Mandin [Tue, 2 Jan 2007 13:31:16 +0000 (14:31 +0100)]
Update spot light params

17 years agonouveau: bump drm patchlevel.
Ben Skeggs [Tue, 2 Jan 2007 04:09:10 +0000 (15:09 +1100)]
nouveau: bump drm patchlevel.

17 years agofix issue with i915tex advertising visuals it can't support
Dave Airlie [Sat, 30 Dec 2006 23:01:17 +0000 (10:01 +1100)]
fix issue with i915tex advertising visuals it can't support

This may not be the proper way to fix this but it does work easily.

17 years agoUse the tiled flag in the sarea to determine region tiling.
Haihao Xiang [Sat, 30 Dec 2006 18:30:42 +0000 (10:30 -0800)]
Use the tiled flag in the sarea to determine region tiling.

This fixes mis-rendering if back/depth fail to get set up as tiled.  While it
probably won't ever be the case now that the pitch limits are loosened, this is
still the right thing to do.

17 years agonouveau: Use bufferobj interface for fragment program uploads
Ben Skeggs [Wed, 27 Dec 2006 12:52:40 +0000 (23:52 +1100)]
nouveau: Use bufferobj interface for fragment program uploads

17 years agonouveau: Initial buffer object support
Ben Skeggs [Wed, 27 Dec 2006 12:30:34 +0000 (23:30 +1100)]
nouveau: Initial buffer object support

17 years agonouveau: We'll need syncNotifier for NV_MEMORY_TO_MEMORY_FORMAT too.
Ben Skeggs [Wed, 27 Dec 2006 04:54:30 +0000 (15:54 +1100)]
nouveau: We'll need syncNotifier for NV_MEMORY_TO_MEMORY_FORMAT too.

17 years agonouveau: add nouveau_mem_alloc/free debugging
Ben Skeggs [Wed, 27 Dec 2006 04:50:59 +0000 (15:50 +1100)]
nouveau: add nouveau_mem_alloc/free debugging

17 years agonouveau: record *actual* type of memory that was alloc'd, not the requested types.
Ben Skeggs [Wed, 27 Dec 2006 04:39:52 +0000 (15:39 +1100)]
nouveau: record *actual* type of memory that was alloc'd, not the requested types.