Julien Cristau
84bb8fc695
Prepare changelog for upload
2008-09-24 14:28:28 +02:00
Julien Cristau
872cb1a0dd
intel: don't warn about TTM init failure.
2008-09-24 14:25:30 +02:00
Julien Cristau
ee80a3a623
Remove the build-dep on dri2proto, DRI2 support has been removed.
2008-09-24 12:55:15 +02:00
Timo Aaltonen
e700c5ad99
Update the changelog, refresh patch 04.
2008-09-23 16:09:00 +03:00
Timo Aaltonen
08c0ec7a89
Merge commit 'mesa_7_2' into debian-experimental
...
Conflicts:
include/GLES/egl.h
2008-09-23 16:06:40 +03:00
Brian Paul
35fe0e56e6
mesa: docs: remove parenthesis
2008-09-20 09:28:22 -06:00
Brian Paul
69e5311ad3
mesa: set 7.2 version for tarballs
2008-09-20 09:24:17 -06:00
Brian Paul
e884c4db2b
mesa: prep for 7.2 release
2008-09-20 09:23:50 -06:00
Adam Jackson
e681bee04e
Update to SGI FreeB 2.0.
...
Under the terms of version 1.1, "once Covered Code has been published
under a particular version of the License, Recipient may, for the
duration of the License, continue to use it under the terms of that
version, or choose to use such Covered Code under the terms of any
subsequent version published by SGI."
FreeB 2.0 license refers to "dates of first publication". They are here
taken to be 1991-2000, as noted in the original license text:
** Original Code. The Original Code is: OpenGL Sample Implementation,
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
** Copyright in any portions created by third parties is as indicated
** elsewhere herein. All Rights Reserved.
Official FreeB 2.0 text:
http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.2.0.pdf
As always, this code has not been tested for conformance with the OpenGL
specification. OpenGL conformance testing is available from
http://khronos.org/ and is required for use of the OpenGL logo in
product advertising and promotion.
2008-09-20 09:21:34 -06:00
Brian Paul
3dd48d903f
document _tnl_InvalidateState() fix
2008-09-18 15:28:31 -06:00
Brian Paul
e0ea4337fc
mesa: fix null ptr deref bug in _tnl_InvalidateState(), bug 15834
2008-09-18 15:27:55 -06:00
Brian Paul
6290d7fd29
mesa: fix bug in previous changes to _slang_resolve_attributes()
2008-09-17 09:13:28 -06:00
Brian Paul
84ad182ab8
document glBindAttribLocation fixes
2008-09-16 16:37:17 -06:00
Brian Paul
a155ead515
mesa: rework GLSL vertex attribute binding
...
Calls to glBindAttribLocation() should not take effect until the next time
that glLinkProgram() is called.
gl_shader_program::Attributes now just contains user-defined bindings.
gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
2008-09-16 15:58:05 -06:00
Brian Paul
5b0f652456
mesa: fix display list regression (check if save->prim_count > 0 in vbo_save_EndList())
2008-09-16 13:32:13 -06:00
Brian Paul
1be50e1638
fix msaa enable/disable bug
2008-09-15 17:15:51 -06:00
Brian Paul
4fefa29d8c
mesa: fix MSAA enable state in update_multisample()
2008-09-15 17:14:41 -06:00
Brian Paul
ef479d9f2a
document display list bug fix
2008-09-15 09:22:07 -06:00
Brian Paul
fc04604856
mesa: remove some assertions that are invalid during context tear-down
2008-09-15 09:20:30 -06:00
Keith Whitwell
ef2bd7860f
mesa: get another class of degenerate dlists working
...
Primitive begin in one dlist, end in another.
2008-09-15 09:20:23 -06:00
Shane Blackett
dca8b4c964
glut: s/glut_fbc.c/glut_fcb.c/
2008-09-14 17:51:53 -06:00
Brian Paul
419353dc2f
mesa: Makefile: 7.2 release candidate 1
2008-09-13 16:06:12 -06:00
Brian Paul
38d3b2262b
mesa: documentation updates for 7.2 release
2008-09-13 14:43:54 -06:00
Brian Paul
4db2a7f36c
updated Cell driver info
2008-09-13 14:39:39 -06:00
Brian Paul
1145042fd2
Mesa: version bumps for 7.2 release
2008-09-13 14:36:35 -06:00
Brian Paul
772131280a
document 7.2 bug fixes, etc
2008-09-13 14:36:17 -06:00
Jakub Bogusz
ee913c0fcc
tdfx: fix crash and lack of visuals bug
2008-09-13 14:34:51 -06:00
Guillaume Melquiond
cd1804c43a
i915: fix himask constant init for 64-bit build
2008-09-13 14:26:35 -06:00
Guillaume Melquiond
253784d45e
glx: fix 64-bit datatype issue
2008-09-13 14:26:25 -06:00
Guillaume Melquiond
463d19d477
mesa: return after _mesa_problem() calls
2008-09-13 14:26:18 -06:00
Guillaume Melquiond
6e4fd90ca5
mesa: #include <stdio.h>
2008-09-13 14:26:13 -06:00
Guillaume Melquiond
06188c0c5c
remove invalid XDestroyWindow() call
2008-09-13 14:26:06 -06:00
Guillaume Melquiond
dec9097647
silence warning
2008-09-13 14:25:59 -06:00
Guillaume Melquiond
e234339dba
GLU: fix asst warnings
2008-09-13 14:25:53 -06:00
Ian Romanick
bb09d23e92
Remove DRI2 support
...
Remove support for the original incarnation of DRI2. This version has
since been abandoned and will never ship. This eliminates a build
dependency on a component that only exists in Fedora 9 and in now-dead
up-stream development trees.
I also recommend that we spin a Mesa 7.1.1 release with this patch.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
2008-09-12 13:48:14 -07:00
Xiang, Haihao
1ffbcddb6f
i965: Add support for G41 chipset which is another 4 series.
...
(cherry picked from commit b2e083eba2
)
2008-09-12 09:29:00 +08:00
Brice Goglin
5cd892a4e4
Fix grammar and punctuation in glxinfo(1)
2008-09-11 19:13:46 +02:00
Shane Blackett
33cf8f5c06
added 24bpp support
2008-09-11 08:35:37 -06:00
Shane Blackett
7b8d878bed
Fixes for Mingw
2008-09-10 08:23:19 -06:00
Brian Paul
86ae34fbb4
mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()
2008-09-05 08:07:07 -06:00
Brian Paul
16f3461fd6
mesa: improved gl_buffer_object reference counting
...
Use new _mesa_reference_buffer_object() function wherever possible.
Fixes buffer object/display list crash reported in ParaView.
2008-09-04 15:26:07 -06:00
Xiang, Haihao
0ac8886b51
intel: Fix depth_stencil texture.
...
(cherry picked from commit 0adfd10210
)
2008-09-04 11:54:31 +08:00
Xiang, Haihao
1729d37223
mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24
...
(cherry picked from commit 218df7f9c5
)
2008-09-04 11:54:21 +08:00
Jakob Bornecrantz
81edef6f9f
mesa: Support for MESA_FORMAT_S8_Z24 texture
...
cherry-picked from gallium-0.1
(cherry picked from commit dc44bb8e92
)
2008-09-04 11:54:08 +08:00
Brian Paul
e040e18c7b
fix BUFFER_DEPTH/BUFFER_ACCUM mix-up
2008-09-02 18:13:53 -06:00
Roland Scheidegger
14d186644b
fix no error generated when calling glLight{if}[v] inside begin/end (bug 17408)
2008-09-02 15:49:35 +02:00
Xiang, Haihao
e4535e4d5e
i965: force thread switch after IF/ELSE/ENDIF. partial fix for #16882 .
...
A thread switch is implicitly invoked after the issuance of an IF/ELSE/ENDIF
instruction if necessary. Unfortunately it seems sometimes a forced thread
switch is needed.
2008-08-29 10:30:12 +08:00
Xiang, Haihao
a008813890
i965: mask control for BREAK/CONT/DO/WHILE. partial fix fox #16882
2008-08-29 10:30:03 +08:00
Xiang, Haihao
da50dc7bb3
i965: Push/pop instruction state. partial fix for #16882
2008-08-29 10:29:57 +08:00
Brian Paul
7f628d9cbc
mesa: bump MAX_INSN to 350
2008-08-28 15:16:33 -06:00
Julien Cristau
f9affb3059
Prepare changelog for upload
2008-08-27 19:52:30 +02:00
Julien Cristau
fd7cc514d2
Some more parallel build updates.
2008-08-27 19:52:14 +02:00
Julien Cristau
f6a927b45f
Update changelog
2008-08-27 17:29:28 +02:00
Julien Cristau
8772e02b68
Merge tag 'mesa_7_1' into debian-experimental
2008-08-27 17:28:31 +02:00
Brian Paul
b2ffd0be03
placeholder for upcoming 7.2 release notes
2008-08-26 16:24:37 -06:00
Brian Paul
912b16c689
added 7.1 MD5 sums
2008-08-26 16:11:56 -06:00
Brian Paul
6d9b25e522
mesa: don't check for GLSL 1.2 to advertise GL 2.1
...
The GLSL 1.2 features are minor...
2008-08-26 15:50:11 -06:00
Corbin Simpson
31bad23f0f
note ATI R500 series support
2008-08-26 12:39:27 -06:00
Timo Jyrinki
29b9b25e72
asst. html doc updates
2008-08-26 12:36:23 -06:00
Brian Paul
e794f496c6
mesa: assorted updates/prep for 7.1 release
2008-08-25 14:09:14 -06:00
Brian Paul
68067c66d3
mesa: glsl: regenerated file
2008-08-25 09:16:21 -06:00
Brian Paul
ad5474e995
mesa: glsl: grab latest fixes from gallium-0.1 branch
...
Includes:
1. Fixes failed asserting about bad swizzles in src reg emit.
2. Tracks uniform var usage.
3. Emit exp() in terms of EXP2 instruction.
2008-08-25 09:15:16 -06:00
Julien Cristau
ac8771ee99
Update changelog
2008-08-24 17:38:03 +02:00
Julien Cristau
16358bb3cc
Merge branch 'mesa_7_2_branch' of git.freedesktop.org:/git/mesa/mesa into debian-experimental
2008-08-24 17:34:47 +02:00
Dave Airlie
7c81124d7c
Revert "Merge branch 'drm-gem'"
...
This reverts commit 53675e5c05
.
Conflicts:
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
2008-08-24 17:52:40 +10:00
Krzysztof Czurylo
a35002c167
965: Fix incorrect backface culling
...
Fix incorrect backface culling for OGL tunnel in wireframe and
point mode.
2008-08-21 15:01:59 -07:00
Krzysztof Czurylo
6f4fd3a432
Call _ae_update_state when array enable state changes
...
Basically, the application enables client vertex and color arrays,
renders something, then disables color array, and renders something
else (using vertex array only). Even though the color array is
disabled (and the pointer is no longer valid), the driver still tries
to read color data from this array (which results in an exception).
This is because enabling/disabling array does not trigger
_ae_update_state() and the list of enabled arrays is not updated.
_ae_update_state() it's called on the first state validation only (as
all the "dirty" flags are set at the beginning). Any further change to
client arrays' state has no effect.
2008-08-21 15:01:59 -07:00
Krzysztof Czurylo
be30fddc7c
965: Fix color clamping issues
...
Patch is correctly applied this time.
2008-08-21 15:01:59 -07:00
Ian Romanick
1a244cd9e2
Formatting changes to ease application of patches
2008-08-21 15:01:59 -07:00
Eric Anholt
687cd467b3
i965: use dri_bo_subdata in vertex upload to get pwrite used.
...
Otherwise, we would ping-pong objects to GTT and back as we did pwrite on
indices (flushed and mapped to GTT) and mapped for vertices (moved back to
CPU domain).
Fixes bug #17180 .
2008-08-21 12:15:17 -07:00
Eric Anholt
021ce883e6
Flush vertices when updating texObj->GenerateMipmap state.
...
Caught by texturing/gen-teximage test in piglit.
2008-08-21 11:21:22 -07:00
Peter Hutterer
3a94b25538
Report damage before modifying the area, not after.
...
If we copy the area before reporting the damage in this area, the server may
restore buffered data over the new data, leading to artefacts on the screen.
Reproducable with two cursors (second of which is SW rendered) and moving
windows around in compiz.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16384 .
2008-08-21 11:22:40 +02:00
Eric Anholt
495c02262e
intel: Fix SGIS_generate_mipmap after a miptree had been validated.
...
Previously, the updated images would be ignored because the miptree in the
image matched the miptree in the object, even though Mesa core had just attached
updated contents in ->Data. Additionally, Mesa core could have tried to
free inside our miptree if it had already been validated.
Fixes bug #17077 .
2008-08-20 23:18:02 -07:00
Brian Paul
8f1d5ca086
use ftransform()
2008-08-20 15:33:03 -06:00
Kristof Ralovich
8434c65bb9
glx: free driScreen in FreeScreenConfigs()
2008-08-20 15:33:03 -06:00
Kristof Ralovich
8b51278134
glx: free context in driDestroyContext()
2008-08-20 15:33:03 -06:00
Kristof Ralovich
e206034863
glx: free vertex array state when context is destroyed
2008-08-20 15:33:03 -06:00
Kristof Ralovich
fb36a54a1c
fix mem leak (free psc->visuals)
2008-08-20 15:33:03 -06:00
Mark Anderson
145f5f60f1
mesa: fix float blend bug
2008-08-20 15:33:03 -06:00
Brian Paul
2848b55ed5
mesa: move old/obsolete MESA extensions specs to OLD/ directory
2008-08-20 15:33:03 -06:00
Dave Airlie
9cc13eba3e
i965: fixup format for TFP zero copy
...
(cherry picked from commit 9bc9e0ecb0
which
was lost in a merge)
2008-08-20 11:28:39 -07:00
Dave Airlie
ce61660ab9
i965: make tex offset override work..
...
should fix fd.o 14441
(cherry-picked from commit d4244683a6
which was
lost in a merge)
2008-08-20 11:28:39 -07:00
Xiang, Haihao
b17b110716
i965: Enable GL_ARB_fragment_program_shadow and fix key->shadowtex_mask. (bug #16852 , #16853 )
2008-08-20 15:54:41 +08:00
Corbin Simpson
a667d67cd6
r5xx: Final fog option fix.
...
Is there some kind of git hook we could use to keep me from committing
after like 10PM or so?
2008-08-19 09:24:27 -07:00
Corbin Simpson
7855ea2af2
r5xx: Don't squish GL context when using FogOption
2008-08-19 03:40:27 -07:00
Corbin Simpson
12e84a8b84
r5xx: Enable fog options.
...
This uses fog HW instead of fragment programs.
If it breaks you, let me know!
2008-08-18 16:38:21 -07:00
Henri Verbeet
e438827dec
fix byte vs. pixel offset bug for 3D textures (see bug 17170)
2008-08-18 09:30:52 -06:00
Brian Paul
6a00625fbb
mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug 17173
...
Also, move GL_TEXTURE_RECTANGLE init code into separate function.
2008-08-18 08:55:13 -06:00
Corbin Simpson
c5d25c8509
r5xx: Add DDX and DDY instructions.
...
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com >
2008-08-17 22:36:17 -07:00
Brian Paul
b7ff70e16a
bring in docs from 7.0.4 release/branch
2008-08-16 11:09:49 -06:00
Corbin Simpson
567d87744a
added test for ARB GLSL extensions
2008-08-16 11:07:51 -06:00
Julien Cristau
ef160330e5
Merge tag 'mesa_7_1_rc4' into debian-experimental
...
Conflicts:
progs/fp/Makefile
progs/slang/Makefile
progs/tools/trace/gltrace_support.cc
progs/trivial/Makefile
2008-08-16 18:43:53 +02:00
Brian Paul
5d762e1613
added glu.exports files to tarballs list
2008-08-16 10:09:38 -06:00
Brian Paul
35479fd4b4
fix convolutions test to consistanty use the ARB shader extension functions
...
Was using a mix of the ARB functions and the OpenGL 2.0 shader functions.
2008-08-16 09:54:07 -06:00
Brian Paul
7970b2a908
prep for 7.1 rc4
2008-08-16 09:39:10 -06:00
Brian Paul
c0dd9122fd
remove .txt suffix from shader source files
2008-08-16 09:36:46 -06:00
Brian Paul
ce00d232f3
mesa: added glsl/convolutions test from gallium branch
2008-08-16 09:34:12 -06:00
Brian Paul
db1103ebe8
mesa: turn off 'x' bit misset on a few .h and .syn files
2008-08-16 09:31:27 -06:00
Brian Paul
1f4997c2aa
mesa: import latest GLSL code from gallium-0.1 branch
2008-08-16 09:30:14 -06:00
Brian Paul
1b39b92e6d
draw a tristrip ring instead of a single quad
2008-08-15 17:02:09 -06:00
Brian Paul
37f452096b
don't need to use LOD version of texture2D() funcs
2008-08-15 17:02:09 -06:00
Dave Airlie
2e79b491fc
intel: remove unneeded mem type and args
2008-08-14 21:43:34 +10:00
Michel Dänzer
57acb0fad9
r300: Fix 3D texture support.
2008-08-14 10:40:03 +02:00
Brian Paul
505606349e
mesa: fix a swrast state validation bug
...
Fixes progs/glsl/points.c
2008-08-13 10:28:38 -06:00
Brian Paul
b9c6f2b133
mesa: added new glsl/pointcoord.c test
2008-08-13 08:49:39 -06:00
Brian Paul
60b92129b1
mesa: clear the unused upper-left region to black instead of leaving it undefined
2008-08-13 08:46:50 -06:00
Jeremy Huddleston
f911ca0834
Removed broken/unsupported darwin-static configs
...
Fixed typo in darwin config
2008-08-12 11:04:19 -07:00
Jeremy Huddleston
98e7c1cf38
Fixed 'make install' for darwin
2008-08-12 10:59:40 -07:00
Jeremy Huddleston
c61f4e2cce
Apple: More cleanup of the darwin config in 7.1
2008-08-12 09:45:04 -07:00
Brian Paul
8c51e0002a
mesa: glsl: add missing sampler types in sizeof_glsl_type(), bug 17079
2008-08-11 15:12:42 -06:00
Brian Paul
7536f39622
version 41 of glext.h
2008-08-11 15:12:42 -06:00
Brian Paul
d80d0bb4d6
version 20 of glxext.h
2008-08-11 15:12:42 -06:00
Brian Paul
3a428aca93
mesa: added comment about gl_PointCoord
2008-08-11 15:12:42 -06:00
Jeremy Huddleston
ac0d19601c
Apple: Cleaned up some linking and dylib ids issues
2008-08-11 09:17:06 -07:00
Dave Miller
1724334d7c
dri: fix crash in driGetConfigAttribIndex
...
Accessing a GLboolean via an int pointer on big-endian == bad.
2008-08-09 16:44:10 +10:00
Eric Anholt
53675e5c05
Merge branch 'drm-gem'
...
Conflicts:
src/mesa/drivers/dri/intel/intel_span.c
src/mesa/main/fbobject.c
This converts the i915 driver to use the GEM interfaces for object management.
2008-08-08 15:32:24 -07:00
Eric Anholt
d2796939f1
intel-gem: Update to new check_aperture API for classic mode.
...
To do this, I had to clean up some of 965 state upload stuff. We may end
up over-emitting state in the aperture overflow case, but that should be rare,
and I'd rather have the simplification of state management.
2008-08-08 14:00:43 -07:00
Eric Anholt
527e1cf172
965: cleanups to state emission from aperture checking and state ordering.
2008-08-08 10:53:25 -07:00
Brian Paul
501338d70e
mesa: fix out-of-bounds memory reads in swizzle_copy()
2008-08-08 09:05:41 -06:00
Jeremy Huddleston
919ec22ecf
glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection
2008-08-08 02:52:10 -07:00
Jeremy Huddleston
ec770150ed
glx/x11: Fix missing __GL_EXT_BYTES declaration
2008-08-08 02:37:14 -07:00
Jeremy Huddleston
01ac4540f0
Apple: Some changes to fix compilation problems on OSX
2008-08-08 02:19:52 -07:00
Brian Paul
ee8dfdf4c9
mesa: fix glBindTexture error string (bug 17005)
2008-08-07 07:54:53 -06:00
Brian Paul
523ee3ddbe
disable debug code accidentally enabled by prev commit
2008-08-06 09:02:39 -06:00
Haihao Xiang
5f46093938
mesa: glsl: count number of temp regs used
2008-08-06 09:01:34 -06:00
Brian Paul
fb71a48413
mesa: fix comment about texture targets (bug 17005)
2008-08-06 08:52:56 -06:00
Brian Paul
f1e4ca776f
fix some FBO/texture queries (bug 15296)
2008-08-06 08:40:25 -06:00
Xiang, Haihao
c20a173656
i965: update TexSrcUnit for OPCODE_TXB
2008-08-06 14:17:08 +08:00
Xiang, Haihao
8e8019b49a
dri: Fix write/read depth buffer issue under 16bpp mode. See bug #16646
2008-08-05 11:34:26 +08:00
Xiang, Haihao
a3024caff1
i965: Use program->SamplerUnits[] to get the appropriate texture unit.
...
inst->TexSrcUnit is used as an index into program->SamplerUnits[] since
the commit ade508312c
, and program->SamplerUnits
is a sampler-to-texture-unit mapping.
2008-08-05 10:18:56 +08:00
Adam Jackson
62fb5f7b9a
Drop unused 'entries' field from __glxHashTable.
2008-08-04 15:44:34 -04:00
Julien Cristau
332dcfb60b
Add parallel build support.
2008-08-04 12:49:03 +02:00
Brian Paul
61b3ce8f97
added null ptr check (fix bug 16959)
2008-08-03 11:13:12 -06:00
Eric Anholt
ded9414024
intel-gem: Always build GEM execbuffer code.
2008-07-31 14:13:30 -07:00
Jesse Barnes
e9bf3e4cc9
intel: sync to vblank by default
...
Effectively default to vblank_mode=3 on Intel to avoid tearing by default.
Users wanting to go "as fast as possible" (despite not being able to see frames
faster than their refresh rate allows) can still set the vblank_mode manually.
2008-07-31 11:50:37 -07:00
Eric Anholt
c9120a0d19
intel-gem: Use new getparam to detect kernel GEM support.
2008-07-30 14:16:33 -07:00
Guillaume Melquiond
3e8e292db0
Always pass CFLAGS when compiling or linking demos
...
To ensure that the correct architecture flags are used, always pass the
user's CFLAGS when compiling or linking the demos. Fixes #16860 .
2008-07-30 07:56:42 -07:00
Brian Paul
b068ab62a0
updated GLSL bug fixes
2008-07-29 17:50:43 -06:00
Brian Paul
1bdb134570
mesa: glsl: remove old assertion (fixes glsl/bitmap.c)
2008-07-29 17:49:38 -06:00
Brian Paul
40f7e5f674
mesa: disable debug code
2008-07-29 17:47:52 -06:00
Brian Paul
ff916d718a
mesa: regenerated files
2008-07-29 17:45:46 -06:00
Brian Paul
016701f686
mesa: Silence compiler warnings on Windows.
2008-07-29 17:43:35 -06:00
Brian Paul
b26a80aa12
mesa: cast to fix warning
2008-07-29 17:37:55 -06:00
Brian Paul
a7dd701421
mesa: fix bug/failure in recursive function inlining
...
Fixes a failure for cases such as y = f(a, f(a, b))
All the usual tests still pass but regressions are possible...
2008-07-29 17:37:13 -06:00
Brian Paul
6045f17138
mesa: glsl: silence warning (s/int/GLuint)
2008-07-29 17:33:52 -06:00
Brian Paul
a75015ef03
mesa: remove stray debug code
2008-07-29 17:32:35 -06:00
Brian Paul
1638edb325
mesa: glsl: assorted fixes for resolving polymorphic functions
...
Plus,
- fix some issues in casting function arguments to format param types.
- fix some vec/mat constructor bugs
- find/report more syntax/semantic errors
2008-07-29 17:29:30 -06:00
Brian Paul
6225e51a73
mesa: glsl: re-order some constructors
2008-07-29 17:27:59 -06:00
Brian Paul
d9b6425e00
mesa: glsl: remove unneeded operators
2008-07-29 17:27:54 -06:00
Brian Paul
91e1918f48
mesa: glsl: added null ptr check
2008-07-29 17:27:44 -06:00
Brian Paul
6f1abb9c21
mesa: fix issues causing warnings on Windows
2008-07-29 17:27:22 -06:00
Brian Paul
1b465f287f
mesa: glsl: additional error detection
...
Plus begin some fixes for vec/matrix constructors.
2008-07-29 17:25:44 -06:00
Brian Paul
16dc993d4f
mesa: gls: fix broken else clause of conditional break/continue
...
In the following case:
for () {
if (cond)
break; // or continue;
else
something;
}
The "something" block didn't get emitted.
2008-07-29 17:23:52 -06:00
Brian Paul
3d500f00d2
mesa: glsl: only try to link shaders defining main()
2008-07-29 17:23:37 -06:00
Michal Krol
56bac7a35c
mesa: Silence compiler warning on windows.
2008-07-29 17:23:19 -06:00
Brian Paul
5d9b33095a
mesa: glsl: fix/simplify array element handling
...
Also fix bug in comparing large structs/arrays.
2008-07-29 17:22:58 -06:00
Brian Paul
d4c73c619a
mesa: glsl: mark constructor params as const
2008-07-29 17:20:43 -06:00
Brian Paul
01c0558f70
mesa: glsl: rework swizzle storage handling
...
Build on the heirarchal approach implemented for arrays/structs.
2008-07-29 17:20:30 -06:00
Brian Paul
fb3422a241
mesa: fix uninitialized var
2008-07-29 17:20:22 -06:00
Brian Paul
7af8dddf27
mesa: glsl: implement constructor functions for user-defined types
2008-07-29 17:20:14 -06:00
Brian Paul
a9412ca2e8
mesa: remove stray debug assertion
2008-07-29 17:20:06 -06:00
Brian
b36749d066
mesa: fix glUniform error checking for samplers
2008-07-29 17:19:40 -06:00
Brian Paul
b7eea9a1ce
mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.c
...
No API-level functions now in program.c.
2008-07-29 17:19:25 -06:00
Brian Paul
ff9b6a0ae2
mesa: initial support for GLSL struct/array comparisons
2008-07-29 17:17:22 -06:00
Brian Paul
65db8c9518
mesa: added null ptr check (error handling case)
2008-07-29 17:17:12 -06:00
Brian Paul
19d44b95fe
mesa: fix +=, -=, etc. operators
2008-07-29 17:16:59 -06:00
Brian Paul
be50c48101
mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p
2008-07-29 17:16:50 -06:00
Brian Paul
bc985b5790
mesa: fix some issues in _mesa_validate_program()
2008-07-29 17:16:33 -06:00
Brian Paul
ffbc66bf61
mesa: assorted glsl uniform/attribute fixes
...
Fix incorrect uniform/attribute size query results.
Add missing error checking for glUniform, glUniformMatrix params
Fix an array size/allocation error.
2008-07-29 17:16:17 -06:00
Brian Paul
74a19b0abd
mesa: glsl: various writemask/swizzle improvements and clean-ups
2008-07-29 17:15:27 -06:00
Brian Paul
38a62ede6c
mesa: rework array/struct addressing code.
...
The slang_ir_storage type now has a pointer to parent storage to represent
storage of an array element within an array, or a field within a struct.
This fixes some problems related to addressing of fields/elements in non-
trivial cases. More work to follow.
2008-07-29 17:15:08 -06:00
Brian Paul
378017417a
mesa: fix some GLSL /= int operators
...
plus add a few more special constructors to improve code quality.
2008-07-29 17:14:14 -06:00
Brian Paul
f45ed0eb8d
mesa: fix set_program_uniform_matrix(): need to loop over matrix count
2008-07-29 17:13:54 -06:00
Brian Paul
5bfbcf7265
mesa: implement grammar/parsing for precision/invariant syntax
...
Plus, fix some issues with pre-defined preprocessor symbols and version checking.
2008-07-29 17:12:19 -06:00
Brian Paul
c3ad176158
mesa: Silence compiler warnings on Windows.
2008-07-29 17:09:40 -06:00
Brian Paul
153407f72d
mesa: fix some function inlining bugs
...
Need to add local vars of original function to the new scope's variable
list (though the DECLs were already present).
In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers.
2008-07-29 17:05:54 -06:00
Brian Paul
527e1357b5
mesa: improved printing
2008-07-29 17:04:53 -06:00
Brian Paul
1a5c99f4b5
document GLSL 1.20 status
2008-07-29 16:46:08 -06:00
Brian Paul
44c7f37b44
disable GL_ARB_shading_language_120 until 1.20 features are complete
2008-07-29 07:47:56 -06:00
Florent Thoumie
b5095ab97f
autoconf: disable dri drivers build if being asked
...
Allow --with-dri-drivers={,no} to disable DRI drivers build.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org >
Signed-off-by: Robert Noland <rnoland@2hip.net >
2008-07-28 11:04:41 -04:00
Michel Dänzer
57aea290e1
r300: Fix off-by-one error in calculation of scissor cliprect.
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16123 .
2008-07-28 10:49:43 +02:00
Nicolai Haehnle
c1fb448ce8
r300: Fix a crash related to depth textures (triggered by Glest w/ shadowmaps)
2008-07-27 21:40:17 +02:00
Nicolai Haehnle
c117d0efd2
r300: Implement ARB_shadow_ambient; add STATE_SHADOW_AMBIENT
2008-07-27 21:31:49 +02:00
Nicolai Haehnle
e88be7d375
r300: Fix point minmax size
...
There are 6 subpixel units per pixel, not 16.
2008-07-27 21:18:29 +02:00
Nicolai Haehnle
322677b878
r300: Implement hardware acceleration for ColorLogicOp
2008-07-27 18:18:59 +02:00
Nicolai Haehnle
0973d348d7
r500: Handle non-native swizzles in texture instructions
...
This fixes piglit's fp-kil and fp-generic/kil-swizzle tests.
2008-07-27 16:48:24 +02:00
Nicolai Haehnle
1bdf5e09a0
r500: Redirect TEX writes to output registers
...
While R500 fragment program texture instructions appear to support writemasks,
they cannot write to the output FIFO immediately, so we need to insert a MOV
for these instructions.
This fixes piglit's fp-fragment-position and fp-incomplete-tex tests.
2008-07-27 15:14:07 +02:00
Eric Anholt
902e401a38
intel: Don't return a renderbuffer with alpha when just GL_RGB is requested.
...
Fixes oglconform rbGetterFuncs testcase. The span code for this mode hasn't
actually been tested.
2008-07-26 17:39:23 -07:00
Nicolai Haehnle
85e44fcd51
r200: Do not set second coordinate clamping for 1D textures
...
Fixes piglit's tex1d-border test.
2008-07-26 16:16:23 +02:00
Nicolai Haehnle
477fa8fe12
r300: Always emit LOAD_VBPNTR immediately before index-based rendering
...
This fixes one type of lockup I've been seeing on my test system.
2008-07-26 16:15:33 +02:00
Ian Romanick
1e645b3659
Merge branch 'master' into drm-gem
...
Conflicts:
src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
2008-07-25 18:31:44 -07:00
Eric Anholt
e5022c3fdf
mesa: Return 0 for cube map face of non-cubemap framebuffer attachments.
...
Fixes some oglconform fbo testcases.
2008-07-25 12:40:49 -07:00
Eric Anholt
ff60e3fa03
intel: If a tex image doesn't fit in the object's tree, make a temporary tree.
...
Previously, we would just store the data as malloced memory hanging off the
object, which would get memcpyed in at validate time. This broke an
oglconform render-to-texture test, since validate wasn't called but a miptree
was expected.
2008-07-25 12:19:50 -07:00
Dave Airlie
9bc9e0ecb0
i965: fixup format for TFP zero copy
2008-07-25 20:32:22 +10:00
Dave Airlie
04c98089d1
Revert "intel: disable zero-copy TFP."
...
This reverts commit 94979950e8
.
I've fixed it instead
2008-07-25 19:57:35 +10:00
Dave Airlie
d4244683a6
i965: make tex offset override work..
...
should fix fd.o 14441
2008-07-25 19:56:56 +10:00
Dave Airlie
94979950e8
intel: disable zero-copy TFP.
...
patch from Fedora. maybe someone can fix this later but for now
lets try and release Mesa so ajax can live his life and get Xorg 7.4 out.
2008-07-25 16:31:38 +10:00
Brian Paul
948f6e302c
mesa: move extensions->version code into separate function
2008-07-24 15:11:11 -06:00
Brian Paul
d8ababdcc2
mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION string
2008-07-24 15:11:11 -06:00
Brian Paul
51bfb6aa99
query/print GLSL version string
2008-07-24 15:11:11 -06:00
Jesse Barnes
9a4be9785f
intel: remove buffer swap debug output
...
Accidentally pushed as part of the last commit.
2008-07-24 11:46:08 -07:00
Ian Romanick
6118d830a6
Revert "965: Fix color clamping issues"
...
This reverts commit b993d539a7
. The
patch was applied incorrectly. Actual fix coming soon. Sorry for the
noise.
2008-07-24 08:40:22 -07:00
Thomas Hellstrom
7c2d7f8cf5
Fix a typo.
2008-07-24 13:35:35 +02:00
Thomas Hellstrom
9dd73d58ae
Add new demo "fbo_firecube".
...
Tests fbo render-to-texture for various internal texture image formats.
2008-07-24 13:32:59 +02:00
Pawel Pieczul
117533759f
965: Fix partially transparent textures in Doom 3 engine games
...
Numbers of destination depth registers corrected (destination stencil
register was sent as depth register).
2008-07-23 15:43:23 -07:00
Eric Anholt
2e37143800
intel: Add a little span cache to spead up readpixels by cutting syscalls.
2008-07-23 10:21:25 -07:00
Eric Anholt
d2d5abfaeb
intel-gem: Use pread/pwrite for span access.
...
This will avoid clflushing entire buffers for small acesses, such as those
commonly used by regression tests.
2008-07-23 10:21:25 -07:00
Eric Anholt
f0ca917924
intel: improve 2d batchbuffer debug output.
2008-07-23 10:21:25 -07:00
Eric Anholt
1c8791c581
intel: Fix CopyTexSubImage's src tiling arg for the blit.
...
Didn't hurt 915, but needed for 965.
2008-07-23 10:21:25 -07:00
Eric Anholt
bdaa06ad63
intel: move renderbuffer mapping to separate functions.
...
This lets us avoid duplicated code for doing so, including the depthstencil
paths that aren't covered by SpanRenderStart/Finish. Those paths were
missing the span funcs setup, leading to a null dereference in the fbotexture
demo.
2008-07-23 10:21:24 -07:00
Jesse Barnes
97988ccc46
intel: fix buffer swaps and enable page flipping on 965
...
Some buffer swap intel render buffer fields (pf_num_pages & vbl_pending) are
also used for page flipping, so enable the code that sets & updates them on
965. This allows buffer swaps and page flips to work on 965 and prevents hangs
in LOCK_HARDWARE in the buffer swap case due to an uninitialized vbl_pending
field.
Fixes FDO #16118 .
2008-07-22 09:39:23 -07:00
Pawel Pieczul
b993d539a7
965: Fix color clamping issues
2008-07-21 10:57:20 -07:00
Brian Paul
77497eb73b
mesa: revert building glslcompiler by default
2008-07-21 09:01:34 -06:00
Ian Romanick
99fe0c222c
intel-gem: Bump driver date
...
Bump the driver date and insert the string "GEM". When running tests,
this make it much easier to know that the right driver is being used.
2008-07-18 12:40:04 -07:00
Dan Nicholson
776c60d3c3
autoconf: Support Motif widgets in GLw with --enable-motif
...
Add an --enable-motif option, which will enable the Motif widgets in
libGLw and link it with libXm. The Motif installation information will
be gathered from the motif-config script (this comes with LessTif) or
fallback to the standard autoconf checks.
To allow the location of the Motif headers to be set from configure, the
default setting of -I/usr/include/Motif1.2 has been moved into
configs/default and then passed to the Makefile through the MOTIF_CFLAGS
variable.
2008-07-18 08:07:07 -07:00
Xiang, Haihao
b4b7326717
intel: fix texture border issue. (bug #16697 )
2008-07-18 17:40:11 +08:00
Brian Paul
3bfedb7ed4
mesa: build the stand-alone glslcompiler by default, update the docs
2008-07-17 15:40:10 -06:00
Brian Paul
73b8ee4121
mesa: regenerated file
2008-07-17 10:09:04 -06:00
Brian Paul
d9f4d04111
mesa: fix/improve the atan(y,x) function
2008-07-17 10:08:14 -06:00
Brad Smith
f49d345a51
mesa: added checks for OpenBSD
2008-07-17 08:15:57 -06:00
Brian Paul
0138435643
mesa: regenerated file
2008-07-16 16:27:14 -06:00
Brian Paul
33a25729e8
mesa: fix temp re-use bug in emit_arith()
2008-07-16 16:20:25 -06:00
Brian Paul
082cde143b
mesa: fix copy&paste errors in degrees() functions
2008-07-16 16:20:07 -06:00
Ian Romanick
29cb89d0c2
intel: Clean-up ARB_texture_env_crossbar
...
Enable support for ARB_texture_env_crossbar in the master extension
list instead of in every single device-specific list.
2008-07-16 10:37:49 -07:00
Ian Romanick
442c195c4a
Remove redundant initalization of MaxTextureUnits
2008-07-16 09:43:03 -07:00
Brian Paul
7d13dded5c
mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE
...
Issues found by Bob Ellison.
2008-07-16 10:23:28 -06:00
Blair Sadewitz
b7c54945fe
additional preprocessor checks for stdint.h, inttypes.h, etc
...
The patches to glext.h and glxext.h have been sent to Khronos/bugzilla.
2008-07-15 17:21:56 -06:00
Blair Sadewitz
ece7183ff1
mesa: added test for __NetBSD__
2008-07-15 17:12:23 -06:00
Blair Sadewitz
4c6dcbf091
mesa: added test for __NetBSD__
2008-07-15 17:11:54 -06:00
Blair Sadewitz
e6218d071d
mesa: check for __INTERIX to typedef uintptr_t
2008-07-15 17:06:17 -06:00
Blair Sadewitz
546c7fb221
mesa: extra braces
2008-07-15 17:05:28 -06:00
Brian Paul
461e178806
mesa: regenerated file
2008-07-15 16:55:23 -06:00
Brian Paul
716f70d782
mesa: add missing IR_LOG2 case
2008-07-15 16:41:35 -06:00
Brian Paul
b0d173f405
mesa: fix some broken /= operators
2008-07-15 16:41:19 -06:00
Brian Paul
8c653f6e09
mesa: fix some broken bool, bvec2, bvec3, bvec4 constructors
2008-07-15 16:40:51 -06:00
Brian Paul
7d7d114e59
mesa: fix storage size computation in emit_arith()
2008-07-15 16:40:38 -06:00
Eric Anholt
a5f02368d2
intel-gem: Disable spantmp sse/mmx functions when tile swizzling.
...
Those functions rely on being able to treat the GET_PTR returned value as an
array indexed by x, but that's not the case for our tiling.
Bug #16387
2008-07-15 13:21:37 -07:00
Ian Romanick
27e3f7f21d
glx: Update my e-mail address. :)
2008-07-15 11:06:31 -07:00
Ian Romanick
67108adb48
glx: Trivial clean-ups to __glXSetArrayEnable
2008-07-15 11:06:04 -07:00
Brian Paul
f214a848ab
mesa: assemble main() after all other functions
...
Before, main() had to come after any functions it called.
2008-07-14 15:59:44 -06:00
Eric Anholt
946abd9b5a
i915: fix build after previous commit.
2008-07-14 13:55:37 -07:00
Brian Paul
c62cb6be6c
mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled
...
In glStencilFunc/Op/Mask() set both the front and back-face state, unless
GL_EXT_stencil_two_side is enabled. Before, we only set the front+back state
if GL_ATI_separate_stencil was enabled.
Ultimately, we probably should remove GL_EXT_stencil_two_side since it's
incompatible with GL 2.x.
2008-07-14 09:51:35 -06:00
Guillaume Melquiond
4430597bf6
fix gltrace (bug 16691)
2008-07-14 08:50:36 -06:00
Julien Cristau
0a7df3794c
glu: only export public symbols
2008-07-14 08:37:49 -06:00
Julien Cristau
f7eb0cec69
mklib: don't version symbols when using --exports
...
Use the default version instead of one based on the library SONAME
in the version script created by --exports.
2008-07-14 08:37:38 -06:00
Blair Sadewitz
a63b90712a
mesa: also check for __NetBSD__
2008-07-14 08:15:10 -06:00
Brian Paul
62db707a3d
mesa: check for null shader->Source
2008-07-14 08:13:52 -06:00
Chris Rankin
5e600209f4
radeon: SetTexOffset support
...
This patch is a straightforward duplication of the R200 SetTexOffset code,
except that there is no big-endian tx_table[] array.
2008-07-14 10:11:20 +02:00
Stephane Marchesin
93115c4b23
nouveau: say goodbye to the old DRI driver...
2008-07-14 01:03:07 +02:00
Julien Cristau
a8dde163dc
Prepare changelog for upload
2008-07-13 19:42:01 +02:00
Julien Cristau
868d0accef
update changelog and patches
...
01_fix-installdir.patch dropped, applied upstream
04_osmesa_version.diff needed fixing
2008-07-13 19:36:56 +02:00
Julien Cristau
64e57ed257
Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/mesa into debian-experimental
...
Conflicts:
progs/tests/antialias.c
progs/tools/trace/Makefile
2008-07-13 19:20:03 +02:00
Dave Airlie
4fab47b13c
glx/dri: only report DRI2 extensions when DRI2 is enabled.
...
Fixes bug 15477
2008-07-13 19:00:46 +10:00
Nicolai Haehnle
e81ba58bf4
r300_fragprog: Use nqssa+dce and program_pair for emit
...
Share almost all code with r500_fragprog now.
This also fixes Piglit's texrect-many test, which means that the compiz
bicubic plugin should work with hardware acceleration now.
2008-07-12 21:16:16 +02:00
Dan Nicholson
3b8081603b
Always pass -linker and -ldflags to mklib for shared libraries
...
This just makes the use of mklib more consistent throughout Mesa where
we always want to pass the linker and LDFLAGS when we might be making a
shared library.
2008-07-12 10:25:40 -07:00
Dan Nicholson
db072baaaf
Call mklib with $(SHELL) so the user controls the interpreter
...
Respect the user's choice of shell when running mklib rather than always
using /bin/sh.
2008-07-12 10:25:40 -07:00
Dan Nicholson
4f5d97ee9e
Call minstall with $(SHELL) so the user controls the interpreter
...
Running minstall directly means that /bin/sh is always used as hte
interpreter. If the user needs or wants to use a different shell fo
minstall, they can use the SHELL make variable.
2008-07-12 10:25:40 -07:00
Dan Nicholson
9eee7f260f
Set $(SHELL) for all configs
...
Most make implementations will use /bin/sh as the interpreter for
commands and only use a different shell when the $(SHELL) make variable
is set. This makes the setting explicit and allows $(SHELL) to be used
in the commands themselves.
2008-07-12 10:25:40 -07:00
Dan Nicholson
bfb27b5fc0
autoconf: Subsitute SHELL for all platforms
...
Establish the shell that make will use from configure. This is exactly
how autoconf/automake operate, with the environment variable
CONFIG_SHELL respected to override the autoconf checks. In the usual
case where the user just executes `./configure', autoconf will pick a
shell from the current shell, sh, bash, ksh or sh5 that meets its base
criteria.
The special Solaris case of looking for a POSIX shell has been changed
to just set the SHELL variable since autoconf substitutes this already.
The EXTRA_CONFIG_LINES substitution is dropped as it should no longer be
needed.
2008-07-12 10:25:40 -07:00
Nicolai Haehnle
2d766923c4
r300: Fix saturate mode handling in radeon_program_alu
2008-07-12 12:20:28 +02:00
Nicolai Haehnle
cf0ae102db
r500: Set Saturate correctly in radeon_program_pair
2008-07-12 12:04:28 +02:00
Nicolai Haehnle
8774fcd89a
r300: Fix input register allocation in radeon_program_pair
...
When an input is marked in gl_program.InputsRead but is not actually read
in the final program (due to dead-code elimination or whatever), the order
of input registers must still match gl_program.InputsRead. This is done
even more explicitly now.
2008-07-12 11:11:59 +02:00
Nicolai Haehnle
11d711df36
r300: Explicitly set absolute value for the argument of RSQ
...
This fixes the last r500 bug related to glean/fragProg1.
2008-07-12 09:36:02 +02:00
Nicolai Haehnle
b6765c3499
r500_fragprog: Major refactoring of final emit
...
Use an abstracted instruction scheduling and register allocation algorithm
that we will be able to share with r300_fragprog.
Unlike the original emit code, this code tries to pair instructions that
only use the RGB part of the ALU with instructions that only use the alpha
part. However, the pairing algorithm still has some shortcomings;
for example, it doesn't generate optimal code for the emulation of LIT.
2008-07-12 09:36:02 +02:00
Nicolai Haehnle
d8d086c20b
r500: Add "Not quite SSA" and dead code elimination pass
...
In addition, this pass fixes non-native swizzles.
2008-07-12 09:36:02 +02:00
Nicolai Haehnle
7904c9fad4
r500_fragprog: Transform trigonometric functions in first pass
2008-07-12 09:36:02 +02:00
Eric Anholt
2e841880cf
drm-gem: Use new GEM ioctls for tiling state, and support new swizzle modes.
2008-07-11 18:58:19 -07:00
Alex Deucher
b0ef353b46
R300: update vap_cntl values for NUM_FPUS
...
based on info from hw team
2008-07-11 19:23:06 -04:00
Dan Nicholson
6c44c6d020
Remove generated pkg-config files on `make clean'
2008-07-11 10:43:29 -07:00
Dan Nicholson
99803a4ec9
autoconf: Add information about the --x-* options to --help output
...
Try to tell the user that the --x-* options are only used when the X
libraries can't be found by pkg-config.
2008-07-11 10:04:46 -07:00
Dan Nicholson
e97ab72b59
autoconf: Tell the user about docs/autoconf.html in --help output
...
The documentation in autoconf.html is much more explicit about how the
different configure options control the build. This adds a notice at the
end of the `./configure --help' output to tell the user about it.
2008-07-11 10:04:46 -07:00
Dave Airlie
b52398571b
intel: fix batch flushing problem with cliprects handling.
...
pointed out and debugged by stringfellow on #dri-devel
2008-07-11 07:28:55 +10:00
Brian Paul
ac05da56ec
mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity check
2008-07-09 15:06:36 -06:00
Brian Paul
4ca0af1882
mesa: fix state.clip[n].plane parsing bug (bug 16611)
2008-07-09 08:39:25 -06:00
Brian Paul
a2e435054c
mesa: check for OpenBSD (bug 15604)
2008-07-09 08:39:25 -06:00
Xiang, Haihao
75e4db1804
i915: fall back to software rendering when shadow comparison is
...
enabled for 1D texture. fix #12176
2008-07-09 13:10:46 +08:00
Brian Paul
2f1b5ffcda
mesa: remove debug code
2008-07-08 16:52:45 -06:00
Brian Paul
e4d9cc94b8
add yet another Makefile
2008-07-08 16:28:33 -06:00
Brian Paul
ee2a101123
bump version to rc3
2008-07-08 16:26:28 -06:00
Brian Paul
7d3feef9d6
added more Makefiles to file list
2008-07-08 16:26:06 -06:00
Brian Paul
2be54a8e8c
mesa: implement glGetUniformiv() with new ctx->Driver function
...
The old implementation could overwrite the caller's param buffer.
2008-07-08 16:17:04 -06:00
Brian Paul
44029f15a8
added src/mesa/drivers/Makefile to file list
2008-07-08 16:16:57 -06:00
Brian Paul
6fe7857629
mesa: bump version to rc2
2008-07-08 15:12:48 -06:00
Brian Paul
c71fa34728
added null texObj ptr check (bug 15567)
2008-07-08 15:11:53 -06:00
Brian Paul
fd6cb1b11d
mesa: more debug output
2008-07-08 15:11:53 -06:00
Brian Paul
d14b7890a4
mesa: compute global var size before doing codegen
2008-07-08 15:11:53 -06:00
Brian Paul
477d597df6
mesa: add missing VARYING case to storage_string()
2008-07-08 15:11:53 -06:00
Xiang, Haihao
92c075eeb7
i965: official name for GM45 chipset
2008-07-08 14:14:04 +08:00
George Sapountzis
a36bf890e8
glx: add LIBGL_ALWAYS_SOFTWARE
...
this disables accelerated DRI and fallbacks to client-side software rendering.
compile-tested only.
2008-07-07 18:34:17 +03:00
Dan Nicholson
e6e4f25aa5
autoconf: Allow commas or spaces to separate DRI drivers
...
Explicitly allow the argument to --with-dri-drivers to contain
comma-separated or space-separated drivers. A space-separated driver
list worked by chance before.
2008-07-06 14:17:54 -07:00
Dan Nicholson
11ac5b2456
Set library and header installation directories from configuration
...
Currently the installation directories for libraries and headers are
resolved within the install commands. For instance, the libraries will
be installed to $(INSTALL_DIR)/$(LIB_DIR). This limits the flexibility
of the installation, such as when the libraries should be installed to a
subdirectory like /usr/lib/tls.
This adds the make variables $(INSTALL_LIB_DIR) and $(INSTALL_INC_DIR)
to define the locations that the libraries and headers are installed.
For the static configs, this resolves exactly as before to
$(INSTALL_DIR)/include and $(INSTALL_DIR)/$(LIB_DIR). For autoconf, they
are derived directly from the --libdir and --includedir settings.
2008-07-06 14:15:40 -07:00
Nicolai Haehnle
056689d457
r500_fragprog: Fix RSQ with negative parameters
2008-07-06 16:39:31 +02:00
Julien Cristau
dabd09f5a9
some more debian/rules adjustments
...
build the software libGL with --disable-gl-osmesa, and try to fix some
rules dependencies
2008-07-06 14:03:58 +02:00
Nicolai Haehnle
2b2cb56656
r300_fragprog: Emulate trigonometric functions in radeon_program_alu
2008-07-06 10:00:35 +02:00
Nicolai Haehnle
4746752f16
r300: Translate fragment program DST in radeon_program_alu
2008-07-06 10:00:35 +02:00
Nicolai Haehnle
03abd021f2
r300: Translate fragment program LRP in radeon_program_alu.c
2008-07-06 10:00:35 +02:00
Nicolai Haehnle
62bccd6df0
r300: Allow adding parameters during fragprog transform, share LIT code
2008-07-06 09:59:43 +02:00
Nicolai Haehnle
77fdfaa23a
r300: Correctly scan for used temporary registers
...
This fixes a regression introduced by dea8719f0...
2008-07-05 20:01:20 +02:00
Nicolai Haehnle
364d45a3e1
r500: Major refactoring of fragment program emit
...
Use the common facilities to convert non-native instructions into native ones.
Worked hard to make the code easier to read (hopefully), by using helper
functions instead of direct manipulation of the machine code.
Fixes two bugs related to FLR and XPD.
2008-07-05 18:04:10 +02:00
Nicolai Haehnle
dea8719f00
r300: Remove clause stuff for now in favour of a cloned generic gl_program
2008-07-05 18:04:10 +02:00
Nicolai Haehnle
85b46fbe9c
r500_fragprog: Cleanup some unused variables and code.
2008-07-05 18:04:10 +02:00
Nicolai Haehnle
13c44679ad
r500: Fix a mixup in fragment program LRP instruction emit
2008-07-05 18:04:10 +02:00
Nicolai Haehnle
09e587fcf3
r500: Fix blend color.
2008-07-05 18:04:09 +02:00
Nicolai Haehnle
82635aad42
_mesa_clone_program: Copy ShadowSamplers
2008-07-05 18:04:04 +02:00
Julien Cristau
46ffb3c0b1
debian/rules cleanup and fixes
...
* tell configure which dri drivers we want to build, based on the old
configs/debian-dri-default
* disable direct rendering for the glx libGL on the hurd
* make sure patches are applied before we run autoreconf, and autoreconf
runs before all builds
2008-07-05 14:03:57 +02:00
Julien Cristau
4b9b01f0a5
Use --with-driver=dri for the dri config
...
the default is xlib on some architectures and dri on others, so we
need to set that explicitly
2008-07-05 12:59:14 +02:00
Nicolai Haehnle
e187627c1d
r300: Fix depth texture in compare mode
...
Missed the homogenous divide of R by Q before...
2008-07-04 18:22:16 +02:00
Nicolai Haehnle
845e3f701d
Enable TexGen based on InputsRead when a fragment program is active
...
The old behaviour depended on which texture images the fragment program
reads from, which seems to contradict the shader specifications.
Note: Piglit's general/texgen test checks for this problem.
2008-07-04 18:22:15 +02:00
Brian Paul
1f4d0748ba
GLSL-related bug fixes
2008-07-04 10:05:39 -06:00
Brian Paul
e06565b103
mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if program isn't linked
2008-07-04 10:04:03 -06:00
Brian Paul
b931a0c1d9
mesa: remove incorrect assertion
2008-07-04 10:04:03 -06:00
Alan Hourihane
9157b1e09a
glcontextmodes.c is required remove the reference in .gitignore
2008-07-04 13:54:49 +01:00
Timo Aaltonen
0261355a03
Fix confflags CFLAGS and clean up confflags-dri.
2008-07-04 11:50:09 +03:00
Timo Aaltonen
beb8547c71
Delete two files not available on the tarball.
...
docs/gears.png
src/glut/os2/src-glut_os2pm.zip
2008-07-04 11:50:08 +03:00
Timo Aaltonen
4aa518a2d7
Add a patch from upstream to set installdir properly.
...
this also replaces 01_fix-libdir.patch and the need to set --libdir for
every target.
2008-07-04 11:50:08 +03:00
root
08af66d57e
Revert "Remove configs/current on clean."
...
This reverts commit 2380f8bd93
.
Conflicts:
debian/changelog
2008-07-04 11:50:08 +03:00
root
38eb154b39
Use --enable-glx-tls for dri.
2008-07-04 11:50:08 +03:00
Timo Aaltonen
2954e4c3d7
Disable glut for swx11 targets.
...
It was not built before either and would need new build-deps (xi xmu).
2008-07-04 11:50:08 +03:00
Xiang, Haihao
0c1e96e6d3
mesa: fix polygon offset issue (bug #12061 )
2008-07-04 09:53:51 +08:00
Brian Paul
530df581dd
mesa: fix various error codes
2008-07-03 16:21:11 -06:00
Brian Paul
011185396b
mesa: fix some error codes in _mesa_ShaderSourceARB()
2008-07-03 16:02:05 -06:00
Brian Paul
3dc6591a7c
mesa: fix problem freeing framebuffer/renderbuffer objects
...
Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer objects.
2008-07-03 15:40:38 -06:00
Brian Paul
7acb7c1ac0
mesa: additional error checking, fix error codes
2008-07-03 13:49:48 -06:00
Brian Paul
d866cb3712
mesa: regenerated file
2008-07-03 13:24:28 -06:00
Brian Paul
7f4f2ac39d
mesa: additional vec4 constructor
2008-07-03 13:24:19 -06:00
Brian Paul
6e46c121f9
mesa: fix array storage allocation bug
2008-07-03 13:05:28 -06:00
Brian Paul
1dc20c7916
mesa: fix incorrect array size, added assertion
2008-07-03 13:03:35 -06:00
Julien Cristau
213803b4d4
fix libOSMesa versioning, to revert accidental SONAME bump.
2008-07-03 18:30:35 +02:00
Timo Aaltonen
2380f8bd93
Remove configs/current on clean.
2008-07-03 18:37:28 +03:00
Timo Aaltonen
e846ebc1a1
don't chmod configure which does not exist.
2008-07-03 18:14:25 +03:00
Timo Aaltonen
6dedd60350
Further autoconf changes:
...
add automake & autoconf to build-deps
add some cleanup rules
2008-07-03 15:53:19 +03:00
Timo Aaltonen
063a487fe1
Fix the configure.ac patch somewhat
...
workaround the problems by setting --libdir for all flavours, otherwise
the path used is /usr/usr/lib.
2008-07-03 13:20:21 +03:00
Timo Aaltonen
99a35fd4e1
01_fix-libdir.patch: libdir handling is broken in configure.ac, fix it.
2008-07-03 09:31:23 +03:00
Timo Aaltonen
cbaac82c2c
Further tweaks to the autoconf stuff. Getting closer but still not there
2008-07-03 09:26:46 +03:00
Brian Paul
b3e1f9bd52
mesa: fix vertex array validation test for attribute 0 (vert pos)
...
We don't actually need vertex array[0] enabled when using a vertex
program/shader.
2008-07-02 19:17:11 -06:00
Brian Paul
1726b7d1d3
mesa: when linking a shader program, make sure all the shaders compiled OK
2008-07-02 16:51:49 -06:00
Brian Paul
cb79c5c7c6
mesa: added some debug code (disabled)
2008-07-02 16:50:52 -06:00
Brian Paul
36a5826411
mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source()
...
If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE
or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a
'program' or is a totally unknown ID.
There might be other cases to fix...
2008-07-02 16:40:24 -06:00
Brian Paul
a405d69063
mesa: regenerated
2008-07-02 16:39:48 -06:00
Brian Paul
a2cddf58d2
mesa: added some missing equal() notEqual() intrinsics
2008-07-02 16:39:26 -06:00
Timo Aaltonen
9d72de1fb2
Run autoreconf before building the various flavours.
2008-07-03 00:20:58 +03:00
Eric Anholt
def6e4f420
intel: span rendering requires just a flush before starting, not finish.
...
The dri_bo_map()s that follow will take care of idling the hardware as needed.
2008-07-02 11:49:10 -07:00
Brian Paul
918f3b17e5
mesa: regenerated files
2008-07-02 12:38:48 -06:00
Brian Paul
18adc71822
mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors
2008-07-02 12:38:48 -06:00
Roland Scheidegger
5ef4e4ffb8
mesa: fix issues around multisample enable
...
multisample enable is enabled by default, however gl mandates multisample
rendering rules only apply if there's also a multisampled buffer.
2008-07-02 20:21:06 +02:00
Eric Anholt
a995bdced2
intel-gem: Emit an MI_FLUSH at glFlush() so frontbuffer rendering is flushed.
...
We have something similar in the X Server that covers X Server rendering, this
is the equivalent here for rendering to the front buffer. If we cared about
avoiding this at glFlush time, we could only do this when some actual
frontbuffer rendering had occurred.
Bug #16392 .
2008-07-02 11:16:30 -07:00
Eric Anholt
4b3ed4d2d1
intel-gem: Fix y-tile swizzling for our G965 with swizzle_mode=1.
...
Apparently in Y mode we get bit 6 ^ bit 9. The reflect demo in 'd' mode now
displays correctly.
2008-07-02 10:21:44 -07:00
Eric Anholt
19f585a3cf
intel-gem: Fix Y-tiling span setup.
...
The boolean that the server gives us for whether the region is tiled was
getting used as the enum for what tiling mode. Instead, guess the correct
tiling in screen setup.
Also, fix the Y-tiling pitch setup. The pitch to the next tile in Y is
32 scanlines, not 8.
2008-07-02 09:10:21 -07:00
Brian Paul
6befdca6a3
generate a link error if the vertex shader references too many textures
2008-07-02 09:16:10 -06:00
Brian Paul
43346fb1fb
set ctx->Const.MaxVertexTextureImageUnits = 0
...
This disallows vertex shader texture sampling. See bugs 16157, 13838.
2008-07-02 09:14:53 -06:00
Timo Aaltonen
053bf7f5db
rules: Replace the old build system with the new autotools-based system.
2008-07-02 17:56:51 +03:00
Ian Romanick
ea190fe050
VBO: Regenerate files based on recent changes to gl_API.xml
...
Since GL_ARB_vertex_buffer_object protocol isn't supported yet, these
changes are innocuous.
2008-07-02 06:26:11 -07:00
Paulo Cesar Pereira de Andrade
abd71144f0
Bring over commit 8d4d0b47a07a298a20ffae9fefe96c8c7ca9dccc from xserver tree
2008-07-02 06:22:47 -07:00
Timo Aaltonen
e6a5e6512f
Add gl.pc to libgl1-mesa-dev
2008-07-02 14:07:23 +03:00
Ian Romanick
21e0d47514
VBO: Add missing functions related to VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB
2008-07-01 19:30:32 -07:00
Ian Romanick
c52d6ad465
VBO: add GLX related annotations
2008-07-01 18:20:21 -07:00
Brian Paul
028739faed
mesa: fix a GLSL vector subscript/writemask bug
...
This fixes a failure for cases like:
vec4 v;
v[1] *= 2.0;
The v[1] actually acts like a writemask, equivalent to v.y
The fix is a bit convoluted, but will do for now.
2008-07-01 17:59:07 -06:00
Brian Paul
e19af171cf
mesa: move some functions
2008-07-01 17:52:31 -06:00
Brian Paul
9ae4d778d8
mesa: make _slang_swizzle_swizzle() non-private
2008-07-01 17:50:14 -06:00
Eric Anholt
e74f54793e
intel-gem: Move bit 6 x tiling swizzle to a driconf option, and add new mode.
...
It turns out that it's not just deviceID dependent, and there's some additional
undefined factor that determines the bit 6 swizzling. It's now controllable
with swizzle_mode=[012] until we get a response on how to automatically detect.
2008-07-01 16:14:08 -07:00
Brian Paul
32a5c40336
mesa: better function inlining in the presence of 'return' statements
...
Before, the presence of a 'return' statement always prevented inlining
a function. This was because we didn't want to accidentally return from
the _calling_ function. We still need the semantic of 'return' when inlining
but we can't always use unconditional branches/jumps (GPUs don't always
support arbitrary branching).
Now, we allow inlining functions w/ return if the return is the last
statement in the function. This fixes the common case of a function
that returns a value, such as:
vec4 square(const in vec4 x)
{
return x * x;
}
which effectively compiles into:
vec4 square(const in vec4 x)
{
__retVal = x * x;
return;
}
The 'return' can be no-op'd now and we can inline the function.
2008-07-01 11:41:21 -06:00
Brian Paul
b2247c7d29
mesa: add/fix some IrInfo entries for debugging purposes
2008-07-01 11:41:02 -06:00
Timo Aaltonen
bc32cd7fc8
Add dri_interface.h to mesa-common-dev.
2008-07-01 18:58:17 +03:00
Timo Aaltonen
24fde3cf34
Drop mesa-swx11-source.
2008-07-01 18:56:38 +03:00
Timo Aaltonen
7ceaa0916a
Re-add linux-osmesa-static and linux-osmesa32-static
...
they were dropped by mistake during the merge.
2008-07-01 18:51:01 +03:00
Brian Paul
011b0e51e4
link to DRM 2.3.1
2008-07-01 09:02:10 -06:00
Brian Paul
2ce4b985a5
press 'm' to toggle multisample enable/disable
2008-07-01 08:49:12 -06:00
Brian Paul
634d2af2b0
init machine->Samplers (fixes vertex program texture fetches)
2008-07-01 08:49:12 -06:00
Timo Aaltonen
4c958fbfb4
Build-depend on x11proto-dri2-dev.
2008-07-01 16:24:46 +03:00
Timo Aaltonen
9795ef4348
Refresh patches, and drop obsolete 00_create-libdir.patch and 01_fix-makefile.patch
2008-07-01 16:07:17 +03:00
Julien Cristau
768d8e0563
update changelog and require libdrm 2.3.1
2008-07-01 13:46:54 +02:00
Julien Cristau
374be37dd9
Merge branch 'master' of git.freedesktop.org:/git/mesa/mesa into debian-experimental
...
Conflicts:
.gitignore
Makefile
bin/mklib
configs/.gitignore
configs/default
configs/freebsd
configs/freebsd-dri
configs/linux-osmesa
configs/linux-osmesa16
configs/linux-osmesa16-static
configs/linux-osmesa32
docs/download.html
docs/install.html
docs/news.html
docs/relnotes.html
doxygen/Makefile
doxygen/doxy.bat
doxygen/header.html
doxygen/header_subset.html
include/GL/internal/dri_interface.h
progs/demos/.gitignore
progs/directfb/Makefile
progs/egl/Makefile
progs/fbdev/Makefile
progs/fbdev/glfbdevtest.c
progs/fp/Makefile
progs/glsl/.gitignore
progs/glsl/Makefile
progs/glsl/bump.c
progs/glsl/mandelbrot.c
progs/glsl/noise.c
progs/glsl/toyball.c
progs/miniglx/Makefile
progs/samples/.gitignore
progs/slang/Makefile
progs/tests/.gitignore
progs/tests/Makefile
progs/tests/arbnpot.c
progs/tests/cva.c
progs/tests/dinoshade.c
progs/tests/drawbuffers.c
progs/tests/fbotest2.c
progs/tests/fbotexture.c
progs/tests/getprocaddress.c
progs/tests/mipmap_limits.c
progs/tests/multipal.c
progs/tests/texline.c
progs/tools/trace/Makefile
progs/trivial/Makefile
progs/trivial/dlist-edgeflag-dangling.c
progs/trivial/dlist-edgeflag.c
progs/trivial/point-param.c
progs/trivial/quad-clip-nearplane.c
progs/trivial/tri.c
progs/vp/Makefile
progs/xdemos/.gitignore
progs/xdemos/Makefile
progs/xdemos/glthreads.c
src/egl/Makefile
src/egl/drivers/demo/Makefile
src/egl/drivers/dri/Makefile
src/egl/main/Makefile
src/glu/mesa/Makefile
src/glu/mesa/Makefile.m32
src/glu/mesa/project.c
src/glu/mini/project.c
src/glut/directfb/Makefile
src/glut/directfb/callback.c
src/glut/directfb/events.c
src/glut/directfb/internal.h
src/glut/directfb/window.c
src/glut/os2/Makefile
src/glut/os2/WarpWin.cpp
src/glut/os2/glutOverlay.cpp
src/glut/os2/glut_8x13.cpp
src/glut/os2/glut_9x15.cpp
src/glut/os2/glut_bitmap.cpp
src/glut/os2/glut_cindex.cpp
src/glut/os2/glut_cmap.cpp
src/glut/os2/glut_cursor.cpp
src/glut/os2/glut_event.cpp
src/glut/os2/glut_ext.cpp
src/glut/os2/glut_fullscrn.cpp
src/glut/os2/glut_gamemode.cpp
src/glut/os2/glut_get.cpp
src/glut/os2/glut_hel10.cpp
src/glut/os2/glut_hel12.cpp
src/glut/os2/glut_hel18.cpp
src/glut/os2/glut_init.cpp
src/glut/os2/glut_input.cpp
src/glut/os2/glut_key.cpp
src/glut/os2/glut_keyctrl.cpp
src/glut/os2/glut_keyup.cpp
src/glut/os2/glut_mesa.cpp
src/glut/os2/glut_modifier.cpp
src/glut/os2/glut_roman.cpp
src/glut/os2/glut_shapes.cpp
src/glut/os2/glut_stroke.cpp
src/glut/os2/glut_swap.cpp
src/glut/os2/glut_teapot.cpp
src/glut/os2/glut_tr24.cpp
src/glut/os2/glut_util.cpp
src/glut/os2/glut_vidresize.cpp
src/glut/os2/glut_warp.cpp
src/glut/os2/glut_win.cpp
src/glut/os2/glut_winmisc.cpp
src/glut/os2/glutbitmap.h
src/glut/os2/glutstroke.h
src/glut/os2/layerutil.h
src/glut/os2/libGlut.DEF
src/glut/os2/os2_glx.cpp
src/glut/os2/os2_menu.cpp
src/glut/os2/os2_winproc.cpp
src/glw/Makefile
src/glx/mini/Makefile
src/glx/mini/miniglx.c
src/glx/x11/glxext.c
src/mesa/Makefile
src/mesa/drivers/allegro/amesa.c
src/mesa/drivers/allegro/direct.h
src/mesa/drivers/allegro/generic.h
src/mesa/drivers/d3d/D3DCAPS.CPP
src/mesa/drivers/d3d/D3DHAL.H
src/mesa/drivers/d3d/D3DInit.cpp
src/mesa/drivers/d3d/D3DMESA.H
src/mesa/drivers/d3d/D3DRaster.cpp
src/mesa/drivers/d3d/D3DTEXT.CPP
src/mesa/drivers/d3d/D3DTextureMgr.cpp
src/mesa/drivers/d3d/D3DTextureMgr.h
src/mesa/drivers/d3d/D3DUTILS.CPP
src/mesa/drivers/d3d/DDrawPROCS.c
src/mesa/drivers/d3d/DEBUG.C
src/mesa/drivers/d3d/DEBUG.H
src/mesa/drivers/d3d/DbgEnv.bat
src/mesa/drivers/d3d/MAKEFILE
src/mesa/drivers/d3d/OPENGL32.DEF
src/mesa/drivers/d3d/WGL.C
src/mesa/drivers/dri/Makefile.template
src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/common/dri_drmpool.c
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/dri_util.h
src/mesa/drivers/dri/common/xmlconfig.c
src/mesa/drivers/dri/glcore/Makefile
src/mesa/drivers/dri/i915/i915_fragprog.c
src/mesa/drivers/dri/i915/i915_program.h
src/mesa/drivers/dri/i915/i915_texprog.c
src/mesa/drivers/dri/i915/i915_texstate.c
src/mesa/drivers/dri/i915/i915_vtbl.c
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/i915/intel_context.h
src/mesa/drivers/dri/i915/intel_pixel.c
src/mesa/drivers/dri/i915/intel_render.c
src/mesa/drivers/dri/i915/intel_screen.c
src/mesa/drivers/dri/i915/intel_state.c
src/mesa/drivers/dri/i915/intel_tex.c
src/mesa/drivers/dri/i915/intel_tris.c
src/mesa/drivers/dri/i915tex/i830_reg.h
src/mesa/drivers/dri/i915tex/i830_texstate.c
src/mesa/drivers/dri/i915tex/i830_vtbl.c
src/mesa/drivers/dri/i915tex/i915_fragprog.c
src/mesa/drivers/dri/i915tex/i915_metaops.c
src/mesa/drivers/dri/i915tex/i915_tex_layout.c
src/mesa/drivers/dri/i915tex/i915_texstate.c
src/mesa/drivers/dri/i915tex/i915_vtbl.c
src/mesa/drivers/dri/i915tex/intel_render.c
src/mesa/drivers/dri/i915tex/intel_screen.c
src/mesa/drivers/dri/i915tex/intel_tris.c
src/mesa/drivers/dri/i965/brw_aub.c
src/mesa/drivers/dri/i965/brw_aub_playback.c
src/mesa/drivers/dri/i965/brw_cc.c
src/mesa/drivers/dri/i965/brw_clip.c
src/mesa/drivers/dri/i965/brw_clip_state.c
src/mesa/drivers/dri/i965/brw_clip_util.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_curbe.c
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_gs_state.c
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_sf_emit.c
src/mesa/drivers/dri/i965/brw_sf_state.c
src/mesa/drivers/dri/i965/brw_state_cache.c
src/mesa/drivers/dri/i965/brw_state_pool.c
src/mesa/drivers/dri/i965/brw_tex.c
src/mesa/drivers/dri/i965/brw_tex_layout.c
src/mesa/drivers/dri/i965/brw_vs_state.c
src/mesa/drivers/dri/i965/brw_vs_tnl.c
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_glsl.c
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/bufmgr_fake.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c
src/mesa/drivers/dri/i965/intel_batchbuffer.h
src/mesa/drivers/dri/i965/intel_blit.c
src/mesa/drivers/dri/i965/intel_blit.h
src/mesa/drivers/dri/i965/intel_buffers.c
src/mesa/drivers/dri/i965/intel_context.c
src/mesa/drivers/dri/i965/intel_context.h
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h
src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
src/mesa/drivers/dri/i965/intel_pixel_copy.c
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/intel_tex_validate.c
src/mesa/drivers/dri/i965/server/i830_common.h
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_batchbuffer.h
src/mesa/drivers/dri/intel/intel_blit.c
src/mesa/drivers/dri/intel/intel_buffers.c
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_screen.h
src/mesa/drivers/dri/r200/r200_texstate.c
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_reg.h
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_tex.h
src/mesa/drivers/dri/r300/r300_texstate.c
src/mesa/drivers/dri/radeon/radeon_screen.c
src/mesa/drivers/windows/gdi/wmesa.c
src/mesa/drivers/x11/fakeglx.c
src/mesa/drivers/x11/xm_dd.c
src/mesa/glapi/Makefile
src/mesa/glapi/dispatch.h
src/mesa/glapi/glapioffsets.h
src/mesa/glapi/glapitable.h
src/mesa/glapi/glapitemp.h
src/mesa/glapi/glprocs.h
src/mesa/main/api_validate.c
src/mesa/main/attrib.c
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/context.h
src/mesa/main/dlist.c
src/mesa/main/drawpix.c
src/mesa/main/enums.c
src/mesa/main/fbobject.c
src/mesa/main/image.c
src/mesa/main/imports.h
src/mesa/main/mtypes.h
src/mesa/main/points.c
src/mesa/main/state.c
src/mesa/main/texcompress_fxt1.c
src/mesa/main/texenvprogram.c
src/mesa/main/teximage.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/version.h
src/mesa/shader/prog_execute.c
src/mesa/shader/program.c
src/mesa/shader/shader_api.c
src/mesa/shader/slang/library/slang_core.gc
src/mesa/shader/slang/library/slang_core_gc.h
src/mesa/shader/slang/slang_codegen.c
src/mesa/sources
src/mesa/sparc/glapi_sparc.S
src/mesa/swrast/s_aalinetemp.h
src/mesa/swrast/s_aatriangle.c
src/mesa/swrast/s_aatritemp.h
src/mesa/swrast/s_context.c
src/mesa/swrast/s_copypix.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_fragprog.c
src/mesa/swrast/s_pointtemp.h
src/mesa/swrast/s_readpix.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_texfilter.c
src/mesa/swrast/s_tritemp.h
src/mesa/swrast/s_zoom.c
src/mesa/tnl/t_draw.c
src/mesa/tnl/t_vb_fog.c
src/mesa/tnl/t_vb_program.c
src/mesa/tnl/t_vp_build.c
src/mesa/vbo/vbo_split_copy.c
src/mesa/x86-64/xform4.S
src/mesa/x86/common_x86.c
src/mesa/x86/glapi_x86.S
windows/VC6/mesa/mesa/mesa.dsp
2008-07-01 13:18:27 +02:00
Dave Airlie
d3f7b463c3
dri: drop asserts to make build against stable libdrm
...
These asserts are of questionable use at the moment with things in flux.
2008-07-01 18:22:12 +10:00
Xiang, Haihao
bcc2a3d7e3
dri: Take the base image size into account when computing
...
first level of the mipmap. fix #16210
2008-07-01 11:50:50 +08:00
Dan Nicholson
5cae1b747b
autoconf: Improve the visibility of the swrast DRI driver
...
Improve the --with-dri-drivers help text so that users are aware that
they should install the swrast DRI driver.
2008-06-30 11:16:09 -07:00
Corbin Simpson
bb1744970d
r3xx/r5xx: Enable ARB_point_parameters.
...
This isn't complete yet. It does cover the two most common usage cases,
though, and at least the third one (POINT_DISTANCE_ATTENUATION) is possible,
so I'll do that later.
2008-06-30 11:12:51 -07:00
Nicolai Haehnle
23e9b43ce4
r300: Fix dumb mistake in LOD bias translation
2008-06-30 08:37:37 +02:00
Nicolai Haehnle
4002b75e62
r300: Cleanup LodBias support
...
. There is both a per-texture unit and a per-texture object (at least for
OpenGL 1.4); this should now be supported properly.
. The LOD bias calculation in r300_state has been simplified and corrected
(need to multiply by 32 instead of 31, and ensure clamping)
. do not clamp LOD bias in TexEnv, as that behaviour conflicts with what
the spec says
. set Const.MaxTextureLodBias properly
. remove the no_neg_lod_bias property; if somebody can explain what
it's good for, we can add it back in, but according to Google, nobody
seems to use it
. removed some dead code and unused variables
2008-06-30 00:49:00 +02:00
Corbin Simpson
a74d22ba71
r300: Change LOD bias emission to more closely follow per-tex rules.
...
Okay, this time it's for real, and for good. This should be a perma-fix.
2008-06-29 10:32:19 -07:00
Corbin Simpson
543893eefd
Revert accidental edit to progs/demos/lodbias.
...
*puts yet another paper bag over head*
2008-06-29 10:32:19 -07:00
Nicolai Haehnle
0918023c28
demos/shadowtex: Don't set TEXTURE_WRAP_T for 1D texture
...
The operation doesn't really make sense. It triggered a bug in the r300 DRI
driver (and possibly other drivers that simulate 1D textures via 2D textures).
I've added an isolated test case for this bug to Piglit, so everybody wins.
2008-06-29 17:34:14 +02:00
Nicolai Haehnle
bc775066aa
r300: Fix wrap mode for 1D textures
2008-06-29 17:28:13 +02:00
Brian Paul
6cb1270491
s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()
2008-06-28 16:48:58 -06:00
Brian Paul
b429e9b2d7
mesa: added null ptr checks
2008-06-28 16:48:58 -06:00
Dan Nicholson
f6da1453c5
DRI-specific pkg-config file
...
Since the gl pkg-config file doesn't convey any specifics about the
backend in use, this adds a new pkg-config file for when DRI is in use.
This can be used by the xserver build to determine if the DRI and/or
GLX extensions are appropriate.
2008-06-27 16:25:28 -07:00
Dan Nicholson
985e1cdfe8
autoconf: Check for posix_memalign
...
Rather than just defining HAVE_POSIX_MEMALIGN on Linux, check whether
the function exists on all platforms and define the macro if it is.
2008-06-27 16:24:42 -07:00
Eric Anholt
f059a33022
intel: Fix locking when doing intel_region_cow().
...
This was broken in the merge of 965 blit support. It tried to lock only
when things were already locked.
2008-06-26 15:34:27 -07:00
Eric Anholt
93f701bc36
intel: Replace sprinkled intel_batchbuffer_flush with MI_FLUSH or nothing.
...
Most of these were to ensure that caches got synchronized between 2d (or meta)
rendering and later use of the target as a source, such as for texture
miptree setup. Those are replaced with intel_batchbuffer_emit_mi_flush(),
which just drops an MI_FLUSH. Most of the remainder were to ensure that
REFERENCES_CLIPRECTS batchbuffers got flushed before the lock was dropped.
Those are now replaced by automatically flushing those when dropping the lock.
2008-06-26 15:29:28 -07:00
Alan Hourihane
3b132b297f
Check in SwapBuffers for any new pending dri2 events
2008-06-26 22:53:29 +01:00
Eric Anholt
f6abe8f0f2
Merge commit 'origin/master' into drm-gem
2008-06-24 14:08:08 -07:00
Eric Anholt
5174b85a0c
intel: Fix glCopyPixels when x or y are < 0 in hw coordinates.
...
Nothing would get drawn as the negative coordinates broke the rectangle
intersection code that used unsigned ints. Tested with copypix demo and
sliding the copy to the upper left.
2008-06-24 14:04:11 -07:00
Eric Anholt
9a0d773116
i965: Use the shared intel_pixel_copy.c.
...
This disables the textured copy implementation on 965, which didn't appear
to work (mesa copypix demo, disable the blit path, move so that regions don't
overlap and textured is used, and you get garbage). If we resurrect this for
i965, I'd rather it used the 915-style metaops instead. Current metaops code
left in place so that whoever picks it up has a reference.
2008-06-24 13:18:40 -07:00
Eric Anholt
744357e29c
intel: Same pixel function init for everyone now.
2008-06-24 11:49:21 -07:00
Eric Anholt
f5eb62a116
intel: Avoid glBitmap software fallback for blending when no blending occurs.
...
Mesa demos tend to leave blending on but in GL_ONE/GL_ZERO, or
GL_SRC_ALPHA/GL_ONE_MINUS_SRC_ALPHA with a source alpha of 1.0.
2008-06-24 11:44:42 -07:00
Eric Anholt
f23adc504d
intel: Merge check_blit_fragment_ops between i915/i965.
...
Both had some useful bits for the other.
2008-06-24 11:34:42 -07:00
Eric Anholt
90d33edf37
intel: Note reasons for blit pixel op fallbacks under INTEL_DEBUG=pix.
2008-06-24 10:50:10 -07:00
Eric Anholt
eda68cccc0
i915: Add support for accelerated glBitmap, shared from 965.
2008-06-24 10:26:57 -07:00
Eric Anholt
5989098779
i915: Fix read != draw drawable for glCopyPixels.
...
Taken from commit bad6e175cf
.
2008-06-24 10:25:19 -07:00
Eric Anholt
98fa0aec36
i915: Allow accelerated pixel ops to be disabled with INTEL_NO_BLIT.
...
This matches 965.
2008-06-24 10:24:32 -07:00
Eric Anholt
a42dac1879
i915: Accumulate the VB into a local buffer and subdata it in.
...
This lets GEM use pwrite, for an additional 4% or so speedup.
2008-06-23 15:44:10 -07:00
Eric Anholt
62d66caeba
i915: Convert to using VBs instead of inline prims.
2008-06-23 14:45:13 -07:00
Dan Nicholson
fe3b62b5b1
Ensure all objects are built when installing DRI
2008-06-22 20:29:45 -07:00
Dan Nicholson
5aa4d5a87d
Don't make libmesa.a or libglapi.a depend on asm_subdirs
...
Since the asm_subdirs target does not actually create a file, make will
always consider that it needs to be rebuilt. If libmesa.a and libglapi.a
have asm_subdirs as a prerequisite, then they will always need to be
rebuilt, too. The correct order will be preserved by the default target,
though.
This should fix #16358 .
2008-06-22 20:27:00 -07:00
Dan Nicholson
7ec5e6a032
Create $(TOP)/$(LIB_DIR) for install, too
...
If `make install' is run without running `make' first, the $(LIB_DIR)
will not be created. This also changes the mkdir a little bit so that it
isn't run if necessary and added `-p' so that it is immune to races.
2008-06-22 20:19:35 -07:00
Brian Paul
71d2578ac5
replace __inline and __inline__ with INLINE macro
2008-06-21 10:55:24 -06:00
Brian Paul
ba97ed2b74
replace __inline and __inline__ with INLINE macro
2008-06-21 10:52:40 -06:00
Brian Paul
cc96d54920
replace __inline and __inline__ with INLINE macro
2008-06-21 10:52:32 -06:00
Brian Paul
37f19b94ac
replace __inline and __inline__ with INLINE macro
2008-06-21 10:49:45 -06:00
Brian Paul
402e7f76b1
#undef DEBUG to silence warnings
2008-06-21 10:49:40 -06:00
Brian Paul
5ee7b7912c
replace __inline and __inline__ with INLINE macro
2008-06-21 10:34:38 -06:00
Brian Paul
055ab81920
replace __inline and __inline__ with INLINE macro
2008-06-21 10:34:00 -06:00
Brian Paul
24197b4901
replace __inline and __inline__ with INLINE macro
2008-06-21 10:30:01 -06:00
Brian Paul
7899270b9f
replace __inline and __inline__ with INLINE macro
2008-06-21 10:27:36 -06:00
Brian Paul
2e922b0e35
replace __inline and __inline__ with INLINE macro
2008-06-21 10:24:43 -06:00
Brian Paul
2c1bead069
s/inline/INLINE
2008-06-21 10:20:54 -06:00
Brian Paul
77d917a74a
remove old comments
2008-06-21 10:20:31 -06:00
Alan Coopersmith
e1f9adc274
Solaris port of Mesa 7.1 with autoconf support
...
Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com >
2008-06-21 10:19:45 -06:00
Daniel Zhu
f30e4af734
Rename quad function to quadr to avoid clash with Solaris quad typedef
...
Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com >
2008-06-21 10:19:45 -06:00
Alan Coopersmith
1043a7c71a
Make minstall work with Solaris /bin/sh
...
Solaris /bin/sh doesn't set $PWD for you
Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com >
2008-06-21 10:19:45 -06:00
Alan Coopersmith
4ba39c40ae
Fix builds with compilers other than gcc 3.0 & newer
...
Add #include "glheader.h" for definition of __builtin_expect for compilers
that don't support it.
Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com >
2008-06-21 10:19:45 -06:00
Brian Paul
3491cbea88
added pointer to beta/release candidates
2008-06-21 10:19:45 -06:00
Alex Deucher
dc25661099
R300: 1002:5657 is actually RV410
...
See bug 14289
2008-06-21 10:52:49 -04:00
Roland Scheidegger
b3f1aac95e
r200: fix typo in r200TryDrawPixels parameter validation (bug 16406)
2008-06-21 02:54:14 +02:00
Brian Paul
21177c8764
mesa: tweak mipmap level selection for cube maps
...
This is just a hack. After we convert the 3D texcoord into a face plus 2D
texcoord we need to recompute the partial derivatives and mipmap LOD.
But we don't have the info to do that. Adjusting the original mipmap
level by -1 seems to give somewhat better results than before though.
2008-06-19 14:37:50 -06:00
Eric Anholt
0da9bc6a69
i915: Note the non-PBO fallback for textured drawpixels under DEBUG_PIXEL.
2008-06-18 14:35:59 -07:00
Eric Anholt
bbe80af457
i915: Restore the accelerated PBO pixel path functions after GEM changes.
...
The fencing code is not required, and waiting on the fences defeated one of
the purposes of the extension, which is to allow asynchronous readpixels.
2008-06-18 14:19:18 -07:00
Eric Anholt
654258a4fe
Merge commit 'origin/master' into drm-gem
2008-06-18 14:07:38 -07:00
Eric Anholt
cf29ab3ba0
i915: Bug #14313 : Fix accelerated (PBO) ReadPixels.
...
Refactoring of mine in 02d5ba8491
broke it
by failing to understand that the masking was about sign extension.
2008-06-18 13:50:49 -07:00
Brice Goglin
2b831e73f5
Prepare changelog for upload
2008-06-18 20:59:24 +02:00
Brice Goglin
6ec170290c
Put all configs/ changes into the .diff.gz
...
Put back our configs/ changes into the .diff.gz since choose-configs
needs them before quilt is invoked. Put 04_cleanup-osmesa-configs.patch
there as well for #485161 .
2008-06-18 20:59:09 +02:00
Brice Goglin
7c8ea0899a
Revert "Move our configs/ changes from the .diff.gz into our quilt patches"
...
This reverts commit 03970183fc
.
Conflicts:
debian/changelog
2008-06-18 20:55:42 +02:00
Brice Goglin
f81070dbd5
Pull from mesa_7_0_branch
2008-06-18 20:55:00 +02:00
Brice Goglin
955c2ef48f
Merge branch 'mesa_7_0_branch' of git://git.freedesktop.org/git/mesa/mesa into debian-unstable
2008-06-18 20:52:25 +02:00
Xiang, Haihao
2ac4919d24
i965: add support for Intel 4 series chipsets
2008-06-18 15:48:45 +08:00
Xiang, Haihao
3e8aadee8b
i965: add support for Intel 4 series chipsets
2008-06-18 15:33:33 +08:00
Xiang, Haihao
3ed89025f3
i915: The pitch passed to intelEmitCopyBlitLocked should be in pixels,
...
not in bytes. Reported by Christopher Dissauer.
2008-06-18 13:52:04 +08:00
Xiang, Haihao
5b42bbce70
i915: fix data size in intelTryDrawPixels. Reported by Christopher Dissauer
2008-06-18 13:40:22 +08:00
Brian Paul
3064069540
mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT for Z unpacking
2008-06-17 16:44:04 -06:00
Brian Paul
d2e0a11aab
mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT for Z unpacking
2008-06-17 16:44:00 -06:00
Eric Anholt
64adeb163d
[intel] Fix no_rast option on non-965.
...
The no_rast fallback was getting partially overwritten by later TNL init,
resulting in a segfault when things were in a mixed-up state.
2008-06-17 14:14:02 -07:00
Eric Anholt
e2baf564d1
[intel-gem] Bug #16326 : Fix X tile unswizzling on 965.
...
Apparently a bit gets flipped in the addressing for some rows of each tile.
2008-06-17 11:18:02 -07:00
Brice Goglin
5033e5b36d
Prepare changelog for upload
2008-06-17 20:01:01 +02:00
Brice Goglin
6a6a9c1c5a
Pull from mesa_7_0_branch
2008-06-17 20:00:37 +02:00
Brice Goglin
3d6aa2e06f
Merge branch 'mesa_7_0_branch' of git://git.freedesktop.org/git/mesa/mesa into debian-unstable
2008-06-17 19:54:47 +02:00
Brice Goglin
03970183fc
Move our configs/ changes from the .diff.gz into our quilt patches
...
with 04_cleanup-osmesa-configs.patch renamed into 04_debian-configs.patch
2008-06-17 19:32:21 +02:00
Brian Paul
47d046c93f
mesa: make mm.c use unsigned ints for offsets.
...
If you have a GPU using this code and it has the offsets up in this space,
this fails.
cherry-picked from master
2008-06-17 10:10:53 -06:00
Wilfried Holzke
5b5bf21874
assorted glide driver fixes
2008-06-17 10:08:22 -06:00
Brian Paul
51ad6e3425
glu: silence warnings
2008-06-17 10:08:22 -06:00
Wilfried Holzke
718724deeb
assorted glide driver fixes/updates
2008-06-17 10:03:03 -06:00
Brian Paul
85c325c36c
add hyphen to rm command
2008-06-17 10:02:10 -06:00
Brian Paul
7e6d99f5ec
glu: silence warnings
2008-06-17 09:01:40 -06:00
Dave Airlie
a1523c61ea
mesa: make mm.c use unsigned ints for offsets.
...
If you have a GPU using this code and it has the offsets up in this space,
this fails.
2008-06-17 16:29:45 +10:00
Corbin Simpson
27b7f896d4
r300: Make LOD bias a persistent environment variable.
...
Per airlied's suggestion.
2008-06-16 11:40:34 -07:00
H. Verbeet
e9d1889891
Compute/setup fog coordinates even if vertex program is enabled.
...
Only when fog's enabled, of course.
In the usual case, this is just a pass-through operation.
2008-06-16 10:40:32 -06:00
Brian Paul
6ce6dc961b
bump version to 7.0.4
2008-06-16 10:19:29 -06:00
Brian Paul
186883611e
fix glPixelZoom stack over flow on Windows
2008-06-16 10:19:28 -06:00
Brian Paul
48b3c59cb9
mesa: allocate pixel zoom arrays on heap, not stack
...
Fixes stack overflow on Windows.
cherry-picked from master
2008-06-16 10:19:28 -06:00
Brian Paul
04b9d5bc23
Fix _mesa_new_program() recursive call regression
...
This was introduced by the "i965 GLSL merge" from master (ce7a9efb09
)
2008-06-16 10:19:28 -06:00
Brian Paul
91707e9020
fix GLSL generic vertex attrib linking bug
2008-06-16 10:19:28 -06:00
Brian Paul
ec2d0decbd
mesa: allocate pixel zoom arrays on heap, not stack
...
Fixes stack overflow on Windows.
2008-06-16 10:03:05 -06:00
H. Verbeet
bbce58802d
Don't compute vertex fog when fragment program is active.
2008-06-16 09:41:08 -06:00
Corbin Simpson
588abd6696
r300: Fix new incarnation of bug 3195.
...
tests/bug_3195 doesn't render right, but at least it doesn't segfault this way.
2008-06-16 01:21:42 -07:00
Corbin Simpson
1738a9a535
r300: Forgot to clear old state before writing new state.
...
Oooops. Hehe.
2008-06-16 01:02:16 -07:00
Corbin Simpson
776580a6af
r300: Enable LOD bias state emission.
...
Properly set t->filter_1 for r300_state to emit.
Expect buggies as people see LOD bias enabled for the first time...
2008-06-15 23:54:32 -07:00
Corbin Simpson
f7b8a13d65
Oops, misordered a few instructions.
...
Not like it matters, though, since it's not taking effect yet.
2008-06-15 17:30:07 -07:00
Corbin Simpson
6e6ca40f29
r300: Unbreak LOD biasing, a bit.
...
Needs a bit more work on submission.
2008-06-15 17:14:07 -07:00
Dan Nicholson
4fc66be296
No more drivers/xorg
...
Don't try to clean in xorg since GLcore is gone.
2008-06-15 09:06:27 -07:00
Corbin Simpson
f1ae5d4b44
r5xx: Enable fragment.position, partial ARB_shadow.
...
I don't like PROGRAM_BUILTIN; could we either patch Mesa or just use a different constant?
2008-06-14 19:32:33 -07:00
Corbin Simpson
7413c55d93
r5xx: Detangle FP fallback and translation switches.
...
r5xx should fallback if it encounters a bad FP.
TODO: Re-enable the dumb shader so we don't have to completely fallback.
2008-06-14 17:59:10 -07:00
Nicolai Haehnle
43da118961
r300: Add radeonTransformALU and fix a bug in r300_fragprog DPH
...
This new generic transform replaces "special" instructions by more generic
variants. Hopefully, we will be able to share this code between r300 and r500.
2008-06-14 23:09:15 +02:00
Nicolai Haehnle
825fdfd0c1
r300_fragprog: Use less complex instructions
...
MOV, ADD and MUL do not fit the hardware as well as MAD, but they are less
complex and thus leave more room for future optimizations.
2008-06-14 20:26:10 +02:00
Corbin Simpson
b97e48ffe3
r5xx: More FP rewriting; fix texrect FP insts.
2008-06-14 08:56:03 -07:00
Corbin Simpson
69004fb758
r5xx: New FP code, take two.
...
Add the code emission source file, and comment out unneeded tex de-swizzling.
2008-06-14 07:21:40 -07:00
Corbin Simpson
0a341ef296
r5xx: FP refactor, take one.
...
Yes, I know it's massive. Imagine how I felt, auditing 3000 lines of code.
2008-06-14 07:03:08 -07:00
Corbin Simpson
9704414d13
r3xx/r5xx: Don't force aniso.
...
*Pulls paper bag down over head*
2008-06-14 04:37:09 -07:00
Nicolai Haehnle
a1c0c56d70
r300: Implement GL_ARB_shadow and GL_EXT_shadow_funcs
2008-06-14 04:15:42 +02:00
Nicolai Haehnle
83ad2a756e
texenvprogram: Mark textures using ARB_shadow as ShadowSamplers
...
Since ARB_fragment_program and friends are defined to ignore the setting of
the GL_TEXTURE_COMPARE_FUNC parameter, we have to explicitly enable the
shadow comparison by marking the texture unit in ShadowSamplers when
appropriate.
2008-06-14 04:15:31 +02:00
Nicolai Haehnle
2882e51625
r300: Add radeonCompilerDump for debugging
2008-06-14 04:15:20 +02:00
Nicolai Haehnle
e34dc8227c
r300_fragprog: Refactor TEX transformation
...
Streamlining source and destination registers, as well as texcoord scaling for
RECT textures is now done in a radeon_program based transformation.
The idea is that this will allow us to optimize away unnecessary indirections
more easily.
2008-06-14 04:14:56 +02:00
Nicolai Haehnle
b5170bc9d3
r300: Add radeon_program and trivial refactoring of r300_fragprog to use it
...
The idea/hope is that radeon_program will serve as an intermediate
representation for r3xx up to r6xx fragment and vertex programs.
Right now, it is nothing more than a simplistic wrapper around Mesa's
prog_instruction, together with the notion of clauses, taken from r6xx docs.
The clauses will eventually be used to represent the nodes that are used in
r300 family fragment programs.
2008-06-14 04:14:05 +02:00
Nicolai Haehnle
e2aa45c2f9
r300: Do not include r300_fragprog.h from r300_context.h and other cleanups
2008-06-14 04:11:21 +02:00
Nicolai Haehnle
caeabb1ebe
r300_fragprog: Remove dead declarations, move NOP declarations into source
2008-06-14 04:11:13 +02:00
Nicolai Haehnle
4ba1c7d848
r300_fragprog: Refactoring and cleanup
...
Refactor so that r300_pfs_compile_state "owns"/holds a pointer to
r300_fragment_program instead of the other way round. This is more natural from
an object orientation point of view.
Move the compiled hardware state into r300_fragment_program_code, in
anticipation of on-the-fly program recompilation based on external OpenGL
state.
2008-06-14 04:11:05 +02:00
Nicolai Haehnle
defadd9c03
r300_fragprog: Remove dead code
2008-06-14 04:10:52 +02:00
Nicolai Haehnle
b7669e4a86
r300/r500: Separate fragprog compiler structures
...
r500 code still used r300_pfs_compile_state, which contains some fields that
really only make sense on r3xx type hardware. In order to allow both fragprog
implementations to go forward without disturbing each other, I've pushed this
structure down into the respective r[3|5]00_fragprog.c
2008-06-13 20:51:20 +02:00
Nicolai Haehnle
4919cc3a2c
r300: Fix depth texture GL_LUMINANCE vs. GL_INTENSITY mixup
2008-06-13 19:36:03 +02:00
Nicolai Haehnle
b1056b6127
r300: Reenable t->filter_1 (though currently not used)
2008-06-13 19:36:02 +02:00
George Sapountzis
1087cc61b3
glx: load swrast_dri.so
...
caveats:
- does not work with old (i.e. libGLcore) xserver:
- made unbindContext a noop
- extensions:
GLX_SGI_make_current_read
GLX_EXT_texture_from_pixmap
GLX_MESA_copy_sub_buffer
2008-06-13 15:54:08 +03:00
George Sapountzis
7ffb1230b3
dri/swrast: make unbind a noop
...
This is for loading swrast_dri.so from libGL.
MakeContextCurrent() seems to unbind the context right after binding it and
DRI drivers also have a noop DriverAPI.UnbindContext ...
2008-06-13 15:52:32 +03:00
George Sapountzis
341987f688
dri/swrast: add OpenGL 2.1 functions
2008-06-13 15:48:34 +03:00
George Sapountzis
4297413656
glx: use ErrorMessageF
2008-06-13 15:48:06 +03:00
Xiang, Haihao
82a0e82232
i965: fix intel_batchbuffer_space. (bug#14709)
2008-06-13 13:53:46 +08:00
Brice Goglin
fe4264bf45
Prepare changelog for upload
2008-06-13 06:53:55 +02:00
Zack Rusin
95b34baa8f
silly bug: it's PROGRAM_VARYING
2008-06-12 19:43:10 -04:00
Zack Rusin
928ec5cd3b
glsl: make sure we replace all output reads with temporaries
...
test in if.glsl
2008-06-12 19:39:20 -04:00
Zack Rusin
53f5b9741a
glsl: allow uniforms
2008-06-12 19:37:26 -04:00
Zack Rusin
effb73befa
glsl: fix array size initialiazers using const variables
...
e.g.
const int kernelSize = 9;
uniform vec2 kernel[kernelSize];
2008-06-12 15:15:34 -04:00
Zack Rusin
19659a50f9
almost forgot - RelAddr is a boolean so use it here
2008-06-12 15:08:58 -04:00
Zack Rusin
2542c59c55
shaders: fix allocation of arrays of parameters
2008-06-12 15:08:27 -04:00
Zack Rusin
74964ff04d
glsl: implement variable array indexes
2008-06-12 15:08:12 -04:00
Dan Nicholson
0440f5a187
Update .gitignore for progs/glsl
2008-06-12 06:37:45 -07:00
Dave Airlie
41bdb88f27
sparc: add swrast to dri drivers
2008-06-12 16:26:46 +10:00
Dave Airlie
2b0e75ea7a
sparc: add DRI drivers for sparc patch from Fedora
2008-06-12 12:06:50 +10:00
Brian Paul
3f3e4f645d
remove obsoleted doxygen \param comments
...
Someone changed the function parameters but didn't bother to update the
comments.
Also, whitespace changes, clean-ups.
2008-06-11 19:33:30 -06:00
Brian Paul
8d976aedc4
comments
2008-06-11 19:33:14 -06:00
Eric Anholt
407ce3da3c
[intel-gem] Chase domain flag renaming in the DRM.
...
This is an API breakage only.
2008-06-11 14:44:48 -07:00
Eric Anholt
0227d91a9e
[gem] Enable bo_reuse by default.
...
The objects are swappable, so we're less concerned by excessive object
allocation now, and it's about a 20% performance improvement. If we get
concerns about the memory consumption from others, we can look into a
compromise position later.
2008-06-11 11:46:29 -07:00
Brice Goglin
2fa795a213
Pull from mesa_7_0_branch
2008-06-11 18:59:59 +02:00
Brice Goglin
e32aaf5da8
Merge branch 'mesa_7_0_branch' of git://git.freedesktop.org/git/mesa/mesa into debian-unstable
2008-06-11 18:58:59 +02:00
Brian
03447de338
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().
(Cherry picked from commit 40133487db
,
351a83163a
).
2008-06-11 17:03:47 +08:00
Dave Airlie
ee5f4a4caf
r300: disable the lowimpact fallbacks by default.
...
because really we should be able to just fix the driver.
(cherry picked from commit 7013eecf28
)
There are actually even better reasons for this, the bottom line being that
enabling these fallbacks makes a lot of apps unusable mostly for no gain
whatsoever.
2008-06-11 10:42:16 +02:00
Xiang, Haihao
c04f3933ab
i915: fix fd.o #14966
2008-06-11 11:36:01 +08:00
Xiang, Haihao
8f328c45e5
i915: Keith Whitwell's swizzling TEX patch. fix #8283
...
Cherry picked from commit 3369cd9a6f
2008-06-11 11:32:12 +08:00
Brice Goglin
9676f0cffc
Pull from mesa_7_0_branch
2008-06-10 23:18:28 +02:00
Brice Goglin
2d0ca23319
Merge branch 'mesa_7_0_branch' of git://git.freedesktop.org/git/mesa/mesa into debian-unstable
2008-06-10 22:48:43 +02:00
Brian Paul
9563449c14
remove unnecessary swrast, tnl includes
2008-06-10 12:08:30 -06:00
Brian Paul
c233b4245f
add some missing rule dependencies
2008-06-10 10:10:12 -06:00
Roland Scheidegger
17ec0dbd75
copy msaa visuals capability
2008-06-10 15:45:20 +02:00
Dan Nicholson
fbb96a0301
Distribute version.mk in case autoconf needs to be run again
...
Users may need to rebuild the configure script, so we need to distribute
version.mk so autoconf can run successfully.
2008-06-10 06:06:40 -07:00
Xiang, Haihao
6f4c8b5b50
i965: apply commit 6c1a98e97a
to glsl
...
(cherry picked from commit a742bed99a
)
2008-06-10 16:46:02 +08:00
Xiang, Haihao
a742bed99a
i965: apply commit 6c1a98e97a
to glsl
2008-06-10 16:31:36 +08:00
Michal Wajdeczko
f8bd9cc30f
Add support for ATI_separate_stencil in display lists.
...
(cherry picked from commit 7f747204ea
)
2008-06-10 16:28:06 +08:00
Michal Wajdeczko
d9f9b1cd0b
[965] Correctly set read mask for OPCODE_SWZ in pass1.
...
While OPCODE_SWZ has usually been optimized away in pass0, it may still
exist if a SWZ with dst saturate was emitted in pass_fp. Fixes an error
in oglconform fpalu.c.
(cherry picked from commit 13a6f73a64
)
2008-06-10 16:21:31 +08:00
Michal Wajdeczko
eca283976b
[965] Avoid emitting dead code for DPx/math instructions.
...
The pass1 optimization stage clears out writemasks and registers, but the
instructions themselves are still being processed at this stage, and could
have resulted in them still being emitted.
(cherry picked from commit c60b5dfde8
)
2008-06-10 16:18:48 +08:00
Michal Wajdeczko
2176259ca6
[965] Improve pinterp performance by delaying reads of just-written regs.
...
(cherry picked from commit bb419970ef
)
2008-06-10 16:18:09 +08:00
Michal Wajdeczko
8fe6fcb900
[965] Fix negating of unsigned value in emit_wpos_xy.
...
(cherry picked from commit 6c1a98e97a
)
2008-06-10 16:16:52 +08:00
Michal Wajdeczko
76d6edcc38
[965] Add MVP code for position invariant vertex programs.
...
This fixes the arbvptorus demo.
(cherry picked from commit 5f10438f2d
)
2008-06-10 16:13:06 +08:00
Michal Wajdeczko
98d6c671f5
[win32] Use native aligned memory allocation functions.
...
(cherry picked from commit 31fe7cf5e3
)
2008-06-10 16:12:18 +08:00
Andrzej Trznadel
f652811df4
[965] Fix fp temp reg release code to not usually release all temps.
...
Also, use wrapped ffs() instead of native.
(cherry picked from commit 3105bc1d88
)
2008-06-10 15:45:11 +08:00
Andrzej Trznadel
e279f4601d
Fix compat implementation of ffs() to return 1-based bit numbers.
...
(cherry picked from commit e9809a36aa
)
2008-06-10 15:44:53 +08:00
Keith Packard
87a30337a1
[i965] short immediate values must be replicated to both halves of the dword
...
The 32-bit immediate value in the i965 instruction word must contain two
copies of any 16-bit constants. brw_imm_uw and brw_imm_w just needed to
copy the value into both halves of the immediate value instruction field.
(cherry picked from commit ca73488f48
)
2008-06-10 15:37:11 +08:00
Eric Anholt
9c2047b275
[965] Don't let the negate flags of src0 affect 1 constants in precalc_dst/lit
...
This patch is a variant of a submission by Michal Wajdeczko to fix
oglconform fpalu failures.
(cherry picked from commit b4cbf6983e
)
2008-06-10 15:32:53 +08:00
Zou Nan hai
1dcb0433a3
[i915] fix fragment.position
2008-06-10 15:28:07 +08:00
Zou Nan hai
5ff27e02b3
[i965] fix wpos height 1 pixel higher
...
(cherry picked from commit b0f681b458
)
2008-06-10 15:25:20 +08:00
Eric Anholt
4beee58e57
[965] Bug #9151 : make fragment.position return window coords not screen coords.
...
(cherry picked from commit 9c8f27ba13
)
2008-06-10 15:22:08 +08:00
Eric Anholt
1f9de20719
[915] Fix COS function using same plan as SIN.
...
The previous COS function failed badly outside of [-pi/2, pi/2].
2008-06-10 14:55:52 +08:00
Eric Anholt
d05a8d9750
[915] Use a quartic term to improve the accuracy of SIN results.
...
This is described in the link in the comment, and is the same technique that
r300 uses.
2008-06-10 14:46:12 +08:00
Eric Anholt
db5f206c00
[915] Fix fp SIN function, and use a quadratic approximation instead of Taylor.
...
The Taylor series notably fails at producing sin(pi) == 0, which leads to
discontinuity every 2*pi. The quadratic gets us sin(pi) == 0 behavior, at the
expense of going from 2.4% THD with working Taylor series to 3.8% THD (easily
seen on comparative graphs of the two). However, our previous implementation
was producing sin(pi) < -1 and worse, so any reasonable approximation is an
improvement. This also fixes the repeating behavior, where the previous
implementation would repeat sin(x) for x>pi as sin(x % pi) and the opposite
for x < -pi.
2008-06-10 14:22:36 +08:00
Eric Anholt
9dface8347
[965] Fix potential segfaults from bad realloc.
...
C has no order of evaluation restrictions on function arguments, so we
attempted to realloc from new-size to new-size.
(cherry picked from commit e747e9a072
)
2008-06-10 13:54:01 +08:00
Eric Anholt
32f4940883
[965] Fix inversion of SLT/SGE results in vertex programs.
...
The WM code had this right, so copy its behavior. This reverts a flipping
of the arguments to SLT in brw_vs_tnl which came in with the GLSL code that
probably occurred to work around the flipped results, and brings the code back
in line with t_vp_build.c.
(cherry picked from commit 9bae03a583
)
2008-06-10 13:44:54 +08:00
Eric Anholt
a7969a9b93
[965] Fix and enable separate stencil.
...
Note that this does not enable GL_EXT_stencil_two_side, because Mesa's computed
_TestTwoSide ends up respecting only STENCIL_TEST_TWO_SIDE_EXT (defaults to
GL_FALSE), even if the application uses only GL 2.0 / ATI entrypoints.
(cherry picked from commit 9136e1f2c8
)
2008-06-10 13:30:25 +08:00
Eric Anholt
ad88130df5
[965] Replace our own depth constants in intel context with GL context ones.
2008-06-10 13:08:09 +08:00
Eric Anholt
d1e71bc08b
[965] Remove dead code in upload_wm_surfaces.
...
(cherry picked from commit 3ecdae82d7
)
2008-06-10 11:19:53 +08:00
Brian Paul
72f87b6947
fix Xlib libGL.so build problem.
...
Also, build driverfuncs.c into libmesa.a since it's always needed.
2008-06-09 16:06:44 -06:00
Brian Paul
f6246f85d7
s/SOLO/MESA/
2008-06-09 14:09:09 -06:00
Brian Paul
910b3bfaeb
Makefile clean-ups
2008-06-09 13:52:22 -06:00
Brian Paul
a80ccaadc7
more old stuff, rename SOLO->MESA, etc
2008-06-09 13:52:22 -06:00
Brian Paul
08c07b60be
Makefile clean-ups
2008-06-09 13:52:22 -06:00
Brian Paul
376203cff8
document makefile changes
2008-06-09 13:52:22 -06:00
Alan Hourihane
5cf69fe511
Check for NULL pointer
2008-06-09 16:25:01 +01:00
George Sapountzis
906e189bd3
glx: use goto's vs. nested if's ala xserver
...
compile tested only
2008-06-09 17:47:49 +03:00
George Sapountzis
0793457039
glx: add dri_common.c ala xserver
...
also drop driFilterModes which is unused
in preparation of loading swrast_dri.so
2008-06-09 17:47:09 +03:00
George Sapountzis
4c7e02298f
dri/swrast: minor cosmetic
2008-06-09 17:46:39 +03:00
Nicolai Haehnle
0009973119
r300: Workaround hardware readcache problem
...
This workaround is similar to the one found in r200_span.c.
It seems like some part of the read hardware doesn't realize that
VRAM has changed. By reading from an arbitrary position, this is fixed.
The piglit test bugs/r300-readcache is a regression test for this bug.
2008-06-08 22:38:58 +02:00
Brian
f440b0ddd9
remove realglx.[ch] from build
2008-06-08 11:25:30 -06:00
Roland Scheidegger
28c28f72fd
i965: fix OPCODE_TEX when additional ops are needed
2008-06-08 14:05:07 +02:00
Roland Scheidegger
fa58fe247c
i965: fix OPCODE_TEX when additional ops are needed
2008-06-08 14:04:39 +02:00
Corbin Simpson
21f50818b0
r300: Allow driconf to set a default anisotropy.
...
If an app does not use GL_EXT_tex_filter_aniso, this lets driconf set it instead.
2008-06-07 12:37:31 -07:00
Nicolai Haehnle
cb16876608
r300: Some cleanups in depth and stencil state handling
...
This also fixes a bug with Zfunc set to GL_NEVER in glean/paths.
2008-06-07 21:08:43 +02:00
Nicolai Haehnle
7cb63a25de
r300: Apply writemask when clearing stencil buffer
...
This fixes the glean/maskedClear test.
2008-06-07 20:34:06 +02:00
Nicolai Haehnle
731686b713
r300: Fix stencil buffer clear
...
The glean/readPixSanity test passes now.
2008-06-07 20:28:04 +02:00
Nicolai Haehnle
75bfe630ff
r300: Further anisotropic filtering fixes
...
Thanks to Corbin for the initial cut today. Fixed some minor stuff (in
particular, make sure we still use a MIP_LINEAR filtering mode; anisotropy
without MIP_LINEAR filtering is not the truly pleasing anisotropy).
2008-06-07 18:56:55 +02:00
Nicolai Haehnle
bf1a7c884d
r300: Update LOD_BIAS register constants
2008-06-07 18:34:44 +02:00
Corbin Simpson
5e58e5d777
r5xx: Unbreak anisotropic filtering?
...
Not quite finished, maybe? Not sure.
2008-06-07 01:37:35 -07:00
Corbin Simpson
f39780242e
r5xx: Fix speedy LIT once and for all.
...
To do: Add a slightly more accurate LIT. Will do later.
2008-06-06 22:07:18 -07:00
Jose Fonseca
ae18cbcfc5
Fix CRLF line endings.
2008-06-07 12:34:45 +09:00
Jose Fonseca
9286a14fbe
Fix CRLF line endings.
2008-06-07 12:33:47 +09:00
Nicolai Haehnle
fa1bc0d7d6
r300: Improve texture layout calculations
...
The texture layout calculations for mipmapped cubemaps used to be completely
wrong, since the GPU expects images to be grouped by miplevel instead of by
face number.
This has been fixed now, though the memory layout is still slightly incorrect
for the smaller miplevels. Unfortunately, the docs are lacking in that area.
2008-06-06 23:47:46 +02:00
Keith Packard
f5d03af109
[intel-gem] Call the new throttle ioctl from swap buffers
...
Swap buffers is a fairly reasonable time to wait for the hardware for a
while; this keeps us from overrunning the ring.
2008-06-06 13:05:46 -07:00
Nicolai Haehnle
03a1144cd1
r300: Cleanup TX_MIN_FILTER defines
...
This commit should not affect the functionality at all, just cleanup
some of the original texture filter guesswork using information from
the register documentation.
2008-06-06 21:34:34 +02:00
Nicolai Haehnle
665605234d
r300: Remove unused variable r300_tex_obj::dirty_state and related defines
...
This variable was only ever written to, but nobody used its value.
2008-06-06 21:34:34 +02:00
Brian Paul
0b72fada6a
s/subdirs/asm_subdirs/
2008-06-06 12:27:55 -06:00
Brian Paul
1d5b51abc8
move the install rules
2008-06-06 12:27:14 -06:00
Brian Paul
bde6b57e48
remove stray semicolon
2008-06-06 12:25:24 -06:00
Brian Paul
847f54e2fa
move a beos-ism down into drivers/beos/Makefile
2008-06-06 12:24:44 -06:00
Brian Paul
dd750e0763
Remove the old, complicated default build rule; use the new driver_subdirs rule
...
Also, all the old driver-specific rules are now gone.
2008-06-06 12:18:40 -06:00
Brian Paul
358dcd7178
remove more old stuff, insert new driver_subdir build rules (but not enabled yet)
2008-06-06 12:12:59 -06:00
Brian Paul
04c6ca99dd
new drivers/Makefile with simple default/clean/install rules
2008-06-06 12:09:55 -06:00
Brian Paul
c9739b2055
move directfb-libgl into drivers/directfb/Makefile
2008-06-06 12:09:01 -06:00
Brian Paul
f8563ddddb
Move fbdev driver construction into src/mesa/drivers/fbdev/Makefile
2008-06-05 16:44:11 -06:00
Brian Paul
b55694512a
reorder some lines, more make clean cmds
2008-06-05 16:28:00 -06:00
Brian Paul
4a68b62b86
remove X11, Glide, OSMesa sources
2008-06-05 16:27:43 -06:00
Brian Paul
e89e94e01a
added dependencies
2008-06-05 16:26:15 -06:00
Brian Paul
2b84b22bad
Move building of stand-alone Mesa into drivers/x11/Makefile
...
Also, some re-org, renaming, and general clean-up.
We're just a few steps away from removing the all the special case rules
for building drivers.
2008-06-05 16:08:42 -06:00
Brian Paul
ea7eb9a374
new Makefile for building "stand-alone", Xlib-based libGL
2008-06-05 16:06:17 -06:00
Brian Paul
bf5e573926
prefix some includes with mesa/ or glapi/
2008-06-05 16:05:02 -06:00
Brian Paul
f8c6b6628d
minor changes
2008-06-05 15:37:17 -06:00
Brian Paul
18906b7904
Move construction of libOSMesa.so into src/mesa/drivers/osmesa/Makefile
...
This removes some cruft from src/mesa/Makefile.
Something similar could be done for stand-alone / Xlib-Mesa libGL...
2008-06-05 15:36:07 -06:00
Brian Paul
91b491debe
insert mesa/ before include files
2008-06-05 15:26:11 -06:00
Alan Hourihane
b2a9788ec6
Silence warning
2008-06-05 11:47:20 +01:00
Brian Paul
4c7a17c251
fix event handling issues (such as when resizing when not animating)
2008-06-04 16:11:24 -06:00
Brian Paul
6d9c3fa0c2
press 'a' to toggle animation
2008-06-04 16:04:04 -06:00
Brian Paul
c35e021f37
code refactoring (draw_frame(0, handle_event())
2008-06-04 16:01:47 -06:00
Brian Paul
c5342ad0d0
remove references to incorrect -winwidth/-winheight, replace with -geometry
2008-06-04 15:56:30 -06:00
Brian Paul
4b71478326
Set the attribute as used.
...
Cherry-picked from gallium-0.1
2008-06-04 14:42:55 -06:00
Brian Paul
028fd5594c
Set the attribute as used.
...
cherry-picked from gallium-0.1
2008-06-04 14:41:33 -06:00
Dan Nicholson
871125a68d
autoconf: Collect arch/platform settings in one location
...
The architecture- and platorm-specific settings were scattered
throughout the configure script. This moves them near the beginning
before any of the driver-specific settings.
2008-06-04 13:00:35 -07:00
Brian Paul
0d8676822d
remove old/unused foomesa.h example header
2008-06-04 09:33:02 -06:00
Brian Paul
f34767f04c
call glutDestroyWindow() before exit
2008-06-04 09:30:32 -06:00
Zou Nan hai
0989471fdb
[i915] GL_DEPTH_TEXTURE_MODE fix
...
Cherry picked from commit 7233eabaf0
with manual changes.
2008-06-04 15:57:37 +08:00
Xiang, Haihao
9e95fad02e
i915: Fix GL_DEPTH_TEXTURE_MODE issue. (bug #16221 )
2008-06-04 15:44:38 +08:00
Keith Packard
dbf3c5247c
Merge commit 'origin/master' into drm-gem
...
Conflicts:
src/mesa/drivers/dri/common/dri_bufmgr.h
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.h
src/mesa/drivers/dri/intel/intel_ioctl.c
2008-06-03 22:56:25 -07:00
Dave Airlie
0b734bd7cf
mesa/drm/ttm: allow build against non-TTM aware libdrm
...
I'll release a libdrm 2.3.1 without TTM apis included from a special
drm branch that should allow mesa 7.1 to build against it.
I've had to turn off DRI2 stuff.
2008-06-04 14:08:27 +10:00
Xiang, Haihao
696140bd1d
i965: handle source depth to render target for glsl,
...
(cherry picked from commit d2540e6d4b
)
2008-06-04 11:54:25 +08:00
Brian
380d15b7fe
replace // comment with /* */ (bug 14916)
...
(cherry picked from commit eecb3ab7c6
)
2008-06-04 11:52:38 +08:00
Xiang, Haihao
41261d64b2
i965: use _Current pointer instead of Current pointer.
...
Cherry picked from commit de1e9880f8
2008-06-04 11:51:19 +08:00
Zou Nan hai
ce7a9efb09
[i965] Add support for GL shading language in I965 driver.
...
Cherry picked from commit 6ef27b88e6
,
d0ebdca4fa
.
2008-06-04 11:47:08 +08:00
Eric Anholt
4b5b008d54
[intel] Convert drivers to using libdrm bufmgr code.
2008-06-03 14:43:48 -07:00
Zou Nan hai
8a38ebe328
[i965] This is to fix random crash in some maps of Ut2004 demo.
...
e.g. bridge of fate.
If vs output is big, driver may fall back to use 8 urb entries for vs,
unfortunally, for some unknown reason, if vs is working at 4x2 mode,
8 entries is not enough, may lead to gpu hang.
Cherry picked from commmit c9c64a100d
2008-06-03 11:30:41 +08:00
Zou Nan hai
dcc6671b85
[i915] don't use 4x4 filter for 1D shadowmap
...
Cherry picked from commit d24a5254c2
2008-06-03 11:23:44 +08:00
Zou Nan hai
b53b7581e4
[i965] fix fd.o bug #11471 and #11478
...
1. Follow EXT_texture_rectangle with YCbCr texture
2. swap UV component for MESA_FORMAT_YCBCR
Cherry picked from commit 7676980d38
.
2008-06-03 11:04:10 +08:00
Zou Nan hai
64a4a03c2a
EXT_texture_sRGB support on i965
...
Cherry picked from commit 6bf81a5edf
,
246d1d2522
.
2008-06-03 10:09:33 +08:00
Ian Romanick
f688827ebd
bug #16503 : use INSTALL macro instead of hard-coding to bin/minstall
...
This is only part of the fix. Someone with more autoconf-fu will have
to fix the rest
2008-06-02 11:19:35 -07:00
Nicolai Haehnle
96adcc2e21
[t_vp_build] Fix refcounting-related memory leak
...
This memory leak is identical to the earlier one in texenvprogram.
Fixed by not creating an additional reference to new programs in cache_item.
On top of that, remove some duplicated state setting.
2008-06-02 18:42:52 +02:00
Nicolai Haehnle
934a53eb44
[texenvprogram] Fix refcounting-related memory leak.
...
All newly created programs have RefCount == 1, but the fragment program cache
added an additional reference in cache_item, with the result being that none
of the programs were ever freed.
Solve the problem by not creating the additional reference in cache_item.
2008-06-02 18:42:49 +02:00
Brian Paul
b878c3f518
i915tex: fix fragment fog swizzle (from master) (bug 16195)
2008-06-02 09:29:22 -06:00
Brian Paul
6164163ca8
glDrawElement + VBO bug fix
2008-06-02 09:28:31 -06:00
Zou Nan hai
e92a53cd92
[i965] flip point sprite
...
Cherry picked from commit 1202c434d9
2008-06-02 17:05:57 +08:00
Zou Nan hai
2467af98b1
ARB sprite point support on i965
...
Cherry picked from commmit 60179434d1
,
505453a04e
with manual changes.
2008-06-02 17:01:31 +08:00
Xiang, Haihao
6f851d8875
_generic_read_RGBA_span_BGRA8888_REV_SSE2: It should adjust the source
...
and target pointers after do the first 2 pixels. fix bug #15850
Cherry-picked from commit 4b7d301c94
2008-06-02 14:28:42 +08:00
Xiang, Haihao
9b99bf89c4
i965: depth offset on glPolygonMode(GL_LINE/GL_POINT)
...
Cherry picked from 184cf464f4
2008-06-02 14:20:23 +08:00
Xiang, Haihao
7346fca083
965: use RGB565 to render a bitmap if Depth is 16
...
Cherry-picked from commit 5982d39799
.
2008-06-02 14:15:24 +08:00
Xiang, Haihao
7facbb69c6
i965: don't swizzle fogcoord if FogOption is FOG_NONE.
...
fix #10788 issue on 965.
Cherry picked from commit 83068115e2
2008-06-02 14:08:26 +08:00
Xiang, Haihao
f59267d650
i915: set fogcoord to (f,0,0,1). fix #10788 issue on 915.
...
Cherry picked from commit 7eef52e975
2008-06-02 14:06:14 +08:00
Xiang, Haihao
71cb014195
mesa: fix a bad cast in put_values_z24.
...
The values passed to put_values_z24 are GLuint,
not GLubyte. fix #13543
Cherry picked from commit cf46aee14a
2008-06-02 13:59:51 +08:00
Xiang, Haihao
6c0f8db9c2
i965: The jump instruction count is added
...
to IP pre-increment, and should point to
the first instruction after the do instruction
of the do-while block of code
Cherry picked from commit 46e03d584a
2008-06-02 13:54:45 +08:00
Xiang, Haihao
49f1e2fc4c
i965: fix an error in brw_vs_tnl.c
...
Update the tnl program if the state of TEXMAT is changed.
2008-06-02 13:46:31 +08:00
Eric Anholt
2d26e19535
[965] Clarify a bit of index buffer upload code.
...
Cherry picked from commit 5a49e84fcd
2008-06-02 13:18:00 +08:00
Xiang, Haihao
5b0c6cd49a
i965: align the address of the first element within
...
the index buffer. (fix#11910)
Cherry picked from ea07a0df9a
2008-06-02 13:16:53 +08:00
Xiang, Haihao
c3ee8e46cc
i965: fix projtex_mask
...
projtex_mask is only an 8bit field, and wm.input_size_masks includes
other attributes' information, therefore right shift is needed.
Cherry picked from 88451b04e9
2008-06-02 13:01:11 +08:00
Xiang, Haihao
46aac24261
i965: fix bad casts in do_blit_bitmap to support WindowPos correctly
...
Cherry picked from commit e66757c8ba
2008-06-02 11:54:35 +08:00
Xiang, Haihao
e1032ce718
i965: fix DEPTH_TEXTURE_MODE
...
Cherry picked from commit 6e620162a1
with
manual changes
2008-06-02 11:52:36 +08:00
Dave Airlie
7ead1c5d06
r500: add missing brackets around depth testing
2008-06-02 07:18:21 +10:00
Corbin Simpson
915e49e0fd
r5xx: Enable depth write emission.
...
Thanks to nh for the r3xx version.
2008-06-01 11:45:30 -07:00
Nicolai Haehnle
c9ea62444c
r300: Writing to result.depth in fragment programs (R3xx; only stub for R5xx)
...
Setup fg_depth_src for depth writing programs and change early Z (ztop)
semantics.
Piglit's version of glean/fragprog test passes now (unlike Glean, its
dependency on EXT_fog_coord, which we don't support, is optional).
R3xx only at the moment, but should be straightforward to adapt to R5xx
(I don't own an R5xx, and I don't want to break anything.)
2008-06-01 19:59:42 +02:00
Nicolai Haehnle
d9c7c5f071
[r300] Fix KIL instruction and swizzling of texture coordinates
...
The KIL instruction only works if at least one texture unit is enabled
in hardware.
Texture instructions do not support swizzles, negations etc. natively,
so we now emit an explicit swizzling etc. operation when the texture coordinate
requires it.
This fixes the Piglit fp-kil test.
2008-06-01 13:23:53 +02:00
Corbin Simpson
3225e2cdb6
r5xx: Add OPCODE_FLR.
...
Why didn't anybody tell me we were missing this one? I thought I committed it ages ago!
2008-06-01 03:23:00 -07:00
Corbin Simpson
9a34c68faf
r5xx: Last emit_sop() for now.
...
This should also clean up LIT later on.
2008-05-31 22:41:54 -07:00
Corbin Simpson
bffa0909cb
r5xx: More emit_sop(), stage 2.
...
SIN/COS.
2008-05-31 22:23:11 -07:00
Corbin Simpson
ea58dceb1c
r5xx: Cleanup SOP with emit_sop().
...
I wish I had a snarky commit message, but I'll save that for after I get the
trig working with this.
2008-05-31 22:09:38 -07:00
Corbin Simpson
c9679ce1d2
r5xx: Dump shader constants when dumping program assembly.
2008-05-31 20:48:15 -07:00
Dave Airlie
7013eecf28
r300: disable the lowimpact fallbacks by default.
...
because really we should be able to just fix the driver.
2008-06-01 09:32:55 +10:00
Markus Amsler
a947c1a3fe
r500: Use 8bit fog alpha compare value.
...
This fixes transparency issues on r500 by enabling
backwards compatibility with the r300 alpha compare value.
2008-05-31 03:10:21 +02:00
Eric Anholt
fccc427aac
[intel-gem] Remember last offset of reused BOs to avoid more kernel relocs.
...
This is good for about 5% on ipers on 965, and should help any cpu-bound app.
2008-05-30 15:12:48 -07:00
Brian Paul
ce636f36f2
Fix segfault in _save_OBE_DrawElements() when using VBO and display list (bug 16156)
...
This was previously fixed in master by commit 982dcb74fd
by Haihao Xiang.
2008-05-30 08:46:51 -06:00
Luc Verhaegen
4a69c4173d
Fix segfault on exit in unichrome driver (bug 16150)
2008-05-29 11:00:06 -06:00
Brian Paul
ef56a563a1
undo prev change to this VC7 project file
...
Meant to update the VC8 project file.
2008-05-29 10:46:39 -06:00
Karl Schultz
1190261c47
added prog_uniform.[ch]
2008-05-29 10:43:48 -06:00
Brian Paul
645c131264
Assorted Windows fixes (Karl Schultz)
2008-05-29 10:42:02 -06:00
Brian Paul
a1a0e51043
Use the GLuint64EXT type defined by GL_EXT_timer_query
...
Removes some compiler #ifdef stuff.
2008-05-29 10:42:02 -06:00
Dennis Kasprzyk
328621509f
R1/2/3/4/5xx: fixed calculation of cliprects in CopyBuffer.
2008-05-29 11:25:21 +02:00
Dennis Kasprzyk
377016d728
Report correct damage rectangle in CopySubBuffer.
2008-05-29 11:24:16 +02:00
Xiang, Haihao
93f2eec6b3
i965: roland's DXTn format texture patch(bug10347)
...
Cherry picked from commit db928291dc
2008-05-29 15:50:06 +08:00
Eric Anholt
46ef09d787
[965] Replace various alignment code with a shared ALIGN() macro.
...
In the process, fix some alignment issues:
- Scratch space allocation was aligned into units of 1KB, while the allocation
wanted units of bytes, so we never allocated enough space for scratch.
- GRF register count was programmed as ALIGN(val - 1, 16) / 16 instead of
ALIGN(val, 16) / 16 - 1, which overcounted for val != 16n+1.
Cherry picked from commit 77e0523fb7
2008-05-29 15:48:47 +08:00
Xiang, Haihao
7487ec0ff0
i965: align width/height for volume texture
...
Cherry picked from commit 00b86ecf6f
2008-05-29 15:45:12 +08:00
Xiang, Haihao
a25549866f
intel: applying right alignment to compressed texture,
...
which make small textures(4x4,2x2,1x1) work well.
Cherry picked from commit 8ea66fa2ec
2008-05-29 15:43:31 +08:00
Xiang, Haihao
558cc6e38f
i965: set mt->cpp differently with compressed texture
...
Cherry picked from commit 2cafd749b8
2008-05-29 15:40:44 +08:00
Keith Packard
d8395f9d9e
[intel-gem] Once mapped, leave buffers mapped.
...
Mapping and unmapping buffers is expensive, and having the map around isn't
harmful (other than consuming address space). So, once mapped, just leave
buffers mapped in case they get re-used.
2008-05-28 23:28:46 -07:00
Markus Amsler
74a217fbcd
r300: fix R300_FG_ALPHA_FUNC_VAL_MASK
2008-05-29 02:14:26 +02:00
Brian Paul
5adc763898
updated function list
2008-05-28 09:06:28 -06:00
Brian Paul
5429d4a04a
replace make with $(MAKE) (bug 16133)
2008-05-28 08:53:53 -06:00
Xiang, Haihao
feb1fa1e83
i965: use BRW_TEXCOORDMODE_CLAMP instead of BRW_TEXCOORDMODE_CLAMP_BORDER
...
to implement GL_CLAMP
Cherry picked from commit ab99960858
. fix #16005
2008-05-28 16:29:17 +08:00
Dave Airlie
3e6c791390
r300: disable cmdbuf debug again
2008-05-28 10:23:25 +10:00
Dave Airlie
261a15cf63
Merge branch 'r500-support'
...
Bring in all the r500 3D code into master should be as stable as the r300
code it is landing on top off.
Conflicts:
src/mesa/drivers/dri/r300/r300_reg.h
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/radeon/radeon_screen.c
2008-05-28 10:20:14 +10:00
Dave Airlie
85af4fde7f
r500: remove warnings and only start on newer drms.
...
This removes lots of warnings to the user, and only allows the driver
to run on > .29 drms for r500 cards.
2008-05-28 10:11:41 +10:00
Alex Deucher
867f5aac53
R3/4/5xx: update to use drm get_param for num gb pipes
2008-05-28 10:11:14 +10:00
Dave Airlie
5552500cdf
r500: cleanup warnings and include files
2008-05-28 10:03:10 +10:00
Brian Paul
f32462343d
allow GLX_SAMPLES_ARB==0 (bug 16073)
2008-05-27 09:49:44 -06:00
Brian Paul
08ef1b379a
added sampler types to sizeof_glsl_type()
2008-05-27 08:50:15 -06:00
Karl Schultz
1e79831b56
dependency fixes (bug 13544)
2008-05-27 08:50:14 -06:00
Corbin Simpson
8c39e24ec3
r5xx: Add OPCODE_XPD. In working condition, I might add.
...
And we're officially finished with the ARB_fragment_program
instruction set. It's worth noting that LIT is still not reliable.
SIN and COS were fixed a few commits ago. We're finished with stage 1!
Whoohoo!
2008-05-27 02:12:10 -07:00
Corbin Simpson
a242b331c6
r5xx: Just a few small LIT fixes.
...
Still broken; will fix tomorrow.
2008-05-27 01:36:25 -07:00
Corbin Simpson
9412aee4dc
r5xx: Fix emit_mov() regression.
...
Specifically, fix improper swizzling.
2008-05-27 01:36:25 -07:00
Dave Airlie
eee53dfb22
r500: the cs is shared per context - doh so don't use for program upload.
...
Also remove some unused bits of the r500 fragprog struct
2008-05-27 18:15:14 +10:00
Dave Airlie
7278266612
r500: need to re-setup inst offset/end for translated programs
...
this fixes texenv
2008-05-27 17:39:35 +10:00
Dave Airlie
774b3bc5a5
r500: reset fp/fp_const counts
2008-05-27 17:11:04 +10:00
Dave Airlie
4af22c9076
r300/r500: emit flush inside vap_cntl state atom
...
Not sure if this is a good or bad plan, it certainly doesn't make things worse here.
2008-05-27 17:08:03 +10:00
Dave Airlie
8eb7df6302
r500: hopefully fix 4096 texture harder
2008-05-27 15:29:39 +10:00
Corbin Simpson
b5372746ff
r5xx: Fix FP temp counting.
...
One of the ref counters wasn't being added to the temp counter.
Yet another product of late-night coding...
2008-05-26 22:12:24 -07:00
Dave Airlie
9f03e93de9
r500: remove debugging
2008-05-27 12:46:44 +10:00
Dave Airlie
7b88f40116
r300/r500: fix r500 fragment program texture unit references
2008-05-27 12:45:15 +10:00
Dave Airlie
5a5ba35069
r500: initial support for tmu mappings
2008-05-27 10:59:42 +10:00
Corbin Simpson
b57ba7c5b0
r5xx: Enhance emit_mov().
...
Now we can add arbitrary sources and swizzles. Will make many things smoother.
2008-05-26 16:00:05 -07:00
Corbin Simpson
5499685931
r5xx: Moar LIT.
...
Still not working, but getting closer.
2008-05-26 15:18:41 -07:00
Corbin Simpson
a2db33219d
r5xx: First stab at LIT.
2008-05-26 12:35:39 -07:00
Keith Packard
924eaa2f95
[intel] all flushing in intelEmitCopyBlit
...
Add both MI_FLUSH and intel_batchbuffer_flush to intelEmitCopyBlit.
This ensures that the data are flushed *and* the gem kernel driver sees the
various memory domain transitions.
2008-05-26 00:19:20 -07:00
Corbin Simpson
21b352bb14
Replace copyright on r500_fragprog.c
...
Huh, could have sworn I already did this once before...
Maybe I forgot to commit it?
2008-05-25 22:50:00 -07:00
Keith Packard
8ba91b4636
[intel] Enable buffer re-use for gem
...
Use the new DRM_IOCTL_I915_GEM_BUSY ioctl to detect
idle buffers for re-use.
2008-05-25 20:50:01 -07:00
Corbin Simpson
27d8fcd506
r5xx: Unbreak texture swizzling.
2008-05-25 19:53:48 -07:00
Corbin Simpson
f776f693c0
r5xx: Massive MAD cleanup.
...
Common uses of MAD now use emit_mad(), the two common negation masks work,
and fixed a few off-by-one errors.
2008-05-25 11:46:16 -07:00
Corbin Simpson
594760148c
r5xx: Negation masks for every inst except SWZ.
...
Yay?
2008-05-25 11:35:54 -07:00
Corbin Simpson
bd74d2aa26
r5xx: More emit_alu().
...
Converted ADD.
2008-05-25 11:35:20 -07:00
Corbin Simpson
810270ad11
r5xx: Add emit_mad() for FP.
...
If it uses MAD, emit it with emit_mad()!
(Now available at your local grocer's. Multiply and add responsibly.)
2008-05-25 11:07:51 -07:00
Corbin Simpson
f1d04cd766
r5xx: Consolidate FP tex insts.
...
They're all the same, really.
2008-05-24 11:30:57 -07:00
Corbin Simpson
b6b5190682
r5xx: Fix SGE/SLT.
2008-05-24 10:25:22 -07:00
Corbin Simpson
6f918a9fda
r5xx: Remove some debugging cruft.
2008-05-24 10:25:22 -07:00
Tormod Volden
7a29164f70
dri: vblank_mode warning
...
From what I can see the environment variables LIBGL_THROTTLE_REFRESH
and LIBGL_SYNC_REFRESH were taken out like 3 years ago, but this
warning was never updated.
2008-05-24 18:34:27 +02:00
Dave Airlie
af77de66d9
r500: missed a couple of inst4s.
2008-05-24 18:18:18 +10:00
Dave Airlie
e9031d6f63
r500: add depth output write
...
Not sure how well this works yet, but we need to set the alpha to w_omask
2008-05-24 18:12:26 +10:00
Eric Anholt
200fd13d4a
Remove stale comment about glFlush().
...
We don't need an MI_FLUSH there, because everything that's been flushed in the
batch will eventually hit the hardware.
2008-05-23 12:43:05 -07:00
Eric Anholt
a74bf4ef34
Emit a flush after the swapbuffers blit, so contents end up on the screen.
...
Otherwise, since the MI_FLUSH at the end of every batch had been removed,
non-automatic-flushing chips (965) wouldn't get flushed and apps with static
rendering would get partial screen contents until the server's blockhandler
flush kicked in.
2008-05-23 12:18:50 -07:00
Corbin Simpson
9ab7a2df03
r5xx: Clean up some compiler warnings.
2008-05-23 00:18:14 -07:00
Corbin Simpson
30e61500e1
r5xx: Move dumb_shader.
...
Was getting ticked having to scroll around it, lawl.
2008-05-23 00:18:14 -07:00
Corbin Simpson
34010bcc91
r5xx: Add OPCODE_DST.
...
Works completely, swizzles and everything.
2008-05-23 00:18:14 -07:00
Corbin Simpson
d4e93864b8
r5xx: More trig work.
...
SCS now works. COS/SIN have slight issues still.
2008-05-23 00:18:14 -07:00
Eric Anholt
6cefae5354
Add back a mostly-correct glFinish for GEM and fake.
...
The right solution would probably be keeping a list of regions which have been
rendered to.
2008-05-22 10:46:58 -07:00
Keith Packard
76286bc76c
[intel-gem] Make sure set_domain is called often enough.
...
The write_domain needs to be set after any batch buffer uses an object,
track when that happens in the new 'cpu_domain_set' field.
2008-05-22 10:44:47 -07:00
Dave Airlie
a01816da59
r500: bump state atom size up for fp and fp constants
2008-05-22 17:09:58 +10:00
Corbin Simpson
4f9dcdc35b
r5xx: Fixed LRP.
...
Works perfectly. It's a complex one, though, so it might fail in weird ways...
2008-05-21 23:35:43 -07:00
Corbin Simpson
0dfbe9cdd7
r5xx: Change debug info for readability.
...
It's weird seeing the compiled program before the assembly, that's all.
2008-05-21 23:33:13 -07:00
Corbin Simpson
d06f4edb14
r5xx: Initial (broken) OPCODE_LRP.
...
Will compile, run, and not eat your kids, but the math is wrong.
2008-05-21 13:51:32 -07:00
Corbin Simpson
1e2907f170
r5xx: Add OPCODE_POW.
...
Necessary for Google Earth, among other things.
2008-05-21 08:24:28 -07:00
Dave Airlie
bb57c30a53
r500: print out opcode string
2008-05-21 16:00:18 +10:00
Dave Airlie
b453b0e2e1
r500: set the RS unit register for R500 not R300 dangnammit..
...
So this appears to be my BUG. damn it to hell.
also fix sec color to be more like spec says.
2008-05-21 12:14:42 +10:00
Dave Airlie
9ec2b1c83f
r500: finish main texture instruction decoding
2008-05-21 10:49:26 +10:00
Corbin Simpson
2bda1a9502
r5xx: Count refs so we don't have to guess on temp reg allocation.
...
As a bonus, we can now have multiple temp temps, by slot.
2008-05-20 09:47:50 -07:00
Corbin Simpson
94994b13c5
r5xx: Fixup SOP insts.
...
Use the correct swizzle for alpha/SOP stuff.
2008-05-19 23:56:53 -07:00
Corbin Simpson
78fa506059
r5xx: New fix for COS/SIN/SCS.
...
Not perfect yet, but getting better.
2008-05-19 23:56:53 -07:00
Dave Airlie
f0d76d526b
r300/r500: fixup some of the register write sizes
2008-05-20 16:30:36 +10:00
Dave Airlie
2005de48f9
r300: some ctrl-m's wierd.
2008-05-20 16:02:19 +10:00
Dave Airlie
282cdc8b5c
r300/r500: fix RS col fmt bits
2008-05-20 15:59:56 +10:00
Corbin Simpson
476248befe
r5xx: Fixup emit_tex, add debugging info, enable temp temps.
...
emit_tex now chases itself with an OUT if needed.
Added airlied's dump_program, with some fixes.
2008-05-19 11:06:41 -07:00
Dave Airlie
03b3fed8f1
r500: add more input srcs
2008-05-19 21:58:28 +10:00
Dave Airlie
ac315792bf
r500: fix swz gets and some returns
2008-05-19 21:40:40 +10:00
Dave Airlie
60b8e1f524
r500: add mask debugging
2008-05-19 21:11:55 +10:00
Dave Airlie
cddab021e3
r500: add fragment program debug dumper
2008-05-19 20:24:09 +10:00
Corbin Simpson
c60bdcf8a8
r5xx: Fix magic offsets for output fifo write masks.
...
Well, this sure explains a lot.
2008-05-19 00:00:08 -07:00
Corbin Simpson
2708d7f700
r5xx: Swap sources for CMP.
...
Follows the same pattern as the op on r3xx/r4xx. Thanks airlied.
2008-05-18 23:52:54 -07:00
Corbin Simpson
a6c38f2f64
r5xx: Fix typo of epic proportions.
2008-05-18 23:35:07 -07:00
Corbin Simpson
2225b9bdb0
r5xx: ALU/OUT fixups.
...
Lots of small changes. Intentionally breaks some tex stuffs.
2008-05-18 22:38:28 -07:00
Dave Airlie
bdfd5d95c5
r300: fixup US_OUT_FMT bits
2008-05-18 17:58:29 +10:00
Keith Packard
8b49cc104d
[intel-gem] Don't calloc reloc buffers
...
Only a few relocations are typically used, so don't clear the
whole thing.
2008-05-17 23:34:47 -07:00
Dave Airlie
126673261d
r500: you can have a single texcoord
2008-05-18 15:25:08 +10:00
Corbin Simpson
0910d9d4d6
r5xx: Add OPCODE_KIL.
2008-05-17 13:38:35 -07:00
Corbin Simpson
c57b3b1d2c
r5xx: Added OPCODE_DPH.
...
Like DP4, but with one swizzle change.
2008-05-17 12:45:46 -07:00
Corbin Simpson
6dd3c0ed96
r5xx: Fix FRC.
...
This makes tri-frc work.
(Remind me again why I'm allowed near a compiler, lawl.)
2008-05-17 09:27:35 -07:00
Corbin Simpson
16cc362f0b
r5xx: Fix SCS.
...
Output instructions need to be marked OUT so they can write to the fifo.
Also, negation doesn't work with SWZ yet.
2008-05-17 07:12:38 -07:00
Corbin Simpson
c11a33fe76
r5xx: Add OPCODE_SWZ.
...
It's so easy!
2008-05-17 07:12:37 -07:00
Corbin Simpson
d5aa421661
r5xx: Add OPCODE_SCS.
...
It's disabled, though, because it doesn't work. I'll figure it out later...
2008-05-17 07:12:37 -07:00
Corbin Simpson
405ee871c5
r5xx: Adding more opcodes.
...
EX2, FRC, LG2, SIN, RCP, and RSQ, if you care.
All of these except FRC are like COS. This pretty much rounds out the set of
opcodes which can be done in one ALU inst.
2008-05-17 07:12:37 -07:00
Corbin Simpson
0de02f1716
r5xx: First swing at OPCODE_COS.
2008-05-17 07:12:37 -07:00
Corbin Simpson
d8529d9b00
r5xx: Unbreak MAX and MIN.
...
Both of them had faulty copypasta.
2008-05-17 07:12:37 -07:00
Dave Airlie
5e075fb809
r500: set fragprog end to correct place
2008-05-17 13:31:14 +10:00
Alex Deucher
ba50c3fed3
r300: SC register naming cleanup
2008-05-17 10:40:47 +10:00
Alex Deucher
791c95230c
r500: write out the correct FP registers
2008-05-17 10:29:52 +10:00
Brian Paul
f2533e787e
AA tri and glMaterial fixes
2008-05-16 15:35:19 -06:00
Brian Paul
b2ccd5c1ae
fix memory access error in vbo_bind_vertex_list
...
Picked from master (commit 8fc1a6808d
)
2008-05-16 15:35:19 -06:00
Brian Paul
6f63543dd7
fix an attr/src mix-up when setting-up/binding vertex arrays
...
This fixes problems with incorrect material coefficients when glMaterial
is called per-vertex.
2008-05-16 15:35:19 -06:00
Brian Paul
c966f1629b
fix segfault in AA triangle code when using certain shaders
2008-05-16 15:35:19 -06:00
Dave Airlie
d6333af7e9
r500: default rsunit swizzle like fglrx
2008-05-15 20:38:41 +10:00
Dave Airlie
9aa62c7238
r500: shift tex src properly
2008-05-15 18:40:07 +10:00
Dave Airlie
76f32499d2
r500: fixup r500 rs unit texture coordinate counting
2008-05-15 18:40:07 +10:00
Dave Airlie
a0bc6d2fb2
r500: remove some debugging
2008-05-15 18:40:07 +10:00
Dave Airlie
73af48fff5
r500: split output/pixel masks and emit in the correct places
2008-05-15 18:40:07 +10:00
Dave Airlie
c9d5d11d2d
r3/500: emit RS state before VAP
2008-05-15 18:40:07 +10:00
Dave Airlie
412c850eab
r500: fixup the program allocations to be the correct sizes
2008-05-15 18:40:07 +10:00
Dave Airlie
350c80fa99
r300: set screen so that context init can find out chip ids
2008-05-15 18:40:07 +10:00
Dave Airlie
e1bffd0318
r500: add cmp support in theory
2008-05-15 18:40:07 +10:00
Dave Airlie
10e0a36a49
r500: some trivial fixups to get tri working.
...
the counter was being used one instruction over the end
2008-05-15 18:40:07 +10:00
Dave Airlie
375656440b
r500: we just need to emit a colour for clear drop tex instruction
2008-05-15 18:40:07 +10:00
Xiang, Haihao
709f24adbb
intel: Set right cliprects for the current draw region. fix #15057
2008-05-14 15:01:44 +08:00
Alex Deucher
f86baae1a7
R300: clean up GA registers
2008-05-13 16:12:57 -04:00
Alex Deucher
de3fc8b1c4
R3xx: clean up ZB registers
2008-05-13 15:46:23 -04:00
Alex Deucher
c5b7a1ee3c
R300: clean up CB registers
2008-05-13 14:32:30 -04:00
Eric Anholt
cba90d4a77
[GEM] Actually include the presumed offset in initial relocations.
...
This avoids kernel relocations for most batchbuffer relocs.
2008-05-13 11:30:18 -07:00
Alex Deucher
8d70181b03
R300: clean up Fog registers
2008-05-13 14:02:29 -04:00
Alex Deucher
d09aa2138b
R500: fixup r300EmitClearState() FP for r5xx
2008-05-13 13:38:30 -04:00
Alex Deucher
9ef4126d48
R300: cleanup FS code and fill in missing details
2008-05-13 08:37:58 -04:00
Alex Deucher
0cc8ed5ccc
R3xx: more PVS cleanup
2008-05-13 06:09:55 -04:00
Alex Deucher
e000f2ab6e
Merge branch 'r500-support' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r500-support
2008-05-12 11:58:35 -04:00
Alex Deucher
2a4d1085cb
R500: add support for 4k textures
2008-05-12 11:57:08 -04:00
Keith Packard
145523ba3a
[intel] update GEM api. Add bo_subdata and bo_get_subdata driver hooks.
...
Track DRM GEM name changes.
Add driver hooks for bo_subdata and bo_get_subdata so that GEM can use pread
and pwrite.
2008-05-11 00:16:25 -07:00
Keith Packard
0cb006c1fd
[intel-gem] move domains to relocations. add set_domain to bo_map.
...
Fix the kernel API to place the read/write domain information in the
relocation instead of the buffer.
2008-05-08 10:38:55 -07:00
Keith Packard
fda5687241
[intel] intel_batchbuffer_flush using uninit 'used' to check for buffer empty
...
Make sure 'used' tracks the right value through the whole function.
Also, use GLint for intel_batchbuffer_space in case we do bad things
in the future.
2008-05-08 10:37:23 -07:00
Keith Packard
68a9161832
Merge commit 'anholt/drm-gem' into drm-gem
2008-05-07 20:20:26 -07:00
Eric Anholt
ead798eb10
GEM: Remove already-disabled PIPE_CONTROL command.
...
This existed to get the icache flushed. However, GEM handles this for us
now for sure, and we had disabled it prematurely anyway.
2008-05-07 14:01:18 -07:00
Eric Anholt
ab50ddaa91
GEM: Make dri_emit_reloc take GEM domain flags instead of TTM flags.
...
The GEM flags are much more descriptive for what we need. Since this makes
bufmgr_fake rather device-specific, move it to the intel common directory.
We've wanted to do device-specific stuff to it before.
2008-05-07 13:51:29 -07:00
Eric Anholt
8b2a7f08bc
GEM: Don't emit an extra MI_FLUSH in the batch since GEM handles it.
2008-05-07 10:01:14 -07:00
Brian Paul
52fe7ea3d1
mesa: free shader program data before deleting shader objects.
...
Picked from master.
Fixes mem corruption seen when glean/api2 test exits.
2008-05-07 16:10:32 +01:00
Dave Airlie
3d15280278
r500: cleanup r500 RS setup
2008-05-07 17:48:17 +10:00
Dave Airlie
53a7ccc08b
r500: for rectangular textures set to unscaled coordinates.
2008-05-07 17:48:17 +10:00
Corbin Simpson
1da094c9ad
r5xx: Fix FP inputs. (For good?)
...
FP inputs are now counted and mapped correctly, and temps
are allocated tightly and correctly.
2008-05-07 00:06:26 -07:00
Corbin Simpson
49c30ce958
r5xx: Fix false error with DP3/DP4.
...
DP3/DP4 only takes two arguments, but tried to load three, causing
a false fallback to the dumb shader.
2008-05-06 23:36:50 -07:00
Xiang, Haihao
44f6a6f9c4
i915: Add E7221 variant to i915.
...
Cherry picked from commit 39bcbe0921
2008-05-07 14:09:28 +08:00
Corbin Simpson
dc24fb51a3
r5xx: Index inputs and temps.
...
This is not the same as r3xx indexing. It only tries to protect inputs on
the pixel stack from getting clobbered by temps or texs.
Texs don't need special treatment since they read from special input regs
and write to the same temp regs as ALU/FC instructions.
2008-05-06 22:18:28 -07:00
Keith Packard
c75b2d74d8
Merge commit 'anholt/drm-gem' into drm-gem
2008-05-06 22:07:58 -07:00
Keith Packard
a2ec8570ae
[intel-GEM] partial support for memory domains.
...
Doesn't deal with local modifications yet (need new kernel set_domain ioctl
for that to work). Also, guesses what domains are affected based on the
read/write bits set in the flags. Works for 915, probably not so much for
965.
2008-05-06 22:06:41 -07:00
Corbin Simpson
40db59038c
r5xx: FP: Add OPCODE_TXB.
...
Tex lookup with biased LOD. Should magically work.
2008-05-06 18:14:21 -07:00
Corbin Simpson
20baf128ef
r5xx: FP: Make MOV/ABS look pretty.
...
We can't really do anything like emit_alu, so we're doing emit_mov instead.
2008-05-06 17:21:30 -07:00
Eric Anholt
42d4f89264
GEM: Fix previous commit to avoid asserting when we run into reserved space.
...
These are the dwords that the reserved space is for.
2008-05-06 15:25:51 -07:00
Eric Anholt
96f52f089f
GEM: Don't emit an extra MI_FLUSH in the batch since GEM handles it.
2008-05-06 13:57:08 -07:00
Corbin Simpson
1562dd2c26
r5xx: Emit an OUT instruction at the end of execution.
...
This should make TEX/TXP work right. (Note: "Should" is not "does.")
2008-05-06 12:44:53 -07:00
Corbin Simpson
fa465fb2b1
r5xx: We update max_temp_idx now, so no need to hard-code it.
...
This roughly doubles the speed of glxgears (GINAB) by allowing
more pixels to run concurrently.
2008-05-06 12:42:40 -07:00
Corbin Simpson
171ba1d0d1
r5xx: Fix typo.
...
Gotta be more careful with my cut'n'paste, lawl.
2008-05-06 12:18:07 -07:00
Corbin Simpson
06e2e1b87c
r5xx: Use max_temp_idx.
2008-05-06 12:03:28 -07:00
Keith Packard
537bbe6dec
[intel-GEM] Add tiling support to swrast.
...
Accessing tiled surfaces without using the fence registers requires that
software deal with the address swizzling itself.
2008-05-06 10:51:08 -07:00
Keith Packard
df4b49c2ce
Dump buffer tiled status from intelPrintSAREA
2008-05-05 22:08:05 -07:00
Eric Anholt
e9a2a67745
GEM: Allocate the right number of relocs, avoiding heap smashing.
2008-05-05 15:45:15 -07:00
Eric Anholt
1decab06d1
GEM: Include target buffer handle in relocation debug.
2008-05-05 15:44:49 -07:00
Eric Anholt
01d1a292bf
GEM: Set validate index to keep the same buffer from being duped on the list.
2008-05-05 14:20:18 -07:00
Eric Anholt
be59d52ca0
Print GEM handles instead of BO pointers in debugging.
...
small integers are much prettier, and let me correlate to DRM debug output.
2008-05-05 14:15:40 -07:00
Eric Anholt
5290ec4756
Initialize bufmgr_gem->validate_array[i].offset.
...
This is just cosmetic, to produce less scary values when the ioctl fails and
doesn't return values there.
2008-05-05 13:45:45 -07:00
Eric Anholt
1f810b85b1
Make intel_{batch,exec}_ioctl return an error code so we can recover better.
2008-05-05 13:40:50 -07:00
Keith Packard
87ccc03736
Add intel_bufmgr_gem.c to i915
2008-05-05 10:46:27 -07:00
Keith Packard
367b1e35dc
Temporarily disable intel pixel ops on i915 for GEM
...
Instead of attempting to fix these for GEM, just disable until GEM is
working.
2008-05-05 10:45:30 -07:00
Dave Airlie
66a49df9cb
r500: consolidate tex instructions
...
you cannot change a tex into an output so this means we have to actually
do another instruction after this one to mov if its an output
2008-05-05 18:42:27 +10:00
Dave Airlie
697680d687
r500: mov cleanup macros
2008-05-05 18:15:40 +10:00
Dave Airlie
3816ae9ce8
r500: make tri-param work
...
This makes constant work which are 32-bit on r500 unlike r300.
Switch MOV to using MAD no idea if we might have negative things MAX 0,-5 is
likely to do the wrong thing..
2008-05-05 18:05:59 +10:00
Dave Airlie
1f420b008b
r500: make sure we emit max temp atom.
...
We don't appear to update max_temp_idx yet anywhere though
2008-05-05 16:41:07 +10:00
Dave Airlie
66a5562ce2
r300: fix swtcl texrect path properly.
...
We really need to update the shader state so the texrect parameters work.
This should fix compiz looking crappy on rs480 and rs690
2008-05-05 23:49:50 +10:00
Markus Amsler
63503f2848
r300: Set correct VAP_CNTL per vertex program.
...
adapted from Markus' patch on bug 15386 with updates for non-TCL
and R500.
2008-05-03 12:55:45 -04:00
Corbin Simpson
b79a769b2d
r5xx: Fix for loops.
...
Thanks to dli in IRC for pointing this out.
2008-05-03 09:09:57 -07:00
Corbin Simpson
4ef195a369
r5xx: Fix dumb shader.
...
For some reason, FGLRX doesn't actually set R500_US_INST_TEX.
Let us not make that same mistake.
2008-05-03 09:08:07 -07:00
Corbin Simpson
0f07e0aea3
Merge branch 'r500test' of git://people.freedesktop.org/~csimpson/mesa into r500-support
2008-05-03 08:39:15 -07:00
Dave Airlie
a03e261193
r300: remove debugging code
2008-05-04 04:17:15 +10:00
Dave Airlie
d3eb5df259
r300: setup vte according to inputs
2008-05-04 04:13:56 +10:00
Dave Airlie
37924cf175
r300: update r300 rs unit for swtcl need to fix r500 most likely
2008-05-03 22:08:11 +10:00
Dave Airlie
cea4f1464b
r300: recombine the vap input route 0 code and clean
...
This gets non-tcl cards working again on this branch..
at least texrect and glxgears
2008-05-03 21:31:47 +10:00
Dave Airlie
026ef8111a
r300: add R300_NO_TCL to allow testing of non-tcl on tcl cards
2008-05-03 21:31:22 +10:00
Corbin Simpson
e081603850
Merge branch 'r500-support' into r500test
...
Bringing the FPS code up-to-date.
Conflicts:
src/mesa/drivers/dri/r300/r300_emit.c
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/r300/r500_fragprog.c
src/mesa/drivers/dri/r300/r500_fragprog.h
2008-05-02 20:49:13 -07:00
Eric Anholt
81ec0545c9
Don't forget to set handle of shared buffers.
...
(And fix a nearby whitespace nit)
2008-05-02 18:25:00 -07:00
Eric Anholt
3d19a095cd
Fix GEM execbuf ioctl argument.
2008-05-02 18:24:13 -07:00
Eric Anholt
7349f218b4
Fix to use GEM execbuf instead of TTM.
2008-05-02 17:13:45 -07:00
Eric Anholt
ef33e76ceb
Minor fixups to get GEM to the point of execbuf ioctl.
2008-05-02 17:00:47 -07:00
Corbin Simpson
568d369d77
Merge branch 'r345-cleanup' of git://people.freedesktop.org/~agd5f/mesa into r500test
...
Adding Alex's cleanup patches. This adds r5xx TCL! Whoo-hoo!
Conflicts:
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/radeon/radeon_chipset.h
src/mesa/drivers/dri/radeon/radeon_screen.c
2008-05-02 15:57:57 -07:00
Corbin Simpson
92a0e93ac3
Make radeon stuff build again.
...
Yet more evidence that I am incompetent with git.
2008-05-02 15:33:02 -07:00
Eric Anholt
eb10cdc838
[intel] Fix build for GEM. TTM is now disabled, and fencing is gone.
...
Fencing was used in two places: ensuring that we didn't get too many frames
ahead of ourselves, and glFinish. glFinish will be satisfied by waiting on
buffers like we would do for CPU access on them. The "don't get too far ahead"
is now the responsibility of the execution manager (kernel).
2008-05-02 14:11:19 -07:00
Eric Anholt
89bba44e96
Add intel_bufmgr_gem for new graphics execution manager.
2008-05-02 12:58:25 -07:00
Alex Deucher
ae09292a6e
R300: fix rebase conflicts
2008-05-02 15:20:28 -04:00
Corbin Simpson
9a82fde43a
Merge branch 'r500test' of git://people.freedesktop.org/~airlied/mesa into r500test
...
Conflicts:
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r500_fragprog.c
src/mesa/drivers/dri/r300/r500_fragprog.h
src/mesa/drivers/dri/radeon/radeon_chipset.h
src/mesa/drivers/dri/radeon/radeon_screen.c
2008-05-02 12:15:44 -07:00
Alex Deucher
9e7ae34da5
R3/4/5: fix TCL on r5xx, cleanup PVS code
2008-05-02 15:13:49 -04:00
Alex Deucher
a94cd0d774
R300: fix VAP_OUTPUT_VTX_FMT_1 defines
2008-05-02 15:13:49 -04:00
Alex Deucher
d5448ceb95
R300: cleanup VAP_CLIP_CNTL
2008-05-02 15:13:49 -04:00
Alex Deucher
e61dadf3de
R300: clean up VAP_PROG_STREAM_CNTL* register usage
2008-05-02 15:13:49 -04:00
Alex Deucher
2bd26f4afa
Update comment
2008-05-02 15:13:49 -04:00
Alex Deucher
e3721a3b3f
R5xx: various updates
...
- fixup VAP_CNTL setup
- remove extra instruction in r5xx passthrough shader
- add notes about pipe config
2008-05-02 15:13:48 -04:00
Alex Deucher
831fc138c1
R5xx: Add R5xx pci ids
2008-05-02 15:13:48 -04:00
Dave Airlie
28904e54d2
fixup r500 bits for renaming
2008-05-02 15:13:48 -04:00
Dave Airlie
de9c1c3627
r500: fixup fake shader to keep gears going
2008-05-02 15:13:48 -04:00
Dave Airlie
fbab11e9b0
r500: enable gb tiling for r5xx
2008-05-02 15:13:48 -04:00
Dave Airlie
6864220c28
r500: fixup support for emitting fragment program to hardware.
...
Also fixup the constant emission
this breaks glxgears from what I can see but its another step to correctness
2008-05-02 15:13:48 -04:00
Dave Airlie
3b7c5bfb98
r500: setup fragment program constant emission atom
2008-05-02 15:13:48 -04:00
Dave Airlie
6443da0865
r300: add rv530 pci id for the t60p laptop
2008-05-02 15:13:48 -04:00
Dave Airlie
c07534dc71
r300: this code really shouldn't be here.
...
For R500 just ignore it for now while I do something interesting like
run glxgears.
2008-05-02 15:13:48 -04:00
Dave Airlie
c0cb9bc84c
mesa: cleanup state emission and rs for r500
...
trivial clear app now renders
2008-05-02 15:13:48 -04:00
Dave Airlie
a453b3154e
r500 RS unit setup
2008-05-02 15:13:47 -04:00
Dave Airlie
ed1584aed8
more r500 vs r300 kickin
2008-05-02 15:13:47 -04:00
Dave Airlie
5a143e91dc
some basic r500 portage
2008-05-02 15:12:37 -04:00
Dave Airlie
8aa98a409b
r500: fragprog
2008-05-02 15:11:03 -04:00
Corbin Simpson
b15c49e59b
r5xx: Fragprog shader now handles TEX/TXP correctly.
2008-05-02 12:06:21 -07:00
Corbin Simpson
029cb1fd0f
Start of TEX/TXP support.
...
Still having problems with temps and consts, though...
2008-05-02 12:06:21 -07:00
Corbin Simpson
b5246de562
Added OPCODE_ABS, slightly fixed ADD/SUB
2008-05-02 12:06:21 -07:00
Corbin Simpson
6e96ea535a
Initial r5xx fragment program compiler support.
...
Includes fallback shader and a handful of working opcodes.
2008-05-02 12:06:21 -07:00
Corbin Simpson
c02d1863d1
Add chip id 71D5 (RV530 M66) to radeon_chipset.h
2008-05-02 12:06:21 -07:00
Dave Airlie
d06e61aa80
fixup r500 bits for renaming
2008-05-02 12:06:21 -07:00
Dave Airlie
a3996ba2d1
r500: fixup fake shader to keep gears going
2008-05-02 12:06:21 -07:00
Dave Airlie
8e33a83b68
r500: enable gb tiling for r5xx
2008-05-02 12:06:21 -07:00
Dave Airlie
70335540c6
r500: fixup support for emitting fragment program to hardware.
...
Also fixup the constant emission
this breaks glxgears from what I can see but its another step to correctness
2008-05-02 12:06:21 -07:00
Dave Airlie
14c3bdb3f7
r500: setup fragment program constant emission atom
2008-05-02 12:06:21 -07:00
Dave Airlie
e46c3d7bcf
r300: add rv530 pci id for the t60p laptop
2008-05-02 12:06:21 -07:00
Dave Airlie
99e75135ee
r300: this code really shouldn't be here.
...
For R500 just ignore it for now while I do something interesting like
run glxgears.
2008-05-02 12:06:21 -07:00
Dave Airlie
9d9f66cc8d
mesa: cleanup state emission and rs for r500
...
trivial clear app now renders
2008-05-02 12:06:21 -07:00
Dave Airlie
a87914993d
r500 RS unit setup
2008-05-02 12:06:21 -07:00
Dave Airlie
55418dc87d
more r500 vs r300 kickin
2008-05-02 12:06:21 -07:00
Dave Airlie
2ffa112ed3
some basic r500 portage
2008-05-02 12:05:28 -07:00
Dave Airlie
cd66f0e2d9
r500: fragprog
2008-05-02 12:04:04 -07:00
Alex Deucher
1226aba119
R3/4/5: fix TCL on r5xx, cleanup PVS code
2008-05-02 13:56:56 -04:00
Alex Deucher
25d9f2dd24
R300: fix VAP_OUTPUT_VTX_FMT_1 defines
2008-05-02 13:03:48 -04:00
Alex Deucher
734ef96d5f
R300: cleanup VAP_CLIP_CNTL
2008-05-02 12:48:39 -04:00
Alex Deucher
db1fc51ccc
R300: clean up VAP_PROG_STREAM_CNTL* register usage
2008-05-02 12:29:40 -04:00
Alex Deucher
45077fc323
Update comment
2008-05-02 10:54:20 -04:00
Alex Deucher
279ea105d8
R5xx: various updates
...
- fixup VAP_CNTL setup
- remove extra instruction in r5xx passthrough shader
- add notes about pipe config
2008-05-02 10:51:40 -04:00
Alex Deucher
f25b37c1da
R5xx: Add R5xx pci ids
2008-05-01 16:02:58 -04:00
Alex Deucher
44791e2d78
Merge branch 'r500test' of git://people.freedesktop.org/~airlied/mesa into r345-cleanup
2008-05-01 14:51:26 -04:00
Brian Paul
ac88b3dd16
Add support for GL_REPLACE_EXT texture env mode.
...
GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that
actually uses it.
The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately.
2008-04-30 16:08:28 -06:00
Brian Paul
27b6fa5615
mesa: adjust glBitmap coords by a small epsilon
...
Fixes problem with bitmaps jumping around by one pixel depending on window
size. The rasterpos is often X.9999 instead of X+1.
Run progs/redbook/drawf and resize window to check.
Cherry picked from gallium-0.1 branch
2008-04-29 18:38:26 -06:00
Brian Paul
68eb76dfb7
Enabled GL_EXT_multi_draw_arrays extension in R200/R300 drivers
2008-04-29 18:38:26 -06:00
Ove Kaaven
392760ee0c
r200: fix state submission issue causing bogus textures (bug 15730)
2008-04-29 22:11:23 +02:00
Michel Dänzer
063b60a51f
Change default of driconf "allow_large_textures" to announce hardware limits.
...
The previous default these days served mostly to cause artifical problems with
GLX compositing managers like compiz (see e.g.
http://bugs.freedesktop.org/show_bug.cgi?id=10501 ).
(cherry picked from commit acba9c1771
)
2008-04-29 19:03:44 +02:00
Brian Paul
7b676192e9
enable GL_EXT_multi_draw_arrays (see bug 15670)
2008-04-24 16:31:28 -06:00
Brian Paul
138e0010eb
added FreeBSD static config
2008-04-23 08:23:18 -06:00
Anatolij Shkodin
36bad2b478
added freebsd-static
2008-04-23 08:23:18 -06:00
Alan Hourihane
f6d6fc603e
revert
2008-04-22 23:08:35 +01:00
Alan Hourihane
5545b46571
small cleanups
2008-04-22 20:29:42 +01:00
Alan Hourihane
06b0a7acce
correct the return value
2008-04-22 20:29:00 +01:00
Alan Hourihane
534f30064d
Fix error string
2008-04-22 20:28:35 +01:00
Dave Airlie
eff6f12032
fixup r500 bits for renaming
2008-04-16 20:42:15 +10:00
Dave Airlie
09df5eaff2
Merge branch 'master' into r500test
...
Conflicts:
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_ioctl.c
2008-04-16 20:25:08 +10:00
Brian Paul
6c9e1b2337
fix GL_ARB_texture_rectangle breakage
2008-04-14 13:44:05 -06:00
Brian Paul
62c67576e0
fixed WIN32 compile problem in libGLU
2008-04-14 13:41:17 -06:00
Brian Paul
91d59e4cb9
check for _WIN32 and __WIN32__
2008-04-14 13:40:39 -06:00
Brian Paul
8de268bb3c
add -Wl case (part of prev DragonFly patch)
2008-04-14 12:58:51 -06:00
Brian Paul
4fd7f6047c
define #extension GL_ARB_texture_rectangle
2008-04-14 12:58:51 -06:00
David Flynn
ff3033e190
define #extension GL_ARB_texture_rectangle
2008-04-14 12:58:51 -06:00
Roland Scheidegger
18404076e3
r200: fix XPD vertex program instruction when using temps as inputs
...
due to the two read ports limit into temp memory may need the MAD_2 instruction
for the second instruction of the decomposed XPD.
While here, also try to avoid MAD_2 for MAD if all 3 inputs are temps but the
temps aren't actually distinct.
2008-04-12 02:40:44 +02:00
Brice Goglin
59c9c40c01
Prepare changelog for upload
2008-04-11 08:42:55 +02:00
Brice Goglin
666e0635da
New upstream release
2008-04-11 08:41:32 +02:00
Brice Goglin
f9968a0346
Merge tag 'mesa_7_0_3' into debian-unstable
2008-04-11 08:38:26 +02:00
Hasso Tepper
39dca05d1d
New dragonfly configs
...
A re-do commit, this time with the intended commit message.
2008-04-09 19:05:59 -06:00
Brian Paul
f51b76b670
Revert "Hasso Tepper <hasso@estpak.ee>"
...
This reverts commit 40ee989db5
.
2008-04-09 19:04:36 -06:00
Brian Paul
40ee989db5
Hasso Tepper <hasso@estpak.ee>
2008-04-09 19:02:41 -06:00
Brian Paul
ef76dfc7a0
add link to 7.0.4 relnotes
2008-04-09 19:01:07 -06:00
Brian Paul
02ddc08353
initial 7.0.4 relnotes
2008-04-09 19:00:53 -06:00
Hasso Tepper
4b24d5261a
patches for DragonFly OS
2008-04-09 18:59:19 -06:00
Brian
4b96a39c48
added MD5 sums for 7.0.3
2008-04-04 19:24:32 -06:00
Brian
48616e71d2
final prep/changes for 7.0.3 release
2008-04-04 19:06:30 -06:00
Brian
70d227ac62
7.0.3 release candidate 3
2008-04-01 18:04:13 -06:00
Eric Anholt
7f2c4f96f5
Bug #13492 : Only call ProgramStringNotify if program parsing succeeded.
...
Wine intentionally tries some out-of-spec programs to test strictness, and
calling ProgramStringNotify on the results of a failed program parse resulted
in crashes in the 965 driver.
(cherry picked from commit 185320ae13
)
2008-04-01 16:27:48 -07:00
Roland Scheidegger
667f0f60fc
fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269)
2008-04-01 23:25:04 +02:00
Brian
7592b8cc10
added some missing calls to _mesa_enable_x_y_extensions()
2008-04-01 08:41:24 -06:00
Brian
f55b831859
fix ARB f/v program comment parsing bug
2008-03-31 15:00:18 -06:00
Markus Amsler
217f7f7e5d
fix parsing bug involving comments at the end of ARB v/f programs
2008-03-31 15:00:18 -06:00
Julien Cristau
2e5a63f365
Prepare changelog for upload
2008-03-31 16:47:34 +02:00
Julien Cristau
7c614b4666
Fix libgl1-mesa-swx11-i686's dependencies
...
Change libgl1-mesa-swx11-i686's pre-dependency on libgl1-mesa-swx11 to a
regular versioned dependency, and add ${shlibs:Depends}.
I'm not sure why this used Pre-Depends in the first place, I don't think
that's needed.
2008-03-31 16:47:17 +02:00
Julien Cristau
b23d908829
Update 02_use-ieee-fp-on-s390-and-m68k.patch.
2008-03-31 13:17:24 +02:00
Julien Cristau
5379b84e63
Update changelog and add bug closer
2008-03-31 13:11:59 +02:00
Julien Cristau
32c913308e
Merge branch 'mesa_7_0_branch' of git.freedesktop.org:/git/mesa/mesa into debian-unstable
2008-03-31 13:00:20 +02:00
Xiang, Haihao
1e83d70b6d
i965: Apply -ve rhw to 965. Fix the regression introduced by
...
commit da476ff02d
. (bug#14940)
2008-03-31 09:37:55 +08:00
Brian
767dfa5b9c
fix texture/renderbuffer mix-up in test_attachment_completeness()
2008-03-28 13:25:25 -06:00
Alan Hourihane
7ff5b38126
Fix build problems
2008-03-27 16:36:12 +00:00
Brian
e209f5300d
updated glext.h to version 40
2008-03-25 08:11:47 -06:00
Brian
3c4b50c352
updated to version 40
2008-03-25 08:11:36 -06:00
Brian
4e7c2fcf18
add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file
2008-03-24 19:55:46 -06:00
Brian
22534f94f5
fix wrong values for GL_READ/DRAW_FRAMEBUFFER_BINDING_EXT tokens
2008-03-24 19:55:04 -06:00
Brian
1a6928fdbe
use ctx->Driver.DeleteProgram() in a few more places
2008-03-22 10:27:08 -06:00
Brian
325dbbac47
delete default programs with ctx->Driver.DeleteProgram()
2008-03-22 09:11:35 -06:00
Dave Airlie
9566cf0e2f
r500: fixup fake shader to keep gears going
2008-03-22 11:00:25 +10:00
Dave Airlie
4feac4e40e
r500: enable gb tiling for r5xx
2008-03-22 10:56:48 +10:00
Dave Airlie
583ed4bde3
r500: fixup support for emitting fragment program to hardware.
...
Also fixup the constant emission
this breaks glxgears from what I can see but its another step to correctness
2008-03-22 10:55:32 +10:00
Brian
39ac6b0481
Fix some PBO breakage.
...
In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset
into a PBO. Similarly for _mesa_GetTexImage.
2008-03-21 12:32:29 -06:00
Dave Airlie
3eb8e5871f
r500: setup fragment program constant emission atom
2008-03-21 17:05:29 +10:00
Dave Airlie
ed18005a99
r300: add rv530 pci id for the t60p laptop
2008-03-20 14:34:04 +10:00
Dave Airlie
d019f101e8
r300: this code really shouldn't be here.
...
For R500 just ignore it for now while I do something interesting like
run glxgears.
2008-03-20 14:30:59 +10:00
Dave Airlie
2b8e422b31
mesa: cleanup state emission and rs for r500
...
trivial clear app now renders
2008-03-20 14:21:10 +10:00
Dave Airlie
9e6e4ae49a
r500 RS unit setup
2008-03-20 13:57:22 +10:00
Brian
46cc4854e9
fix IEEE_ONE definition for ICC compiler (bug 15134)
2008-03-19 17:25:18 -06:00
Dave Airlie
57028236c8
more r500 vs r300 kickin
2008-03-19 16:29:11 +10:00
Alan Hourihane
f93882512e
set outputs_safe to 0 as it's possible for the code generation
...
to slip over the allocated memory for the vb.
pull in sse fixes from gallium-0.1
2008-03-19 01:03:48 +00:00
Markus Amsler
0dee2a4f6f
only set InputsRead bit if input is really used
2008-03-17 08:35:34 -06:00
Dave Airlie
1c71ec4d45
some basic r500 portage
2008-03-17 21:09:49 +10:00
Dave Airlie
5da8289e9c
r500: fragprog
2008-03-17 19:05:44 +10:00
Brian
3cebc35669
init tmpNode to zeros
2008-03-14 14:16:00 -06:00
Brian Paul
e75a204fb9
mesa: fix emit_clamp() so that we don't use an output register as temporary
...
IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary
register for the intermediate value so we don't inadvertantly use an output
register (which are write-only on some GPUs).
2008-03-14 13:57:53 -06:00
Roland Scheidegger
ac06a5c16a
fix state.lightprod ambient/specular w value (bug #14983 )
2008-03-13 12:43:53 +01:00
Dan Nicholson
ed758fee0c
Merge branch '7.0-glx' into mesa_7_0_branch
2008-03-10 16:45:49 -07:00
Jeremy Huddleston
a21c61ee8b
Darwin: Fixed small error in darwin config files
2008-03-10 16:02:55 -07:00
Dan Nicholson
24697da20e
glapi: Resync generated files with 7.0 branch
...
The previous commits pulled in the generated files from master. This
regenerates the files from the source on the 7.0 branch.
2008-03-10 15:17:59 -07:00
Jeremy Huddleston
7120c0089d
Darwin: Config/source fixes to now build glxdemo apps and OSMesa
...
Also added darwin-fat-32bit darwin-fat-all configs and deleted old darwin-x86ppc config
2008-03-10 15:13:44 -07:00
Dan Nicholson
88a436a8f7
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.
(cherry picked from commit 7688791fc5
)
2008-03-10 15:03:13 -07:00
Dan Nicholson
2fdb5a245d
glapi: Correct prerequisites for gl_and_glX_API.xml
...
The indirect_dispatch.h and indirect_table.c source files use
gl_and_glX_API.xml in their generation rather than glX_API.xml, but it
wasn't listed in their prerequisites. In turn, gl_and_glX_API.xml uses
glX_API.xml, but this is already listed in $(COMMON_GLX).
(cherry picked from commit 929b6d2ebf
)
2008-03-10 15:03:01 -07:00
Dan Nicholson
8441b53538
glapi: Use make automatic variables to clean up the commands
...
Make use of the make automatic variables $@ (the target) and $< (first
prerequisite) to clean up the commands for the glapi generation. This
improves readability and guards against typos since words are repeated
less frequently.
(cherry picked from commit fc67d47708
)
2008-03-10 15:02:51 -07:00
Dan Nicholson
d336df8b73
glapi: Use variable for indent and flags
...
Put the path to indent and the flags to call it with in configs/default
rather than in the Makefile. This makes it easier to change the values
globally.
(cherry picked from commit 817af9bec2
)
2008-03-10 15:02:36 -07:00
Brian
8aaf805b8a
fix parsing of state.texenv.color (bug 14931)
2008-03-10 07:41:31 -06:00
Markus Amsler
8161fd2785
Set normalized flag for GLubyte arrays in _mesa_VertexAttribPointerNV()
2008-03-09 17:53:00 -06:00
Markus Amsler
2f23025dfe
init vertex weight attrib to (1,0,0,0)
2008-03-09 17:51:21 -06:00
Brian
1867eac230
fix __builtin_expect() definition test for IBM XLC (sf bug 1909832)
2008-03-09 10:54:50 -06:00
Roland Scheidegger
096e35d05f
state.depth.range alpha value should be 1, not 0 (bug #14733 )
2008-03-01 02:57:01 +01:00
Xiang, Haihao
8998f52b97
Don't Swap buffer if a DRIDrawable is entirely obscured by another window.
2008-02-28 11:43:54 +01:00
Brian
0fd38dcc83
Replace glut_fbc.c with glut_fcb.c (cb=callback)
2008-02-25 10:57:54 -07:00
Julien Cristau
d89cf0649e
Add bug closer for #408679 .
2008-02-24 10:23:17 +01:00
Julien Cristau
31e9d9d4f8
Prepare changelog for upload.
2008-02-23 18:18:42 +01:00
Julien Cristau
ea9c6d3d9e
03_optional-progs-and-install.patch: partly applied upstream, fixed up
2008-02-23 16:08:53 +01:00
Brian
ff63cf8068
bump libGL.so version number
2008-02-22 07:59:39 -07:00
Julien Cristau
eaac94c35a
Update changelog.
2008-02-22 12:16:27 +01:00
Julien Cristau
9291506af0
Merge branch 'mesa_7_0_branch' of git.freedesktop.org:/git/mesa/mesa into debian-unstable
...
Conflicts:
src/glx/mini/Makefile
2008-02-22 12:09:35 +01:00
Brian
4716670de9
prep for 7.0.3 rc-2
2008-02-21 16:59:20 -07:00
Brian
33c5b38034
latest bug fixes
2008-02-20 09:39:59 -07:00
Brian
5737d6c565
Fix point rasterization regression caused by commit 95a2eb9767
...
Even-sized, non-AA points need 0.5 bias in position to hit the right pixels.
Test program from bug report 11016 retested and is OK.
2008-02-20 09:38:16 -07:00
Brian
08a7f56c6a
raise GL_INVALID_OPERATION if glProgramString compilation fails
...
cherry picked from master.
2008-02-20 09:00:49 -07:00
Brian
7916f2b4aa
Fix glBegin-time test for invalid programs/shaders.
...
Cherry picked from master.
2008-02-20 08:56:20 -07:00
Brian
193d303ac7
Added <size name="Get" mode="get"/> lines for point parameter tokens.
...
Cherry picked from master
2008-02-19 08:46:39 -07:00
Jeremy Huddleston
e70609b7b8
Apple: Pulled in changes from Apple's patchset to allow mesa to build on darwin again
2008-02-19 00:54:35 -08:00
Xiang, Haihao
da476ff02d
i965: new integrated graphics chipset support
2008-02-19 15:59:50 +08:00
Brian
77e3b5d28b
Fix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915)
...
Also, general clean-up of the Xlib-optimized glDraw/CopyPixels code.
2008-02-16 09:56:26 -07:00
Brian
bf97ca448c
Fix glBindTexture crash (bug 14514)
2008-02-15 13:42:19 -07:00
Roland Scheidegger
c5f8ff8b32
fix bug with generated fragment programs if vertex shader is active
...
When generating a fragment program from fixed function, checking
texUnit->_ReallyEnabled is not sufficient, need texUnit->Enabled too
since the former also represents texture enables from an active vertex
shader.
2008-02-15 17:26:58 +01:00
caner
50465766d1
miniglx doc updates
2008-02-14 09:34:08 -07:00
Xiang, Haihao
7d8df58a63
_mesa_swizzle_ubyt_image: Don't use single swizzle_copy call
...
if components don't match. fix #13508
2008-02-13 07:07:47 -07:00
Andy Skinner
762c074012
added -altopts to allow overriding all other opts
2008-02-07 13:19:55 -07:00
Brian
51f2ee3bfb
fix bug 9871
2008-02-06 07:55:26 -07:00
Brian
b5cd34aa21
Fix bug 9871: enable user-defined clip planes for R300
...
Patch provided by Erkin Bahceci <erkinbah@gmail.com >
2008-02-06 07:54:24 -07:00
Tony DeFeo
ae5c6dcd42
[965] Fix memory leak when deleting buffers with backing store.
2008-02-05 10:49:44 -08:00
Roland Scheidegger
97196d0c8c
regenerate glsl library functions
2008-01-31 01:36:23 +01:00
Roland Scheidegger
f6de56b88a
fix w component of glsl vec4 asin
2008-01-31 01:35:52 +01:00
Brian
d64ea43b76
fix bugs 13507, 14293
2008-01-30 08:12:06 -07:00
Brian
2deaf93d24
check if fb->Delete is null (bugs 13507,14293)
2008-01-30 08:12:06 -07:00
Alex Deucher
a107ec8300
Add new RV380 pci id
...
bug 14289
(cherry picked from commit 80efe27560
)
2008-01-29 10:15:32 -05:00
Alex Deucher
120a1f9508
Merge branch 'mesa_7_0_branch' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into mesa_7_0_branch
2008-01-29 09:50:26 -05:00
Alex Deucher
bb84007a57
R300: RV410 SE chips have half the pipes of regular RV410
...
This fixes 3D rendering on x700 SE chips. Reported
by Kano.
(cherry picked from commit 0b7e0f8159
)
2008-01-29 09:46:48 -05:00
Alan Hourihane
86234e55a6
pull some more fixes for pbo access from trunk
2008-01-28 11:23:53 +00:00
Alan Hourihane
61972077cd
fix some pbo path problems
2008-01-28 11:15:53 +00:00
Xiang, Haihao
5a7feb8ea2
i965: valid message length includes message header.
2008-01-25 17:23:55 +08:00
Xiang, Haihao
4b4c131cd0
i965: re-define the type of reg.loopcount.
...
avoid some issues such that 1 + (-2) gets a big
positive value.
2008-01-25 17:23:15 +08:00
Julien Cristau
67617c8f89
Drop -O0 workaround on hppa.
...
Stop building with -O0 on hppa. Bug #451047 should be fixed in recent gcc
versions.
2008-01-24 22:52:48 +01:00
Brian
0fd23f01c6
Assorted patches for miniglx/linux-solo (Gavin Li <codeview@gmail.com>)
2008-01-23 16:04:02 -07:00
Adam Jackson
557b0d9df7
glxinfo: Fix multisample visual reporting.
...
strstr() == 0 tests for the string _not_ being present. Originally
Red Hat bug #351871 .
2008-01-22 14:04:39 -07:00
Brian
888f4380cf
fix GLX vertex array bug 14197
2008-01-22 08:41:22 -07:00
Brian
3266c5e95a
fix pc vs. gc->ps usage (bug 14197)
2008-01-22 08:38:48 -07:00
Brian
834decdaae
Don't build yuvrect_client by default
...
Added 'extra' rule to build optional yuvrect_client, shape, xdemo programs
2008-01-22 07:56:31 -07:00
Brian
18b2d83173
remove unused var
2008-01-22 07:54:37 -07:00
Alexey Sokolov
30c65c3c62
define M_PI if needed
2008-01-22 07:42:40 -07:00
Brian
04fcc4cf1e
prep for 7.0.3 release
2008-01-21 16:21:39 -07:00
Julien Cristau
09504dde1f
Update changelog; add Vcs-* and Homepage fields in debian/control.
2008-01-17 22:26:48 +01:00
Julien Cristau
c04885f072
Merge branch 'mesa_7_0_branch' of git://anongit.freedesktop.org/git/mesa/mesa into debian-unstable
...
Conflicts:
progs/tests/.gitignore
progs/tests/Makefile
2008-01-14 22:30:03 +01:00
Michel Dänzer
48ae5cf09d
i965: Fix byte vs. pixel unit mixup for aligned texture pitch.
...
I sincerely hope I don't manage to mess this up yet again...
Thanks again to Todd Merrill for pointing out the problem and testing the fix
on IRC.
2008-01-14 16:30:58 +01:00
Michel Dänzer
45cdb6eb45
i965: Fix unresolved symbol intel_miptree_pitch_align.
...
For some reason, I thought that function was shared with i915tex... The good
news is that i965 gets to keep the lower pitch alignment requirements.
Thanks to Todd Merrill for pointing out the problem on IRC.
2008-01-11 16:32:39 +01:00
Keith Packard
b9f3f732aa
i915tex: Centralize mipmap pitch computations.
...
mipmap pitches must account for the device alignment requirements, which
used to be fairly simple; just align to a 4-byte boundary. However, to allow
textures to be drawn to under TTM, they now need to be aligned to a 64-byte
boundary. Placing all of the alignment constraints in a single function
allows this new constraint to be applied uniformly.
There was some pitch constraining code in intel_miptree_create, but that was
modifying the pitch long after the miptree had been layed out, so it only
served to wreck the mipmap and cause rendering errors.
(cherry picked from commit a183efc132
with manual
changes for mesa_7_0_branch by Michel Dänzer. One side effect of this is that
i965 also aligns the pitch of 2D textures to multiples of 64 bytes, hopefully
that won't cause any issues)
2008-01-08 16:48:13 +01:00
Brian
17006ddd6b
fix 3d proxy texture depth bug
2008-01-05 15:44:51 -07:00
Brian
b77a354df3
fix depth/1 typo in glTexImage3D proxy code
2008-01-05 15:44:51 -07:00
Brian
71d46beebf
additional stub functions
2008-01-02 07:23:41 -07:00
Brian
454e296eb1
additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)
2008-01-02 07:20:08 -07:00
Brian
f9b696be2b
fix vbo display list memleak upon context destruction
2008-01-01 10:23:56 -07:00
Brian
c923edbc71
additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)
2008-01-01 10:10:18 -07:00
Brian
e20c1d987f
fix GLSL uniform/attrib bugs (13753)
2008-01-01 09:59:51 -07:00
Bruce Merry
cd354eb10f
Convert to 0/1 when setting boolean uniforms
...
Also add some extra tests to the shader_api regression tests
2008-01-01 09:59:51 -07:00
Bruce Merry
e9ac27ee23
Make use of count in _mesa_uniform_matrix
2008-01-01 09:59:50 -07:00
Bruce Merry
3f9dc9f5b6
Add a test program to test for assorted bugs in shader_api.c
2008-01-01 09:59:50 -07:00
Bruce Merry
ba709875ae
More fixes to shader_api
...
- return GL_INVALID_OPERATION instead of GL_INVALID_VALUE if location is bad
- correct the type-checking of uniforms from my previous commit
- accept location of -1 in _mesa_uniform_matrix
2008-01-01 09:59:50 -07:00
Bruce Merry
80f8397b35
Fix several bugs relating to uniforms and attributes in GLSL API
...
- fix sizes for GL_FLOAT_MAT2x3 and GL_FLOAT_MAT4x3 in sizeof_glsl_type
- fix size returns in _mesa_get_active_attrib
- fix out-of-bounds array access to vec_types in _mesa_get_active_attrib
- fix queries of matrix uniforms in _mesa_get_uniformfv
- fix _mesa_get_uniformfv to only return one base, even from an array
- allow location == -1 in _mesa_uniform
- validate types in _mesa_uniform
- allow array overruns in _mesa_uniform
2008-01-01 09:59:50 -07:00
Brian
b45fa27fa1
added 'get' info for framebuffer object tokens
2008-01-01 09:26:30 -07:00
Brian
b59480645d
add 'Get' info for MAX_3D_TEXTURE_SIZE (for bug 13811)
2008-01-01 09:04:13 -07:00
Brian
148cb36979
add missing double quote (bug 13878)
2008-01-01 07:59:58 -07:00
Roland Scheidegger
c1eb78f7ff
fix GL_LINE_LOOP with drivers using own render pipeline stage ( #12410 , #13527 )
...
primitive needs to include the begin/end flags (broken since vbo-0.2). Should
fix missing first/last line segment on gamma, i810, i915, mga, r200, radeon,
s3v, savage, unichrome (r300 already correct). Tested on r200, fixes #13527 .
2007-12-22 18:49:42 +01:00
Brian
8aa0fd6b20
glGetActiveUniform fix
2007-12-20 09:08:12 -07:00
Brian
a1b3a908f5
return correct size from glGetActiveUniform (bug 13751)
2007-12-20 09:08:12 -07:00
Xiang, Haihao
f9e70d951a
i965: allocate GRF registers before building subroutines,
...
it ensures there are sufficient registers for all subroutines.
2007-12-19 10:44:00 +08:00
Xiang, Haihao
41ed6be1da
i965: restore the flag after building the subroutine of the
...
GS thread. fix #13240
2007-12-19 10:36:56 +08:00
Brian
27de28fc3e
Remove -I$(TOP)/src/mesa/transform
2007-12-18 17:07:11 -07:00
Brian
dd2f01c229
simplify update two-side lighting test (follow-on to previous front/back-face changes)
2007-12-18 16:28:36 -07:00
Brian
deb5c56c77
fix NEED_SECONDARY_COLOR for vert/frag progs
2007-12-18 16:28:36 -07:00
Julien Cristau
9fd22f0e3f
Prepare changelog for upload.
2007-12-18 19:13:27 +01:00
Julien Cristau
942372dcdf
debian/control fixups
...
* Bump Standards-Version to 3.7.3.
* Move libgl1-mesa-swx11-dbg, mesa-common-dev and libosmesa6-dev to section
libdevel.
* libgl1-mesa-swx11 conflicts with libgl1-mesa-glx. Move it and
libgl1-mesa-swx11-dev to priority extra.
* Fix typo in mesa-common-dev's long description.
2007-12-18 13:57:06 +01:00
Julien Cristau
b7f901088b
Update changelog.
2007-12-18 13:32:01 +01:00
Julien Cristau
c02990525c
Merge branch 'mesa_7_0_branch' of git.freedesktop.org:/git/mesa/mesa into debian-unstable
...
Conflicts:
progs/trivial/quad-clip-nearplane.c
2007-12-18 12:28:29 +01:00
Michel Dänzer
0107acded0
i915tex: Fix issues with glDrawBuffer(GL_NONE).
...
Don't dereference NULL renderbuffer pointer, and make sure the software
fallback sticks.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=13694 .
2007-12-17 12:32:26 +01:00
Brian
2ac5e08d1d
fix polygon cull regression
2007-12-14 14:36:23 -07:00
Dan Nicholson
1837b8c214
configs: Fix linking with static libGL and --as-needed
...
Linking of the programs breaks when using a static libGL and the GNU ld
option --as-needed. This is because libXext is needed for the XShm
functions.
(cherry picked from commit 6aaf9bdd41
)
2007-12-07 11:51:18 -08:00
Brian
03d2bc1774
fix gl_FrontFacing
2007-12-04 14:07:15 -07:00
Brian
385bddbde0
fix span->facing computation and gl_FrontFacing initialization
2007-12-04 14:07:15 -07:00
Brian
c135426267
Fix gl_FrontFacing compilation problem
2007-12-04 14:07:15 -07:00
Michel Dänzer
4be0c98120
Use -Bsymbolic for linking all shared objects.
...
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10132 .
Also remove comment about SONAME, as SONAME only applies to shared libraries.
(cherry picked from commit fc7ddea853
)
2007-12-04 18:33:07 +01:00
Brian
e760aebd5a
fix two-side lighting bug/crash
2007-12-03 14:13:08 -07:00
Brian
1f6e7d9c29
fix DD_TRI_LIGHT_TWOSIDE bug ( #13368 )
2007-12-03 14:12:34 -07:00
Dan Nicholson
c6d421af05
Fix the library name in glw.pc
...
Fix a copy and paste error s/GLU/GLw/ in glw.pc.
(cherry picked from commit 2dc85e8078
)
2007-12-03 12:08:03 -08:00
Brian
952df5e493
fix two-sided stencil
2007-12-03 12:00:21 -07:00
Brian
45acb8b058
added missing quote char
2007-12-03 12:00:21 -07:00
Michel Dänzer
e8997c0183
i915tex: Fix up state changes for i8xx.
...
(cherry picked from commit 2af613e0b8
)
2007-12-03 09:38:13 +01:00
Brian
169e62f563
fix-build: remove ctx->_Facing assignment
2007-11-30 15:52:41 -07:00
Brian
1b43babfb1
fix broken two-sided stencil
2007-11-30 13:01:42 -07:00
Brian
43e902f774
better front-plane clip test
2007-11-30 09:09:12 -07:00
Xiang, Haihao
b0a800e249
i965: use uncompressed instruction to ensure only
...
Pixel Mask Copy is modified as the pixel shader thread
turns off pixels based on kill instructions.
2007-11-30 12:36:07 +08:00
Brian
73d5f232ad
New ctx->Driver.Map/UnmapTexture() functions for accessing textures from t_vb_program.c
2007-11-29 08:18:11 -07:00
Brian
f7209541e4
cleanups, comments
...
Conflicts:
src/mesa/tnl/t_vb_program.c
2007-11-29 08:18:11 -07:00
Brian
397a32dca7
Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.c
2007-11-29 08:18:11 -07:00
Roland Scheidegger
e0719d7122
make sure state token values are fully initialized
2007-11-29 03:08:48 +01:00
Michel Dänzer
3f18c0a9f2
r200: Fix texture format regression on big endian systems.
...
See https://bugs.freedesktop.org/show_bug.cgi?id=13324 .
Also use tx_table_be for VALID_FORMAT, in case r200SetTexImages ever gets
called for MESA_FORMAT_RGB888.
(cherry picked from commit dc88a96631
)
2007-11-28 10:25:01 +01:00
Delle
b14be61938
use DEFAULT_SOFTWARE_DEPTH_BITS
2007-11-27 18:18:48 -07:00
Brian
440d620308
minor additions to avoid FAQs
2007-11-27 10:32:39 -07:00
Brian
8dd9df0f3e
document GLSL float f/F suffix bug
2007-11-27 10:32:39 -07:00
Brian
6b9534eaf5
set fp->UsesKill when emitting OPCODE_KIL
2007-11-27 10:32:39 -07:00
Brian
c91d374ad7
improve 24-bit Z to 32-bit Z conversion
2007-11-27 10:32:39 -07:00
Keith Whitwell
1cab4160bc
i915tex: Fix some minor batchbuffer errors.
2007-11-26 17:12:15 +01:00
Keith Whitwell
718d2dfbbd
i915tex: Catch cases where not all state is emitted for a new batchbuffer.
...
This could lead to incorrect rendering or even lockups.
2007-11-26 17:10:26 +01:00
Michel Dänzer
0967e1270d
i915tex: Some additional blit fixes and assertions.
2007-11-26 16:59:41 +01:00
Michel Dänzer
a08c02f1a8
i915tex: Actually wait for previous commands to complete for glFinish().
2007-11-26 16:59:00 +01:00
Brian
bdfd9afead
Consolidate texture fetch code and use partial derivatives when possible.
2007-11-23 12:01:39 -07:00
Brian
1c91a590d6
fix a few GLSL bugs
2007-11-23 10:28:33 -07:00
Brian
65bd7968bf
Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on variable
...
array indexes.
2007-11-23 10:26:02 -07:00
Brian
6ccd23b87b
need to check border width in sample_linear_2d() - fixes failed assertion in texwrap.c test
2007-11-23 09:14:27 -07:00
Brian
823409b7d0
Bump version numbers to 7.0.3 for next release
2007-11-22 09:36:35 -07:00
Brian
c85d31f4a0
Recompute ctx->Point._Size if GL_POINT_SIZE_MIN/MAX changes.
...
Note that all the point size clamping stuff has been redone in Mesa/master.
2007-11-22 09:36:35 -07:00
Roland Scheidegger
24af5c44da
fix z buffer read/write issue with rv100-like chips and old ddx
2007-11-22 02:55:25 +01:00
Brian
75efacf8eb
Initial 7.0.3 relnotes
2007-11-20 08:16:25 -07:00
Brian
825e810247
bring over Fortran fixes from master
2007-11-20 08:15:19 -07:00
Brian
e20723cfc1
Obsolete
2007-11-20 08:13:14 -07:00
Brian
9f39a67c1d
Rename glut_fbc.c -> glut_fcb.c (cb=callback)
2007-11-20 08:13:03 -07:00
Brian
2044f3f791
clamp lambda to Min/MaxLod
2007-11-19 13:05:10 -07:00
Brian
30d4e8c422
fix some texture format assertions, etc
2007-11-19 10:37:41 -07:00
Brian
92d552f6a2
fix out-of-bounds array index (ix=-1)
2007-11-19 09:54:41 -07:00
Brian
5adfcbbc4f
added gl_dispatch_stub_772()
2007-11-16 10:03:57 -07:00
Roland Scheidegger
69969b3819
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)
2007-11-15 02:06:15 +01:00
Roland Scheidegger
edfee04fcb
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.
2007-11-15 01:16:27 +01:00
Brice Goglin
ae0bf74db9
Prepare changelog for upload
2007-11-13 21:44:00 +01:00
Julien Cristau
1bf7ce97c0
* Add build-dep on libxext-dev. Thanks, Timo Aaltonen!
2007-11-13 21:40:49 +01:00
Julien Cristau
4971a009e0
* Workaround gcc ICE on hppa: build libOSMesa with -O0 (see bug#451047).
2007-11-13 20:59:08 +01:00
Julien Cristau
e1613ab80d
Don't set -fno-strict-aliasing in configs/debian-default.
...
Upstream uses that since 7.0.2.
2007-11-13 20:57:58 +01:00
Brian
28c9930888
add pointer to Gallium3D info
2007-11-13 09:51:14 -07:00
Brian
e3a35a123e
DRI memory manager info (fixes dangling link)
2007-11-13 09:50:42 -07:00
Brian
412168f2e8
remove dependency on libGLU
2007-11-12 08:21:21 -07:00
Brian
fc0fa0d636
add glw.pc.in to tarball list, remove from DEPEND_FILES
2007-11-12 07:52:20 -07:00
Brice Goglin
caf283329b
Prepare changelog for upload
2007-11-11 11:55:05 +01:00
Brice Goglin
5cedd4a43e
Remove DESTDIR from INSTALL_DIR in configs/debian-default
...
... and update 03_optional-progs-and-install.patch accordingly.
2007-11-11 11:49:16 +01:00
Brice Goglin
0595d32d8a
Refresh 03_optional-progs-and-install.patch
...
The default Makefile requires libGLU to be built
while linking progs/xdemos. However, we don't build
libGLU and progs/xdemos at the same time, and
these progs don't actually need libGLU.
2007-11-11 11:48:32 +01:00
Brice Goglin
e339b4e8da
New upstream release
2007-11-11 00:34:46 +01:00
Brice Goglin
11c827c588
Merge tag 'mesa_7_0_2' into debian-unstable
...
Conflicts:
.gitignore
progs/demos/.gitignore
progs/directfb/Makefile
progs/egl/Makefile
progs/fbdev/Makefile
progs/fp/Makefile
progs/miniglx/Makefile
progs/samples/.gitignore
progs/slang/Makefile
progs/tests/.gitignore
progs/tests/Makefile
progs/tools/trace/Makefile
progs/trivial/Makefile
progs/vp/Makefile
progs/xdemos/.gitignore
src/egl/drivers/demo/Makefile
src/egl/drivers/dri/Makefile
src/egl/main/Makefile
src/glu/mesa/Makefile
src/glut/directfb/Makefile
src/glx/mini/Makefile
2007-11-11 00:24:52 +01:00
Brian
8a40b670c3
added md5 checksums
2007-11-10 09:53:00 -07:00
Brian
d9fa5cbfc9
final changes for 7.0.2 relesae
2007-11-10 09:41:52 -07:00
Benno Schulenberg
1c21564292
code clean-ups, reformatting
2007-11-09 08:53:41 -07:00
Benno Schulenberg
6cc96bf156
remove commented-out code
2007-11-09 08:53:15 -07:00
Brian
29afd4bbc4
fix blender/unichrome crash, bug 13142
2007-11-08 07:36:30 -07:00
Benno Schulenberg
4e3db063ec
fix Unichrome/Blender crash, bug 13142
2007-11-08 07:36:30 -07:00
Brian
6560744c38
added -fno-strict-aliasing and -fPIC flags
2007-11-08 07:36:30 -07:00
Brian
572ad87881
change filenames for rc2
2007-11-08 07:36:30 -07:00
Michel Dänzer
2ab75d6cfa
r200: Fix SetTexOffset format for 16 bit pixmaps/textures.
...
Use symbolic array indices to clarify.
2007-11-06 18:39:50 +01:00
Chris Rankin
041a8eb5ec
r200: Implement SetTexOffset hook.
...
Implementation guidance by Michel Dänzer, final testing by Timo Aaltonen.
2007-11-06 18:32:33 +01:00
Brian
c1c13bdcfa
Check for NULL VB->EdgeFlag array.
...
There might be a bug elsewhere, but this is a simple work-around for now.
See bug 12614
2007-11-05 14:43:03 -07:00
Brian
403edd34dd
fix mmx code (bug 12614)
2007-11-05 14:38:12 -07:00
Brian
f279e48416
fix mmx code (bug 12614)
2007-11-05 14:38:05 -07:00
Brian
bf854d8d27
SSE codegen fixes
2007-11-03 08:45:42 -06:00
Brian
f334121679
Fix mem leak in SSE code generation path (Michel Dänzer) and don't crash if _mesa_exec_malloc() returns NULL.
2007-11-03 08:44:48 -06:00
Dan Nicholson
b88e2be609
Add -fno-strict-aliasing workaround for all GCC targets
...
Use a GCC option to work around aliasing bugs. See commit 013dbcd
for
more details.
(cherry picked from commit 01b18abf93
)
Conflicts:
configs/freebsd
2007-11-01 11:07:02 -07:00
Dan Nicholson
08229c8bb8
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.
(cherry picked from commit dbcd20f1c2
)
2007-11-01 11:02:05 -07:00
Dan Nicholson
c984017f71
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.
(cherry picked from commit c3b5adaa9a
)
2007-11-01 11:01:10 -07:00
Dan Nicholson
00e7dd8a13
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.
(cherry picked from commit 013dbcd611
)
2007-11-01 10:56:01 -07:00
Brian
d11b375b16
fix typo
2007-10-31 09:43:17 -06:00
Brian
d1afa8146f
updated help/to-do list
2007-10-31 09:40:58 -06:00
Brian
31d4ba8a93
glDrawArrays(count=0) bugfix
2007-10-31 09:40:20 -06:00
Brian
1a7640958c
check for count==0 in _mesa_validate_DrawArrays()
2007-10-31 09:39:20 -06:00
Brian
2e2a5a450b
note G33/Q33/Q35 support
2007-10-31 08:19:14 -06:00
Brian
574fd63ff0
fix GL_ATI_separate_stencil
2007-10-30 10:46:31 -06:00
Brian
1063d47526
Alias glStencilOpSeparateATI with glStencilOpSeparate.
...
(Cherry-pick from master)
2007-10-30 10:45:47 -06:00
Brian
b59a892d3e
Finish up ATI_separate_stencil
...
Add entrypoints to glapi XML file and regenerate files.
Implement glStencilOpSeparateATI().
Consolidate some code in stencil.c
Conflicts:
src/mesa/glapi/dispatch.h
src/mesa/glapi/glapioffsets.h
src/mesa/glapi/glapitable.h
src/mesa/glapi/glapitemp.h
src/mesa/glapi/glprocs.h
src/mesa/main/enums.c
src/mesa/main/state.c
src/mesa/sparc/glapi_sparc.S
src/mesa/x86-64/glapi_x86-64.S
src/mesa/x86/glapi_x86.S
2007-10-30 10:34:26 -06:00
Roland Scheidegger
6e5d5d77df
add missing _mesa_StencilFuncSeparateATI function
2007-10-30 10:26:56 -06:00
Dan Nicholson
a6319d18cf
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.
(cherry picked from commit 06ca14543e
)
2007-10-29 12:08:34 -07:00
Dan Nicholson
5103e883fd
update APP_LIB_DEPS for static library configs (patch 3/3)
...
(cherry picked from commit 162914675a
)
2007-10-29 12:06:50 -07:00
Dan Nicholson
98c4ea4b24
simplify APP_LIB_DEPS (patch 2/3)
...
(cherry picked from commit 9ef1d9f03a
)
2007-10-29 12:06:23 -07:00
Dan Nicholson
29b8cac7d7
specify app lib dependencies in Makefiles (patch 1/3)
...
(cherry-picked from commit c05aa5ec4c
)
Conflicts: progs/demos/Makefile
progs/xdemos/Makefile
2007-10-29 12:05:54 -07:00
Dan Nicholson
cdb02d43fe
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.
(cherry picked from commit 3b9e28d507
)
2007-10-29 11:44:30 -07:00
Michel Dänzer
50cecddc4a
driFenceType: Really return fence type, not flags.
...
This typo could lead to the i915tex driver waiting for an EXE only fence as RW,
causing it to abort with an error.
2007-10-29 13:27:59 +00:00
Alan Hourihane
177f6398e5
Only set R_MODE with NV_point_sprite
2007-10-28 20:08:15 +00:00
Dan Nicholson
887bd6a46f
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.
(cherry picked from commit 9514209593
)
2007-10-26 15:49:00 -07:00
Brian
9af5153410
use grep -q
2007-10-25 14:48:08 -06:00
Dan Nicholson
0e2103689e
More ignored programs merged back from master
...
Some more entries in progs/*/.gitignore that were in master.
2007-10-25 11:59:26 -07:00
Brian
2c496d8e46
simplify/fix the ASM_FLAGS tests (bug 12931)
2007-10-25 11:12:17 -06:00
Brian
8f0ba02e44
Cray Xt3 config
2007-10-25 11:12:07 -06:00
Brian
524c56e417
Fix merge
2007-10-24 16:36:00 -06:00
Brian
773f3a266c
added catamount-osmesa-pgi config, fixes for cross-compiling
2007-10-24 16:35:47 -06:00
Brian
882ada0d22
don't build x86, x86-64 dirs if not needed
2007-10-24 16:33:24 -06:00
Brian
6229005f93
properly init dst reg's CondMask/Swizzle fields
2007-10-23 10:55:14 -06:00
Brian
6c63b35ef7
bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many instructions
2007-10-23 10:25:34 -06:00
Brian
fb85e50e09
add directfb glut sources to tarball
2007-10-23 08:22:11 -06:00
Brian
5e5f908d0c
don't apply ColorMask to main gc
2007-10-22 17:54:07 -06:00
Michel Dänzer
c09e2143c7
i915tex: Don't emit 'empty' blit rectangles.
...
The hardware seems to interpret them differently and produce unexpected
results...
2007-10-17 18:28:46 +02:00
Brian
74ced1e67f
fix fog, rescale_normals bugs (from gallium branch)
2007-10-15 18:02:14 -06:00
Andreas Micheler
dd02c1609e
faster write_rgba_span_front()
2007-10-15 08:28:06 -06:00
Brian
cdf4880a79
replace 'brick' with correct program name in printfs
2007-10-10 10:57:37 -06:00
Mrc Gran
2ec8e8547d
fix force_s3tc_enable option
2007-10-10 09:16:12 -06:00
Dan Nicholson
b7c36d1d33
Ignore more generated files in progs/
...
Many of the directories in progs/ were missing .gitignore files or
were tracking generated files. This patch is basically the process of
running `make' in each directory and then finding the untracked files
with `git-ls-files -o --exclude-per-directory=.gitignore'. The existing
files were also sorted.
Conflicts:
progs/demos/.gitignore
progs/tests/.gitignore
progs/xdemos/.gitignore
2007-10-10 08:49:59 -06:00
David Nusinow
8913402b74
Revert "* Disable building i915tex."
...
This reverts commit 76556f8264
.
2007-10-06 17:54:29 -04:00
David Nusinow
c00dfefd6f
Revert "Don't release just yet."
...
This reverts commit c3de7b5ade
.
2007-10-06 17:54:13 -04:00
David Nusinow
c3de7b5ade
Don't release just yet.
2007-10-04 23:10:47 -04:00
David Nusinow
76556f8264
* Disable building i915tex.
...
It was previously only built on x86 and amd64. It was never
production-ready and relies on a kernel interface that never went
upstream.
2007-10-04 22:49:27 -04:00
Xiang, Haihao
970d18a708
Brian's fix for bug9829
2007-10-04 00:08:18 +02:00
Roland Scheidegger
9456e7f0ff
minor fog calc cleanup
2007-10-03 22:34:36 +02:00
Roland Scheidegger
a5db24adc2
fog: fix issues with negative fog coords (may fix #10529 )
...
Rework tnl fog a bit. Make sure we always use ABS(eyez) when fog coord source
is depth, OTOH it does not seem to be necessary to use it (as was done before
in some cases) if fog coord source is fogcoord (just to save some work).
This fixes tests/fog (the first 2 cases) with i915/i915tex.
2007-10-03 22:33:26 +02:00
Roland Scheidegger
17664e2620
make sure optimized fog params get updated
2007-10-03 22:33:03 +02:00
Roland Scheidegger
43a0eb0253
unbreak 3d textures (typo when setting tex layout)
2007-10-03 22:32:33 +02:00
Michel Dänzer
bcdaed2c0a
i915tex: Work around texture pitch related performance drops on i915 at least.
2007-10-03 10:48:56 +02:00
Brian
78c6637db5
updated glext.h license info (Khronos), plus other clean-ups
2007-10-01 17:56:48 -06:00
Brian
44214a98fd
fix VBO-split infinite loop (bug 12164)
2007-09-29 12:01:47 -06:00
Dan Nicholson
9cc6d2310c
add support for LDFLAGS env var
2007-09-28 18:47:11 -06:00
Brian
1a045954be
update the DRM/DRI instructions
2007-09-28 18:43:12 -06:00
Dave Airlie
b3fc9a1585
i965: fix vblank on 965gm laptops by bringing in code from i915
...
jbarnes has better fixes for this in 7.1, but for 7.0.2 this seems like the best
plan, for distros to pick it up.
2007-09-28 12:02:27 +10:00
Xiang, Haihao
2a86a449ca
mesa: make sure the gotten value isn't greater than the
...
max depth buffer value on 64bit system. fix bug #12095
2007-09-27 10:44:45 -06:00
Xiang, Haihao
44f032db61
i965: handle all unfilled mode in clip stage. fix bug #12453
2007-09-27 10:40:22 -06:00
Brian
5a520729ee
prep for 7.0.2 release
2007-09-27 10:35:10 -06:00
Brian
36fbe78c60
for Miniglx, use git sources
2007-09-27 10:34:44 -06:00
Brian
029bb17770
bump versions to 7.0.2
2007-09-27 10:30:13 -06:00
Brian
7958bee6be
fix blend bug 12164
2007-09-27 10:25:57 -06:00
Brian
0b9bb21ce4
Restore old _TriangleCaps code to fix Blender problem (bug 12164)
2007-09-27 10:25:33 -06:00
Roland Bär
cfcc5b794e
[i965] Bug #11812 : Fix fwrite return value checks in AUB file code.
2007-09-26 08:00:17 -06:00
Zou Nan hai
925ff408a6
fix fd.o bug #12217 , recalcuate urb when clip plane size change
2007-09-26 07:59:41 -06:00
Xiang, Haihao
f40ca444f5
i965: The cube map texture coordinates must be devided by the
...
component with the largest absolute value before they are
delivered. fix bug #12421
2007-09-26 07:58:57 -06:00
Zou Nan hai
638a5e0382
fix a bug in 965 ARB_occlusion_query,
...
fd.o bug #12132
2007-09-26 07:58:29 -06:00
Brian
6d777bf055
fix DrawRangeElements error msg
2007-09-23 13:57:36 -06:00
Brian
ae6d4e8bc0
fix -D_BSD_SOURC
2007-09-20 18:42:59 -06:00
Brian
f2728724d3
fix for __IBMC__
2007-09-20 15:12:42 -06:00
Brian
bc95b34cce
added bluegene-xlc-osmesa, fortran fixes
2007-09-20 15:12:21 -06:00
Brian
9eb89616af
fixes for bluegene-xlc-osmesa config
2007-09-20 15:10:35 -06:00
Brian
f7713a6d81
Added bluegene-xlc-osmesa config (Alexander Neundorf)
2007-09-20 15:09:54 -06:00
Brian
1cec9b727a
fix bug 10604
2007-09-14 13:43:58 -06:00
Brian
18a4730f5b
From trunk: mesa: bind VBO_ATTRIB_XXX to correct input array when executing a display list. fix #10604
...
This also fixes Bill Mitchell's Fortan/plot bug.
2007-09-14 13:43:09 -06:00
Brian
1342aefcdd
updated link
2007-09-14 09:57:16 -06:00
Brian
1fd4b1e702
fix glCopyPixel/glPixelZoom bug 12417)
2007-09-14 09:57:08 -06:00
Brian
32dff44c28
fix copypixels overlap test bug ( #12417 )
2007-09-14 09:56:05 -06:00
Brian
e7c2ae476a
fix ARB fp/vp parsing bug 12313
2007-09-13 11:42:48 -06:00
Brian
a66301f83d
added program_error2() function for better error reporting
2007-09-13 11:41:44 -06:00
Brian
a5f7d56221
Fix state.texgen parsing error (bug 12313).
...
Replace *(*inst++) with *(*inst)++ in a few places.
2007-09-13 11:29:51 -06:00
Brian
140080c1ec
added .pc.in files to tarballs
2007-09-13 09:27:06 -06:00
Brian
ef43af6d43
added DSTDIR, pkg-config items
2007-09-12 10:12:20 -06:00
Brian
949d0532f0
updated with pkg-config info
2007-09-12 10:12:06 -06:00
Dan Nicholson
96efc76d74
pkg-config support
2007-09-12 10:03:31 -06:00
Dan Nicholson
6ca0d63692
DESTDIR support.
2007-09-12 10:01:06 -06:00
Xiang, Haihao
95fc2485e2
i965: fix bug#11925
2007-09-12 16:58:45 +08:00
Xiang, Haihao
d6ce1e4834
i965: fix #11378
2007-09-12 15:29:11 +08:00
Brian
2cc2b12fc7
fix indirect rendering crash
2007-09-11 10:59:10 -06:00
Brian
2259f81cf7
In _mesa_make_current(), don't unbind FBOs from the old context.
...
This fixes the X server crash reported by KeithP on Aug 29.
The old context's FBOs will be unreferenced during context destruction so
there's no memleak with this change.
2007-09-11 10:59:10 -06:00
Brian
791f12880f
Update depth test state when binding new framebuffer object
2007-09-11 09:25:49 -06:00
Brian
7aa7373a64
fix comment
2007-09-11 09:25:49 -06:00
Xiang, Haihao
2f186a190f
i965: take the secondary color into account when drawing
...
bitmap. fix#10688
2007-09-11 17:03:07 +08:00
Xiang, Haihao
357893a873
i965: limit on LOD Bias, fix#11987
2007-09-11 17:02:15 +08:00
Brian
a17881da5f
clean-up (see bug 12317)
2007-09-10 08:36:01 -06:00
Brian
4872ee83a9
updated VC7 project files
2007-09-05 10:05:48 -06:00
Christoph Kubisch
5ec222a832
updated VC7 project files
2007-09-05 10:01:58 -06:00
Brian
40438b3440
Use temporary matrix in __gluInvertMatrixd() to fix aliasing problem (see bugs 12269, 6748)
2007-09-03 16:21:12 -06:00
Xiang, Haihao
e0b80660c8
fix bug#11009
2007-09-01 15:31:49 +08:00
Xiang, Haihao
a2016301f5
i965: Take the upper limitation on LOD into account.
2007-09-01 15:14:58 +08:00
Brian
7ec6729fb6
sync with trunk, fixing bug 12239
2007-08-31 16:36:17 -06:00
Brian
837a2cf72e
fix i965 bugs, x86-64 bugs
2007-08-31 16:35:38 -06:00
Roland Scheidegger
0adca14536
fix another occurence of movaps which might not be aligned
2007-08-31 00:06:30 +02:00
Brian
57b0f66c6d
s/movaps/movups/ (see bug 12216)
2007-08-30 08:41:43 -06:00
Xiang, Haihao
e47e7a9571
i965: store read drawable info in intel_context. Some OpenGL
...
operations are based on read drawable. fix bug#10136.
2007-08-30 14:06:26 +08:00
Xiang, Haihao
68ca01560f
i965: check NULL pointer. fix bug#12193
2007-08-30 14:06:19 +08:00
Xiang, Haihao
64f1c91fcb
i965: samplers group in fours in WM_STATE. fix bug#9415
2007-08-30 14:05:56 +08:00
Xiang, Haihao
7d33f94198
i965: flush batch buffer when getting the maximum. This makes
...
some 3D programs such as pymol work well.
2007-08-30 14:05:39 +08:00
Julien Cristau
369cda3752
Prepare changelog for upload.
2007-08-28 12:11:47 +02:00
Julien Cristau
846078d06f
Delete generated files.
2007-08-28 12:07:45 +02:00
Julien Cristau
b18500d56e
* Update to latest git (from mesa_7_0_branch)
...
+ adds support for some new intel chipsets (i915 and i915_tex dri drivers)
(closes : #437333 )
+ broken inline asm in dri drivers fixed (closes : #423739 )
2007-08-28 12:07:25 +02:00
Julien Cristau
7d92c50490
Merge branch 'mesa_7_0_branch' of git.freedesktop.org:/git/mesa/mesa into debian-unstable
2007-08-28 11:06:22 +02:00
Brian
d69a596193
Fixed bugs 6748, 12141
2007-08-27 10:48:31 -06:00
Colin McDonald
8aa4ae638e
fixed problem with big glDrawArrays (see bug 12141)
2007-08-27 10:47:49 -06:00
Brian
3069f34841
new __gluInvertMatrix() function (Mesa bug 6748)
2007-08-27 10:36:25 -06:00
Adam Jackson
b3788a0e4f
Unbreak Linux builds with -fvisibility=hidden.
2007-08-24 08:49:59 +01:00
Brian
582bc029ab
remove CallDepth++/-- accidentally removed in prev commit
2007-08-24 08:45:27 +01:00
Brian
e9e3099433
remove unneeded CallStack array
2007-08-23 08:17:35 +01:00
Brian
4fc561cc7b
refactor bounds checking code
2007-08-20 13:12:10 +01:00
Brian
ad3e3a0b99
don't map buffer in _mesa_validate_DrawElements() unless needed
2007-08-20 12:55:26 +01:00
Brian
bfb8c849cb
Remove recent texobj refcount debug/logging code.
2007-08-16 09:11:11 +01:00
Michel Dänzer
09dd25b5d1
i915tex: Unreference texture buffers on context destruction.
...
Not doing this could cause the buffers to leak under some circumstances.
2007-08-16 08:45:16 +02:00
Roland Scheidegger
c48efb1dbe
suppress warning about ncon visuals (bug #6689 )
2007-08-16 02:43:45 +02:00
Brian
5408acb6b7
log deleting/binding of FBOs
2007-08-15 15:47:28 +01:00
Brian
15481160f9
more debug output (context destroy, fb destroy)
2007-08-15 12:52:00 +01:00
Brian
00ccff03a5
Rewrite quite a bit of the code for glPush/PopAttrib() for texture state.
...
Remove the Saved1D/2D/etc fields from gl_texture_attrib in mtypes.h
Use a new texture_state struct in attrib.c that has the extra information
for restoring texture object state and saving references to the texture
objects (so they can't accidentally get deleted while referenced by the
attribute stack). All the texobj refcounting is mutex-protected now.
2007-08-15 11:21:06 +01:00
Brian
21594921b1
copy Target in _mesa_copy_texture_object()
2007-08-15 11:18:38 +01:00
Brian
42c91eebc9
Added _mesa_free_attrib_data() to free anything left in the attribute stack upon context destruction.
...
Also, a bit more refcount debug info.
2007-08-15 10:10:02 +01:00
Brian
88273e08b4
more tex obj ref count debugging (temporary)
2007-08-15 08:55:03 +01:00
Brian
08f7fb45ef
added some temporary texobj ref counting debug output
2007-08-14 19:45:02 +01:00
Brian
75ebda3ce6
Fix a few more problems with freeing FBOs/textures during context destruction.
...
Free FBOs before textures since the later may be referenced by the former.
Need to bind the context we're destroying if there isn't a current context
so that ctx->DeleteTexture() etc can be used.
2007-08-14 11:57:16 +01:00
Brian
53ff15fcbf
fix blending/banding bug
2007-08-13 21:17:04 +01:00
Dan Torop
72adb70ee2
fix spantmp2 READ_RGBA inline asm ( #11931 )
2007-08-13 21:14:51 +01:00
Brian
960d41fcfe
added more i915/945 chipsets
2007-08-13 21:11:17 +01:00
Brian
0c4e35b070
Add PCI IDs for the G33, Q33, and Q35 chipsets.
...
Conflicts:
src/mesa/drivers/dri/i915/i915_texstate.c
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/i915/intel_context.h
src/mesa/drivers/dri/i915/intel_screen.c
src/mesa/drivers/dri/i915/intel_tex.c
2007-08-13 21:06:33 +01:00
Wang Zhenyu
c53f1cb813
i915tex: Add support for 945GME
2007-08-13 21:00:28 +01:00
Brian
f6696cc15e
free any render/framebuffers left in hash tables when freeing shared state
2007-08-13 17:39:05 +01:00
Michel Dänzer
fef9a41fe4
i915tex: Make sure pitch is aligned properly for render-to-texture.
...
Just always align texture pitch to multiples of 64 bytes for now, pending a
more sophisticated scheme to do it only when really necessary.
2007-08-13 13:22:43 +02:00
Brian
e279a0a076
Implement mutex/locking around texture object reference counting.
...
Use new _mesa_reference_texobj() function for referencing/unreferencing
textures. Add new assertions/tests to try to detect invalid usage of
deleted textures.
2007-08-13 11:28:52 +01:00
Brian
88c8aaed96
fix link to 7.0.1 relnotes
2007-08-09 15:59:38 +01:00
Julien Cristau
34beaefe1c
Prepare changelog for upload.
2007-08-09 16:00:58 +02:00
Julien Cristau
10b828f193
New upstream release.
2007-08-09 11:56:00 +02:00
Julien Cristau
43e6260ed0
Merge tag 'mesa_7_0_1' into debian-experimental
2007-08-09 11:25:42 +02:00
Brian
62cbbd7226
fix byte swap bug for GLuint stencil indexes (bug 11909)
2007-08-09 08:45:01 +01:00
Brian
f7cbe7fcee
move free() after dereference (bug 11878)
2007-08-07 22:06:48 +01:00
Brian
d8e4ff9079
fix potential NULL dereference (bug 11879)
2007-08-07 21:56:39 +01:00
Brian
510ff27eda
remove SHELL line, replace -e test with new logic (Daniel Stone)
2007-08-07 21:52:22 +01:00
Brian
5abf055100
fix potential NULL dereference (bug 11880)
2007-08-07 21:46:42 +01:00
Brian
4bb5721f6b
fix swizzle error test (bug 11881)
2007-08-07 21:43:46 +01:00
Brian
c41ab70d3a
initial 7.0.2 notes
2007-08-07 08:44:35 +01:00
Brian
a05e403bf2
fix bug 9962 (vbo splitting) as in trunk
2007-08-07 08:43:31 +01:00
Brian
2f57e0f71d
Merge branch 'mesa_7_0_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into mesa_7_0_branch
2007-08-07 08:21:50 +01:00
Brian
95a2eb9767
fix even-sized point positioning (bug 11874)
2007-08-07 08:20:18 +01:00
Brian
55175daed7
added md5 sums
2007-08-03 13:54:55 -06:00
Brian
ae16a51e95
added GLU bug fixes
2007-08-03 13:39:09 -06:00
Brian
4398d67546
update 7.0.1 release info/date
2007-08-03 13:32:47 -06:00
Brian
c93738687c
remove -rc2
2007-08-03 13:32:28 -06:00
Brian
799492e606
add OSMESA_LIB_NAME
2007-08-03 10:08:16 -06:00
Brian
f33ff071bb
added -lm
2007-08-03 07:24:33 -06:00
Brian
99e854743c
added bluegene-osmesa
2007-08-02 14:24:05 -06:00
Brian
6f79062d91
OSmesa on BlueGene (Alexander Neundorf)
2007-08-02 14:22:52 -06:00
Brian
2f682c3995
fix stencil value masking bug 11805, and fix sizeof() bug
2007-08-02 09:08:53 -06:00
Brian
067370e68f
fix invalid pointer usage in bezierPatchDeleteList(), bug 11807
2007-08-02 08:40:58 -06:00
Brian
2aa439a6a4
fix double free()s (bug 11808)
2007-08-02 08:38:10 -06:00
Brian
b477182dc3
s/MAX_TEXTURE_LEVELS/SIS_MAX_TEXTURE_LEVELS/ and add assertion (bug 11806)
2007-08-02 08:35:27 -06:00
Michel Dänzer
a8964ca89e
i915tex: Better attempt to release miptree when overriding texture image.
...
The previous approach could lead to crashes in FBO code that dereferences the
miptree struct pointer unconditionally.
2007-08-02 12:14:03 +02:00
Brian
4f0e92d07c
Merge branch 'mesa_7_0_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into mesa_7_0_branch
2007-08-01 17:03:09 -06:00
Brian
577f4e8a5f
Obsolete
2007-08-01 11:45:47 -06:00
Brian
0586d9fe56
fix error code test limit (bug 11795)
2007-08-01 11:27:47 -06:00
Michel Dänzer
1f0d9bf05e
i915tex: Missing piece of SetTexOffset hook implementation for I830 generation.
2007-08-01 17:46:32 +02:00
Michel Dänzer
8bcae2a527
i915tex: Implement SetTexOffset hook.
...
Only build tested for I830 generation.
2007-08-01 17:46:31 +02:00
Michel Dänzer
35ca9aae91
r300: Implement SetTexOffset hook.
2007-08-01 17:46:30 +02:00
Michel Dänzer
6cdd2bf8d7
Add interfaces for overriding texture images with driver specific 'offsets'.
...
To be used by AIGLX for GLX_EXT_texture_from_pixmap without several
additional data copies.
2007-08-01 17:46:29 +02:00
Brian
ce7d175adb
fix mem leak (bug 11793)
2007-08-01 08:42:13 -06:00
Brian
1904fd095f
fix mem leak (bug 11791)
2007-08-01 08:42:09 -06:00
Brian
897d0ac5cc
fix some FreeBSD issues
2007-07-31 14:57:54 -06:00
Brian
e262d0182f
fix failure caused by undeclared variable (bug 11783)
2007-07-31 09:43:40 -06:00
Brian
aa5b748c10
glGetAttribLocation always returned 1 (bug 11774)
2007-07-31 09:29:31 -06:00
Julien Cristau
c6728df4a3
Merge tag 'mesa_7_0_1_rc2' into debian-experimental
2007-07-31 04:00:13 +02:00
Brian
3c182c5bc8
Added sunos5-v9-cc-g++ config (Roland Egger)
2007-07-30 09:00:09 -06:00
Brian
1b5677847b
_mesa_pack_bitmap() fix from trunk
2007-07-30 08:13:05 -06:00
Brian
1be59a9dbe
dlist polygon stipple fix from trunk
2007-07-30 08:12:29 -06:00
Brian
55c2178ad4
fix bug 11754
2007-07-29 18:28:09 -06:00
Jan Dvorak
3e3d392e1c
fix glPointParameteriv bug 11754
2007-07-29 18:26:55 -06:00
Julien Cristau
593de57fa2
Prepare changelog for upload.
2007-07-27 20:18:21 +02:00
Julien Cristau
04b0e43ea6
New upstream release candidate.
2007-07-27 19:59:38 +02:00
Julien Cristau
04eee290c8
Merge branch 'mesa_7_0_branch' of git://anongit.freedesktop.org/git/mesa/mesa into debian-experimental
2007-07-27 19:58:30 +02:00
Brian
756a7a4e4b
minor tweaks
2007-07-27 11:44:55 -06:00
Brian
121b4ac220
More Mingw32 fixes from Zhang (zxpmyth@yahoo.com.cn)
2007-07-27 11:12:21 -06:00
Brian
cdbd5db3af
release candidate 2
2007-07-27 11:10:00 -06:00
Brian
b2240f6ad4
fix bug 11731
2007-07-26 15:33:39 -06:00
Brian
33814a55f8
Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion.
2007-07-26 15:32:34 -06:00
Brian
a57c5a417b
generate error upon writing to varying var in fragment program (bug 11733)
2007-07-26 11:39:37 -06:00
Brian
ff1a28de17
clamp float colors
2007-07-26 08:19:40 -06:00
Brian
772f57f99b
call ctx->Driver.NewProgram() instead of _mesa_new_program()
2007-07-24 09:56:54 -06:00
Brian
dacee32b8b
fix logic error, typos
2007-07-24 09:19:44 -06:00
Brian
fa1a3eb06d
fix GLX_STEREO bug
2007-07-23 16:54:35 -06:00
Brian
bd4817ca54
fix GLX_STEREO handling (bug 11705)
2007-07-23 16:51:03 -06:00
Julien Cristau
d3a160e217
New upstream release candidate.
2007-07-23 16:39:48 +02:00
Julien Cristau
c5837f2791
Merge branch 'mesa_7_0_branch' of git://anongit.freedesktop.org/git/mesa/mesa into debian-experimental
2007-07-23 16:28:56 +02:00
Julien Cristau
490bd43f18
Merge branch 'debian-unstable' of git+ssh://git.debian.org/git/pkg-xorg/lib/mesa into debian-experimental
...
Conflicts:
debian/changelog
2007-07-23 16:28:10 +02:00
Brian
005eea249c
Fix a number of MINGW32 issues (Zhang <zxpmyth@yahoo.com.cn>)
2007-07-21 11:27:22 -06:00
Brian
9747de8ec6
drop VC6 and VC7 project files until updated
2007-07-21 10:03:30 -06:00
Brian
849a9799d0
fix bug 11588
2007-07-13 16:37:18 -06:00
Jan Dvorak
e32ae4fe33
fix shader/info string length queries (bug 11588)
2007-07-13 16:35:19 -06:00
Brian
4595389c4c
fix width/depth mix-up (bug 11577)
2007-07-12 21:43:39 -06:00
Brian
e8ccc7cc49
Merge branch 'mesa_7_0_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into mesa_7_0_branch
2007-07-12 14:49:56 -06:00
Brian
673d21047a
fix swizzle-related bug 11534
2007-07-12 14:49:24 -06:00
Julien Cristau
6186261589
Prepare changelog for upload.
2007-07-11 05:51:34 +02:00
Julien Cristau
45310e219c
Relax libgl1-mesa-dev dependency on libgl1-mesa-glx.
...
Change the >= ${source:Version} dependency to >= ${source:Upstream-Version}.
This way libgl1-mesa-dev stays installable after a minor revision bump on
architectures where mesa isn't built yet.
2007-07-11 05:45:30 +02:00
Julien Cristau
250f6b2c88
Replace ${Source-Version} with ${source:Version} in one remaining spot.
2007-07-11 05:34:30 +02:00
Michel Dänzer
fdefc2bbda
i915tex: Better procedure for dropping batchbuffer on virtual resolution change.
...
The previous procedure would often result in a GPU lockup.
2007-07-10 11:02:18 +02:00
Michel Dänzer
2079df8527
i915tex: Only wait for vblank when really necessary.
...
This avoids superfluous waits for vblank timing out under some circumstances.
2007-07-10 10:54:51 +02:00
Michel Dänzer
b53659452c
Clear pointers to freed cliprects.
...
Not doing this could lead to double frees under rare circumstances.
2007-07-10 10:49:28 +02:00
Michel Dänzer
46f1d6653e
Remove dubious compile-time test for pre-2.4 Linux kernels.
...
LINUX_VERSION_CODE shouldn't be used by userspace code, it can be defined empty
these days.
If anybody still cares about 2.2 kernels, they should reinstate this as a
proper runtime test.
2007-07-10 10:34:10 +02:00
Brian
c1938a60f7
Fix zero-size texture checking in _mesa_test_proxy_teximage(), bug 11309
2007-07-08 10:04:14 -06:00
Brian
d65110f352
Check if 'indices' is NULL, bug 11314
2007-07-08 09:21:21 -06:00
Brian
9fa3bbcb5a
check depthScale value for optimized ushort->uint case (fixes bug 11474)
2007-07-08 08:53:09 -06:00
Brice Goglin
19e51ecbe6
libgl1-mesa-dev does not need to depend on libgl1-mesa-dri, libgl1-mesa-glx is enough.
...
libgl1-mesa-glx was included in libgl1-mesa-dri before 6.4.1-0.1,
so libgl1-mesa-dev had to depend on libgl1-mesa-dri at this point.
Since libgl1-mesa-dri only contains the DRI modules now, it is not
required anymore for libgl1-mesa-dev.
2007-07-07 22:17:35 +02:00
Brian
99d62f2922
fix i915 polygon stipple bug
2007-07-06 16:53:28 -06:00
Brian
284743cafe
add GL_QUADS to i915_reduced_primitive_state() to fix redbook/polys demo
2007-07-06 16:52:34 -06:00
Xavier Bachelot
08d7307b2a
call glutInit(), bug 11486
2007-07-06 12:54:40 -06:00
Brian
ef6a64abe6
fix a syntax error (missing right-paren)
2007-07-05 16:04:10 -06:00
Brian
18bfa52ef7
fix bug 11475
2007-07-05 09:42:07 -06:00
Brian
d62be2652c
Copy from Mesa master. Includes fixes for bugs 11475 and 11448.
2007-07-05 09:40:37 -06:00
Julien Cristau
31f3433635
Prepare changelog for upload.
2007-07-05 00:56:56 +02:00
Samuel Thibault
639eaceee7
Fix build on hurd-i386.
...
Build libgl1-mesa-glx without direct rendering support on that arch, and
don't build any dri driver.
2007-07-05 00:48:30 +02:00
Eric Anholt
ea53ff80af
fix LogicOp/bitmap problem, bug 11133
2007-07-04 07:37:28 -06:00
Brian
feeca1bcbc
add fbdev/ to DEMO_FILES
2007-07-03 15:46:48 -06:00
Brian
12e7278c08
document GLSL fixes
2007-07-03 12:21:11 -06:00
Brian
45b5c44eb9
bring over Roland's DOT3_RGBA fix from master
2007-07-03 12:20:52 -06:00
Brian
e3456c1028
added vec2(vec4) constructor, bug 11404
2007-07-03 11:42:03 -06:00
Brian
327fb38573
add code for stpq, rgba writemasks in make_writemask(), bug 11404
2007-07-03 11:41:07 -06:00
Brian
1d25d9e15f
Bump version to 7.0.1
2007-07-03 10:04:41 -06:00
Brian
cc7cee3f48
Revert the version of libOSMesa.so to 6.5.3 to avoid linking issues that were caused by bumping to 7.0
2007-07-03 10:03:01 -06:00
Brian
d7062710cd
use _mesa_unpack_stencil_span() in draw_stencil_pixels(), bug 11457
2007-07-03 08:58:03 -06:00
Julien Cristau
3e21f52796
Make libgl1-mesa-swx11 depend on libosmesa6
...
libgl1-mesa-swx11 used to contain libOSMesa.so.6, so programs linked against
it don't necessarily depend on libosmesa6; their dependencies were broken
since mesa 6.5.2-1.
2007-07-03 05:34:07 +02:00
Brian
9bfba734d8
add const to wglSetPixelFormat() to match .h declaration
2007-07-02 10:15:39 -06:00
Julien Cristau
0511d9a9d2
Fix merge and delete symlinks which aren't in the tarball.
2007-07-01 02:55:59 +02:00
Brian
aaebf2f47e
regenerated
2007-06-29 07:51:49 -06:00
Brian
23f8d77b38
Add a few missing GL 2.0 entrypoints, regenerate related files.
...
Specifically:
glVertexAttrib4bv
glVertexAttrib4iv
glVertexAttrib4ubv
glVertexAttrib4uiv
glVertexAttrib4usv
2007-06-28 16:38:48 -06:00
Samuel Thibault
498b4dbba4
Fix build on hurd-i386.
...
Build libgl1-mesa-glx without direct rendering support on that arch, and
don't build any dri driver.
2007-06-28 22:33:05 +01:00
Julien Cristau
ecc42e79ae
Merge unreleased changelog entries
2007-06-28 22:01:05 +01:00
Julien Cristau
0bf8ed523d
* Add a shlibs file for libgl1-mesa-swx11-i686.
2007-06-28 21:58:42 +01:00
Brian
87d22ee0fe
initial 7.0.1 relnotes
2007-06-28 08:11:36 -06:00
zhang
52e25f63d4
a variety of fixes for MingW
2007-06-28 08:10:09 -06:00
Brian
f3fb67972b
remove obsolete t_save_api.c
2007-06-28 07:43:32 -06:00
Brian
6400756364
remove obsolete sources
2007-06-28 07:21:59 -06:00
David Nusinow
d71d04bf6f
Bite the bullet and add myself to uploaders
2007-06-27 22:54:52 -04:00
David Nusinow
af90259e09
Merge remote branch 'origin/debian-experimental' into debian-experimental
...
Conflicts:
debian/changelog
src/mesa/drivers/dri/r300/radeon_lock.c
2007-06-27 22:53:04 -04:00
David Nusinow
7c9762f698
Changelog bump
2007-06-27 21:32:51 -04:00
David Nusinow
b2e67fdb7c
Merge branch 'upstream-experimental' into debian-experimental
...
Conflicts:
.gitignore
progs/miniglx/miniglxtest.c
src/glx/mini/Makefile
src/glx/mini/miniglx.c
src/mesa/drivers/dri/r300/.gitignore
2007-06-27 21:29:16 -04:00
Brian
d59f0314bd
md5 sums for 7.0
2007-06-22 16:50:24 -06:00
Brian
131baefac3
fix date for 7.0 release
2007-06-22 16:41:36 -06:00
Brian
a450078b67
update version
2007-06-22 16:40:17 -06:00
Brian
f6b041bf6c
bring in Eric's FreeBSD fixes for -pthread
2007-06-22 15:40:46 -06:00
Brian
4f340d181a
set tentative 7.0 release date
2007-06-20 19:59:15 -06:00
Julien Cristau
74a11701f3
Shorten the one-line synopsis of various packages.
...
They're cut off in .changes files if they're too long.
Thanks, Marc 'HE' Brockschmidt!
2007-06-13 19:36:49 +02:00
Brian
b58e38e936
fix TEXTREL problem (bug 7459)
2007-06-12 09:52:05 -06:00
Brian
8713cb48a8
Fix TEXREL issues when using GLX_USE_TLS (see bug 7459).
2007-06-12 09:46:12 -06:00
Brian
277c5e57ed
fix GLX_USE_TLS breakage
2007-06-12 08:57:39 -06:00
Brian
b3d62d5af5
disable depthBits check in check_compatible(), see bug 11161
2007-06-08 12:36:00 -06:00
Brian
9c0f0c8d81
remove old comment about DEFAULT_SOFTWARE_DEPTH_BITS
2007-06-08 12:35:37 -06:00
Brian
18a0a2a7ac
document bug 11049 fix
2007-05-23 16:50:22 -06:00
Brian
8b99d9e33c
restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049
2007-05-23 16:49:19 -06:00
Brian
01e7e153e3
document point attentuation fix
2007-05-23 08:59:02 -06:00
Brian
0ad4ca24d2
Fix point attentuation problem (bug 11042)
...
ctx->Point._Attentuation was computed in wrong place and the VB->Eye coord Z
array wasn't indexed correctly in run_point_stage().
2007-05-23 08:56:45 -06:00
Brian
724a155552
if light position is local, treat it as a homogeneous coord and divide by W (see bug 11009)
2007-05-21 10:55:15 -06:00
Julien Cristau
e1b0715dd6
Prepare changelog for upload.
2007-05-21 11:35:28 +02:00
Julien Cristau
a5c6598966
Merge remote branch 'origin/debian-unstable' into debian-experimental
...
Conflicts:
debian/changelog
2007-05-21 11:33:42 +02:00
Roland Scheidegger
d38b74a316
fix miptree layout (i915) for small compressed mipmaps
...
This seems to work now. Also fix i945 set_level_info, need to match i915
behaviour for storing mip height, as it's assumed to be the mip width
(in texels) elsewhere and the division by 4 is done later (untested).
2007-05-19 04:43:50 +02:00
Roland Scheidegger
54cab4b47b
fix copy & paste bug of previous commit, breaking dxt5 formats
2007-05-19 03:56:06 +02:00
Roland Scheidegger
c093666bc5
fix miptree comparison with compressed textures
...
TexelBytes is always 0 with compressed textures, thus would never match
mt->cpp. This caused constant blitting around of textures, and it fixes at
least the horrible performance of Q3 if compressed textures are enabled.
2007-05-19 01:39:54 +02:00
Roland Scheidegger
04972f6761
fix small s3tc mipmaps ( #10968 )
...
make sure that always whole blocks are uploaded.
(May still not work correctly if the top mip map is not at least a full block,
that is 4 pixels wide - not sure, but probably doesn't happen in real world)
2007-05-19 01:39:16 +02:00
Brian
67f8234622
set version to 7.0
2007-05-18 09:41:34 -06:00
Brian
201d6dbd9c
fix STATE_HALF_VECTOR value (bug 10987)
2007-05-18 09:35:18 -06:00
Julien Cristau
1865ef6fd4
Prepare changelog for upload.
2007-05-18 13:36:42 +02:00
Ian Romanick
fbcac5aa83
Refactor determining whether a texture target can use compressed format
2007-05-17 14:45:25 -07:00
Brian
2b72ab8f8f
document glXDestroyPbuffer fix
2007-05-17 15:30:39 -06:00
Brian
0ea97b9408
In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983.
2007-05-17 15:26:39 -06:00
Brian
28683ac7c0
version 7.0, not 7.1
2007-05-17 09:07:25 -06:00
Brian
c72e3e210f
version should be 7.0
2007-05-17 09:04:19 -06:00
Julien Cristau
a8c856d43c
Cherry-pick commmit 65faf023
by Michel Dänzer to fix r300 crash.
...
r300: Don't crash in radeonUpdatePageFlipping when !radeon->glCtx->DrawBuffer.
This feels like a kludge, maybe there's a better solution.
2007-05-09 15:09:12 +02:00
David Nusinow
1953cfc954
Update changelog
2007-04-30 00:08:11 -04:00
David Nusinow
8e7bac950e
Merge branch 'upstream-experimental' into debian-experimental
2007-04-29 23:23:00 -04:00
Julien Cristau
03cdacfb6a
Prepare changelog for upload.
2007-04-25 10:37:10 +02:00
Julien Cristau
30f3c3dfad
Update changelog.
2007-04-25 08:42:02 +02:00
Julien Cristau
dee1b0d5bb
Merge remote branch 'upstream/master' into debian-experimental
2007-04-25 08:40:39 +02:00
Julien Cristau
6f2b0fe463
New upstream release candidate.
...
Refresh a couple patches.
2007-04-25 01:48:33 +02:00
Julien Cristau
0c69176498
Merge tag 'mesa_6_5_3_rc3' into debian-experimental
2007-04-25 01:41:05 +02:00
Julien Cristau
4e7a0385b5
Merge tag 'mesa_6_5_3_rc2' into debian-experimental
2007-04-25 01:40:50 +02:00
Julien Cristau
4adbd94b10
Only install stuff in mesa-swx11-source if we're building arch:all packages.
2007-04-23 11:00:09 +02:00
Julien Cristau
4a2905b645
Delete obsolete file.
2007-04-22 18:08:58 +02:00
Julien Cristau
0638c6b530
Add generated files from the tarball so they're included in mesa-swx11-source.
2007-04-22 18:08:35 +02:00
Julien Cristau
7dd35ce013
Delete .gitignore files which do more harm than good in a debian package tree.
2007-04-22 18:07:52 +02:00
Julien Cristau
c8629c3178
Resync debian/scripts/install-source.sh.
2007-04-22 00:51:10 +02:00
Julien Cristau
77ccf51cb3
New upstream release candidate.
2007-04-22 00:50:40 +02:00
Julien Cristau
01197f0c77
Merge branch 'upstream-experimental' into debian-experimental
2007-04-22 00:34:30 +02:00
Julien Cristau
69c86ff4fd
Remove leftover file.
2007-04-22 00:33:38 +02:00
Julien Cristau
9a42ffad81
Add build-dependencies on libxdamage-dev and libxfixes-dev.
2007-04-21 21:23:21 +02:00
Julien Cristau
0d8633bf8c
Delete autogenerated files, and files not included in the tarball.
2007-04-21 21:20:37 +02:00
Julien Cristau
d79e80a3d0
New upstream release candidate.
...
Drop patches included upstream.
2007-04-21 20:47:01 +02:00
Julien Cristau
d890ebdd25
Merge branch 'upstream-experimental' into debian-experimental
...
Conflicts:
doxygen/Makefile
doxygen/common.doxy
doxygen/doxy.bat
doxygen/glapi.doxy
doxygen/header.html
doxygen/main.doxy
doxygen/math.doxy
doxygen/shader.doxy
doxygen/swrast.doxy
doxygen/swrast_setup.doxy
doxygen/tnl.doxy
doxygen/tnl_dd.doxy
progs/tests/Makefile
progs/tests/fbotest1.c
progs/tests/fbotest2.c
progs/tests/fbotexture.c
progs/tests/mipmap_limits.c
progs/tests/sharedtex.c
progs/tools/trace/gltrace_support.cc
progs/trivial/Makefile
src/egl/docs/EGL_MESA_screen_surface
src/egl/main/egllog.c
src/glx/mini/Makefile
src/glx/mini/driver.h
src/mesa/drivers/allegro/amesa.c
src/mesa/drivers/windows/gldirect/dx7/gld_driver_dx7.c
src/mesa/drivers/windows/gldirect/dx7/gld_ext_dx7.c
src/mesa/drivers/windows/gldirect/dx7/gld_primitive_dx7.c
src/mesa/drivers/windows/gldirect/dx8/gld_driver_dx8.c
src/mesa/drivers/windows/gldirect/dx8/gld_ext_dx8.c
src/mesa/drivers/windows/gldirect/dx8/gld_primitive_dx8.c
src/mesa/drivers/windows/gldirect/dx9/gld_driver_dx9.c
src/mesa/drivers/windows/gldirect/dx9/gld_ext_dx9.c
src/mesa/drivers/windows/gldirect/dx9/gld_primitive_dx9.c
src/mesa/drivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
2007-04-21 20:27:55 +02:00
Brice Goglin
5ee9b3ce72
Fix conflicts for libGLw packages.
...
libglw1-mesa does not have to conflict with earlier libgl1-mesa-swx11
(libGLw was only shipped as development libs/headers within swx11-dev).
libglw1-mesa-dev needs to conflicts with libglw-dev.
2007-04-21 20:20:03 +02:00
Brice Goglin
031b539a09
Split out libGLw libs and headers from libgl1-mesa-swx11.
...
Ship both static and shared libraries for libGLw, creating libglw1-mesa and
libglw1-mesa-dev (closes : #374904 ).
2007-04-21 20:19:38 +02:00
Brice Goglin
47c3c706e8
Add 09_i915_always_enable_pixel_fog.patch
2007-04-21 18:00:12 +02:00
Brice Goglin
0d830a616c
Add 08_r300_update_window_state_when_bound_but_stamp_changed.patch
2007-04-20 18:53:47 +02:00
Brice Goglin
e219bf8338
Add 07_call_radeonSetCliprects_from_radeonMakeCurrent.patch
2007-04-20 18:44:59 +02:00
Julien Cristau
6c0fba2480
Prepare changelog for upload.
2007-04-20 05:58:00 +02:00
Julien Cristau
f4cc159f53
Revert " * Split out libGLw libs and headers from libgl1-mesa-swx11 and ship both"
...
This reverts commit 856ae782c7
.
Conflicts:
debian/changelog
2007-04-20 05:55:04 +02:00
Julien Cristau
04c002abc2
Revert "Fix conflicts for libGLw packages."
...
This reverts commit 048144074b
.
2007-04-20 05:53:59 +02:00
Julien Cristau
78fd17907e
Merge branch 'debian-experimental' into debian-unstable
2007-04-20 05:52:20 +02:00
Julien Cristau
47edc83080
Merge branch 'debian-experimental' into debian-unstable
...
Conflicts:
configs/debian-osmesa16
configs/debian-osmesa16-static
configs/debian-osmesa32
configs/debian-osmesa32-static
debian/changelog
debian/compat
debian/control
debian/copyright
debian/libgl1-mesa-dev.install
debian/libgl1-mesa-swx11-dev.install
debian/libgl1-mesa-swx11.shlibs
debian/libglu1-mesa-dev.install
debian/mesa-common-dev.docs
debian/mesa-common-dev.install
debian/rules
src/mesa/x86-64/matypes.h
src/mesa/x86/matypes.h
2007-04-20 05:44:24 +02:00
Julien Cristau
33e34f5bf4
Merge tag 'mesa_6_5_1' into debian-unstable
...
Conflicts:
progs/util/README
progs/util/glstate.c
progs/util/glstate.h
progs/util/sampleMakefile
src/glu/sgi/libnurbs/interface/bezierEval.h
src/glu/sgi/libnurbs/interface/bezierPatch.cc
src/glu/sgi/libnurbs/interface/bezierPatch.h
src/glu/sgi/libnurbs/interface/bezierPatchMesh.cc
src/glu/sgi/libnurbs/interface/bezierPatchMesh.h
src/glu/sgi/libnurbs/interface/glcurveval.cc
src/glu/sgi/libnurbs/interface/glimports.h
src/glu/sgi/libnurbs/interface/glinterface.cc
src/glu/sgi/libnurbs/interface/glrenderer.h
src/glu/sgi/libnurbs/interface/incurveeval.cc
src/glu/sgi/libnurbs/interface/insurfeval.cc
src/glu/sgi/libnurbs/interface/mystdio.h
src/glu/sgi/libnurbs/interface/mystdlib.h
src/glu/sgi/libnurbs/internals/arc.h
src/glu/sgi/libnurbs/internals/arcsorter.cc
src/glu/sgi/libnurbs/internals/arcsorter.h
src/glu/sgi/libnurbs/internals/arctess.h
src/glu/sgi/libnurbs/internals/backend.cc
src/glu/sgi/libnurbs/internals/backend.h
src/glu/sgi/libnurbs/internals/basiccrveval.h
src/glu/sgi/libnurbs/internals/basicsurfeval.h
src/glu/sgi/libnurbs/internals/bezierarc.h
src/glu/sgi/libnurbs/internals/bin.cc
src/glu/sgi/libnurbs/internals/bin.h
src/glu/sgi/libnurbs/internals/bufpool.cc
src/glu/sgi/libnurbs/internals/bufpool.h
src/glu/sgi/libnurbs/internals/cachingeval.cc
src/glu/sgi/libnurbs/internals/cachingeval.h
src/glu/sgi/libnurbs/internals/ccw.cc
src/glu/sgi/libnurbs/internals/coveandtiler.h
src/glu/sgi/libnurbs/internals/curve.cc
src/glu/sgi/libnurbs/internals/curve.h
src/glu/sgi/libnurbs/internals/curvelist.cc
src/glu/sgi/libnurbs/internals/curvelist.h
src/glu/sgi/libnurbs/internals/curvesub.cc
src/glu/sgi/libnurbs/internals/dataTransform.cc
src/glu/sgi/libnurbs/internals/dataTransform.h
src/glu/sgi/libnurbs/internals/defines.h
src/glu/sgi/libnurbs/internals/displaylist.cc
src/glu/sgi/libnurbs/internals/displaylist.h
src/glu/sgi/libnurbs/internals/displaymode.h
src/glu/sgi/libnurbs/internals/flist.cc
src/glu/sgi/libnurbs/internals/flist.h
src/glu/sgi/libnurbs/internals/flistsorter.cc
src/glu/sgi/libnurbs/internals/flistsorter.h
src/glu/sgi/libnurbs/internals/gridline.h
src/glu/sgi/libnurbs/internals/gridtrimvertex.h
src/glu/sgi/libnurbs/internals/gridvertex.h
src/glu/sgi/libnurbs/internals/hull.cc
src/glu/sgi/libnurbs/internals/hull.h
src/glu/sgi/libnurbs/internals/intersect.cc
src/glu/sgi/libnurbs/internals/jarcloc.h
src/glu/sgi/libnurbs/internals/knotvector.h
src/glu/sgi/libnurbs/internals/mapdesc.cc
src/glu/sgi/libnurbs/internals/mapdesc.h
src/glu/sgi/libnurbs/internals/mapdescv.cc
src/glu/sgi/libnurbs/internals/maplist.cc
src/glu/sgi/libnurbs/internals/maplist.h
src/glu/sgi/libnurbs/internals/mesher.cc
src/glu/sgi/libnurbs/internals/mesher.h
src/glu/sgi/libnurbs/internals/monoTriangulationBackend.cc
src/glu/sgi/libnurbs/internals/monotonizer.cc
src/glu/sgi/libnurbs/internals/monotonizer.h
src/glu/sgi/libnurbs/internals/myassert.h
src/glu/sgi/libnurbs/internals/mycode.cc
src/glu/sgi/libnurbs/internals/mystring.h
src/glu/sgi/libnurbs/internals/nurbsconsts.h
src/glu/sgi/libnurbs/internals/nurbstess.cc
src/glu/sgi/libnurbs/internals/patch.cc
src/glu/sgi/libnurbs/internals/patch.h
src/glu/sgi/libnurbs/internals/patchlist.cc
src/glu/sgi/libnurbs/internals/patchlist.h
src/glu/sgi/libnurbs/internals/pwlarc.h
src/glu/sgi/libnurbs/internals/quilt.cc
src/glu/sgi/libnurbs/internals/quilt.h
src/glu/sgi/libnurbs/internals/reader.cc
src/glu/sgi/libnurbs/internals/reader.h
src/glu/sgi/libnurbs/internals/renderhints.cc
src/glu/sgi/libnurbs/internals/renderhints.h
src/glu/sgi/libnurbs/internals/simplemath.h
src/glu/sgi/libnurbs/internals/slicer.cc
src/glu/sgi/libnurbs/internals/slicer.h
src/glu/sgi/libnurbs/internals/sorter.cc
src/glu/sgi/libnurbs/internals/sorter.h
src/glu/sgi/libnurbs/internals/splitarcs.cc
src/glu/sgi/libnurbs/internals/subdivider.h
src/glu/sgi/libnurbs/internals/tobezier.cc
src/glu/sgi/libnurbs/internals/trimline.cc
src/glu/sgi/libnurbs/internals/trimline.h
src/glu/sgi/libnurbs/internals/trimregion.cc
src/glu/sgi/libnurbs/internals/trimregion.h
src/glu/sgi/libnurbs/internals/trimvertex.h
src/glu/sgi/libnurbs/internals/trimvertpool.cc
src/glu/sgi/libnurbs/internals/trimvertpool.h
src/glu/sgi/libnurbs/internals/types.h
src/glu/sgi/libnurbs/internals/uarray.cc
src/glu/sgi/libnurbs/internals/uarray.h
src/glu/sgi/libnurbs/internals/varray.cc
src/glu/sgi/libnurbs/internals/varray.h
src/glu/sgi/libnurbs/nurbtess/definitions.h
src/glu/sgi/libnurbs/nurbtess/directedLine.h
src/glu/sgi/libnurbs/nurbtess/glimports.h
src/glu/sgi/libnurbs/nurbtess/gridWrap.cc
src/glu/sgi/libnurbs/nurbtess/gridWrap.h
src/glu/sgi/libnurbs/nurbtess/monoChain.cc
src/glu/sgi/libnurbs/nurbtess/monoChain.h
src/glu/sgi/libnurbs/nurbtess/monoTriangulation.cc
src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h
src/glu/sgi/libnurbs/nurbtess/mystdio.h
src/glu/sgi/libnurbs/nurbtess/mystdlib.h
src/glu/sgi/libnurbs/nurbtess/partitionX.cc
src/glu/sgi/libnurbs/nurbtess/partitionX.h
src/glu/sgi/libnurbs/nurbtess/partitionY.cc
src/glu/sgi/libnurbs/nurbtess/partitionY.h
src/glu/sgi/libnurbs/nurbtess/polyDBG.h
src/glu/sgi/libnurbs/nurbtess/polyUtil.cc
src/glu/sgi/libnurbs/nurbtess/polyUtil.h
src/glu/sgi/libnurbs/nurbtess/primitiveStream.cc
src/glu/sgi/libnurbs/nurbtess/primitiveStream.h
src/glu/sgi/libnurbs/nurbtess/quicksort.cc
src/glu/sgi/libnurbs/nurbtess/quicksort.h
src/glu/sgi/libnurbs/nurbtess/rectBlock.cc
src/glu/sgi/libnurbs/nurbtess/rectBlock.h
src/glu/sgi/libnurbs/nurbtess/sampleComp.cc
src/glu/sgi/libnurbs/nurbtess/sampleComp.h
src/glu/sgi/libnurbs/nurbtess/sampleCompBot.cc
src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h
src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc
src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h
src/glu/sgi/libnurbs/nurbtess/sampleCompTop.cc
src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h
src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.cc
src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h
src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
src/glu/sgi/libnurbs/nurbtess/sampledLine.h
src/glu/sgi/libnurbs/nurbtess/searchTree.cc
src/glu/sgi/libnurbs/nurbtess/searchTree.h
src/glu/sgi/libnurbs/nurbtess/zlassert.h
src/glu/sgi/libtess/README
src/glu/sgi/libtess/alg-outline
src/glu/sgi/libtess/dict-list.h
src/glu/sgi/libtess/dict.c
src/glu/sgi/libtess/dict.h
src/glu/sgi/libtess/geom.c
src/glu/sgi/libtess/memalloc.c
src/glu/sgi/libtess/memalloc.h
src/glu/sgi/libtess/mesh.c
src/glu/sgi/libtess/mesh.h
src/glu/sgi/libtess/normal.h
src/glu/sgi/libtess/priorityq-heap.c
src/glu/sgi/libtess/priorityq-heap.h
src/glu/sgi/libtess/priorityq-sort.h
src/glu/sgi/libtess/priorityq.c
src/glu/sgi/libtess/priorityq.h
src/glu/sgi/libtess/render.c
src/glu/sgi/libtess/render.h
src/glu/sgi/libtess/sweep.h
src/glu/sgi/libtess/tess.h
src/glu/sgi/libtess/tessmono.c
src/glu/sgi/libtess/tessmono.h
src/glu/sgi/libutil/error.c
src/glu/sgi/libutil/glue.c
src/glu/sgi/libutil/gluint.h
src/glu/sgi/libutil/project.c
src/glu/sgi/libutil/registry.c
src/glx/x11/glxext.c
src/mesa/main/imports.h
src/mesa/tnl/t_vb_cliptmp.h
2007-04-20 05:37:11 +02:00
Brice Goglin
3832ecadae
Add 06_fix_texture_data_corruption.patch ( closes : #412346 )
2007-04-08 18:52:31 +02:00
Brice Goglin
285ed128ab
Add a .shlibs file for libglw1-mesa.
2007-04-01 00:44:29 +02:00
Brice Goglin
048144074b
Fix conflicts for libGLw packages.
...
libglw1-mesa does not have to conflict with earlier libgl1-mesa-swx11
(libGLw was only shipped as development libs/headers within swx11-dev).
libglw1-mesa-dev needs to conflicts with libglw-dev.
2007-04-01 00:43:20 +02:00
Brice Goglin
856ae782c7
* Split out libGLw libs and headers from libgl1-mesa-swx11 and ship both
...
static and shared libraries, creating libglw1-mesa and libglw1-mesa-dev
(closes : #374904 ).
2007-03-31 03:28:32 +02:00
Julien Cristau
12e3f97541
Fix explanation about libglide3 in libgl1-mesa-dri's description.
...
Thanks to Michel Dänzer for his help.
2007-03-30 17:20:02 +02:00
Julien Cristau
30f6fe0710
Have libgl1-mesa-dri suggest libglide3.
...
Add explanation for this in the package description. Closes : #387339 .
2007-03-30 14:10:24 +02:00
Cyril Brulebois
0aa8f1df3c
* Non-maintainer upload.
...
* Backport a fix from mesa 6.5.2 to mesa 6.5.1 which:
- fixes braces around the ASSERT macro;
- fixes a clipping problem, which leads to systematic segfaults of the
X server (Closes : #405803 ).
2007-02-23 00:48:40 +01:00
Julien Cristau
d39147a8a1
Fix FTBFS on amd64.
...
Set LIB_DIR and EXTRA_LIB_PATH in configs/debian-default to override
settings in configs/linux-x86-64. This fixes a FTBFS on amd64, thanks to
Marc 'HE' Brockschmidt for the report (closes : #410118 ).
2007-02-07 23:13:59 +01:00
Julien Cristau
7991f7e936
* Add myself to Uploaders.
2007-02-04 21:17:18 +01:00
Julien Cristau
10011efcd7
Add bug closer for #409638 .
2007-02-04 17:21:57 +01:00
Julien Cristau
0058815c8f
Re-add src/glut/mini/ which was deleted by mistake.
2007-02-04 15:21:46 +01:00
Julien Cristau
02048984b7
Delete directories not included in the mesa tarballs.
2007-02-04 15:15:43 +01:00
Julien Cristau
544601e9f4
Fix FTBFS on non-i386 archs.
...
Build architecture-independant debs in binary-indep, and use the debhelper -s
option for commands in binary-arch, because architectures other than i386
don't have to build libgl1-mesa-swx11-i686.
2007-02-04 14:05:23 +01:00
Julien Cristau
2634f06c20
Merge branch 'upstream-experimental' into debian-experimental
...
Conflicts:
progs/util/README
progs/util/glstate.c
progs/util/glstate.h
progs/util/sampleMakefile
src/glu/sgi/libnurbs/interface/bezierEval.h
src/glu/sgi/libnurbs/interface/bezierPatch.cc
src/glu/sgi/libnurbs/interface/bezierPatch.h
src/glu/sgi/libnurbs/interface/bezierPatchMesh.cc
src/glu/sgi/libnurbs/interface/bezierPatchMesh.h
src/glu/sgi/libnurbs/interface/glcurveval.cc
src/glu/sgi/libnurbs/interface/glimports.h
src/glu/sgi/libnurbs/interface/glinterface.cc
src/glu/sgi/libnurbs/interface/glrenderer.h
src/glu/sgi/libnurbs/interface/incurveeval.cc
src/glu/sgi/libnurbs/interface/insurfeval.cc
src/glu/sgi/libnurbs/interface/mystdio.h
src/glu/sgi/libnurbs/interface/mystdlib.h
src/glu/sgi/libnurbs/internals/arc.h
src/glu/sgi/libnurbs/internals/arcsorter.cc
src/glu/sgi/libnurbs/internals/arcsorter.h
src/glu/sgi/libnurbs/internals/arctess.h
src/glu/sgi/libnurbs/internals/backend.cc
src/glu/sgi/libnurbs/internals/backend.h
src/glu/sgi/libnurbs/internals/basiccrveval.h
src/glu/sgi/libnurbs/internals/basicsurfeval.h
src/glu/sgi/libnurbs/internals/bezierarc.h
src/glu/sgi/libnurbs/internals/bin.cc
src/glu/sgi/libnurbs/internals/bin.h
src/glu/sgi/libnurbs/internals/bufpool.cc
src/glu/sgi/libnurbs/internals/bufpool.h
src/glu/sgi/libnurbs/internals/cachingeval.cc
src/glu/sgi/libnurbs/internals/cachingeval.h
src/glu/sgi/libnurbs/internals/ccw.cc
src/glu/sgi/libnurbs/internals/coveandtiler.h
src/glu/sgi/libnurbs/internals/curve.cc
src/glu/sgi/libnurbs/internals/curve.h
src/glu/sgi/libnurbs/internals/curvelist.cc
src/glu/sgi/libnurbs/internals/curvelist.h
src/glu/sgi/libnurbs/internals/curvesub.cc
src/glu/sgi/libnurbs/internals/dataTransform.cc
src/glu/sgi/libnurbs/internals/dataTransform.h
src/glu/sgi/libnurbs/internals/defines.h
src/glu/sgi/libnurbs/internals/displaylist.cc
src/glu/sgi/libnurbs/internals/displaylist.h
src/glu/sgi/libnurbs/internals/displaymode.h
src/glu/sgi/libnurbs/internals/flist.cc
src/glu/sgi/libnurbs/internals/flist.h
src/glu/sgi/libnurbs/internals/flistsorter.cc
src/glu/sgi/libnurbs/internals/flistsorter.h
src/glu/sgi/libnurbs/internals/gridline.h
src/glu/sgi/libnurbs/internals/gridtrimvertex.h
src/glu/sgi/libnurbs/internals/gridvertex.h
src/glu/sgi/libnurbs/internals/hull.cc
src/glu/sgi/libnurbs/internals/hull.h
src/glu/sgi/libnurbs/internals/intersect.cc
src/glu/sgi/libnurbs/internals/jarcloc.h
src/glu/sgi/libnurbs/internals/knotvector.h
src/glu/sgi/libnurbs/internals/mapdesc.cc
src/glu/sgi/libnurbs/internals/mapdesc.h
src/glu/sgi/libnurbs/internals/mapdescv.cc
src/glu/sgi/libnurbs/internals/maplist.cc
src/glu/sgi/libnurbs/internals/maplist.h
src/glu/sgi/libnurbs/internals/mesher.cc
src/glu/sgi/libnurbs/internals/mesher.h
src/glu/sgi/libnurbs/internals/monoTriangulationBackend.cc
src/glu/sgi/libnurbs/internals/monotonizer.cc
src/glu/sgi/libnurbs/internals/monotonizer.h
src/glu/sgi/libnurbs/internals/myassert.h
src/glu/sgi/libnurbs/internals/mycode.cc
src/glu/sgi/libnurbs/internals/mystring.h
src/glu/sgi/libnurbs/internals/nurbsconsts.h
src/glu/sgi/libnurbs/internals/nurbstess.cc
src/glu/sgi/libnurbs/internals/patch.cc
src/glu/sgi/libnurbs/internals/patch.h
src/glu/sgi/libnurbs/internals/patchlist.cc
src/glu/sgi/libnurbs/internals/patchlist.h
src/glu/sgi/libnurbs/internals/pwlarc.h
src/glu/sgi/libnurbs/internals/quilt.cc
src/glu/sgi/libnurbs/internals/quilt.h
src/glu/sgi/libnurbs/internals/reader.cc
src/glu/sgi/libnurbs/internals/reader.h
src/glu/sgi/libnurbs/internals/renderhints.cc
src/glu/sgi/libnurbs/internals/renderhints.h
src/glu/sgi/libnurbs/internals/simplemath.h
src/glu/sgi/libnurbs/internals/slicer.cc
src/glu/sgi/libnurbs/internals/slicer.h
src/glu/sgi/libnurbs/internals/sorter.cc
src/glu/sgi/libnurbs/internals/sorter.h
src/glu/sgi/libnurbs/internals/splitarcs.cc
src/glu/sgi/libnurbs/internals/subdivider.h
src/glu/sgi/libnurbs/internals/tobezier.cc
src/glu/sgi/libnurbs/internals/trimline.cc
src/glu/sgi/libnurbs/internals/trimline.h
src/glu/sgi/libnurbs/internals/trimregion.cc
src/glu/sgi/libnurbs/internals/trimregion.h
src/glu/sgi/libnurbs/internals/trimvertex.h
src/glu/sgi/libnurbs/internals/trimvertpool.cc
src/glu/sgi/libnurbs/internals/trimvertpool.h
src/glu/sgi/libnurbs/internals/types.h
src/glu/sgi/libnurbs/internals/uarray.cc
src/glu/sgi/libnurbs/internals/uarray.h
src/glu/sgi/libnurbs/internals/varray.cc
src/glu/sgi/libnurbs/internals/varray.h
src/glu/sgi/libnurbs/nurbtess/definitions.h
src/glu/sgi/libnurbs/nurbtess/directedLine.h
src/glu/sgi/libnurbs/nurbtess/glimports.h
src/glu/sgi/libnurbs/nurbtess/gridWrap.cc
src/glu/sgi/libnurbs/nurbtess/gridWrap.h
src/glu/sgi/libnurbs/nurbtess/monoChain.cc
src/glu/sgi/libnurbs/nurbtess/monoChain.h
src/glu/sgi/libnurbs/nurbtess/monoTriangulation.cc
src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h
src/glu/sgi/libnurbs/nurbtess/mystdio.h
src/glu/sgi/libnurbs/nurbtess/mystdlib.h
src/glu/sgi/libnurbs/nurbtess/partitionX.cc
src/glu/sgi/libnurbs/nurbtess/partitionX.h
src/glu/sgi/libnurbs/nurbtess/partitionY.cc
src/glu/sgi/libnurbs/nurbtess/partitionY.h
src/glu/sgi/libnurbs/nurbtess/polyDBG.h
src/glu/sgi/libnurbs/nurbtess/polyUtil.cc
src/glu/sgi/libnurbs/nurbtess/polyUtil.h
src/glu/sgi/libnurbs/nurbtess/primitiveStream.cc
src/glu/sgi/libnurbs/nurbtess/primitiveStream.h
src/glu/sgi/libnurbs/nurbtess/quicksort.cc
src/glu/sgi/libnurbs/nurbtess/quicksort.h
src/glu/sgi/libnurbs/nurbtess/rectBlock.cc
src/glu/sgi/libnurbs/nurbtess/rectBlock.h
src/glu/sgi/libnurbs/nurbtess/sampleComp.cc
src/glu/sgi/libnurbs/nurbtess/sampleComp.h
src/glu/sgi/libnurbs/nurbtess/sampleCompBot.cc
src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h
src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc
src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h
src/glu/sgi/libnurbs/nurbtess/sampleCompTop.cc
src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h
src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.cc
src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h
src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
src/glu/sgi/libnurbs/nurbtess/sampledLine.h
src/glu/sgi/libnurbs/nurbtess/searchTree.cc
src/glu/sgi/libnurbs/nurbtess/searchTree.h
src/glu/sgi/libnurbs/nurbtess/zlassert.h
src/glu/sgi/libtess/README
src/glu/sgi/libtess/alg-outline
src/glu/sgi/libtess/dict-list.h
src/glu/sgi/libtess/dict.c
src/glu/sgi/libtess/dict.h
src/glu/sgi/libtess/geom.c
src/glu/sgi/libtess/memalloc.c
src/glu/sgi/libtess/memalloc.h
src/glu/sgi/libtess/mesh.c
src/glu/sgi/libtess/mesh.h
src/glu/sgi/libtess/normal.h
src/glu/sgi/libtess/priorityq-heap.c
src/glu/sgi/libtess/priorityq-heap.h
src/glu/sgi/libtess/priorityq-sort.h
src/glu/sgi/libtess/priorityq.c
src/glu/sgi/libtess/priorityq.h
src/glu/sgi/libtess/render.c
src/glu/sgi/libtess/render.h
src/glu/sgi/libtess/sweep.h
src/glu/sgi/libtess/tess.h
src/glu/sgi/libtess/tessmono.c
src/glu/sgi/libtess/tessmono.h
src/glu/sgi/libutil/error.c
src/glu/sgi/libutil/glue.c
src/glu/sgi/libutil/gluint.h
src/glu/sgi/libutil/project.c
src/glu/sgi/libutil/registry.c
2007-02-01 11:50:36 +01:00
Julien Cristau
7549426a16
Sync Section and Priority for all packages with the override.
2007-01-28 18:18:38 +01:00
Thierry Reding
6dcb9a3434
Give credit where credit is due.
2007-01-11 15:09:23 +01:00
Thierry Reding
e5a31c00ec
libosmesa6{,-dev} replace libgl1-mesa-swx11{,-dev} and mesa-common-dev.
...
libosmesa6 and libosmesa6-dev are now the only packages to contain OSMesa
libraries and header files so they can be installed independent of which libGL
is installed. They statically link in the software rasterization code.
2007-01-11 15:06:42 +01:00
Thierry Reding
00295242fd
mesa-common-dev needs to replace libgl1-mesa-swx11-dev and libgl1-mesa-dev.
...
The GLX headers were previously shipped in both packages and have been moved
to mesa-common-dev.
2007-01-11 14:56:48 +01:00
Thierry Reding
21b6ed7c29
Build the DRI modules with the default optimization flags.
2007-01-11 14:40:10 +01:00
Thierry Reding
01894cbf10
Revert the previous changes to the libgl1-mesa-{glx,swx11} shlibs.
2007-01-10 15:23:29 +01:00
Thierry Reding
28cad2b9d9
Bump libgl1-mesa-glx, libgl1-mesa-swx11 and libosmesa6 shlibs files.
2007-01-10 13:55:19 +01:00
Thierry Reding
71d7b7dbe7
Drop noop line.
2007-01-08 13:36:25 +01:00
Thierry Reding
4563723db1
Make sure all files in the mesa-swx11-source package have permissions 0644.
2007-01-08 13:36:16 +01:00
Thierry Reding
0bce6a1899
Compile with -O2 optimization instead of -O3 which might lead to problems.
2007-01-08 11:43:25 +01:00
Thierry Reding
e71d6dbd9c
Make debugging symbol packages depend on the corresponding binary package and
...
put them into the libdevel section.
2007-01-08 11:41:02 +01:00
Thierry Reding
132ecd19f3
Do not build any linux*-static configuration with -fPIC.
2007-01-08 10:07:08 +01:00
Thierry Reding
a404143f4c
Add patches 04_cleanup-osmesa-configs and 05_static-nonpic.
...
04_cleanup-osmesa-configs makes the OSMesa configurations behave as expected.
That is respect the OPT_FLAGS, PIC_FLAGS, ARCH_FLAGS and DEFINES variables.
The patch also makes the files more consistent by inheriting from more general
configurations.
05_static-nonpic fixes the linux-static configuration to not use -fPIC for
compiling code because it would violate Debian policy.
2007-01-08 08:35:42 +01:00
Julien Cristau
44467ca45e
* Drop obsolete depends on xlibs.
2007-01-05 15:44:51 +01:00
Julien Cristau
f70ea0747d
Import changelog entry from the 6.5.1-0.5 NMU.
2007-01-04 21:30:49 +01:00
Thierry Reding
c619abf18a
Hijack the package (set XSF as maintainer, add myself to uploaders). \o/
2007-01-04 16:35:14 +01:00
Julien Cristau
6da1323437
* Non-maintainer upload.
...
* Build with -fno-strict-aliasing to fix misbuild of i965_dri.so
(closes : #394311 ). Thanks to Michel Dänzer for the fix, and to Ryan
Richter for the report and testing.
2007-01-03 16:59:06 +01:00
Julien Cristau
1dd29785cf
Import changes from the mesa 6.5.1-0.4 NMU.
2007-01-03 13:43:46 +01:00
Julien Cristau
5681987ee4
Import changes from the mesa 6.5.1-0.3 NMU.
2007-01-03 13:41:57 +01:00
Thierry Reding
6eeb18fc68
Build the i915tex DRI module on the i386 and amd64 architectures.
2006-12-05 00:45:42 +00:00
Thierry Reding
01c90575b4
Add missing changelog entry and bug closer.
2006-12-04 07:23:14 +00:00
Thierry Reding
32e9cb0275
Update to new upstream release (6.5.2).
2006-12-02 23:46:07 +00:00
Thierry Reding
017bade93c
Update to latest upstream release candidate (6.5.2 RC3).
2006-12-01 00:16:33 +00:00
Thierry Reding
c9c79e7cae
Add manpages to the mesa-utils package.
2006-11-29 18:07:26 +00:00
Thierry Reding
777d41dd07
Mark the latest changelog entries as NMUs.
2006-11-26 02:40:01 +00:00
Thierry Reding
6238c30913
Revert maintainer and uploaders fields. Integrate latest NMUs into the
...
changelog and be a little more verbose in the debian/rules rewrite
changelog entries.
2006-11-26 02:38:31 +00:00
Thierry Reding
db164ab514
Update to latest upstream release candidate.
2006-11-22 19:50:34 +00:00
Thierry Reding
c72ef17731
Add libOSMesa16 and libOSMesa32 entries to libosmesa6.shlibs so packages
...
linking against those libraries will get the correct dependencies.
2006-11-22 19:47:56 +00:00
Thierry Reding
8dbee7867f
Use the new upstream minstall utility to install files and directories. Using
...
/usr/bin/install would result in a symlink's target being copied instead of
the symlink.
2006-11-18 21:28:07 +00:00
Thierry Reding
f403108f5f
Fix typo in changelog. libdrm2-dev is not a package.
2006-11-18 21:22:52 +00:00
Thierry Reding
223a97f92a
Bump build-dependency on libdrm-dev (>= 2.2.0).
2006-11-18 21:21:18 +00:00
Thierry Reding
bb44a8ae1f
Update to latest upstream release candidate.
...
Update patches.
2006-11-18 17:59:25 +00:00
Thierry Reding
b5a5062176
Target the mesa package at experimental until etch is released.
2006-11-18 17:50:44 +00:00
Thierry Reding
50faa32ce3
Move the code to choose which configurations to build to a separate script in
...
order to keep debian/rules cleaner.
2006-11-10 09:00:00 +00:00
Thierry Reding
b6caed527c
Also add release notes of version 6.5.1 and the release notes index.
2006-11-10 08:50:35 +00:00
Thierry Reding
d5ef77353b
Build Mesa utility programs (glxdemo, glxgears, glxheads, glxinfo) together
...
with the DRI/GLX-enabled libGL. Don't build the utilities on CPU-optimized
configurations.
2006-11-10 08:40:03 +00:00
Thierry Reding
336beba81b
Update Debian changelog.
2006-11-02 21:20:33 +00:00
Thierry Reding
5d23a7905c
Add code to provide a mesa-utils package since those utilities are shipped in
...
the MesaDemos tarball.
2006-11-02 21:05:29 +00:00
Thierry Reding
143dfcc904
Make mesa-common-dev depend on libx11-dev to provide Xlib.h and Xutil.h needed
...
by the GLX headers.
2006-11-01 07:54:40 +00:00
Thierry Reding
e076cd42f0
Bug #387706 should also be closed because we move libOSMesa to libosmesa6 and
...
statically link in the software rasterization code.
2006-10-25 00:17:42 +00:00
Thierry Reding
5bed38974e
Close 392715 because we now ship the contents of the three Mesa tarballs in
...
the original source.
2006-10-24 14:45:18 +00:00
Thierry Reding
35bc4b82ff
Since the original tarball is repackaged to include the three upstream
...
tarballs (MesaDemos, MesaGLUT and MesaLib), remove files that are not supposed
to be there.
Note that when importing initially, some files were not even added to the SVN
repository because SVN ignored them. These were configs/diffs~ and
docs/RELNOTES-6.1~. I removed those from the tarball as well.
2006-10-24 14:33:30 +00:00
Thierry Reding
4e5d870f72
Make libosmesa6-dev binNMU-safe again (mesa-common-dev is Architecture: all).
2006-10-24 14:29:11 +00:00
Thierry Reding
83def94db5
Make libgl1-mesa-dev Architecture: all, because all we ship with it is a
...
symbolic link. Make it binNMU-safe by making it depend on libgl1-mesa-glx and
libgl1-mesa-dri both >= ${Source-Version} instead of exact versions.
Add packages containing debugging symbols for libgl1-mesa-swx11,
libgl1-mesa-glx and libgl1-mesa-dri.
2006-10-24 12:16:16 +00:00
Thierry Reding
9d74c1ef2a
-fno-strict-aliasing actually *does* fix #394311 according to the submitter.
2006-10-24 10:31:28 +00:00
Thierry Reding
6023d4bdb5
Build with -fno-strict-aliasing, which should fix bug #394311 .
2006-10-24 10:29:21 +00:00
Thierry Reding
5e38f566f2
Provide libgl-dev as alternative to the mesa-common-dev dependency of the
...
libosmesa6-dev package.
2006-10-23 16:45:00 +00:00
Thierry Reding
b57341a78b
Move the glx*.h headers from libgl1-mesa(-swx11)-dev into mesa-common-dev
...
because both packages provide identical files.
2006-10-23 16:43:41 +00:00
Thierry Reding
910c32c0e9
Install the osmesa.h header in the libosmesa6-dev package where it belongs,
...
now that all OSMesa libraries have been split off into libosmesa6{,-dev}.
Don't make libosmesa6-dev depend on libgl1-mesa-swx11-dev anymore because it
no longer needs a libGL, only the gl.h header provided by mesa-common-dev.
2006-10-23 16:02:22 +00:00
Thierry Reding
e49456d8d8
Don't force -fPIC everywhere, because it seems only unused on x86 which we
...
build with assembler optimizations by default, resulting in non-PIC libraries
anyway.
2006-10-23 14:40:10 +00:00
Thierry Reding
c46becc9b3
Move the libOSMesa shlibs entry from libgl1-mesa-swx11 to libosmesa6 because
...
that's where libOSMesa is now installed.
2006-10-23 08:30:53 +00:00
Thierry Reding
b6e637106f
Add the static libGLw and the corresponding headers to the
...
libgl1-mesa-swx11-dev package again.
2006-10-23 08:23:27 +00:00
Thierry Reding
787cffe3d0
Always force -fPIC.
2006-10-23 08:22:25 +00:00
Thierry Reding
9d914e6809
Make sure the install-source.sh script is executable before trying to run it.
2006-10-20 20:56:41 +00:00
Thierry Reding
4e183c66e9
Add comments to patches and enable the previously disabled patches.
2006-10-20 19:41:00 +00:00
Thierry Reding
b1630fcbe8
Add build-dependency on lesstif2-dev needed to build the GLw libraries.
2006-10-20 19:17:34 +00:00
Thierry Reding
cd44f730cc
Enable building the GLw libraries.
2006-10-20 19:07:36 +00:00
Thierry Reding
ce5a39559e
Install several documents from the docs subdirectory into the mesa-common-dev
...
package.
2006-10-20 17:51:36 +00:00
Thierry Reding
ccffaef603
Build architecture-specific static libraries where available.
2006-10-20 12:15:29 +00:00
Thierry Reding
ae41f3a3ee
Don't make libgl1-mesa-swx11-dev depend on lesstif2-dev anymore because we
...
don't ship anything related to LessTif in that package.
2006-10-20 12:06:20 +00:00
Thierry Reding
c7e576d6bf
No longer install the default build of libOSMesa in the libgl1-mesa-swx11
...
package, but in the libosmesa6 package.
Modify the 01_fix-makefile patch to not build libOSMesa on stand-alone builds,
so that it is only created when building OSMesa explicitly.
Build libOSMesa with 8 bits per color channel (the default) in dynamic and
static versions separately from the software rasterization libGL with the
software rasterization code linked in statically so that libOSMesa can run in
parallel with any libGL. This should fix the problem Yann Dirson mentioned a
while ago.
Use the install-source.sh script to install the Mesa sources needed for the
mesa-swx11-source package instead of doing it in the debian/rules file itself.
2006-10-20 07:56:11 +00:00
Thierry Reding
f069b2812e
Add a set of files to enable an i686 optimized build of the DRI/GLX-enabled
...
libGL and the DRI drivers. Disabled for now.
2006-10-20 07:47:37 +00:00
Thierry Reding
f20ff6213e
Add a shell script to install the Mesa sources for the mesa-swx11-source
...
package.
2006-10-20 07:45:39 +00:00
Thierry Reding
24ff74bdcb
Add configurations to build static versions of the default OSMesa library.
...
In all Debian-specific configurations, include the Debian defaults
configuration after the Mesa configurations and drop the 'override' for all
variables because it is no longer needed.
2006-10-20 07:43:50 +00:00
Thierry Reding
230e79916f
Merge in the old Debian changelog entries and the old copyright file.
2006-10-17 19:35:35 +00:00
Thierry Reding
9f14b4db35
Use -march in favor of the deprecated -mcpu.
2006-10-17 19:13:27 +00:00
Thierry Reding
ec916398e7
Don't install libOSMesa development files in the libgl1-mesa-swx11 package.
2006-10-16 14:43:43 +00:00
Thierry Reding
6befad112e
Actually do rename debian-static to debian-swx11+glu-static.
2006-10-16 13:54:24 +00:00
Thierry Reding
55ce23b8db
Beautify IEEE floating point patch.
2006-10-16 13:34:57 +00:00
Thierry Reding
1292ec1ecf
Fix typo in the filename of the IEEE FP on s390 and m68k patch.
2006-10-16 13:11:51 +00:00
Thierry Reding
65a324062f
Add patches extracted from older Debian diffs but not applied yet because it's
...
not certain yet that they are needed.
2006-10-16 13:05:42 +00:00
Thierry Reding
c9db617e0b
Make the debian-static a subclass of debian-swx11+glu-default, because that's
...
what it actually is. Rename it accordingly and add it to SWX11_GLU_CONFIGS.
Install the libOSMesa.so symlink and the libOSMesa static library in the
libgl1-mesa-swx11-dev package.
Add .shlibs files for the libgl1-mesa-swx11, libgl1-mesa-glx and libglu1-mesa
packages.
2006-10-16 13:04:29 +00:00
Thierry Reding
b43137d0cc
Build libGLU by default for swx11+glu configurations but not in the
...
configurations targetting specific CPU's because it is unlikely to result in
an increase in performance.
2006-10-16 11:53:06 +00:00
Thierry Reding
eeca642778
Add versioned build-dependency on dpkg-dev (>= 1.13.19) to make sure the
...
binary:Version and source:Version substitution variables can be used.
2006-10-16 11:49:46 +00:00
Thierry Reding
5cef6ca36a
Move the detection of architecture-specific configurations to the debian/rules
...
file.
Add the configs target to debian/rules for checking whether the correct
configurations will be built.
2006-10-16 10:03:32 +00:00
Thierry Reding
be2b518f7b
Also build a static version of libGLU.
2006-10-16 09:53:30 +00:00
Thierry Reding
1b0d29afbc
Rename the CPU optimization configurations to make it clear that they only
...
build swx11 and GLU.
Build architecture-optimized swx11 and GLU where possible.
2006-10-16 09:39:59 +00:00
Thierry Reding
55cf480c0b
Drop the libgl1-mesa-swx11-dbg package until there's a decision as to whether
...
it is really needed.
Allow more than one type of optimization libraries to be built for any given
architecture. Currently optimization configurations are provided for i386
[i686], alpha [ev5], amd64, powerpc [603], ppc64 and sparc [ultrasparc].
However, only i686 and amd64 are enabled for now for safety.
Add the libgl1-mesa-swx11-i686 for i686 optimized libraries.
Drop the debian-common configuration because it is no longer used.
Don't build libGLU in all configurations, only when needed.
2006-10-16 08:58:05 +00:00
Thierry Reding
84db6912f0
Add missing build-dependencies.
2006-10-15 18:02:33 +00:00
Thierry Reding
7495cc28a0
Only build the i810, i915, i965, sis and unichrome DRI drivers on i386 and
...
amd64.
Only build the ffb DRI driver on sparc.
2006-10-15 16:17:53 +00:00
Thierry Reding
87744f786b
Use STAMP_DIR consistently throughout the debian/rules file.
...
Make the BUILD_STAMPS targets depend on patch so that when they are built
separately the patches will also be applied. Thanks to Michel Dänzer for
catching this.
Make symlinking the source tree idempotent by adding the -f option to cp.
Thanks again Michel Dänzer.
2006-10-15 14:41:12 +00:00
Thierry Reding
5bcfa4c859
Build only optimized versions of the DRI drivers, only using no optimizations
...
when not supported.
Add configuration to build the DRI drivers on amd64.
2006-10-15 13:30:22 +00:00
Thierry Reding
8ef731bcd1
Add a patch (00_create-libdir) that fixes the upstream build system to make
...
sure the LIB_DIR is created or bail out.
Update the 01_fix-makefile patch to only install libGL/libOSMesa if they
exist. Don't make installation dependent on which drivers are built.
Build optimized versions of the swx11 libraries in addition to those that
should work on the least-capable supported processor for the given
architecture.
Have most configurations include debian-default instead of debian-common so
that INSTALL_DIR is correctly defined. debian-common can probably be dropped
anyway.
2006-10-15 13:15:56 +00:00
Thierry Reding
8d02f3c68a
Add patch to fix upstream build system to correctly install libOSMesa and
...
variants. This patch also fixes the build system not to install libGL if only
the OSMesa library is built.
Update *.install files to install more files. Pretty much everything except
debugging and optimized libraries is now built and installed.
Enable building static libraries for inclusion in the -dev packages.
2006-10-15 00:49:41 +00:00
Thierry Reding
b1f8b49e8b
Add build-dependency on quilt.
...
Remove shlibs:Depends substitution variable from -dev packages, which doesn't
make sense.
2006-10-15 00:42:25 +00:00
David Nusinow
75733e4237
Commit diff of 6.5.1-0.2 so we've got a record of it here.
2006-10-14 22:42:57 +00:00
Thierry Reding
6e318e2cd1
Base the Debian OSMesa configurations on linux-osmesa* provided upstream.
...
Add a configuration for building a static version of OSMesa with 32 bits per
color channel.
2006-10-14 17:04:02 +00:00
Thierry Reding
01e6b84b14
Fix some small inconsistencies involving configuration names.
2006-10-14 16:32:25 +00:00
Thierry Reding
69705d22be
Rename the debian-dri-common configuration to debian-dri-default, to make it
...
consistent with the naming scheme of debian-default.
2006-10-14 16:29:32 +00:00
Thierry Reding
b16d1dcff5
Add a default Debian-specific configuration which overrides settings from the
...
default Mesa configuration.
2006-10-14 16:28:45 +00:00
Thierry Reding
10c5b5d5ba
Comment the Debian-specific configurations.
2006-10-14 16:25:30 +00:00
Thierry Reding
d9c5c170f6
Rename the -default configurations to -any, which is a more appropriate name.
2006-10-14 15:44:15 +00:00
Thierry Reding
32c7138d86
Move the debian/debian-dri configurations to debian-default/debian-dri-default
...
respectively, and use debian/debian-dri to choose an architecture specific
configuration.
2006-10-14 15:42:59 +00:00
Thierry Reding
d29244d872
Add OSMesa configurations and made fixed several issues here and there.
2006-10-14 15:11:31 +00:00
Thierry Reding
0fca6eda1e
Initial version of a new build system for Mesa.
2006-10-14 04:33:41 +00:00
Thierry Reding
1ddf606332
Import Mesa 6.5.1 (MesaLib, MesaDemos, MesaGLUT).
2006-10-14 03:46:41 +00:00
David Nusinow
bc8084da74
Fix goofed patch from before
2006-09-26 01:36:37 +00:00
David Nusinow
5eed400862
Prepare changelog for release
2006-09-26 01:21:59 +00:00
David Nusinow
a37a0959ac
* Add patch from Cyril Brulebois to allow package to build on HURD, which
...
lacks DRI and directfb. This includes not using lib-directfb in the
build-depends for hurd-i386. It also creates a new debian config,
debian-indirect, which is used when building for HURD. This config is
invoked in the debian-dri config on hurd-i386. Thanks to Cyril Brulebois
for the patch, Michael Banck, Michel Dänzer, and Samuel Thibault for
input on an appropriate fix. (closes : #358065 )
2006-09-26 00:46:14 +00:00
David Nusinow
53845c52e5
* Re-add s390 and m68k to the USE_IEEE test in src/mesa/main/imports.h. This
...
package seriously needs to store patches somewhere that are easy to find
and re-apply.
2006-09-26 00:32:06 +00:00
David Nusinow
d429f0b14f
* Make sure that libGl looks for the dri drivers in the proper location. Do
...
this by setting the appropriate variables in the debian config
2006-09-25 02:57:24 +00:00
David Nusinow
02339187ad
* Stuff not in the upstream tarballs
...
* Bump libdrm-dev build-dep to >= 2.0.2
* Add libdrm cflags to the debian-dri config. This allows the build system
to find drm.h
2006-09-24 22:55:41 +00:00
David Nusinow
827f778525
* Stuff not in the upstream tarballs
...
+ os2 glut stuff
+ docs/gears.png
2006-09-24 21:54:25 +00:00
David Nusinow
d3fc85eea9
Remove os2 glut stuff. It's not in the tarballs
2006-09-24 21:50:01 +00:00
David Nusinow
9a62963129
Add glut
2006-09-24 21:40:02 +00:00
David Nusinow
a0b2543ba1
Add mesa demos
2006-09-24 21:29:21 +00:00
David Nusinow
387acaac69
* New upstream version
2006-09-24 21:21:15 +00:00
David Nusinow
952b775dbe
Rename mesa dir
2006-09-24 21:18:17 +00:00
David Nusinow
eadb76b3f8
Bump to latest mesa in Debian
2006-09-24 21:11:46 +00:00
Steve Langasek
b3f7313ae4
Nuke the directory for an obsolete version of mesa -- no reason to merge
...
it anywhere, it's already superseded
2006-09-18 23:49:49 +00:00
David Nusinow
0c97d48027
* Install the glx sources with the rest in the sources package. This will
...
allow building of Xgl
2006-04-08 18:28:29 +00:00
David Nusinow
c4a678de9e
Update source package install file, change version number to match reality, and note NMU in changelog
2006-04-07 06:36:53 +00:00
David Nusinow
2c834f4d29
* Don't build now non-existant i830 driver in debian dri configs. Fixes
...
FTBFS.
2006-04-07 03:11:47 +00:00
David Nusinow
b93d290c9f
* Remove set_buffer function from idirectfbgl_mesa.c in directfb driver.
...
Also remove the line that sets SetBuffer to it. Fixes FTBFS.
2006-04-07 02:22:22 +00:00
David Nusinow
32266bb21a
* Re-Add s390 and m68k to the USE_IEEE test in src/mesa/main/imports.h.
...
I need to submit this upstream.
2006-04-07 01:50:23 +00:00
David Nusinow
cab39103b7
* Increment libdrm-dev build-dep to 2.0.1
2006-04-07 00:38:00 +00:00
David Nusinow
5c56a80ac9
Copy over Debian packaging from 6.4.1
2006-04-07 00:35:30 +00:00
David Nusinow
d0bac31721
Copy vendor drop of Mesa 6.5 over to working branch
2006-04-07 00:30:49 +00:00
David Nusinow
9258e54cfa
Move incorrect vendor drop of Mesa 6.5
2006-04-07 00:29:08 +00:00
David Nusinow
ccb68495e0
Vendor drop of Mesa 6.5
2006-04-07 00:24:21 +00:00
David Nusinow
db4236fe0b
* Add versioned conflict between libgl1-mesa-dri and xlibmesa-dri so that
...
the xlibmesa-dri transitional upgrade package works
2006-03-07 02:48:44 +00:00
David Nusinow
a4e43427f8
* Move compatibility packages to the xorg source package. The versioning on
...
these packages will be too low without an epoch and they definitely fit
with the xorg package anyway.
2006-02-24 05:43:01 +00:00
David Nusinow
829190abdd
* Provide compatibility packages for the Xorg 6.9 mesa packages. This
...
package will be the only source of mesa packages in Debian for the
present, and these packages will provide for smooth upgrades and
compatibility.
2006-02-22 03:22:26 +00:00
David Nusinow
99688cd051
Add m68k to previous fix to fix its FTBFS also
2006-02-11 23:00:27 +00:00
David Nusinow
1ba0a92702
* Add s390 to the USE_IEEE test in src/mesa/main/imports.h.
...
(closes : #349437 )
2006-02-09 01:24:52 +00:00
David Nusinow
065d5a8d17
* Remove makedepend from build-depends. Now we'll just build-dep on xutils
...
to get the app, which will translate over to our own xorg 7.0 plans.
2006-02-01 00:22:24 +00:00
David Nusinow
3b53c0ac19
* Re-add dh_installdirs call to binary-indep target so that we get
...
arch-specific dirs for the mesa-swx11-source package
2006-01-30 04:02:11 +00:00
David Nusinow
ed56fe4e82
* mesa-swrast-src.install stop looking for the swx11 dir and look for swrast
2006-01-22 19:50:19 +00:00
David Nusinow
1fbbe807ed
Make libglu1-mesa default to depending on libgl1-mesa-glx. Thanks Michel Dänzer for catching this one.
2006-01-22 00:07:07 +00:00
David Nusinow
c3dccfa05b
Use appropriate version number for an NMU. Thanks Julien for catching this one
2006-01-21 23:40:34 +00:00
David Nusinow
7703d9293f
Incorporate other NMU for xlibs-dev transition
2006-01-21 23:32:52 +00:00
David Nusinow
bcf560e4b8
* Change libgl1-mesa to be named libgl1-mesa-glx
2006-01-19 23:45:36 +00:00
David Nusinow
9d944b501a
* Change libgl1-mesa-swrast to be named libgl1-mesa-swx11
2006-01-16 22:19:03 +00:00
David Nusinow
cf013a5384
Add more closers
2006-01-11 04:10:39 +00:00
David Nusinow
2f367491c4
Add closer
2006-01-11 04:00:15 +00:00
David Nusinow
e7d93b62ec
* Change libgl1-mesa-swrast Depends on libx11-6-dev to libx11-dev.
...
(closes : #347205 )
* Add closer for packaging new upstream
2006-01-11 03:48:31 +00:00
David Nusinow
a5b309c0c9
Document that we'll be NMU'ing this for modular work
2006-01-06 03:09:12 +00:00
David Nusinow
df46b96ab0
Re-add mesa-6.4.1 which was accidentally deleted
2006-01-03 05:15:27 +00:00
David Nusinow
bda1e332ce
Update libs to 7.0 release with packaging
2005-12-30 20:12:45 +00:00
David Nusinow
53b2ad5fd0
Rename mesa lib dir to appropriate version
2005-12-16 04:04:38 +00:00
David Nusinow
b44d9c657d
Changelog version bump
2005-12-16 04:03:27 +00:00
David Nusinow
92ef7527d1
* New upstream version (6.4.1)
...
* Merge changes from Ubuntu version 6.4.1-0ubuntu1
+ Add new files required by xorg-server GL build to mesa-swrast-source.
2005-12-14 01:43:13 +00:00
David Nusinow
c37d6b4ca8
Commit Mesa 6.4 sources and packaging
2005-11-09 02:46:07 +00:00