Brice Goglin
bb1193ca83
Prepare Changelog for upload
2009-12-12 13:03:07 +01:00
Brice Goglin
14cc33508c
Do not build s3v and trident anymore
2009-12-12 13:02:44 +01:00
Brice Goglin
890a0f155f
New upstream release candidate
2009-12-12 12:35:13 +01:00
Brice Goglin
6640b46db9
Merge branch 'upstream-experimental' into debian-experimental
...
Conflicts:
doxygen/gallium.doc
progs/egl/demo1.c
progs/egl/demo2.c
progs/egl/demo3.c
progs/egl/eglgears.c
progs/egl/eglinfo.c
progs/slang/cltest.c
progs/slang/vstest.c
progs/tests/arbgpuprog.c
progs/tests/getprocaddress.c
progs/tests/getteximage.c
progs/tests/mipmap_limits.c
progs/tests/packedpixels.c
progs/tests/sharedtex.c
progs/tests/texcmp.c
progs/tests/texcomp_image.h
progs/tests/texcompsub.c
progs/tests/zreaddraw.c
scons/crossmingw.py
scons/dxsdk.py
scons/gallium.py
scons/generic.py
scons/llvm.py
scons/winddk.py
src/gallium/state_trackers/xorg/xvmc/tests/.gitignore
src/gallium/state_trackers/xorg/xvmc/tests/test_context.c
src/gallium/state_trackers/xorg/xvmc/tests/test_rendering.c
src/gallium/state_trackers/xorg/xvmc/tests/testlib.c
src/gallium/state_trackers/xorg/xvmc/tests/xvmc_bench.c
src/mesa/drivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
windows/VC7/mesa/mesa/mesa.vcproj
2009-12-12 12:31:27 +01:00
Brice Goglin
7f8952d242
Prepare Changelog for upload
2009-12-11 18:36:40 +01:00
Brice Goglin
adae195cc1
Drop 07_sparc64_xform_asm.patch, applied upstream
2009-12-11 18:36:25 +01:00
Brice Goglin
3fa885911b
New upstream release candidate
2009-12-11 18:33:34 +01:00
Brice Goglin
ebf57c6202
Merge branch 'mesa_7_6_branch' of git://anongit.freedesktop.org/mesa/mesa into debian-unstable
...
Conflicts:
progs/tests/Makefile
progs/tests/prog_parameter.c
2009-12-11 18:31:38 +01:00
Brian Paul
e128cc205e
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
2009-12-11 09:51:27 -07:00
Brian Paul
7d41b4248b
docs: updated 7.6.1 relnotes with GLSL fixes
2009-12-11 09:41:34 -07:00
Brian Paul
d8f8eca9ef
mesa: remove unnecessary loop in _mesa_remove_output_reads()
2009-12-11 09:40:33 -07:00
Brian Paul
b605f4ff11
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
2009-12-11 09:22:00 -07:00
Brian Paul
5076a4f53a
mesa: check dst reg in _mesa_find_free_register()
...
If a register was only being used as a destination (as will happen when
generated condition-codes) we missed its use. So we'd errantly return
a register index that was really in-use, not free.
Fixes bug 25579.
2009-12-11 09:16:27 -07:00
Aurelien Jarno
f7f1211b9b
sparc: additional preprocessor test for SPARC 64-bit
2009-12-11 08:46:54 -07:00
José Fonseca
da3bc492d2
scons: Tweak MSVC release options.
...
Enable whole program optimizations and fast math.
2009-12-11 15:16:22 +00:00
Brice Goglin
1f47135544
Build r600_dri.so
2009-12-11 15:54:32 +01:00
José Fonseca
ffae1f938d
svga: Add a missing dependency from the prescale state.
...
Thanks for Keith to finding this.
Fixes Jedi Knight 2 menus.
2009-12-11 14:14:03 +00:00
José Fonseca
8469baf41b
svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC.
...
Since we're reusing buffers we're effectively transforming all
of them into dynamic buffers.
It would be nice to not cache long lived static buffers. But there
is no way to detect the long lived from short lived ones yet. A
good heuristic would be buffer size.
2009-12-11 13:15:12 +00:00
José Fonseca
16876b8328
svga: Keep tight control of texture handle ownership.
...
The texture owns the surface handle. All derivatives need to keep
a reference to texture.
This fixes several assertions failures starting up Jedi Knight 2.
Should cause no change for DRM surface sharing -- reference count still
done as before there.
2009-12-11 12:29:02 +00:00
José Fonseca
770323e33e
svga: Fix mixed signed comparisons.
2009-12-11 12:28:53 +00:00
José Fonseca
a2937a2f4e
scons: Pass -fno-strict-aliasing to gcc.
...
Strict aliasing tule violations were fixed on master, but
they're still causing problem in this branch, so disable this assumptions.
Do not apply this fix to master (revert when you merge).
2009-12-11 12:28:53 +00:00
José Fonseca
8c981b94dc
scons: Make it work with MinGW build of LLVM 2.6.
...
LLVM 2.5 is no longer supported on windows.
2009-12-11 12:28:53 +00:00
Brice Goglin
ac180fa6a7
fix sparc64 FTBFS
2009-12-11 07:52:39 +01:00
Vinson Lee
94fba49be9
mesa: Initialize variable in MatchInstruction.
2009-12-10 18:51:51 -08:00
Vinson Lee
e31df54754
mesa: Assign _mesa_lookup_parameter_index return value to GLint.
2009-12-10 18:32:33 -08:00
Vinson Lee
cb1dcb55f9
i915: Add missing break statement in i915_debug_packet.
2009-12-10 18:21:59 -08:00
Vinson Lee
d38ffed523
glsl: Increase size of array in_slang_lookup_constant from 4 to 16.
...
For some cases, _mesa_GetIntegerv reads up to params[15].
2009-12-10 17:52:31 -08:00
Vinson Lee
1cf60c9810
progs/samples: Byte swap individual members of struct _rawImageRec.
2009-12-10 15:41:13 -08:00
Ian Romanick
e624b77eb2
intel: Remove ARGB internal_format == GL_RGB hacks
...
Now that XRGB is supported, we don't need to hack around cases of an RGBA
format buffer with an internal format of GL_RGB.
2009-12-10 15:12:31 -08:00
Ian Romanick
b4a6169412
intel: Make RGB textures use XRGB8888
2009-12-10 15:12:30 -08:00
Ian Romanick
cbdeb33209
intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.
2009-12-10 15:12:30 -08:00
Ian Romanick
eadd9b8e16
i965: Fix handling of drawing to MESA_FORMAT_XRGB8888
...
It turns out that 965 and friends cannot actually render to an xRGB
surfaces. Instead, the surface has to be RGBA with writes to alpha
disabled and the blend function modified to always use 1.0 for
destination alpha.
2009-12-10 15:12:30 -08:00
Ian Romanick
4f2b2032f4
intel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888
2009-12-10 15:12:30 -08:00
Ian Romanick
ffc1f299e9
spantmp2: Add support for GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV
...
This is really for MESA_FORMAT_XRGB8888. Clearly spantmp2.h needs some
re-work. Any volunteers?
2009-12-10 15:12:30 -08:00
Ian Romanick
430876cd3a
intel: name in intel_create_renderbuffer was always 0, remove
2009-12-10 15:12:30 -08:00
Ian Romanick
0f01674a58
intel: Use texformat accessor to get bytes-per-pixel
2009-12-10 15:12:30 -08:00
Ian Romanick
4eee46efcb
intel: softwareBuffer in intel_alloc_renderbuffer_storage was always false, remove
2009-12-10 15:12:30 -08:00
Ian Romanick
3078bd136d
intel: Axe intel_renderbuffer::texformat
...
Since the texformat branch merge, the value of intel_renderbuffer::texformat
is just a copy of gl_renderbuffer::Format.
2009-12-10 15:12:30 -08:00
Eric Anholt
539a14a1dd
intel: Flush the render/texture cache when finishing render to texture.
...
Back when we were flushing the entire batch at BindFramebuffer, the kernel
would notice the domain transition when someone went to texture from it and
flush for us. We no longer do the batch flushing every time, so we get to
do aggressive flushing until we move batchbuffer handling to libdrm.
Fixes piglit fbo-flushing. Bug #25377 . No noticeable performance loss
on cairo-gl (so this is better than batch flushing).
2009-12-10 14:47:09 -08:00
Vinson Lee
bc0509bba8
progs/util: Byte swap individual members of struct _rawImageRec.
2009-12-10 13:24:15 -08:00
Vinson Lee
51f52edaf1
glsl: Fix array out-of-bounds access by _slang_lookup_constant.
2009-12-10 12:37:10 -08:00
Vinson Lee
dcb4a37fc8
mesa: Fix array out-of-bounds access by _mesa_TexParameteriv.
2009-12-10 12:11:09 -08:00
Zack Rusin
967e6e2009
st/xorg: fix yv12 plus some cleanups in the upload code
2009-12-10 13:04:26 -05:00
Zack Rusin
690d888416
st/xorg: enable yv12 for xv
2009-12-10 13:04:05 -05:00
Vinson Lee
05b6296092
mesa: Fix SCons build.
...
Commit cd6b8dd9e8 deleted
src/mesa/state_tracker/st_cb_get.c.
2009-12-09 22:35:32 -08:00
Vinson Lee
b827578805
mesa: Fix array out-of-bounds access by _mesa_TexGend.
...
_mesa_TexGend calls _mesa_TexGenfv, which uses the params argument
as an array.
2009-12-09 17:59:23 -08:00
Vinson Lee
444d1f3910
mesa: Fix array out-of-bounds access by _mesa_Lighti.
...
_mesa_Lighti calls _mesa_Lightiv, which uses the params argument
as an array.
2009-12-09 17:34:50 -08:00
Vinson Lee
34528a34c4
mesa: Fix array out-of-bounds access by _mesa_Lightf.
2009-12-09 17:11:30 -08:00
Vinson Lee
348883076b
mesa: Fix array out-of-bounds access by _mesa_PointParameteri.
...
_mesa_PointParameteri calls _mesa_PointParameterfv, which uses the
params argument as an array.
2009-12-09 13:15:05 -08:00
Vinson Lee
6f2d51b81f
mesa: Fix array out-of-bounds access by _mesa_PointParameterf.
...
_mesa_PointParameterf calls _mesa_PointParameterfv, which uses the
params argument as an array.
2009-12-09 13:00:22 -08:00
Vinson Lee
637970aefd
mesa: Fix array out-of-bounds access by _mesa_LightModelf.
...
_mesa_LightModelf calls _mesa_LightModelfv, which uses the
params argument as an array.
2009-12-09 12:43:28 -08:00
Vinson Lee
a082d965de
glsl: Remove unused member x from struct slang_operation.
2009-12-09 11:26:24 -08:00
Brian Paul
3de8fff45d
mesa: fix baseLevel >= MAX_TEXTURE_LEVELS test
...
This fixes invalid array indexing when baseLevel == MAX_TEXTURE_LEVELS.
See bug 25528.
2009-12-09 08:30:05 -07:00
Andre Maasikas
33a120e476
r600: fix state size prediction after dc0777d3
2009-12-09 10:51:52 +02:00
Jakob Bornecrantz
5e2a86cb1b
vmware/xorg: Properly detect overlay support
2009-12-09 09:51:05 +01:00
Jakob Bornecrantz
b7cf8a1f93
vmware/core: Update vmwgfx_drm.h
2009-12-09 09:51:04 +01:00
Ian Romanick
e3fa700c17
meta: Bind texture to unit 0 for mipmap generation
...
If the active texture unit on entry to mipmap generation is not zero, bind the
texture to unit zero.
Fixes bug #24219 .
2009-12-09 11:05:15 -08:00
Eric Anholt
cd6b8dd9e8
mesa: Move OES_read_format support from drivers into the core.
...
The assertion is that the correct read type to be using is the native
type of the underlying read renderbuffer. For some fallback paths, this
may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets
all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or
GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work.
This fixes the intel (and other) DRI drivers to report read formats that
should hit blit PBO readpixels paths.
2009-12-09 10:37:36 -08:00
Vinson Lee
af16c822a5
mesa: Fix array out-of-bounds access by _mesa_LightModeli.
...
_mesa_LightModeli calls _mesa_LightModeliv, which uses the
params argument as an array.
2009-12-08 18:26:05 -08:00
Vinson Lee
d33bf38d63
mesa: Fix array out-of-bounds access by _mesa_Fogf.
...
_mesa_Fogf calls _mesa_Fogfv, which uses the params argument
as an array.
2009-12-08 17:51:07 -08:00
Vinson Lee
3f7c2ac279
mesa: Fix array out-of-bounds access by _mesa_TexParameteri.
...
_mesa_TexParameteri calls set_tex_parameteri, which uses the
params argument as an array.
2009-12-08 17:25:05 -08:00
Eric Anholt
dd9eb8774a
i965: Enable the accelerated ReadPixels path on gen4 along with pre-gen4.
...
Passes piglit pbo-read-argb8888, and doesn't otherwise regress quick.tests.
2009-12-08 16:35:05 -08:00
Vinson Lee
7f146b3824
mesa: Fix array out-of-bounds access by _mesa_Fogi.
...
_mesa_Fogi calls _mesa_Fogfv, which uses the params argument
as an array.
2009-12-08 16:08:41 -08:00
Vinson Lee
a1d46fbea0
mesa: Fix array out-of-bounds access by _mesa_TexParameteri.
...
_mesa_TexParameteri calls set_tex_parameterf, which uses the
params argument as an array.
2009-12-08 15:42:13 -08:00
Vinson Lee
d88f3b9468
mesa: Fix array out-of-bounds access by _mesa_TexParameterfv.
...
_mesa_TexParameterfv calls set_tex_parameteri, which uses the
params argument as an array.
2009-12-08 14:33:33 -08:00
Brian Paul
54b0ed8360
vbo: fix array index out of bounds error, and fix evaluator priorities
...
Fixes bug 25525.
Plus, the GL_NV_vertex_program evaluators alias and override the
convential evaluator maps, so set their state after the conventional
maps.
2009-12-08 15:03:22 -07:00
Vinson Lee
1de1deffce
i915g: Fix memory leak when pci id is unknown.
2009-12-08 00:43:38 -08:00
Vinson Lee
7e93e06781
i915g: Add missing break statement in i915_debug_packet.
2009-12-08 00:37:35 -08:00
Vinson Lee
7f8e22aa29
rbug: Initialize variable in rbug_get_message.
...
Silences uninitialized variable warning.
2009-12-08 00:28:50 -08:00
Andre Maasikas
369669ff9a
r600: add support for TXB instruction
...
makes testing other things easier - does not hang the card
TODO: enable TEX dependency tracking in vertex programs
2009-12-08 10:02:23 +02:00
Andre Maasikas
dc0777d3e3
r600: reorder state for render_target and blend
...
First time around render targets are not enabled yet (done in
r700SendRenderTargetState) so blend state is not emitted for any targets.
Affects first glClear in some mesa tests.
As a quick fix reorder state emit so that target is set first
2009-12-08 09:41:10 +02:00
Vinson Lee
add6dfbba6
llvmpipe: Initialize variables in emit_instruction.
2009-12-07 19:04:07 -08:00
Vinson Lee
3e8b2fda21
progs/test: Initialize variable in prog_parameter.
...
Silences uninitialized variable compiler warning.
2009-12-07 18:40:37 -08:00
Ian Romanick
9dbd47fc6b
mesa: set version string to 7.6.1-rc3
2009-12-07 16:59:59 -08:00
Vinson Lee
7d84169865
progs/demos: Fix memory leak in projtex.c.
2009-12-07 12:31:08 -08:00
Vinson Lee
7005f7cd1a
st/egl: Fix memory leak in egl_tracker.c.
...
(cherry picked from commit 052b127842 )
2009-12-06 01:15:24 -08:00
Vinson Lee
c994f08eb1
dri: Fix potential null pointer dereference in driBindContext.
...
(cherry picked from commit 919898e92f )
2009-12-06 01:01:55 -08:00
Vinson Lee
f622b649fb
dri: Fix potential null pointer deference in dri_put_drawable.
...
(cherry picked from commit 364070b1f2 )
2009-12-06 01:00:20 -08:00
Vinson Lee
76b3523d75
glx: Prevent potential null pointer deference in driCreateContext.
...
(cherry picked from commit 4b0b250aae )
2009-12-06 00:56:20 -08:00
Vinson Lee
978b80c8e3
progs/tests: Add tests to Makefile.
...
(cherry picked from commit 76d2ec3a0a )
2009-12-05 21:20:54 -08:00
Brice Goglin
a7109f3ae5
Prepare Changelog for upload
2009-12-06 00:15:21 +01:00
Brice Goglin
e5e54a9a6e
Refresh patches
2009-12-06 00:15:21 +01:00
Brice Goglin
c2ad82a90b
New upstream release candidate
2009-12-06 00:15:07 +01:00
Vinson Lee
3cd745515e
draw: Initialize variable in draw_pt.c.
...
(cherry picked from commit ea98e9820d )
2009-12-05 15:11:41 -08:00
Brice Goglin
9347983556
Merge branch 'mesa_7_6_branch' of git://anongit.freedesktop.org/mesa/mesa into debian-unstable
...
Conflicts:
progs/fp/Makefile
progs/fp/fp-tri.c
progs/fp/point-position.c
progs/fp/tri-depth.c
progs/fp/tri-depth2.c
progs/fp/tri-depthwrite.c
progs/fp/tri-depthwrite2.c
progs/fp/tri-inv.c
progs/fp/tri-param.c
progs/fp/tri-tex.c
progs/tests/Makefile
progs/tests/SConscript
progs/tests/arraytexture.c
progs/tests/copypixrate.c
progs/tests/crossbar.c
progs/tests/drawbuffers.c
progs/tests/invert.c
progs/tests/minmag.c
progs/tests/mipmap_comp.c
progs/tests/prog_parameter.c
progs/tests/random.c
progs/tests/shader_api.c
progs/tests/stencil_twoside.c
progs/tests/texcmp.c
progs/tests/texdown.c
progs/tests/vao-01.c
progs/tests/vao-02.c
progs/trivial/clear-fbo-tex.c
progs/trivial/clear-fbo.c
progs/trivial/clear-random.c
progs/trivial/clear-scissor.c
progs/trivial/clear.c
progs/trivial/createwin.c
progs/trivial/dlist-begin-call-end.c
progs/trivial/dlist-dangling.c
progs/trivial/dlist-edgeflag-dangling.c
progs/trivial/dlist-edgeflag.c
progs/trivial/dlist-flat-tri.c
progs/trivial/dlist-mat-tri.c
progs/trivial/dlist-recursive-call.c
progs/trivial/dlist-tri-flat-tri.c
progs/trivial/dlist-tri-mat-tri.c
progs/trivial/line-clip.c
progs/trivial/line-cull.c
progs/trivial/line-flat.c
progs/trivial/line-stipple-wide.c
progs/trivial/line-userclip-clip.c
progs/trivial/line-userclip-nop-clip.c
progs/trivial/line-userclip-nop.c
progs/trivial/line-userclip.c
progs/trivial/line-wide.c
progs/trivial/line.c
progs/trivial/lineloop-clip.c
progs/trivial/lineloop.c
progs/trivial/linestrip-clip.c
progs/trivial/linestrip-flat-stipple.c
progs/trivial/linestrip-stipple-wide.c
progs/trivial/linestrip-stipple.c
progs/trivial/linestrip.c
progs/trivial/point-clip.c
progs/trivial/point-param.c
progs/trivial/point-sprite.c
progs/trivial/point-wide-smooth.c
progs/trivial/point-wide.c
progs/trivial/point.c
progs/trivial/poly-flat-clip.c
progs/trivial/poly-flat-unfilled-clip.c
progs/trivial/poly-flat.c
progs/trivial/poly-unfilled.c
progs/trivial/poly.c
progs/trivial/quad-clip-all-vertices.c
progs/trivial/quad-clip.c
progs/trivial/quad-degenerate.c
progs/trivial/quad-flat.c
progs/trivial/quad-offset-factor.c
progs/trivial/quad-offset-unfilled.c
progs/trivial/quad-offset-units.c
progs/trivial/quad-tex-alpha.c
progs/trivial/quad-tex-pbo.c
progs/trivial/quad-unfilled-clip.c
progs/trivial/quad-unfilled-stipple.c
progs/trivial/quad-unfilled.c
progs/trivial/quad.c
progs/trivial/quads.c
progs/trivial/quadstrip-cont.c
progs/trivial/quadstrip-flat.c
progs/trivial/quadstrip.c
progs/trivial/readpixels.c
progs/trivial/tri-alpha-tex.c
progs/trivial/tri-alpha.c
progs/trivial/tri-blend-color.c
progs/trivial/tri-clear.c
progs/trivial/tri-clip.c
progs/trivial/tri-cull-both.c
progs/trivial/tri-dlist.c
progs/trivial/tri-fbo.c
progs/trivial/tri-flat-clip.c
progs/trivial/tri-flat.c
progs/trivial/tri-fog.c
progs/trivial/tri-fp-const-imm.c
progs/trivial/tri-fp.c
progs/trivial/tri-lit-material.c
progs/trivial/tri-lit.c
progs/trivial/tri-multitex-vbo.c
progs/trivial/tri-orig.c
progs/trivial/tri-query.c
progs/trivial/tri-scissor-tri.c
progs/trivial/tri-square.c
progs/trivial/tri-stipple.c
progs/trivial/tri-tex-3d.c
progs/trivial/tri-tex.c
progs/trivial/tri-tri.c
progs/trivial/tri-unfilled-clip.c
progs/trivial/tri-unfilled-edgeflag.c
progs/trivial/tri-unfilled-point.c
progs/trivial/tri-unfilled-smooth.c
progs/trivial/tri-unfilled-tri-lit.c
progs/trivial/tri-unfilled-tri.c
progs/trivial/tri-unfilled-userclip-stip.c
progs/trivial/tri-unfilled-userclip.c
progs/trivial/tri-unfilled.c
progs/trivial/tri-userclip.c
progs/trivial/tri-z-9.c
progs/trivial/tri-z-eq.c
progs/trivial/trifan-flat-clip.c
progs/trivial/trifan-flat-unfilled-clip.c
progs/trivial/trifan-flat.c
progs/trivial/trifan-unfilled.c
progs/trivial/trifan.c
progs/trivial/tristrip-clip.c
progs/trivial/tristrip-flat.c
progs/trivial/tristrip.c
progs/trivial/vp-tri-cb-pos.c
progs/trivial/vp-tri-cb-tex.c
progs/trivial/vp-tri-invariant.c
progs/vp/vp-tris.c
progs/vpglsl/psiz-mul.glsl
progs/vpglsl/vp-tris.c
2009-12-05 23:36:06 +01:00
Vinson Lee
b2953ee1a6
mesa: Fix array out-of-bounds access by _mesa_TexGenf.
...
_mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument
as an array.
(cherry picked from commit ca5a7aadb4 )
2009-12-05 13:00:35 -08:00
Vinson Lee
d74cd04e61
mesa: Fix array out-of-bounds access by _mesa_TexGeni.
...
_mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument
as an array.
(cherry picked from commit d55fb7c835 )
2009-12-05 12:59:34 -08:00
Vinson Lee
ca8a2150c7
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.
...
_mesa_TexParameterf calls set_tex_parameterf, which uses the params
argument as an array.
(cherry picked from commit 270d36da14 )
2009-12-05 12:50:56 -08:00
Vinson Lee
4071d065c2
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.
...
_mesa_TexParameterf calls set_tex_parameteri, which uses the params
argument as an array.
(cherry picked from commit a201dfb6bf )
2009-12-05 12:47:40 -08:00
Vinson Lee
1446f30875
progs/samples: Fix memory leak if malloc fails in rgbtoppm.c.
2009-12-05 01:43:29 -08:00
Vinson Lee
412aeeed1c
progs/samples: Fix memory leak if fopen fails in rgbtoppm.c.
2009-12-05 01:38:14 -08:00
Vinson Lee
6212c8103a
progs/samples: Add rgbtoppm to Makefile.
2009-12-05 01:28:47 -08:00
Vinson Lee
2cd2341ce8
progs/tests: Removed unused variable from texdown.c.
2009-12-05 01:23:05 -08:00
Vinson Lee
d642edd2d1
progs/vpglsl: Assign glGetUniformLocationARB return value to GLint.
...
The return type of glGetUniformLocationARB is GLint, not GLuint.
2009-12-05 01:11:26 -08:00
Vinson Lee
8d2f3434c5
progs/fp: Redraw upon keypress.
2009-12-04 23:31:39 -08:00
Vinson Lee
fe8e18bcd4
mesa: Fix array out-of-bounds access in _mesa_TexEnvf.
...
_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument
as an array.
(cherry picked from commit a11d60d14c )
2009-12-04 17:48:30 -08:00
Vinson Lee
4fb5ae7233
progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
...
(cherry picked from commit 11905da883 )
2009-12-04 17:35:00 -08:00
Vinson Lee
5683d7d43f
progs/util: Fix memory leak if fail to load/compile shader
...
Signed-off-by: Brian Paul <brianp@vmware.com >
(cherry picked from commit c475079ef2 )
2009-12-04 17:32:48 -08:00
Vinson Lee
e5bc2a19bd
progs/fp: Add tri-inv.c to Makefile.
2009-12-04 17:29:53 -08:00
Jakob Bornecrantz
6f1db18f14
vmware/xorg: Also stop ports on close
2009-12-04 16:50:26 +01:00
Jakob Bornecrantz
124f4bc977
vmware/xorg: Stop video ports on leave vt
2009-12-04 16:50:20 +01:00
Jakob Bornecrantz
f2e3fc1814
st/xorg: Add enter/leave vt hooks for winsys
2009-12-04 16:50:16 +01:00
Jakob Bornecrantz
c33520b360
st/xorg: Fix leave enter vt cycle in crtc code
2009-12-04 16:50:12 +01:00
Jakob Bornecrantz
d5b94b49f6
st/xorg: New libkms destroy api
2009-12-04 16:50:08 +01:00
Michel Dänzer
32ccc9b0bb
vmware/xorg: Fix SCons build.
...
Not sure how vmw_screen.c could build at all though...
2009-12-08 11:45:19 +01:00
Michel Dänzer
9e42683fb3
vmware/xorg: Avoid warning about HAVE_STDINT_H being redefined.
2009-12-08 11:43:22 +01:00
Andre Maasikas
0d4a05445c
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
2009-12-08 10:16:14 +02:00
Ian Romanick
ba167f812c
mesa: set version string to 7.7-rc1
...
Also modify the Makefile to use the correct version for the tarballs.
2009-12-07 17:18:56 -08:00
Ian Romanick
8fc433fa0f
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
...
Conflicts:
progs/demos/projtex.c
progs/xdemos/glxinfo.c
src/mesa/main/version.h
To fix the confilicts in projtex.c and glxinfo.c I just took the code from
mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from
mesa_7_7_branch to mesa_7_6_branch followed by commmits just to
mesa_7_6_branch.
2009-12-07 17:16:10 -08:00
Ian Romanick
bb64c9bcdf
Revert "intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers."
...
This reverts commit 4598942b1b .
XRGB8888 doesn't work as intended. Revert this for now, and we'll revisit it
for 7.8 or something.
2009-12-07 17:06:07 -08:00
Maciej Cencora
9921b3048e
radeon: fix cases when only first image where put directly into miptree.
...
Make sure that minimal width, height and depth of texture image is 1.
2009-12-07 22:33:11 +01:00
Maciej Cencora
013cf1d63d
radeon: fix image migration for small compressed textures
...
memcpy would give incorrect results if src rowstride != dst rowstride
2009-12-07 22:29:11 +01:00
Coleman Kane
225bc70b77
r300g: use $(MAKE) variable
...
Fixes bug 24501
2009-12-04 08:45:04 -07:00
Brian Paul
ca7cd3ade0
progs/xdemos: fix some visual/fbconfig logic in glxinfo.c
...
The fbAttribSingle/Double arrays had wrong GLX_DOUBLEBUFFER values.
We only need to use the glXChooseFBConfig() code when glXChooseVisual()
fails (but I don't know when that would happen).
Other recent commits errantly removed some code in this area too.
2009-12-04 08:09:57 -07:00
Brian Paul
fb83fa26c4
docs: a few more fixes for 7.6.1
2009-12-04 08:09:07 -07:00
Alex Deucher
8d8fd9776e
radeon: fix polygon stipple
...
fixes fdo bug 25354
Signed-off-by: Alex Deucher <alexdeucher@gmail.com >
2009-12-04 09:52:37 -05:00
Jakob Bornecrantz
1ef8c493b2
vmware/xorg: Use Write instead of WriteRead for cursor bypass
2009-12-04 10:33:34 +01:00
Jakob Bornecrantz
cd4d806a47
vmware/xorg: Give kernel infromation about cursor bypass
2009-12-04 09:54:51 +01:00
Jakob Bornecrantz
12fdef20b0
vmware/xorg: Handle no init of video in vmw_video_close
2009-12-04 09:54:50 +01:00
Jakob Bornecrantz
47e128331a
vmware/core: Update vmwgfx_drm.h to include cursor bypass
2009-12-04 09:54:50 +01:00
Jakob Bornecrantz
bc0532b0ed
gallium: DRI drivers enabled by default, Xorg drivers auto by default.
...
This change enabled gallium dri drivers by default under the
configure build system. Xorg drivers are built automaticaly
if a Xorg dev enviroment is installed and the Xorg version
is higher then 1.6.0.
2009-12-04 19:02:41 +00:00
Jakob Bornecrantz
8ac2503397
i915g: Do not build winsys and binaries by default
...
Using a hack in the configure script the gallium intel
drivers have 3 options. Off, nothing is built. On, the
driver and binaries are built. Auto, only the driver but
not the binaries and winsys is built.
Since the i915g driver builds everywhere its can enable
the driver per default, so we can get build coverage.
But building the binaries per default is a pain for
distributions and testers since they conflict on the
install target with the old mesa drivers. Which are more
stable/faster/better.
So this change gives us the best of both worlds.
2009-12-04 16:01:41 +00:00
Vinson Lee
c74afe0c46
glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
...
(cherry picked from commit 808f037660 )
2009-12-04 00:14:31 -08:00
Vinson Lee
8df551c46b
glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.
...
(cherry picked from commit 94bcb9f1a4 )
2009-12-04 00:14:05 -08:00
Vinson Lee
ea487c6d0b
glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
...
(cherry picked from commit 0d89f3dc7f )
2009-12-04 00:13:25 -08:00
Vinson Lee
7b5eba453e
glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
...
(cherry picked from commit f895abbd97 )
2009-12-04 00:12:49 -08:00
Vinson Lee
7ed749c062
glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
...
(cherry picked from commit 326b66d724 )
2009-12-04 00:11:58 -08:00
Vinson Lee
80a3944a4d
glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.
...
(cherry picked from commit 5b925b7daa )
2009-12-04 00:11:02 -08:00
Vinson Lee
6c1fc2b2a5
glu/sgi: Fix memory leak in gluScaleImage3D.
...
(cherry picked from commit b611f639b4 )
2009-12-04 00:10:22 -08:00
Vinson Lee
fe38c16021
glu/sgi: Fix memory leak in gluScaleImage.
...
(cherry picked from commit a9c540f5de )
2009-12-04 00:09:22 -08:00
Vinson Lee
d23bb22f62
glu: Fix memory leak in __gl_meshMakeEdge.
...
(cherry picked from commit d3b4c99c70 )
2009-12-04 00:07:51 -08:00
Vinson Lee
12a440abfb
progs/xdemos: Silence unused value warnings in sharedtex_mt.c.
...
(cherry picked from commit 8556fad751 )
2009-12-04 00:04:38 -08:00
Vinson Lee
4bf96ebdae
progs/xdemos: Fix memory leak in pbdemo.c.
...
(cherry picked from commit e0857962b9 )
2009-12-04 00:03:14 -08:00
Vinson Lee
ba3fedf246
progs/xdemos: Add missing break statement in offset.c.
...
(cherry picked from commit 4ab8dbe593 )
2009-12-04 00:01:20 -08:00
Vinson Lee
8350648401
progs/xdemos: Remove duplicate code in glxinfo.c.
...
(cherry picked from commit a4720a1a32 )
2009-12-03 23:59:47 -08:00
Vinson Lee
7324c22024
progs/xdemos: Fix memory leak in glxinfo.c.
...
(cherry picked from commit f080567f4c )
2009-12-03 23:59:11 -08:00
Vinson Lee
68d206fafa
progs/xdemos: Add assert in corender.c.
...
(cherry picked from commit 66a4ec14c3 )
2009-12-03 23:22:47 -08:00
Vinson Lee
69ed1147a8
progs/vp: Fix memory leak in vp-tris.c.
...
(cherry picked from commit 760cf71572 )
2009-12-03 23:20:18 -08:00
Vinson Lee
efb582fde7
progs/tests: Fix memory leak in texdown.c if malloc fails.
...
(cherry picked from commit e3cfd78969 )
2009-12-03 23:17:26 -08:00
Vinson Lee
b210739aad
progs/redbook: Fix memory leak in quadric.c.
...
(cherry picked from commit 47b5f584a6 )
2009-12-03 23:12:59 -08:00
Vinson Lee
b1a87a3e0b
progs/glsl: Fix memory leak in deriv.c.
...
(cherry picked from commit 0e783c7d03 )
2009-12-03 22:54:35 -08:00
Vinson Lee
25fd168f03
progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.
...
tangentAtrrib is assigned the result of glGetAttribLocation.
The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if
tangentAttrib is a GLuint.
(cherry picked from commit b8dcb79c53 )
2009-12-03 22:51:43 -08:00
Vinson Lee
b803abbaad
progs/demos: Fix memory leak in ray.c.
...
(cherry picked from commit 6b480dc21d )
2009-12-03 22:49:18 -08:00
Vinson Lee
5820dae4ec
progs/demos: Fix memory leak in projtex.c.
...
(cherry picked from commit ee555e3d69 )
2009-12-03 22:44:55 -08:00
Vinson Lee
fc5f07de1a
progs/demos: Fix memory leak in ipers.c.
...
(cherry picked from commit a1afe303de )
2009-12-03 22:38:44 -08:00
Vinson Lee
d245a951f3
progs/demos: Fix memory leak in fslight.c.
...
(cherry picked from commit aef3218f0b )
2009-12-03 22:36:37 -08:00
Vinson Lee
905e12f3cc
gallium/util: Initialize variables in u_pack_color.h.
...
(cherry picked from commit 36e2074b63 )
2009-12-03 17:55:59 -08:00
Vinson Lee
56de7e222e
progs/trivial: Redraw upon keypress.
...
(cherry picked from commit 9553a42f63 )
2009-12-03 17:27:24 -08:00
Vinson Lee
34a0b22a74
progs/trivial: Redraw upon keypress.
...
(cherry picked from commit 3790c6a13b )
2009-12-03 17:25:00 -08:00
Vinson Lee
9e29242331
progs/glsl: Redraw upon keypress.
...
(cherry picked from commit 881f55236a )
2009-12-03 17:17:24 -08:00
Vinson Lee
a0ac8fc7d8
progs/util: Exit RawImageGetData early if malloc fails.
...
Prevents a null pointer deference later on.
(cherry picked from commit e26135a744 )
2009-12-03 17:14:08 -08:00
Vinson Lee
0a6acecb35
progs/util: Fix memory leak if malloc fails in RawImageOpen.
...
(cherry picked from commit d36cb2396c )
2009-12-03 17:08:48 -08:00
Vinson Lee
305d4f147e
progs/util: Fix memory leak if fopen fails in RawImageOpen.
...
(cherry picked from commit d9508e8df9 )
2009-12-03 17:03:26 -08:00
Vinson Lee
772e004781
progs/util: Fix memory leak if malloc fails in tkRGBImageLoad.
...
(cherry picked from commit 786d539511 )
2009-12-03 16:57:17 -08:00
Vinson Lee
f1172c4030
progs/util: Fix memory leak if LoadRGBImage fails.
...
(cherry picked from commit 041cd0e110 )
2009-12-03 16:24:03 -08:00
Vinson Lee
84de1672d3
progs/util: Fix memory if LoadRGBMipmaps2 fails.
...
(cherry picked from commit 28b8e4bcd7 )
2009-12-03 16:15:22 -08:00
Vinson Lee
4ca8e1680e
progs/util: Fix memory leak if LoadYUVImage fails.
...
(cherry picked from commit 0e790ac353 )
2009-12-03 16:03:22 -08:00
Vinson Lee
d6a993135f
progs/fp: Redraw upon keypress.
...
(cherry picked from commit cde6643724 )
2009-12-03 15:59:56 -08:00
Vinson Lee
005242f166
prog/tests: Fix MSVC build.
...
Signed-off-by: Brian Paul <brianp@vmware.com >
(cherry picked from commit 9c3197ef0a )
2009-12-03 15:53:13 -08:00
Vinson Lee
d3208678c2
progs/tests: fix MSVC build.
...
Signed-off-by: Brian Paul <brianp@vmware.com >
(cherry picked from commit a8ed066858 )
2009-12-03 15:50:36 -08:00
Vinson Lee
97cbf4943a
progs/tests: Fix MSVC build.
...
(cherry picked from commit 50e113e375 )
2009-12-03 15:45:18 -08:00
Vinson Lee
a99bf51bc8
progs/tests: Fix MSVC build.
...
(cherry picked from commit 952bf63e2c )
2009-12-03 15:35:10 -08:00
José Fonseca
28474e1225
progs/tests: Use rand() instead of random().
...
Forgot these on previous commit.
(cherry picked from commit 166957abeb )
2009-12-03 15:34:38 -08:00
José Fonseca
bb6e3af939
progs/tests: Use rand() instead of random().
...
More portable. Same implementation on Linux.
(cherry picked from commit 699260b195 )
2009-12-03 15:32:45 -08:00
Vinson Lee
a38776419b
progs/tests: Fix MSVC build.
...
(cherry picked from commit f7455ad7af )
2009-12-03 15:29:01 -08:00
Vinson Lee
791b754687
prog/tests: Fix MSVC build.
...
(cherry picked from commit 60b6c74583 )
2009-12-03 15:24:43 -08:00
Vinson Lee
89e747920f
prog/tests: Fix MSVC build.
...
(cherry picked from commit 96fd13c1a0 )
2009-12-03 15:15:12 -08:00
Vinson Lee
5a25adb646
progs/tests: fix MSVC build.
...
(cherry picked from commit 9c778a90ea )
2009-12-03 15:11:25 -08:00
Vinson Lee
3910e88ebf
prog/tests: Fix MSVC build.
...
(cherry picked from commit ea862ec8ff )
2009-12-03 15:05:44 -08:00
Maciej Cencora
6c41bb25a2
radeon: workaround an FBO issue
...
Fixes #21501
2009-12-03 20:23:22 +01:00
Maciej Cencora
8cde43eb19
radeon: properly check if image should be placed in the miptree
...
Fixes #25355
2009-12-03 20:23:22 +01:00
Alex Deucher
2b5618fc5b
r200: fix polygon stipple
...
fixes fdo bug 25354
Signed-off-by: Alex Deucher <alexdeucher@gmail.com >
2009-12-03 11:20:40 -05:00
Vinson Lee
c3b7f93e02
scons: Add Mac OS to target platform list.
...
(cherry picked from commit 2c307c7750 )
2009-12-02 20:33:32 -08:00
Vinson Lee
235c0c8134
progs/vpglsl: Fix psiz-mul.glsl compilation error on Mac OS.
...
(cherry picked from commit b98db7bf69 )
2009-12-02 20:28:54 -08:00
Vinson Lee
0a107d36c2
progs/glsl: Fix trirast GLSL compilation errors on Mac OS.
...
(cherry picked from commit 4b3ec2acf2 )
2009-12-02 20:20:12 -08:00
Vinson Lee
b094683e7c
progs/glsl: Fix noise GLSL compilation error on Mac OS.
...
(cherry picked from commit 0d31990b47 )
2009-12-02 20:16:51 -08:00
Vinson Lee
592c8522a2
demos/glsl: Add missing break statement to noise test.
...
(cherry picked from commit 7dfea5c072 )
2009-12-02 20:16:41 -08:00
Vinson Lee
8f4d3613da
progs/glsl: Fix multinoise GLSL compilation errors on Mac OS.
...
(cherry picked from commit d4dc2e30da )
2009-12-02 20:06:20 -08:00
Vinson Lee
9ed77d12b1
progs/glsl: Add missing break statement in multinoise.c.
...
(cherry picked from commit 43080e40aa )
2009-12-02 20:06:11 -08:00
Vinson Lee
832593772d
progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.
...
(cherry picked from commit 04442841fb )
2009-12-02 19:55:48 -08:00
Vinson Lee
2a5cd95e24
progs/glsl: Include local headers before installed headers during compilation.
...
Fixes compilation errors on platforms with insufficient older installed
GL headers.
(cherry picked from commit d17af7d1e1 )
2009-12-02 19:39:25 -08:00
Brian Paul
ccea09cd3a
progs/glsl: minor Makefile clean-ups
...
(cherry picked from commit 4df2f7af5e )
2009-12-02 19:39:11 -08:00
Vinson Lee
67a0628ab2
progs: Ignore Mac OS dSYM directories.
...
(cherry picked from commit a420056750 )
2009-12-02 15:22:34 -08:00
Brian Paul
908a3e56cc
cell: added tex_usage param to xm_surface_buffer_create()
2009-12-02 09:31:26 -07:00
Jakob Bornecrantz
0c75854cc1
Merge commit 'mesa_7_6_branch' into mesa_7_7_branch
...
Conflicts:
src/mesa/main/version.h
2009-12-02 14:52:51 +01:00
Eric Anholt
4598942b1b
intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.
2009-12-02 16:19:37 -08:00
Eric Anholt
db352f58fa
mesa: Fix bad conversion in AL1616_REV texstore.
2009-12-02 16:19:36 -08:00
Eric Anholt
b47f7316da
mesa: Fix copy'n'paste problem in al1616 texel fetch.
2009-12-02 16:19:36 -08:00
Brian Paul
ba97b98842
progs/demos: remove unused glFogCoordPointer_ext var
2009-12-01 12:23:07 -07:00
Tom Fogal
b9f4a0bd2b
Simplify hackery added to fix AIX build.
...
Borrow an idiom from the GNU build system which can handle `for'
loops over empty lists.
2009-12-01 10:27:27 -08:00
Ian Romanick
d8da270a2b
intel: Remove GL_NV_point_sprite from extension list
...
i830 does not (and cannot!) support the any of the non-default
GL_POINT_SPRITE_R_MODE_NV settings. i915 and i965 could, but
currently do not. In both cases it would require mucking about with
the fragment shader.
2009-12-01 10:25:44 -08:00
Jakob Bornecrantz
77ff3a5619
vmware/xorg: Add video support
...
By using the hooks st/xorg provides us we can create a driver
specific implementation that uses the svga overlay engines.
2009-12-01 17:29:42 +01:00
Jakob Bornecrantz
64102a5625
vmware/xorg: Create a small driver that sits ontop of st/xorg
2009-12-01 17:29:42 +01:00
Jakob Bornecrantz
bb80a93c9e
st/xorg: Create winsys hooks that we call into
2009-12-01 17:29:41 +01:00
Jakob Bornecrantz
232e59ca6f
vmware/core: Update vmwgfx_drm.h to latest version
2009-12-01 17:29:41 +01:00
Jakob Bornecrantz
9077ddaa25
svga: Add header files for overlay support
2009-12-01 17:29:40 +01:00
Eric Anholt
a7e4a311e9
intel: Fix more front-buffer rendering after Brian's less flushing patch.
...
bcbfda71b0 left out many blit paths.
This fixes up more of them to get Blender to work again.
Bug #25030 .
2009-12-02 11:58:57 -08:00
José Fonseca
b2581dcab4
wgl: Call st_swapbuffers instead of st_notify_swapbuffers.
...
This will get single buffer, double buffer, and
joint single/double buffer (typical in CAD applications) done right,
at least as far as the frambuffer is concerned.
There are still problems with multiple contexts using the same
framebuffer because st_framebuffer_* calls assume the framebuffer
is bound to a single context.
2009-12-02 17:05:20 +00:00
Dave Airlie
e84dddde9b
Revert "radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM mode"
...
This reverts commit 286bf89e5a .
This doesn't appear to be correct, regression so revert it.
http://bugs.freedesktop.org/show_bug.cgi?id=25193
2009-12-02 11:03:22 +10:00
Brian Paul
c8cdce6657
vbo: make flush recursion check code per-context
...
This fixes invalid failed assertions when running multi-threaded apps.
2009-12-01 13:27:32 -07:00
Brian Paul
8c26cefec7
st/mesa: updated emit_swz() comment
2009-12-01 12:23:28 -07:00
Ian Romanick
f17dbe256b
mesa: set version string to 7.7-rc1
2009-11-30 17:56:07 -08:00
Ian Romanick
650e02003f
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
...
Conflicts:
progs/util/shaderutil.c
src/mesa/drivers/dri/r600/r600_context.c
src/mesa/main/version.h
2009-11-30 17:47:07 -08:00
Vinson Lee
270d36da14
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.
...
_mesa_TexParameterf calls set_tex_parameterf, which uses the params
argument as an array.
2009-11-29 21:17:44 -05:00
Vinson Lee
a201dfb6bf
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.
...
_mesa_TexParameterf calls set_tex_parameteri, which uses the params
argument as an array.
2009-11-29 18:18:23 -05:00
Maciej Cencora
63c00c53a3
radeon: update miptree code a little
...
Simplify gl image level <-> miptree level mapping (are equal now).
Don't allocate miptree for images that won't fit in it (fixes #25230 ).
2009-11-29 17:27:48 +01:00
Maciej Cencora
2773556d55
radeon: don't check the same miptree many times when looking for matching miptrees
2009-11-29 17:27:47 +01:00
Maciej Cencora
e8f0c8ab9d
radeon: add some debugging info
2009-11-29 17:27:47 +01:00
Vinson Lee
ca5a7aadb4
mesa: Fix array out-of-bounds access by _mesa_TexGenf.
...
_mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument
as an array.
2009-11-29 00:50:48 -05:00
Vinson Lee
d55fb7c835
mesa: Fix array out-of-bounds access by _mesa_TexGeni.
...
_mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument
as an array.
2009-11-28 23:47:23 -05:00
Vinson Lee
919898e92f
dri: Fix potential null pointer dereference in driBindContext.
2009-11-28 23:22:31 -05:00
Vinson Lee
a11d60d14c
mesa: Fix array out-of-bounds access in _mesa_TexEnvf.
...
_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument
as an array.
2009-11-28 22:08:20 -05:00
Maciej Cencora
e5159996a4
radeon: need to flush cs when moving images between mipmap trees
2009-11-28 21:36:59 +01:00
José Fonseca
2348f6d490
scons: Promote pointer arithmetic to error.
...
All code covered by scons is being built on multiple OSes, so pointer
arithmetic must really be addressed when spotted.
2009-11-27 17:06:12 +00:00
José Fonseca
5976d8e6f1
configs: Warn about pointer arithmetic.
...
It's not portable. Warn to help catching it early.
2009-11-27 17:06:12 +00:00
José Fonseca
f62f976e3f
mesa: Avoid void pointer arithmetic.
2009-11-27 17:06:12 +00:00
Keith Whitwell
4236493899
st/xorg: proper fix for compositing after rounding up
...
Basically don't round up shared textures. This fixes compiz,
but I'm afraid that rounding up texture sizes here in the driver
is doomed, as it will inevitably break texture wrap modes.
2009-11-27 15:30:18 +00:00
José Fonseca
1310811469
rbug: Mention where the GUI can be found.
2009-11-27 14:55:20 +00:00
José Fonseca
6dd9676a8f
svga: Re-add shader dumping.
2009-11-27 14:04:47 +00:00
Keith Whitwell
6810ce005a
Revert "st/xorg: fix composite after texture size changes"
...
This reverts commit 124ae59680 .
Pushed by mistake
2009-11-27 14:03:10 +00:00
Keith Whitwell
124ae59680
st/xorg: fix composite after texture size changes
2009-11-27 13:59:22 +00:00
José Fonseca
dc86f4a20b
wgl: Fix copy'n'paste typo in comment.
2009-11-27 13:35:04 +00:00
José Fonseca
135d7e1299
svga: Handle comment tokens when dumping.
2009-11-27 13:34:13 +00:00
José Fonseca
d3f26a8420
svga: Use consistent names for public symbol names of shader dumping facilities.
2009-11-27 13:34:07 +00:00
José Fonseca
178407f33c
svga: Use consistent file names for dumping facilities.
2009-11-27 13:34:04 +00:00
Keith Whitwell
cf3cdda5cc
st/xorg: speculatively round textures up to nearest POT
...
I'm not sure if this is a great change, but helps with caching.
Probably we want to turn this on/off on a driver-by-driver basis.
2009-11-27 12:24:57 +00:00
Keith Whitwell
e595dd4c17
st/xorg: free last fence
2009-11-27 12:24:57 +00:00
Keith Whitwell
b84b7f19df
svga: flush our command buffer after the 8th distinct render target
...
This helps improve the surface cache behaviour in the face of the
large number of single-use render targets generated by EXA and the xorg
state tracker. Without this we can reference hundreds of individual
render targets from a command buffer, which leaves little scope for
sharing or reuse of those targets.
Flushing early means we can start reusing textures much sooner.
This shouldn't have much effect on normal 3d rendering as it's pretty
rare to have a command buffer with >8 different render targets in that
world.
2009-11-27 12:24:57 +00:00
Keith Whitwell
b911688b87
svga: add DEBUG_CACHE option
2009-11-27 12:24:57 +00:00
Vinson Lee
69671df74c
svga: Prevent potential null pointer dereference in vmw_surface.c.
2009-11-26 23:03:53 -05:00
Jakob Bornecrantz
949d95e88a
vmware/xorg: Remove gem include
2009-11-25 02:22:35 +01:00
Michel Dänzer
42db8c8cdb
st/xorg: Use pipe clear hook for solid fills of whole pixmaps.
...
Can give a little boost e.g. for anti-aliased text rendering.
2009-11-26 16:46:13 +01:00
Keith Whitwell
b96218c656
svga: hash the whole key, not just the first four bytes
2009-11-26 15:25:42 +00:00
Michel Dänzer
3eb3bfb7c7
st/xorg: Make sure DRI2 blits use GPU copy contents even for software fallback.
...
Fixes 3D apps not updating with a non-GL compositing manager and Option
"2DAccel" "off".
Also clean up a little pixmap vs. drawable mess.
2009-11-26 16:00:06 +01:00
Keith Whitwell
ecfe1352cc
st/xorg: fix refcounting bugs introduced in earlier commit
2009-11-26 14:23:24 +00:00
Keith Whitwell
dfb871d403
st/xorg: formatting
...
This directory needs indent run over it.
2009-11-26 14:23:07 +00:00
Keith Whitwell
41423c01b2
st/xorg: remove debugging flush
...
Accidentally committed in 7fbdbad5c0
('st/xorg: consolidate some dest surface state setting')
2009-11-26 12:53:36 +00:00
José Fonseca
c783f5cfd8
svga: Remove spurious argument to SVGA_DBG.
2009-11-26 12:02:59 +00:00
Keith Whitwell
7b0e4adaf2
st/xorg: render throttling in block handler
...
Similar to the classic swapbuffer throttling in GL drivers, put an
upper bound on the number of outstanding chunks of rendering the state
tracker can generate -- where calling the block handler denotes a
chunk.
Currently that number is set at around 4 "chunks", but could be
tweaked up or down. If a better measure for the amount of outstanding
rendering is found, that would be fine too.
As it stands, this improves interactivity by preventing the X server
from queueing up arbitary amounts of rendering.
2009-11-26 11:55:47 +00:00
Keith Whitwell
8544c309d0
st/xorg: split copy operation into prepare/copy/done phases
...
Any high-overhead one-off tasks are moved into the prepare hook.
2009-11-26 11:23:37 +00:00
Keith Whitwell
91a5131e6b
st/xorg: don't set up constant buffer for non-xv fragment shaders
...
These currently don't reference any constants. Can add this back
if newer shaders need them, but in the meantime don't create
a new constant buffer every time we do a blit.
2009-11-26 11:23:36 +00:00
Keith Whitwell
fa799f81de
st/xorg: split up shared Done call
...
The two users of composite (Composite and Solid) now call a new
xorg_composite_done() from their Done functions, while CopyDone
is directly implemented on top of xorg_renderer.c.
2009-11-26 11:23:36 +00:00
Keith Whitwell
b4ea1eb871
st/xorg: set up rasterizer state in init
2009-11-26 11:23:36 +00:00
Keith Whitwell
86ba5139a8
st/xorg: remove redundant clipping code
2009-11-26 11:23:36 +00:00
Keith Whitwell
899d20cfaa
st/xorg: don't bother with cso save and restore in copy func
2009-11-26 11:23:36 +00:00
Keith Whitwell
7fbdbad5c0
st/xorg: consolidate some dest surface state setting
2009-11-26 11:23:36 +00:00
Vinson Lee
808f037660
glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
2009-11-26 00:35:31 -05:00
Jakob Bornecrantz
45d9ea3619
vmware/xorg: Link against libkms
...
If the system doesn't have libkms installed it wont try to link against it.
2009-11-24 19:20:59 +01:00
Jakob Bornecrantz
77529a2cf2
vmware/xorg: Clean Makefile a bit
2009-11-24 19:16:37 +01:00
Jakob Bornecrantz
522e840a91
vmware/xorg: Don't link against libdrm_intel
2009-11-24 18:47:15 +01:00
Jakob Bornecrantz
eca5d6944a
vmware/xorg: Stage driver in lib/gallium
2009-11-24 18:46:40 +01:00
Jakob Bornecrantz
7fac8ce73b
st/xorg: Pass mode types from the kernel to X
2009-11-24 14:53:03 +01:00
Jakob Bornecrantz
ee40b20e7a
st/xorg: Add libkms integration
2009-11-24 12:57:32 +01:00
Jakob Bornecrantz
1a19b9dbc2
st/xorg: Touch up xorg_crtc.c
2009-11-24 12:57:32 +01:00
Jakob Bornecrantz
def9b0e586
st/xorg: Rename driver functions
2009-11-24 12:57:32 +01:00
Jakob Bornecrantz
431e85f894
st/xorg: Rename output functions
2009-11-24 12:57:31 +01:00
Jakob Bornecrantz
6713a83bb8
st/xorg: Rename dri2 functions
2009-11-24 12:57:31 +01:00
Jakob Bornecrantz
26f9eeddf4
st/xorg: Standardise all function names defined in xorg_tracker.h
2009-11-24 12:57:31 +01:00
Keith Whitwell
2946aea110
svga: try harder to make the cachable flag work
...
It doesn't though.
2009-11-25 17:14:07 +00:00
Zack Rusin
c712f33746
st/xorg: accelerate src luminance
2009-11-25 10:20:08 -05:00
Zack Rusin
d228e3cc8e
util: also print out memory statistics
2009-11-25 10:20:08 -05:00
Keith Whitwell
55b0157860
svga: revert packing of surface key
...
Over-ambitious packing of values broke my cursor.
2009-11-25 11:45:20 +00:00
Dave Airlie
92c6a26a8a
radeon: fix context destroy needing lock for flushing.
...
Thanks to Intel code which I've just stolen pretty much as usual.
This fixes fdo bug 22851 which is a dri1 regression since rewrite.
Tested by: fpiobaf (Fabio) on #radeon
Signed-off-by: Dave Airlie <airlied@redhat.com >
2009-11-25 20:40:15 +10:00
Vinson Lee
94bcb9f1a4
glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.
2009-11-25 00:39:37 -05:00
Vinson Lee
0d89f3dc7f
glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
2009-11-25 00:28:56 -05:00
Vinson Lee
f895abbd97
glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
2009-11-25 00:18:49 -05:00
Keith Whitwell
f1ce37f74a
svga: cache textures as well as buffers
2009-11-24 21:15:35 +00:00
Keith Whitwell
4509f3cbad
st/xorg: use surface_copy for blits if available
...
Even if its not available, we really want to be coalescing blit
operations better.
2009-11-24 21:15:35 +00:00
Jakob Bornecrantz
acc51ac0ac
svga: Filter out pendantic and ansi flags
...
Rather have the driver compile without the flags then
having to disable them.
2009-11-24 01:16:17 +01:00
Vinson Lee
326b66d724
glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
2009-11-24 01:23:12 -05:00
Vinson Lee
364070b1f2
dri: Fix potential null pointer deference in dri_put_drawable.
2009-11-24 00:57:55 -05:00
Maciej Cencora
960464e42d
radeon: fix errors in miptree related function
...
- typo
- memory leak
- off by one (spotted by airlied)
2009-11-23 21:59:08 +01:00
Maciej Cencora
635823d267
Merge branch 'mesa_7_7_branch' of http://anongit.freedesktop.org/git/mesa/mesa into mesa_7_7_branch
2009-11-23 21:28:22 +01:00
Jakob Bornecrantz
86710c3334
svga: Scrub Makefiles a bit
...
Remove x86 specific hacks. Not that they will ever be used on
none x86 arches, but they are built by default. And the way the
flags where added was a hack.
2009-11-23 20:09:00 +01:00
Vinson Lee
67125c7f9a
mesa: Initialize variable in _mesa_get_texel_fetch_func.
2009-11-23 01:52:59 -05:00
Vinson Lee
4b0b250aae
glx: Prevent potential null pointer deference in driCreateContext.
2009-11-23 01:30:32 -05:00
Vinson Lee
5b925b7daa
glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.
2009-11-23 01:09:06 -05:00
Vinson Lee
b611f639b4
glu/sgi: Fix memory leak in gluScaleImage3D.
2009-11-23 00:57:37 -05:00
Maciej Cencora
e0fda04013
r300: fix VP source conflict resolution on 64-bit machines
...
On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register).
On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
2009-11-22 15:08:46 +01:00
Maciej Cencora
dfe440c856
r300: fix SIN/COS/SCS instructions for R300 fp
2009-11-22 14:13:18 +01:00
Vinson Lee
a9c540f5de
glu/sgi: Fix memory leak in gluScaleImage.
2009-11-22 01:57:35 -05:00
Vinson Lee
d3b4c99c70
glu: Fix memory leak in __gl_meshMakeEdge.
2009-11-22 01:45:53 -05:00
Vinson Lee
57d389aab5
svga: Prevent potential null pointer deference in vmw_surface.c.
2009-11-22 01:26:32 -05:00
Vinson Lee
b62a74d3b9
svga: Fix memory leak in vmw_screen_ioctl.c
2009-11-22 01:20:07 -05:00
Vinson Lee
88aab56a26
st/xorg: Prevent potential null pointer deference in xorg_xv.c.
2009-11-22 01:10:38 -05:00
Vinson Lee
46feb7db71
st/xorg: Reorder cases in switch statement.
...
Silences missing break statement warning.
2009-11-22 00:55:52 -05:00
Maciej Cencora
563fe6e8f6
radeon: fix compressed mipmapped textures
...
Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
2009-11-21 16:49:18 +01:00
Maciej Cencora
1d1f81af93
radeon: fix glCompressedTexSubImage
2009-11-21 16:49:18 +01:00
Maciej Cencora
d20b79172d
radeon: fix compressed mipmapped textures
...
Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
2009-11-21 16:30:48 +01:00
Maciej Cencora
df87877636
radeon: fix glCompressedTexSubImage
2009-11-21 16:30:41 +01:00
Roland Scheidegger
465fee75ee
intel: make CopyTex[Sub]Image fallback debug messages more consistent
2009-11-21 04:41:43 -08:00
Roland Scheidegger
c367f4d46e
mesa: handle different RowStride in _mesa_get_compressed_teximage
...
drivers storing compressed textures with non-native stride but relying on
_mesa_get_compressed_teximage for GetCompressedTexImage otherwise won't
work correctly (for instance i965 compressed mipmaps).
2009-11-21 04:41:43 -08:00
Eric Anholt
8451b29d96
i965: Fix several memory leaks on exit.
...
Bug #25194 .
2009-11-21 13:33:57 +01:00
Vinson Lee
052b127842
st/egl: Fix memory leak in egl_tracker.c.
2009-11-20 16:33:25 -08:00
Vinson Lee
ea98e9820d
draw: Initialize variable in draw_pt.c.
2009-11-20 16:03:48 -08:00
Vinson Lee
e19195c185
progs/xdemos: Fix memory leak in pbinfo.c.
2009-11-20 15:52:53 -08:00
Vinson Lee
e0857962b9
progs/xdemos: Fix memory leak in pbdemo.c.
2009-11-20 15:48:29 -08:00
Vinson Lee
538a8df652
progs/xdemos: Fix memory leak in glxpbdemo.c.
2009-11-20 15:18:19 -08:00
Vinson Lee
a4720a1a32
progs/xdemos: Remove duplicate code in glxinfo.c.
2009-11-20 15:06:56 -08:00
Vinson Lee
66a4ec14c3
progs/xdemos: Add assert in corender.c.
2009-11-20 15:03:16 -08:00
Vinson Lee
f6541773c4
i915g: Add missing break statement in i915_debug.c.
2009-11-20 14:31:42 -08:00
Vinson Lee
36e2074b63
gallium/util: Initialize variables in u_pack_color.h.
2009-11-20 14:20:15 -08:00
Jakob Bornecrantz
5109484bd9
st/xorg: Flush any pending operations on upload
2009-11-18 17:49:38 +01:00
Jakob Bornecrantz
8d6da811d4
st/xorg: Unbind any textures in solid
...
Helps debuging with rbug
2009-11-18 17:49:37 +01:00
Alan Hourihane
910b58039a
Fix vega compilation.
2009-11-20 21:15:25 +00:00
Alan Hourihane
1dbf3642b9
Fix memory leak.
2009-11-20 21:15:22 +00:00
Vinson Lee
8556fad751
progs/xdemos: Silence unused value warnings in sharedtex_mt.c.
2009-11-20 13:09:42 -08:00
Vinson Lee
f080567f4c
progs/xdemos: Fix memory leak in glxinfo.c.
2009-11-20 13:01:22 -08:00
Vinson Lee
02c3e0b82d
progs/tests: Silence unused value warnings in sharedtex.c.
2009-11-20 12:49:50 -08:00
Eric Anholt
c4e8918cd2
mesa: Fix NULL deref in optimizer when NumInstructions == 0.
...
Bug #24984 .
2009-11-20 21:46:48 +01:00
Vinson Lee
48deddaa6f
progs/tests: Initialize variable in getprocaddress.c.
2009-11-20 12:34:21 -08:00
Vinson Lee
e26135a744
progs/util: Exit RawImageGetData early if malloc fails.
...
Prevents a null pointer deference later on.
2009-11-20 12:11:55 -08:00
Vinson Lee
c88b18a4df
progs/slang: Check for ftell failure in vstest.c.
2009-11-20 11:34:21 -08:00
Vinson Lee
d36cb2396c
progs/util: Fix memory leak if malloc fails in RawImageOpen.
2009-11-20 11:22:13 -08:00
Vinson Lee
08cb1d0ce4
st/xorg: Fix type of 'unknown'.
2009-11-20 00:03:10 -08:00
Vinson Lee
b98db7bf69
progs/vpglsl: Fix psiz-mul.glsl compilation error on Mac OS.
2009-11-19 23:56:07 -08:00
Vinson Lee
760cf71572
progs/vp: Fix memory leak in vp-tris.c.
2009-11-19 22:59:01 -08:00
Vinson Lee
9553a42f63
progs/trivial: Redraw upon keypress.
2009-11-19 22:52:05 -08:00
Vinson Lee
881f55236a
progs/glsl: Redraw upon keypress.
2009-11-19 22:46:19 -08:00
Dave Airlie
f8ea531820
r100: fix texture_from_pixmap and compiz.
...
r100 state emission has separate rect and non-rect states,
if we are doing TFP for a TEXTURE_2D we shouldn't use the rect
states as they won't get emitted properly.
Signed-off-by: Dave Airlie <airlied@redhat.com >
2009-11-20 11:47:00 +10:00
Vinson Lee
8b808d50e2
st/xorg: Fix infinite loop in copy_packed_data.
2009-11-19 14:40:00 -08:00
Vinson Lee
4ab8dbe593
progs/xdemos: Add missing break statement in offset.c.
2009-11-19 14:20:26 -08:00
Brian Paul
4e6c79ac16
st/mesa: replace st_flush() with pipe->flush()
...
We only need to flush the gallium driver in this case.
Fixes a recursive state validation bug.
2009-11-19 15:18:23 -07:00
Brian Paul
2198497203
vbo: added recursion check in vbo_exec_FlushVertices()
2009-11-19 15:17:56 -07:00
Brian Paul
dc41d62250
st/mesa: get rid of compressed_num_bytes() code
2009-11-19 14:35:38 -07:00
Brian Paul
92863109af
st/mesa: remove is_compressed_mesa_format()
2009-11-19 14:17:31 -07:00
Brian Paul
273f4d6b5f
st/mesa: remove pointless assertion
2009-11-19 14:17:31 -07:00
Brian Paul
3f40166500
softpipe: whitespace/indentation fixes
2009-11-19 14:17:31 -07:00
Vinson Lee
3790c6a13b
progs/trivial: Redraw upon keypress.
2009-11-19 13:03:12 -08:00
Brian Paul
367cfca808
softpipe: add missing check in softpipe_is_texture_referenced()
...
Check if the named texture is referenced by the texture cache.
2009-11-19 11:39:24 -07:00
Michel Dänzer
31ea323b4d
st/xorg: Replace compile-time acceleration switch with Option "2DAccel".
...
This option can be used to disable 2D acceleration. DRI2 and XVideo blits will
still be accelerated, at least to some degree even with compositing.
2009-11-19 17:52:55 +01:00
Michel Dänzer
10c67f9381
st/xorg: Miscellaneous XVideo fixes.
...
* Make sure the destination pixmap has a texture to render into.
* Fix damage reporting so the EXA migration code can do the right thing.
* Fix destination coordinates for redirected windows.
2009-11-19 17:47:21 +01:00
Michel Dänzer
34145fc3b7
st/xorg: Try harder to ensure a shared texture has valid contents right away.
2009-11-19 17:30:32 +01:00
Michel Dänzer
012d0193cc
st/xorg: Don't complain about convolution filter being 'unknown'.
...
Also add a newline to the complaint so it'll be a little less annoying if we
actually encounter an unknown filter value again.
2009-11-19 17:25:05 +01:00
Michel Dänzer
10dbdee056
st/xorg: Remove superfluous flushes from the EXA WaitMarker hook.
...
Thanks to Thomas Hellström for pointing this out.
2009-11-19 10:54:49 +01:00
Michel Dänzer
ea114345a6
st/xorg: Don't initialize non-existing fields.
2009-11-19 10:38:08 +01:00
Vinson Lee
e3cfd78969
progs/tests: Fix memory leak in texdown.c if malloc fails.
2009-11-18 17:30:50 -08:00
Jakob Bornecrantz
e12c9a6f3a
st/xorg: Init all functions and fix spelling
2009-11-18 10:59:42 +01:00
Vinson Lee
cde6643724
progs/fp: Redraw upon keypress.
2009-11-18 14:41:40 -08:00
Jakob Bornecrantz
9ab3c70f65
st/xorg: Make the #if more easier to read
2009-11-18 10:44:07 +01:00
Jakob Bornecrantz
e73553bff7
st/xorg: Use the correct DRI2BufferPtr struct on 1.6.4 servers
2009-11-18 10:44:07 +01:00
Vinson Lee
4b3ec2acf2
progs/glsl: Fix trirast GLSL compilation errors on Mac OS.
2009-11-18 14:02:20 -08:00
Vinson Lee
0d31990b47
progs/glsl: Fix noise GLSL compilation error on Mac OS.
2009-11-18 13:50:49 -08:00
Maciej Cencora
3bf12c8bea
r300: allow disabling s3tc support if libtxc_dxtn is available
2009-11-18 22:19:25 +01:00
Maciej Cencora
cefee4e327
Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branch
2009-11-18 22:09:33 +01:00
Maciej Cencora
7118db8700
r600: align for mipmap tree changes
2009-11-18 22:02:48 +01:00
Vinson Lee
d4dc2e30da
progs/glsl: Fix multinoise GLSL compilation errors on Mac OS.
2009-11-18 12:49:31 -08:00
Vinson Lee
04442841fb
progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.
2009-11-17 23:15:25 -08:00
Ian Romanick
70dca0c273
AL1616: Fix cut-and-paste bug
...
One of the PACK_COLOR_88 cases was left over from copying
_mesa_texstore_al88 to _mesa_texstore_al1616.
2009-11-17 22:53:06 -08:00
Brian Paul
89e20ab3ae
progs/glsl: use ShadersSupported()
2009-11-17 19:22:29 -07:00
Brian Paul
6acb82dab0
progs/util: warn when GLSL not supported
2009-11-17 19:22:11 -07:00
Ian Romanick
5606dfb572
Merge branch 'outputswritten64'
...
Add a GLbitfield64 type and several macros to operate on 64-bit
fields. The OutputsWritten field of gl_program is changed to use that
type. This results in a fair amount of fallout in drivers that use
programs.
No changes are strictly necessary at this point as all bits used are
below the 32-bit boundary. Fairly soon several bits will be added for
clip distances written by a vertex shader. This will cause several
bits used for varyings to be pushed above the 32-bit boundary. This
will affect any drivers that support GLSL.
At this point, only the i965 driver has been modified to support this
eventuality.
I did this as a "squash" merge. There were several places through the
outputswritten64 branch where things were broken. I foresee this
causing difficulties later for bisecting. The history is still
available in the branch.
Conflicts:
src/mesa/drivers/dri/i965/brw_wm.h
2009-11-17 16:25:38 -08:00
Ian Romanick
b43887cf7e
ARB_fbo: Enable extensions related to GL_ARB_framebuffer_object for GLX
2009-11-17 16:25:38 -08:00
Ian Romanick
4e7476f601
ARB_fbo: Add missing GLX render opcode for glFramebufferTextureLayerEXT
...
Also regenerate the GLX protocol files from this change.
2009-11-17 16:25:38 -08:00
Ian Romanick
5fbfd88338
Add missing XML files to API_XML
...
When the files missing from the list were modified, the generated files
weren't regenerated.
2009-11-17 16:25:38 -08:00
Ian Romanick
4d6ec21439
ARB_fbo: Enable GL_EXT_framebuffer_multisample
...
All of this functionality is already included in ARB_fbo. This just
enables the string.
I was a bit lazy in using FEATURE_ARB_framebuffer_object for this
feature as well. I don't think it makes much difference in the long run.
2009-11-17 16:25:38 -08:00
Ian Romanick
7fd44005ae
ARB_fbo: Regenerate files from previous commits.
2009-11-17 16:25:37 -08:00
Ian Romanick
50b05e7c1f
ARB_fbo: Move EXT_fb_blit to EXT_framebuffer_object.xml
...
This extension is layered on GL_EXT_framebuffer_object, so it should
live in the same XML file.
2009-11-17 16:25:37 -08:00
Ian Romanick
afab8d9958
ARB_fbo: Add GL_EXT_framebuffer_multisample
...
Add GL_EXT_framebuffer_multisample. Make
glRenderbufferStorageMultisampleEXT in GL_EXT_framebuffer_object alias
glRenderbufferStorageMultisample. Also add the missing GLX render
opcode to glRenderbufferStorageMultisample.
Since this extension is layered on GL_EXT_framebuffer_object, I put it
in EXT_framebuffer_object.xml.
2009-11-17 16:25:37 -08:00
Ian Romanick
daad31d527
EXT_pds: Alias GL_NV_packed_depth_stencil to GL_EXT_packed_depth_stencil
...
GL_EXT_packed_depth_stencil is a functional superset of
GL_NV_packed_depth_stencil. If a driver enables EXT_pds, make NV_pds
available as well.
2009-11-17 16:25:37 -08:00
Ian Romanick
b244b702b3
EXT_pds: Add GL_EXT_packed_depth_stencil
2009-11-17 16:25:37 -08:00
Ian Romanick
92b38bc305
EXT_fbo_blit: Add missing GLX protocol render opcode
2009-11-17 16:25:37 -08:00
Ian Romanick
30f09573ed
ARB_fbo: Add missing protocol "Get" information
2009-11-17 16:25:37 -08:00
Ian Romanick
c185ff96c9
ARB_fbo: Remove _EXT from enum names
2009-11-17 16:25:37 -08:00
Brian Paul
4440d8adb6
docs: libGL documentation, from the xorg-docs tree
...
This is pretty old and needs some updating but might be useful or
interesting to some people.
2009-11-17 16:33:22 -07:00
Vinson Lee
773de83d3c
progs/tests: Fix memory leak in arbgpuprog.c.
2009-11-17 15:24:40 -08:00
Brian Paul
a54033bedb
mesa: remove old comment
2009-11-17 16:18:29 -07:00
Brian Paul
133501bef2
mesa: fix assorted compiler warnings
2009-11-17 16:16:30 -07:00
Brian Paul
bc8fb028c6
mesa: fix incorrect type in store_texel_al1616()
2009-11-17 16:16:30 -07:00
Brian Paul
7e3955d8e8
i915g: replace //-style comments
2009-11-17 16:16:30 -07:00
Brian Paul
c4c11eb456
gallium/util: replace //-style comments
2009-11-17 16:16:30 -07:00
Brian Paul
845ddbc9aa
i915g: remove trailing commas in enum lists to silence warnings
2009-11-17 16:16:30 -07:00
Brian Paul
fc3c5ffcc8
progs/xdemos: change //-style comments
2009-11-17 16:16:30 -07:00
Brian Paul
b08f447547
progs/glsl: change //-style comments
2009-11-17 16:16:30 -07:00
Brian Paul
1888a72765
progs/demos: silence warnings
2009-11-17 16:16:30 -07:00
Brian Paul
0422053eca
mesa: remove trailing comment to silence warning
2009-11-17 16:16:30 -07:00
Brian Paul
e36751ec81
mesa: remove a bit of old code
2009-11-17 16:16:30 -07:00
Vinson Lee
e8eec93854
progs/slang: Fix potential null pointer dereference in cltest.c.
2009-11-17 14:22:35 -08:00
Vinson Lee
47b5f584a6
progs/redbook: Fix memory leak in quadric.c.
2009-11-17 14:10:35 -08:00
Maciej Cencora
afe84fa698
r200: align for mipmap tree changes
2009-11-17 19:46:59 +01:00
Maciej Cencora
93eb2ab8c3
radeon: align for mipmap tree changes
2009-11-17 19:46:37 +01:00
Jakob Bornecrantz
46492f11f6
svga: More -Werror removal
2009-11-17 12:09:19 +01:00
Vinson Lee
d9508e8df9
progs/util: Fix memory leak if fopen fails in RawImageOpen.
2009-11-17 13:49:31 -08:00
Jakob Bornecrantz
8c5a108dc3
svga: Remove -Werror for now as GCC 4.4.x raises a bunch of warnings
2009-11-17 11:24:39 +01:00
Maciej Cencora
aef769207d
r300: fix reads and writes for MESA_FORMAT_S8Z24 buffer
...
Regression was introduced by texformat-rework branch merge.
2009-11-17 13:40:43 -07:00
Brian Paul
d888bbc45a
progs/xdemos: added -lX11 -lpthread for GNU gold linker
2009-11-17 13:40:00 -07:00
Vinson Lee
11905da883
progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
2009-11-17 12:00:22 -08:00
Brian Paul
6418ce7df6
mesa: move -ansi -pedantic to CFLAGS
2009-11-17 12:47:54 -07:00
Vinson Lee
b8dcb79c53
progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.
...
tangentAtrrib is assigned the result of glGetAttribLocation.
The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if
tangentAttrib is a GLuint.
2009-11-17 11:37:48 -08:00
Vinson Lee
786d539511
progs/util: Fix memory leak if malloc fails in tkRGBImageLoad.
2009-11-17 11:04:24 -08:00
Patrice Mandin
b353106467
nouveau: nv30: Check for NULL front (happens with DRI2)
2009-11-17 19:50:37 +01:00
Patrice Mandin
49289f1d25
nouveau: nv30: Add missing include to fix warning
2009-11-17 19:49:56 +01:00
Michel Dänzer
52be96b7fe
Remove unconditional use of glibc specific bswap_16() macro.
...
Fixes unresolved symbol bswap_16 on non-glibc or little endian glibc platforms.
2009-11-17 19:41:29 +01:00
Brian Paul
63bc736f90
docs: list the new VMware SVGA Gallium driver in release notes
2009-11-17 11:23:19 -07:00
Dan Nicholson
cf65d81cf1
dri: Ensure subdirs have finished before linking driver
...
Recursive make is hard. If there are subdirectories in the DRI drivers,
it's pretty certain we want to finish building in them before linking
the driver. Add a new target to serialize the rules.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com >
2009-11-17 11:23:19 -07:00
Vinson Lee
041cd0e110
progs/util: Fix memory leak if LoadRGBImage fails.
2009-11-17 10:11:50 -08:00
Michel Dänzer
33e93f4277
r600: More span breakage fixes.
...
At least now the compiler doesn't complain about implicitly declared functions
anymore...
2009-11-17 19:02:03 +01:00
Vinson Lee
0e783c7d03
progs/glsl: Fix memory leak in deriv.c.
2009-11-17 09:54:54 -08:00
Michel Dänzer
29f3e7e1d1
r600: Attempt to fix span breakage introduced by big endian fixes.
...
Only compile tested; I happened to notice people on IRC reporting
.../r600_dri.so: undefined symbol: radeon_ptr_2byte_8x2
2009-11-17 18:47:24 +01:00
Vinson Lee
28b8e4bcd7
progs/util: Fix memory if LoadRGBMipmaps2 fails.
2009-11-17 08:29:36 -08:00
Michel Dänzer
081bf9563f
radeon: Depth/stencil span code fixes for big endian.
...
Fixes e.g. text in progs/demos/arbocclude.
2009-11-17 11:09:09 +01:00
Michel Dänzer
592ce48ce9
radeon: Fix occlusion queries on big endian.
2009-11-17 11:08:21 +01:00
Michel Dänzer
2262765425
radeon: Fix software fallbacks with KMS on big endian.
2009-11-17 08:05:23 +01:00
Michel Dänzer
f2651264d3
radeon: FBO fixes for big endian.
2009-11-17 08:05:22 +01:00
Michel Dänzer
2d0c295256
Add MESA_FORMAT_XRGB8888_REV.
2009-11-17 08:05:22 +01:00
Dave Airlie
e015a4c29b
radeon: rn50's have no 3D engine so don't try and init 3D driver.
2009-11-17 16:06:26 +10:00
Vinson Lee
0e790ac353
progs/util: Fix memory leak if LoadYUVImage fails.
2009-11-16 18:24:06 -08:00
Jakob Bornecrantz
60769b232c
svga: Build svga driver
2009-11-17 03:18:06 +01:00
Jakob Bornecrantz
f7109aaf6c
svga: Add vmwgfx_drm.h file from vmwgfx kernel driver
...
Add the vmwgfx_drm.h header for now, this allows the svga driver
to be enabled by default without forcing people to install the
vmwgfx_drm.h header on their system.
To be removed once vmwgfx_drm.h is in libdrm.
2009-11-17 03:18:05 +01:00
Jakob Bornecrantz
3192633d4a
svga: Add svga driver
2009-11-17 03:18:04 +01:00
Vinson Lee
6b480dc21d
progs/demos: Fix memory leak in ray.c.
2009-11-16 18:06:40 -08:00
Jakob Bornecrantz
648e8b4c46
st/xorg: Fix copy-pasto
...
Thanks Alan.
2009-11-17 01:48:53 +01:00
Vinson Lee
ee555e3d69
progs/demos: Fix memory leak in projtex.c.
2009-11-16 16:31:34 -08:00
Vinson Lee
a1afe303de
progs/demos: Fix memory leak in ipers.c.
2009-11-16 15:44:52 -08:00
Ian Romanick
fdfbae3381
i965: Use MESA_FORMAT_AL1616 when appropriate
2009-11-16 15:23:17 -08:00
Ian Romanick
b1616b2a81
Move 'static' to start of declaration to silence compiler warning
2009-11-16 15:23:16 -08:00
Ian Romanick
12982e381d
AL1616: Enable MESA_FORMAT_AL1616 for software paths
2009-11-16 15:23:16 -08:00
Ian Romanick
3325dc91be
AL1616: Add TexImage storage path
2009-11-16 15:23:16 -08:00
Ian Romanick
975871b4d5
AL1616: Add texel fetch / store routines
2009-11-16 15:23:16 -08:00
Ian Romanick
eb437fabe0
AL1616: Add formats for GL_LUMINANCE16_ALPHA16 textures
2009-11-16 15:23:16 -08:00
Ian Romanick
5fb07a4046
AL1616: Add macros to pack two GLushorts into a texel
2009-11-16 15:23:16 -08:00
Vinson Lee
aef3218f0b
progs/demos: Fix memory leak in fslight.c.
2009-11-16 14:56:07 -08:00
Jakob Bornecrantz
cb060f3b98
st/xorg: Fix comp alpha code and deal with luminance masks
...
There are two fixes in here one is a one liner that fixes
component alpha logic. The other deals better with luminance
formats used for masks, sources not yet implemented.
Fixes component alpha text and icons in gnome. There are a one
or two cases that this code misses. Like if src_luminance is set
but no mask image is given.
2009-11-16 23:33:45 +01:00
Jakob Bornecrantz
5438ee3ecf
st/xorg: Incase of format missmatch swizzle channels and set alpha
...
This path is only hit for icons in gnome so far
2009-11-16 23:33:44 +01:00
Alex Deucher
d683acb101
r600: don't force Z order
...
Let the hw decide (early vs late Z)
fixes fdo bug 25092
Signed-off-by: Alex Deucher <alexdeucher@gmail.com >
2009-11-16 15:03:48 -05:00
Corbin Simpson
0f060250fc
docs: Update r300g status.
2009-11-16 10:46:20 -08:00
Brian Paul
664b7303c2
docs: fixes, changes for Mesa 7.7
2009-11-16 11:33:45 -07:00
Brian Paul
fcf8dea36c
progs/tests: silence warning
2009-11-16 11:33:45 -07:00
Brian Paul
f549f4c4b6
mesa: remove unused vertex array driver hooks
2009-11-16 11:33:44 -07:00
Brian Paul
652828ec0e
mesa: check BaseLevel, MaxLevel in _mesa_GenerateMipmapEXT()
2009-11-16 08:25:17 -07:00
Brian Paul
a719395b45
mesa: use _mesa_get_current_tex_object()
2009-11-16 08:21:28 -07:00
Brian Paul
ecb03d75a2
mesa: added another check in check_gen_mipmap()
...
We don't need to call ctx->Driver.GenerateMipmap() if we're updating
a texture level >= MAX_LEVEL.
2009-11-16 08:18:03 -07:00
Michel Dänzer
d3a37d93ab
st/xorg: Only reference new picture formats when they're defined.
...
Fixes http://bugs.freedesktop.org/show_bug.cgi/?id=25094 .
2009-11-16 11:59:39 +01:00
Brian Paul
afae49cc15
st/mesa: comments for st_draw.c
2009-11-15 16:22:53 -07:00
Brian Paul
4581f70578
st/egl: add some basic comments
2009-11-15 16:22:52 -07:00
Francisco Jerez
abefd7dcdf
nv20: Fix build for the last nouveau_class.h changes.
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net >
Signed-off-by: Pekka Paalanen <pq@iki.fi >
2009-11-15 18:20:19 +02:00
Francisco Jerez
ed9c4933af
nv10: Fix build for the last nouveau_class.h changes.
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net >
Signed-off-by: Pekka Paalanen <pq@iki.fi >
2009-11-15 18:20:19 +02:00
Vinson Lee
a420056750
progs: Ignore Mac OS dSYM directories.
2009-11-14 21:39:31 -08:00
Maciej Cencora
ad83aeccdc
radeon: return false on texture validation if texture isn't complete
2009-11-14 18:11:16 +01:00
Maciej Cencora
23ec7c4574
radeon: rework mipmap tree
2009-11-14 16:55:39 +01:00
Maciej Cencora
8f88cf3938
radeon: more texture code refactoring
2009-11-14 16:55:38 +01:00
Maciej Cencora
9d0af686b2
radeon: minor refactoring of texture code
...
Also properly set dstImageOffsets for TexSubImage case.
2009-11-14 16:55:38 +01:00
Maciej Cencora
7628b06ba3
radeon: rework mipmap tree reference counting
2009-11-14 16:55:34 +01:00
Maciej Cencora
6e5d473cc1
r300: fix regression introduced in 1d5a06a1f7
...
Spotted by Dave Airlie
2009-11-14 14:43:34 +01:00
Maciej Cencora
aa19561158
radeon: use radeon_bo_is_referenced_by_cs for query objects
2009-11-14 14:43:18 +01:00
Maciej Cencora
d3fa67c9b8
radeon/r300: don't flush cmdbuf if not necessary
2009-11-14 14:43:10 +01:00
Maciej Cencora
286bf89e5a
radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM mode
2009-11-14 14:42:48 +01:00
Maciej Cencora
f6d0993212
radeon: fix glBufferSubData
2009-11-14 14:42:34 +01:00
Maciej Cencora
084f43c150
radeon: add radeon_bo_is_referenced_by_cs function
2009-11-14 14:42:26 +01:00
Maciej Cencora
49876ab6a7
radeon: remove unnecessary call to radeonEmitState
...
fixes bo space accounting errors
2009-11-14 14:42:19 +01:00
Maciej Cencora
0aad2aee66
r300: add missing texformat
2009-11-14 14:42:10 +01:00
Maciej Cencora
e92492295b
r300: remove unneeded includes
2009-11-14 14:42:01 +01:00
Eric Anholt
57f40b1837
i965: Share OPCODE_TXB between brw_wm_emit.c and brw_wm_glsl.c
...
This should fix TXB on G45 and older in the GLSL case.
2009-11-13 16:04:13 -08:00
Eric Anholt
1be0efcbdc
i965: Share OPCODE_TEX between brw_wm_emit.c and brw_wm_glsl.c.
...
New comments should explain some of the confusion about how this message
works.
2009-11-13 16:04:10 -08:00
Eric Anholt
a0fd49b334
i965: Clean up emit_tex a bit.
2009-11-13 15:17:24 -08:00
Eric Anholt
3d36d6b4cf
Merge remote branch 'origin/mesa_7_6_branch'
2009-11-13 14:45:29 -08:00
Eric Anholt
99077e7792
i965: Flag BRW_NEW_CONTEXT on some context state.
...
Fixing this is a prereq for avoiding flagging all state at new
batch time. Eliminating that still causes problems, though (notably
glean logicOp fails on my GM965).
2009-11-13 14:39:09 -08:00
Eric Anholt
1ffd0a7789
intel: Remove some dead context structure fields.
2009-11-13 13:18:57 -08:00
Eric Anholt
3727858ceb
i965: Remove an unused cache_item field.
2009-11-13 13:18:57 -08:00
Eric Anholt
b54f8eeae8
i965: Remove long dead structures for ffvertex_prog.c.
2009-11-13 13:18:57 -08:00
Eric Anholt
ded0ec1ea5
i965: Use bo_map instead of subdata to upload the bits of constant buffer.
...
Saves CPU time, resulting in a 2.5% FPS win on ETQW.
2009-11-13 13:18:57 -08:00
Eric Anholt
8e8586e626
i965: Validate the number of URB entries selected for the VS.
2009-11-13 13:18:56 -08:00
Eric Anholt
3c05c1eb63
intel: When subdataing a busy buffer, use a temporary and blit in.
...
This cuts a massive number of waits in ET:QW, which uses a VBO ringbuffer.
Unfortunately it doesn't BufferData when wrapping back to 0, so we can't
be clever with tracking what's been initialized.
2009-11-13 13:18:56 -08:00
Eric Anholt
4e50ce35ee
i965: Clean up Ironlake sampler type definitions.
...
They're the same regardless of execution width for 8, 4x2, and 16.
2009-11-13 13:18:56 -08:00
Eric Anholt
91bd593109
i965: Avoid moving the current value back into the accumulator for MAD.
...
This is a 2.9% (+/-.3%) performance win for my GL demo, which hits MAD
sequences for matrix transforms.
2009-11-13 13:18:56 -08:00
Eric Anholt
d6690ce15f
mesa: Improve the eliminate-move-use to work across multiple instructions.
...
This shaves more instructions off of the VS of my GL demo, but no
performance difference this time at n=6. This also fixes a regression
that was in this path, which is now piglit's glsl-vs-mov-after-deref.
2009-11-13 13:18:22 -08:00
Zack Rusin
654122ba7b
st/xorg: try to fix non-uniform transforms
2009-11-13 14:58:35 -05:00
Vinson Lee
43080e40aa
progs/glsl: Add missing break statement in multinoise.c.
2009-11-12 16:21:49 -08:00
Ian Romanick
b6b753f727
intel: Don't check for context pointer to be NULL during extension init
...
Thanks to Chia-I Wu's changes to the extension function
infrastructure, we no longer have to tell the loader which extensions
the driver might enable. This means that intelInitExtensions will
never be called with a NULL context pointer. Remove all the NULL checks.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
2009-11-12 15:43:09 -08:00
Ian Romanick
a736d3f439
intel: Remove unused enable_imaging parameter to intelInitExtensions
2009-11-12 15:43:09 -08:00
Zack Rusin
4d72f8f520
st/xorg: use an immediate instead of a full blown const
2009-11-11 21:47:28 -05:00
Zack Rusin
72b4a7d67f
st/xorg: don't use flow control
2009-11-11 21:43:40 -05:00
Brian Paul
0a39620d6d
swrast: handle additional Z24 formats in read_depth_pixels()
2009-11-11 19:38:19 -07:00
Vinson Lee
7dfea5c072
demos/glsl: Add missing break statement to noise test.
2009-11-11 17:39:58 -08:00
Zack Rusin
2cfbbc76e4
st/xorg: implement repeatnone and make some code smell less like ass
2009-11-11 19:55:50 -05:00
Zack Rusin
493d599af4
st/xorg: fallback until daddy can implement you properly
2009-11-11 19:55:50 -05:00
Brian Paul
2ff4f5a7fe
progs/tests: add alpha/blend testing to packedpixels.c
2009-11-11 12:25:08 -07:00
Corbin Simpson
cbee31a1f8
r300, r300g: Add missing registers.
2009-11-11 10:24:19 -08:00
Corbin Simpson
d030ce6a84
dri-st: Add some required GL 2.0 extensions.
...
Two-sided stencil and NPOT textures.
2009-11-11 10:24:06 -08:00
Jakob Bornecrantz
e4a19ffb13
st/xorg: Fallback if picture format doesn't match texture format
2009-11-10 10:05:40 +01:00
Jakob Bornecrantz
3201c655e4
st/xorg: Don't segfault when debug printing
2009-11-10 10:00:04 +01:00
Zack Rusin
fca8b2c3ae
st/xorg: wrap to border color
2009-11-10 20:30:48 -05:00
brian
b81f213157
swrast: update renderbuffer format assertions
2009-11-10 18:23:59 -07:00
brian
a65b84d955
mesa: fix some begin/end render-to-texture logic
...
Before, we weren't aggressive enough in checking for the start or end
of render-to-texture. In particular, if only the ctx->ReadBuffer had
texture attachments, we were treating that as a render-to-texture case.
This fixes a regression from commit 75bdbdd90b
"intel: Don't validate in a texture image used as a render target."
2009-11-10 18:09:13 -07:00
brian
bc569cd6be
mesa: move check_begin/end_texture_render() calls
2009-11-10 18:09:13 -07:00
brian
d96e55fa7b
mesa: new vars: oldDrawFb, oldReadFb in _mesa_BindFramebufferEXT()
2009-11-10 18:09:13 -07:00
brian
e6f60d3037
mesa: rename vars in _mesa_BindFramebufferEXT()
2009-11-10 18:09:13 -07:00
brian
a492ab765a
mesa: added comment for check_begin_texture_render()
2009-11-10 18:09:12 -07:00
Jakob Bornecrantz
4c54f8e9aa
st/egl: Probe hardware for depth stencil format
2009-11-10 08:29:41 +01:00
Zack Rusin
d2c886c8ca
st/xorg: cleanup the naming
2009-11-10 19:42:03 -05:00
Zack Rusin
e08512f3d4
st/xorg: print ouf the picture formats when compositing
2009-11-10 19:42:02 -05:00
Eric Anholt
e42b156fac
Merge remote branch 'origin/mesa_7_6_branch'
2009-11-10 16:01:28 -08:00
Eric Anholt
c5413839b3
i965: avoid memsetting all the BRW_WM_MAX_INSN arrays for every compile.
...
For an app that's blowing out the state cache, like sauerbraten, the
memset of the giant arrays ended up taking 11% of the CPU even when only a
"few" of the entries got used. With this, the WM program compile drops back
down to 1% of CPU time.
Bug #24981 (bisected to BRW_WM_MAX_INSN increase).
2009-11-10 16:00:30 -08:00
Eric Anholt
eb6a1f8a00
i965: Add a note explaining the data cache domain.
2009-11-10 16:00:30 -08:00
Vinson Lee
520b6abdec
i915g: Fix memory leak when pci id is unknown.
2009-11-10 12:39:42 -08:00
Eric Anholt
56ab92bad8
i965: Unalias src/dst registers for SGE and friends.
...
Fixes piglit vp-sge-alias test, and the googleearth ground shader. \o/
Bug #22228
2009-11-10 10:54:15 -08:00
Eric Anholt
d52d78b4bc
i965: Allow use of PROGRAM_LOCAL constants in ARB_vp.
...
Fixes piglit arl.vp.
2009-11-10 10:46:57 -08:00
Michal Krol
28039ffdc8
slang: Fix return value check.
2009-11-10 19:25:51 +01:00
Michel Dänzer
5e17c89ead
st/xorg: Fix SCons build.
...
Check for new DPMS header and add xorg_renderer.c source file.
2009-11-10 10:09:56 -08:00
Michal Krol
413e933fd5
slang: Check OOM conditions for alloc_node_storage().
2009-11-10 18:30:10 +01:00
José Fonseca
eef5a0b3a3
llvmpipe: Fix derived blend color state.
2009-11-10 05:22:15 -08:00
Michal Krol
cc470bf0ca
slang: Check return value from new_instruction().
2009-11-10 04:03:55 +01:00
Michal Krol
b2a29ad309
slang: Fix signed/unsigned int handling in _slang_free_temp().
2009-11-10 03:25:06 +01:00
Michal Krol
b5d8a7b6dc
tgsi/exec: Exit early on error.
2009-11-10 03:12:02 +01:00
Michal Krol
e44c77028c
tgsi/ureg: Simplify logic in tokens_expand().
2009-11-10 03:08:21 +01:00
Michal Krol
83760d961f
slang: Handle OOM condition in new_instruction().
2009-11-10 02:46:24 +01:00
Zack Rusin
031fbb9681
st/xorg: remove deprecated rendering code
2009-11-09 18:04:21 -05:00
Zack Rusin
a6d527d7b8
st/xorg: fix composite batching
...
quite a large performance optimization (text demo from 1.6fps to 9fps)
2009-11-09 18:04:21 -05:00
Jerome Glisse
216319fc0f
r600/r700: typo, fix mask of DB_ALPHA_TO_MASK
2009-11-09 22:37:41 +01:00
Alex Deucher
66d6f9e860
r600: rework DB render setup
...
- consolidate DB render setup
- only enable perfect ZPASS counts and cull disable
when OQ is active
- enable early Z
2009-11-09 12:20:47 -05:00
Alex Deucher
37676b396a
r600: don't emit htile regs
...
These are needed for HiZ which is not currently used and
the _BASE reg requires a reloc which is not currently supported
in the drm.
2009-11-09 12:16:55 -05:00
Alex Deucher
a9035f3dc3
r600: add missing ZPASS setup bits for r7xx+
2009-11-09 12:16:55 -05:00
José Fonseca
bc9d51bb0e
llvmpipe: Ensure stack variables in unit tests are properly aligned.
2009-11-09 07:26:08 -08:00
Christoph Bumiller
7204b92101
nv50: clarify data for method 0x121c
2009-11-09 14:30:32 +01:00
Corbin Simpson
c9167d868c
r300g: Fix up SW TCL rendering functions.
...
They don't work, but at least they're clean now.
2009-11-08 14:53:29 -08:00
Corbin Simpson
fe89863808
r300g: Protect against possibly missing Draw pointer.
...
Part of the SW TCL revival.
2009-11-08 14:53:29 -08:00
Corbin Simpson
11d9edf4c9
r300g: Unify context names for counts.
...
From the SW TCL fixups.
2009-11-08 14:53:29 -08:00
Corbin Simpson
b6f93e2607
r300g: Enable PSC/RS dump with new debugging flags.
2009-11-08 14:53:15 -08:00
Corbin Simpson
0525cb1273
r300g: Fix is_buffer_referenced.
2009-11-08 09:56:02 -08:00
Corbin Simpson
ee28a69188
r300g: Fix build error on old compilers.
...
This dead code was still getting compiled, causing a bad ref in the lib.
2009-11-08 09:35:07 -08:00
Corbin Simpson
a12fc1a9c4
r300g: Organize inlined state.
2009-11-07 14:32:31 -08:00
Corbin Simpson
547e939afb
r300g: DCE.
...
This must never have been called before; it's completely wrong.
2009-11-07 14:14:19 -08:00
Corbin Simpson
9f49db6f84
r300g: Minor code cleanup to avoid confusion.
2009-11-07 13:37:07 -08:00
Corbin Simpson
fa6916cfef
r300g: Remove do-nothing functions.
2009-11-07 13:12:15 -08:00
Corbin Simpson
c4fa0e4caa
r300g: Remove faulty assert.
2009-11-07 13:07:52 -08:00
Corbin Simpson
b7322fd874
Merge branch 'r300g-vbo'
...
This is an experimental HW TCL fastpath for r300g. It should run alright.
Thanks to osiris for making this possible.
2009-11-07 12:03:04 -08:00
Corbin Simpson
0fe5f0c09a
r300g: Be more verbose in what's killing us WRT vert formats.
2009-11-07 11:55:29 -08:00
Corbin Simpson
cd5b2a93d5
r300g: Comments.
2009-11-07 11:55:29 -08:00
Corbin Simpson
ef513776b5
r300g: Don't assert on oversized VBOs, just return FALSE.
2009-11-07 11:55:25 -08:00
Corbin Simpson
746c01b3b2
r300g: Moar vbo cleanup.
2009-11-07 11:53:14 -08:00
Corbin Simpson
b6c3954138
r300g: s/false/FALSE/
...
Also s/true/TRUE/
2009-11-07 11:53:14 -08:00
Corbin Simpson
7da3cc4241
r300g: Clean up indexbuf render, switch to RELOC macro.
2009-11-07 11:53:14 -08:00
Corbin Simpson
7518d9b1b7
r300g: Clean up r300_setup_vertex_buffers.
2009-11-07 11:53:14 -08:00
Corbin Simpson
96b729f926
r300g: Don't pass hw_prim around in the context.
...
And some other fixes.
2009-11-07 11:53:14 -08:00
Corbin Simpson
24c6fdbd32
r300g: Use common state funcs for translating vert formats.
2009-11-07 11:53:14 -08:00
Maciej Cencora
1ef0341ea7
r300g: don't hang GPU on misbehaving apps
2009-11-07 11:53:13 -08:00
Maciej Cencora
3445f47697
r300g: VBOs WIP
2009-11-07 11:53:13 -08:00
Maciej Cencora
d8592d1724
r300g: add missing flush
2009-11-07 11:53:13 -08:00
Maciej Cencora
c7dfffc5d5
r300g: enable CS dumping
2009-11-07 11:53:13 -08:00
Maciej Cencora
6acb26eadf
r300g: move vborender context function to seperate file
...
r300g: Un-migrate r300_draw_render.
It'll make maintaining the SW TCL path easier.
2009-11-07 11:53:06 -08:00
Jakob Bornecrantz
57d77c6a44
i915g: Fix comment in is buffer referenced
2009-11-07 19:31:18 +00:00
brian
18768393d1
mesa: move code after decl
...
Fixes bug 24967.
2009-11-07 08:18:07 -07:00
Christoph Bumiller
44cb5b5c66
nv50: enable all 32 threads of a warp
...
This should be the default setting.
See also 7d967b9b7c .
2009-11-07 10:48:36 +01:00
Eric Anholt
8baee3d25b
i965: Use Compr4 instruction compression mode on G4X and newer.
...
No statistically significant performance difference at n=3 with either
openarena or my GL demo, but cutting program size seems like a good
thing to be doing for the hypothetical app that has a working set near
icache size.
2009-11-06 21:24:22 -08:00
Eric Anholt
ec66644ed0
i965: Share min/max between brw_wm_emit.c and brw_wm_glsl.c
2009-11-06 21:08:55 -08:00
Eric Anholt
cfa927766a
i965: Share emit_fb_write() between brw_wm_emit.c and brw_wm_glsl.c
...
This should fix issues with antialiased lines in GLSL.
2009-11-06 21:08:55 -08:00
Eric Anholt
2b58c31257
i965: Share most of the WM functions between brw_wm_glsl.c and brw_wm_emit.c
...
The PINTERP code should be faster for brw_wm_glsl.c now since brw_wm_emit.c's
had been improved, and pixel_w should no longer stomp on a neighbor to dst.
2009-11-06 21:08:55 -08:00
Eric Anholt
1e5400c575
i965: Share math functions between brw_wm_glsl.c and brw_wm_emit.c.
2009-11-06 21:08:54 -08:00
Eric Anholt
7059aa0eff
i965: Share the sop opcodes between brw_wm_glsl.c and brw_wm_emit.c.
2009-11-06 21:08:54 -08:00
Eric Anholt
726ad15606
i965: Share OPCODE_MAD between brw_wm_glsl.c and brw_wm_emit.c
2009-11-06 21:08:54 -08:00
Eric Anholt
bad5b120be
i965: Share the DP3, DP4, and DPH between brw_wm_glsl.c and brw_wm_emit.c
2009-11-06 21:08:54 -08:00
Eric Anholt
06c1bc8a22
i965: Add generic GLSL code for unaliasing a 3-arg opcode, and share LRP code.
2009-11-06 21:08:54 -08:00
Eric Anholt
90629704ef
i965: Use a normal alu1 emit for OPCODE_TRUNC.
2009-11-06 21:08:54 -08:00
Eric Anholt
71af508072
i965: Share basic ALU ops between brw_wm_glsl and brw_wm_emit.c
...
This drops support for get_src_reg_imm in these, but the prospect of getting
brw_wm_pass*.c onto our GLSL path is well worth some temporary pain.
2009-11-06 21:08:54 -08:00
Eric Anholt
0f34cdf621
i965: Collect GLSL src/dst regs up in generic code.
...
This matches brw_wm_emit.c, which we'll be using shortly. There's a
possible penalty here in that we'll allocate registers for unused channels,
since we aren't doing ref tracking like brw_wm_pass*.c does. However, my
measurements on GM965 don't show any for either OA or UT2004 with the GLSL
path forced.
2009-11-06 21:08:54 -08:00
Zack Rusin
e521bf7706
st/xorg: implement batching for the composite op
...
something is broken so disabled for now
2009-11-06 22:08:21 -05:00
Zack Rusin
4322346f3f
st/xorg: batch solid fill requests
...
instead of lots of very small transfers, one larger is a lot better
for performance
2009-11-06 22:08:21 -05:00
Zack Rusin
e1730632aa
st/xorg: start accumulating vertices in a common buffer
2009-11-06 22:08:21 -05:00
Zack Rusin
3f7df23ff5
st/xorg: use quads instead of triangle fans
...
easier to split, accumulate and batch those
2009-11-06 22:08:21 -05:00
Zack Rusin
6c44d399bd
st/xorg: make the buffer size global
2009-11-06 22:08:21 -05:00
Eric Anholt
6b0bcfafab
mesa: Reduce the source channels considered in optimization passes.
...
Depending on the writemask or the opcode, we can often trim the source
channels considered used for dead code elimination. This saves actual
instructions on 965 in the non-GLSL path for glean glsl1, and cleans up
the writemasks of programs even further.
2009-11-06 14:27:35 -08:00
Eric Anholt
f3cacfe216
mesa: Fix remove_instructions to successfully remove when removeFlags[0].
...
This fixes the dead code elimination to work on the particular code
mentioned in the previous commit.
2009-11-06 13:16:49 -08:00
Eric Anholt
e4e312d493
mesa: Add an optimization path to remove use of pointless MOVs.
...
GLSL code such as:
vec4 result = {0, 1, 0, 0};
gl_FragColor = result;
emits code like:
0: MOV TEMP[0], CONST[0];
1: MOV OUTPUT[1], TEMP[0];
and this replaces it with:
0: MOV TEMP[0], CONST[0];
1: MOV OUTPUT[1], CONST[0];
Even when the dead code eliminator fails to clean up a now-useless MOV
instruction (since it doesn't do live/dead ranges), this should at reduce
dependencies.
2009-11-06 13:16:49 -08:00
Eric Anholt
ee0a9e6e10
mesa: Fix up the remove_dead_code pass to operate on a channel basis.
...
This cleans up a bunch of instructions in GLSL programs to have limited
writemasks, which would translate to wins in shaders that hit the i965
brw_wm_glsl.c path by depending less on in-driver optimizations. It will
also help hit other optimization passes I'm looking at.
2009-11-06 13:16:49 -08:00
Brian Paul
3105f3aa88
intel: better front color buffer test in intelClear()
2009-11-06 13:52:48 -07:00
Eric Anholt
8395da2e8a
i965: Always pass the size argument to brw_cache_data.
...
This keeps the individual state files from having to export their
structures for brw_state_cache initialization.
2009-11-06 11:37:32 -08:00
Eric Anholt
1166294d1d
intel: Finish removing the fallback code for bug #16697 .
...
I fixed it properly as of 7216679c19 .
2009-11-06 11:37:32 -08:00
Eric Anholt
75bdbdd90b
intel: Don't validate in a texture image used as a render target.
...
Otherwise, we could lose track of rendering to that image, which could
easily happen during mipmap generation.
2009-11-06 11:37:32 -08:00
Eric Anholt
6b68482e68
mesa: Attempt to pair up Driver.RenderTexture and FinishRenderTexture()
...
This is probably not 100% complete (bind vs unbind may still not pair up
exactly), but it should help out drivers which are relying on
FinishRenderTexture to be called when we're done rendering to a particular
texture level, not just when we're done rendering to the object at all.
This is the case for the one consumer of FinishRenderTexture() so far: the
gallium state tracker. Noticed when trying to make use of FRT() in the intel
driver.
2009-11-06 11:37:32 -08:00
Eric Anholt
8df81bca17
intel: Clean up some extra struct indirection in finalize.
2009-11-06 11:37:32 -08:00
Eric Anholt
ee7dfbbd6c
intel: Use _mesa_get_current_tex_object() to clean up TFP path.
2009-11-06 11:37:31 -08:00
Eric Anholt
8f30ceaaef
intel: Remove duplicated arguments from intel_miptree_match_image().
2009-11-06 11:37:31 -08:00
Eric Anholt
2bc8bcdcd3
i965: Remove an XXX comment for testing some code that seems to work.
2009-11-06 11:37:31 -08:00
Eric Anholt
bb2dd50be0
intel: Remove obsolete comment about GEM in the spans code.
2009-11-06 11:37:31 -08:00
Eric Anholt
8e0f40d287
intel: Use PIPE_CONTROL on gen4 hardware for doing pipeline flushing.
...
This should do all the things that MI_FLUSH did, but it can be pipelined
so that further rendering isn't blocked on the flush completion unless
necessary.
2009-11-06 11:37:31 -08:00
Eric Anholt
caf3038123
Make a convenient int for what chipset generation we're on.
...
gen2/3/4 are easier to say than "8xx, 915-945/g33/pineview, 965/g45/misc",
and compares on generation are often easier than stringing together a bunch
of chipset checks.
2009-11-06 11:37:31 -08:00
Ian Romanick
4e4c2ee1fd
Merge branch 'mesa_7_6_branch'
...
This should fix the memory leaks in the assembly parser without the
regressions.
The conflicts in program_lexer.l were related to changes in returning
strings between the branches (always return IDENTIFIER vs. returing
either IDENTIFIER or USED_IDENTIFIER).
The conflicts in program_parse.y were related to two changes in master
One change prints a variable name in an error message. The other
change adds outputVarSize to the OUTPUT_statement rule. The cause the
position of the IDENTIFIER to change from $2 to $3.
Conflicts:
src/mesa/shader/lex.yy.c
src/mesa/shader/program_lexer.l
src/mesa/shader/program_parse.tab.c
src/mesa/shader/program_parse.y
2009-11-06 11:17:00 -08:00
José Fonseca
96e938f62c
llvmpipe: Fix build with llvm 2.6.
...
Fixes bug 24949.
2009-11-06 15:08:05 +00:00
Brian Paul
38d3c156dc
intel: call intel_check_front_buffer_rendering() in intelClear()
...
fixes bug 24953.
2009-11-06 08:00:38 -07:00
José Fonseca
577a598dc9
mesa: Export S3_s3tc as well.
...
Used in Quake3.
2009-11-06 12:06:45 +00:00
José Fonseca
f611425101
mesa: Translate MAP_UNSYNCHRONIZED_BIT.
2009-11-06 12:06:44 +00:00
José Fonseca
244591ae7b
gallium: Add UNSYNCHRONIZED cpu access flag. Document others.
2009-11-06 12:06:44 +00:00
Zack Rusin
25728860fc
st/xorg: unify vertex buffer handling
...
first step on our way to batching
2009-11-06 00:19:54 -05:00
Brian Paul
d971069fc6
mesa: fix infinite loop bug in _mesa_drawbuffers()
...
Fixes bug 24946.
This regression came from 8df699b3bb .
2009-11-05 13:17:21 -07:00
José Fonseca
67034b9efc
softpipe: Implement PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE for destination.
...
It is a valid and tested combination on D3D9.
2009-11-05 19:44:07 +00:00
Cooper Yuan
e0590159ce
g3dvl: remove a debug line
2009-11-05 16:06:01 +08:00
Cooper Yuan
c621c100b2
g3dvl: add scissor setting
2009-11-05 15:59:27 +08:00
Marek Olšák
c2e47191d7
r300g: add polygon mode
...
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com >
2009-11-04 18:19:34 -08:00
Marek Olšák
4671005a43
r300g: fix the size of CS when emitting the fragprog constant buffer
...
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com >
2009-11-04 18:19:34 -08:00
Marek Olšák
07190888bd
r300g: set the correct offset in a colorbuffer surface
...
Suggested by Joakim Sindholt.
Also, put flushing of colorbuffers _before_ the framebuffer state setup,
suggested by docs.
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com >
2009-11-04 18:19:34 -08:00
Marek Olšák
ad96c0d851
r300g: add color channel masking
...
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com >
2009-11-04 18:19:34 -08:00
Brian Paul
898de4a9d5
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/mesa/drivers/windows/gdi/mesa.def
2009-11-04 17:57:20 -07:00
Brian Paul
fe86f8d732
ARB prog parser: include variable name in error text
2009-11-04 17:27:49 -07:00
Zack Rusin
4c5a758d06
st/xorg: these flushes shouldn't be necessary
...
performance optimization
2009-11-04 18:10:33 -05:00
Alex Deucher
9fce12b894
r600: rework draw functions
...
Seems INDX_OFFSET doesn't work properly on some cards,
so change back to immediate mode indices. Seems to only
affect DRI1. Needs more investigation.
Rework and clean up the draw functions.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com >
2009-11-04 16:59:13 -05:00
Alex Deucher
70dade8afe
r600: fix count prediction for IB case
...
Signed-off-by: Alex Deucher <alexdeucher@gmail.com >
2009-11-04 14:43:24 -05:00
Alan Hourihane
3040b2ee9d
Fix YTILE spantmp functions
2009-11-04 14:48:25 +00:00
José Fonseca
0b4ea45e8a
util: Remove homegrown Windows KM profiler.
...
It's not sampling based so its results are biased towards functions called
many times.
2009-11-04 12:15:29 +00:00
Michal Krol
767bc8eb5a
tgsi/ureg: Allow for multiple extended instruction tokens.
...
For example, we would like to have a predicate and texture token
in one instruction to do predicated texture sampling.
2009-11-04 11:47:10 +00:00
Christoph Bumiller
618e3b89f6
nv50: fix shader emit_tex for cube textures
2009-11-04 00:53:52 +01:00
Christoph Bumiller
317ccfe0df
nv50: add abs-modifier for emit_minmax
2009-11-04 00:53:51 +01:00
Christoph Bumiller
040e1d008f
nv50: add 3d texture tiling and mip-mapping
...
Mip-mapped 3D textures are not arrays of 2D layers
with a mip-map layout like 2D textures, therefore we
cannot use image_nr == depth for them.
Making use of "volume tiling" modes now, the allowed
modes are 0xZY where Z <= 5 and y <= 5.
2009-11-04 00:53:51 +01:00
Vinson Lee
c475079ef2
progs/util: Fix memory leak if fail to load/compile shader
...
Signed-off-by: Brian Paul <brianp@vmware.com >
2009-11-03 14:49:41 -07:00
Michal Krol
ceb6728725
llvmpipe: Sanitise shader semantic and interpolator handling.
...
Handle the remaining semantic names and indices.
Respect color interpolator when not flatshading.
Based on Michal's softpipe commit
eb699d64ec .
2009-11-03 17:12:34 +00:00
Keith Whitwell
026cf84bbb
llvmpipe: remove old prim_setup draw stage
...
Everything now goes through the draw_vbuf handler, the same as
regular drivers.
Based on Keith's commit 4fe0fc3eba .
2009-11-03 17:12:34 +00:00
José Fonseca
677a055fa0
llvmpipe: Respect gl_rasterization_rules in primitive setup.
...
Based on Michal's identical commit for softpipe
(ca9c413647 ).
2009-11-03 17:12:34 +00:00
José Fonseca
3e8f665c1e
python/retrace: Cope with null constant buffers.
2009-11-03 17:12:33 +00:00
José Fonseca
a2e868b977
python/retrace: Add missing colon.
2009-11-03 17:12:33 +00:00
Brian Paul
a017ad2861
progs/tests: debug code for getting texture component sizes
2009-11-03 10:01:10 -07:00
Michal Krol
7ccf60ae40
tgsi: Up tgsi_exec's control flow nesting to 32.
2009-11-03 16:56:50 +00:00
Brian Paul
4bced42341
Merge branch 'mesa_7_6_branch'
2009-11-03 09:54:09 -07:00
Brian Paul
800e553e7a
mesa: clean-up, remove some flushing in FBO functions
...
Remove some unneeded flushes.
Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places.
2009-11-03 09:52:25 -07:00
Brian Paul
4de18fb093
mesa: fix indentation
2009-11-03 09:52:25 -07:00
Brian Paul
5698d7cd75
mesa: clean-up formatting
2009-11-03 09:52:25 -07:00
Brian Paul
18af75e501
mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT()
2009-11-03 09:52:25 -07:00
Brian Paul
c7048f9d9f
mesa: use FLUSH_VERTICES() in _mesa_drawbuffers()
2009-11-03 09:52:25 -07:00
Brian Paul
8df699b3bb
mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers()
2009-11-03 09:52:25 -07:00
Brian Paul
b28c637382
mesa: use ffs() to shorten loop in _mesa_drawbuffers()
2009-11-03 09:52:25 -07:00
Brian Paul
2d11c48223
mesa: added assertion, another comment
2009-11-03 09:52:25 -07:00
Brian Paul
bcbfda71b0
intel: avoid unnecessary front buffer flushing/updating
...
Before, if we just called glXMakeCurrent() and didn't render anything we'd
still trigger a flushFrontBuffer() call.
Now only set the intel->front_buffer_dirty field at state validation time
just before we draw something.
NOTE: additional calls to intel_check_front_buffer_rendering() might be
needed if I missed some rendering paths.
2009-11-03 09:52:25 -07:00
Brian Paul
644d8fd363
mesa: added comment
2009-11-02 19:38:35 -07:00
Brian Paul
7157479b25
mesa: use _mesa_get_current_tex_object()
2009-11-02 19:38:35 -07:00
Brian Paul
1afe60e802
mesa: use _mesa_get_current_tex_object()
2009-11-02 19:38:35 -07:00
Brian Paul
b8fdb900fb
mesa: make _mesa_get_current_tex_objec() public
2009-11-02 19:38:35 -07:00
Ian Romanick
731810f854
ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branch
...
Since the addition of support for Nvidia condition codes, the lexer internally
uses handle_ident to select between returning IDENTIFIER and USED_IDENTIFIER.
Also, use return_string instead of strdup.
Fixes bug #24809 .
2009-11-02 12:44:14 -08:00
Pierre Ossman
213ec8251c
r600: implement LOG op in compiler
2009-11-02 11:30:00 -05:00
Pierre Ossman
d00cbba403
r600: implement EXP op in compiler
2009-11-02 11:29:54 -05:00
Michal Krol
c379fbbe24
tgsi/ureg: Add negate and swizzle for predicates.
2009-11-02 14:59:52 +00:00
Brian Paul
c02cd82b46
mesa: fix incorrect approx bits/channel for fxt1 formats
...
See bug 24806.
2009-11-02 06:52:10 -07:00
Brian Paul
a40055f4b6
gallium/util: add casts to silence warnings
2009-11-02 06:51:47 -07:00
Michal Krol
962ece9540
tgsi/ureg: Update for gallium interface changes.
2009-11-02 09:44:21 +00:00
Michal Krol
aa2b2e5d7d
tgsi: Update for gallium interface changes.
2009-11-02 09:44:20 +00:00
Michal Krol
0a7d50ed7e
gallium: Cleanup predicate and condition code TGSI tokens.
...
There is little point in having a special TGSI token just to handle
predicate register updates. Remove tgsi_dst_register_ext_predicate token
and instead use a new PREDICATE register file to update predicates.
Actually, the contents of the obsolete token are being moved
to tgsi_instruction_ext_predicate, where they should be
from the very beginning.
Remove the NVIDIA-specific condition code tokens -- nobody uses them
and they can be emulated with predicates if needed.
Introduce PIPE_CAP_SM3 that indicates whether a driver supports
SM3-level instructions, and in particular predicates.
Add PIPE_CAP_MAX_PREDICATE_REGISTERS that can be used to query the driver
how many predicate registers it supports (currently it would be 1).
2009-11-02 09:44:18 +00:00
Michal Krol
eb699d64ec
softpipe: Sanitise shader semantic and interpolator handling.
...
Handle the remaining semantic names and indices.
Respect color interpolator when not flatshading.
2009-11-02 09:44:16 +00:00
Younes Manton
87d7c1aa15
nouveau: Assume all texture blankets are linear for now.
2009-11-01 18:27:47 -05:00
Corbin Simpson
1f630fa016
r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.
...
Cleared out my git stash.
2009-11-01 11:54:52 -08:00
Maciej Cencora
3d73852121
r300g: fix geometry corruptions
...
PVS flush is needed before changing the vertex shader or vertex shader constants.
2009-11-01 11:02:02 -08:00
Maciej Cencora
2db46af875
r300g: split constant buffer and shader emittion
2009-11-01 11:01:40 -08:00
Corbin Simpson
cab749a1d0
r300g: Adopt osiris' PSC data and swizzle.
...
A fair amount more flexible and easier to maintain.
2009-11-01 09:24:02 -08:00
Christoph Bumiller
5de8f97440
nv50: handle TGSI_SEMANTIC_FACE
2009-11-01 14:28:08 +01:00
Christoph Bumiller
496c9eaacf
nv50: make IF condition safe
...
Don't assume that a SET that writes to IF's argument
directly precedes the IF.
2009-11-01 14:28:04 +01:00
Christoph Bumiller
99e308a0e0
nv50: implement TGSI_OPCODE_AND/OR/XOR
...
Will use AND for gl_FrontFacing, the face input
is either 0 or 0xffffffff.
2009-11-01 14:27:35 +01:00
Christoph Bumiller
1cc16e1b83
nv50: fix textures with block size != cpp
...
First, using width * block size as pitch is evidently
wrong if a block contains more than 1 texel.
For tiled textures, since a block occupies a contiguous
area of memory, y addressing in m2mf has to be done by
block index, not the y coordinate itself.
This should fix compressed textures.
2009-10-31 20:51:09 +01:00
Younes Manton
91232b7004
nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.
2009-10-31 09:42:49 -04:00
Christoph Bumiller
9831e1f76c
nv50: use SIFC also for shader upload
...
Adds a more generic SIFC transfer function.
2009-10-31 13:40:33 +01:00
Christoph Bumiller
525f529d13
nv50: make MRTs work
...
We have to indicate to the hw whether the FP exports
multiple colour results.
Method 0x121c is used to specify the number of RTs.
Also deactivate zeta explicitly if there's no zsbuf.
2009-10-31 13:40:33 +01:00
Dave Airlie
73b45b0669
radeon: add missing include
2009-10-31 21:24:50 +10:00
Marek Olšák
c9928ac3ee
r300g: correct the pitch calculation for smaller mipmaps
2009-10-31 07:30:48 +01:00
Marek Olšák
3f60130b87
r300g: pretend NPOT support
...
It's requires to get GL2.1, therefore, much more piglit tests can be used
for testing. Figure out later how to emulate this.
2009-10-31 07:30:48 +01:00
Marek Olšák
a8f85dceb5
r300g: fix reading from the destination buffer in blending
2009-10-31 07:30:48 +01:00
Marek Olšák
63c9450ae7
r300g: add precalculating of pixel pitch, add a new NPOT flag
2009-10-31 07:30:48 +01:00
Marek Olšák
11180b4471
r300g: remove unnecessary assertions
...
Also, correct typos in comments.
2009-10-31 07:30:48 +01:00
Marek Olšák
ace78d90de
r300g: fix crash in r300_is_texture_referenced
...
Also, a subtle fix in emitting a texture state
2009-10-31 07:30:47 +01:00
Dave Airlie
5cf7c8e2d5
radeon: use _mesa_get_current_tex_unit
2009-10-31 15:50:12 +10:00
Brian Paul
5e9f97f0ea
ARB prog parser: regenerated files
2009-10-30 19:08:19 -06:00
Brian Paul
df5615de1f
ARB prog parser: new set_src_reg(), set_dst_reg() helpers
...
These functions do sanity checks on the register file and index.
2009-10-30 19:08:18 -06:00
Brian Paul
a71edc9455
mesa: better error message
2009-10-30 19:08:18 -06:00
Eric Anholt
7c8bed62e0
intel: Use GTT mapping when available for swrast.
...
This improves piglit quick.tests runtime from 19:33 minutes to 6:06 on
my GM45. It should also hide most of the A17 swizzling issues, though
they'll still exist when swapping occurs (which is the kernel's problem
either way).
2009-10-30 17:35:12 -07:00
Eric Anholt
d63c29ef20
x86: Fix the test for negative pixel count in optimized rgb565 spans.
...
There's a bunch of bogus looking stuff the count handling in this code, but
this fixes the testcases we have.
2009-10-30 17:35:11 -07:00
Eric Anholt
21a3a79371
intel: Fix up z24_x8 depth spans since the texformat merge.
2009-10-30 17:35:11 -07:00
Vinson Lee
9c3197ef0a
prog/tests: Fix MSVC build.
...
Signed-off-by: Brian Paul <brianp@vmware.com >
2009-10-30 15:30:13 -06:00
Eric Anholt
cb132406de
i965: Add an index assert on get_fp_inst array like other compiler arrays.
2009-10-30 13:28:44 -07:00
Eric Anholt
2c30ee9bd6
i965: Fix BRW_WM_MAX_INSN to reflect current limits.
...
Part of fixing bug #24355 .
2009-10-30 13:20:34 -07:00
Eric Anholt
2073006c95
intel: Set the texture format in the TFP path.
...
This fixes a regression in piglit's tfp test as of
11caea687e . Additionally, set the texture
format for the RGB textures to MESA_FORMAT_XRGB8888 and support it in the
hw paths so that hopefully sw fallbacks involving TFP get better alpha
behavior.
The radeon drivers appear to need the same fix.
Bug #24803
2009-10-30 12:41:28 -07:00
Alex Deucher
b568a2c808
r600: remove duplicate line
2009-10-30 15:08:09 -04:00
Alex Deucher
703a836d40
r600: fill in some missing tex formats
...
This improves shadowtex since the component ordering
is at least correct now, but I'm not sure how to
deal with texturing from a depth surface yet due to
differences in depth and color tile layouts.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com >
2009-10-30 15:02:34 -04:00
Alex Deucher
57864f6e04
r600: fix a warning, update comments
2009-10-30 11:52:02 -04:00
Vinson Lee
a8ed066858
progs/tests: fix MSVC build.
...
Signed-off-by: Brian Paul <brianp@vmware.com >
2009-10-30 09:40:04 -06:00
Andre Maasikas
5f7d5d3ea3
r600: use AUTO_INDEX for draw - saves cmd buffer space
...
also seems we can use INDX_OFFSET if start != 0
2009-10-30 17:18:00 +02:00
Brian Paul
409469fb70
intel: fix up some XRGB breakage
...
We weren't choosing the right XRGB span functions for reading the
framebuffer. XRGB formats still aren't turned on yet though.
2009-10-30 09:13:04 -06:00
Brian Paul
730a3de9f9
mesa: fix inverted buffer object test
...
Fixes bug 24799.
2009-10-30 08:31:01 -06:00
Brian Paul
71cd40bccf
mesa: fix incorrect format info for MESA_FORMAT_SL8
...
Fixes bugs 24798 and 24801.
2009-10-30 08:21:16 -06:00
Michal Krol
ca9c413647
softpipe: Respect gl_rasterization_rules in primitive setup.
2009-10-30 08:05:40 +00:00
Brian Paul
4a253431ab
intel: update intel_create_renderbuffer(format), add XRGB support
...
Pass a gl_format to intel_create_renderbuffer() instead of GLenum.
Add cases for MESA_FORMAT_XRGB8888 textures and renderbuffers.
However, we don't yet create any renderbuffers or textures with that
format. It seems the default alpha value is zero instead of one.
Need to investigate that first.
2009-10-29 19:12:50 -06:00
Brian Paul
f920d496e1
mesa: fix _mesa_texstore_argb8888() for MESA_FORMAT_XRGB8888
...
If we hit the general path and call _mesa_make_temp_chan_image() we
always want to get a GL_RGBA texture. We were getting a 3-channel
GL_RGB texture before and that messed up the memory layout.
2009-10-29 17:52:01 -06:00
Alex Deucher
c243e8dd23
r600: remove the no rrb messages
2009-10-29 19:44:35 -04:00
Alex Deucher
b924579bd4
r600: Add support for ARB_depth_clamp
2009-10-29 19:42:52 -04:00
Brian Paul
d0b6147291
intel: remove memcpy_get_tex_image() code
...
This has been lifted into core Mesa where it can be used for all drivers
that use the _mesa_get_teximage() fallback for ctx->Driver.GetTexImage().
2009-10-29 16:31:57 -06:00
Brian Paul
fcbf663640
mesa: lift memcpy_get_tex_image() code from intel driver into core Mesa
...
The code should work for any driver.
2009-10-29 16:31:57 -06:00
Brian Paul
bde7874317
mesa: refactor _mesa_get_teximage() code
...
Break different formats into different functions to make it easier to read.
2009-10-29 16:31:57 -06:00
Brian Paul
217a40d8d9
i965: indentation fix
2009-10-29 16:31:57 -06:00
Brian Paul
26d22b094b
i965: make brw_sf_prog_key::sprite_origin_lower_left one bit
...
Shrinks size of key to 8 bytes from 12.
Note that progs/demos/spriteblast.c is still broken.
2009-10-29 16:31:56 -06:00
Brian Paul
035b21f365
i965: make brw_wm_prog_key a little smaller
...
GLushort is big enough for the swizzle and origin fields.
The key could probably be made smaller still by re-ordering things.
I'll hold off on that until after the outputswritten64 branch is merged.
The key will get a little larger again with the GLbitfield64 fields.
2009-10-29 16:31:56 -06:00
Eric Anholt
8a9afe71b8
i915: Fix 1D texture mapping in the t coordinate.
...
Fixes piglit tex1d-2dborder test.
2009-10-29 14:56:52 -07:00
Eric Anholt
4b377ae292
i915: Correct and make use of the defines for 32-bit depth texture modes.
...
Previously, S8_Z24 depth textures would always be treated as intensity.
Fixes piglit depth-tex-modes.
2009-10-29 14:56:52 -07:00
Brian Paul
861fec163c
i965: avoid shader translation on window resize
...
If the fragment shader doesn't use FRAG_ATTRIB_WPOS (gl_FragCoord) we
don't need to worry about the window size and origin in
brw_wm_populate_key().
This avoids re-generating the i965 shader code when a window is resized.
Issue spotted by Keith Whitwell.
2009-10-29 15:33:43 -06:00
Brian Paul
198ec96d36
i965: define, use BRW_MAX_DRAW_BUFFERS
...
i965 might support more than 4 color draw buffers. But if not, this protects
from breakage if the Mesa limit is raised.
2009-10-29 15:33:43 -06:00
Brian Paul
7648c80ac8
i965: remove unused var
2009-10-29 15:33:43 -06:00
Brian Paul
9ef33b8685
i965: don't use context state in emit_fb_write()
...
Put the state that we care about in the hash key.
Issue spotted by Keith Whitwell.
2009-10-29 15:33:43 -06:00
Brian Paul
a8d233e509
i965: use macros to get/set prog_instruction::Aux field
...
This makes things a bit easier to remember/understand.
2009-10-29 15:33:43 -06:00
Brian Paul
a0959bcee5
i965: minor code reformatting
2009-10-29 15:33:43 -06:00
José Fonseca
c6164ff155
mesa: Add MESA_FORMAT_Z24_X8.
2009-10-29 20:03:51 +00:00
Zack Rusin
a7fa56a64b
st/xorg: fix scaling ov xv data, plus some cleanups
2009-10-29 15:13:17 -04:00
Eric Anholt
f8f40b53a6
i915: Implement min/max LOD clamping with the hardware.
...
This gets us expected behavior for clamping between mipmap levels, and
avoids relayout of textures for doing clamping.
Fixes piglit lodclamp-between.
2009-10-29 12:06:04 -07:00
Eric Anholt
3744472441
i965: Replace a MIN(MAX()) with CLAMP().
2009-10-29 12:06:03 -07:00
Brian Paul
ea414e3318
intel: check for single memcpy() in memcpy_get_tex_image()
2009-10-29 11:04:24 -06:00
Eric Anholt
92e7c6a258
i965: Fix fallout from ARB_depth_clamp enablement that broke glDepthRange.
...
If a backwards glDepthRange was supplied (as with the old Quake no-z-clearing
hack), the hardware would have always clamped because we weren't clamping to
the min of near/far and the max of near/far. Also, we shouldn't be clamping
to near/far at all when not in depth clamp mode (this usually didn't matter
since near/far are usually the same as the 0.0, 1.0 clamping you do for
fixed-point depth).
This should fix funny depth issues in PlaneShift, and fixes piglit
depth-clamp-range
2009-10-29 10:01:17 -07:00
Eric Anholt
32ec3f2673
mesa: Mostly fix swrast's ARB_depth_clamp support.
...
I'd written a testcase for the hard part of the extension enablement, so
naturally the easy stuff was completely broken. There are still issues,
as I'm seeing FLOAT_TO_UINT(max_f) == 0x0 when max_f == 1.0, but it gets
piglit depth-clamp-range closer to success.
2009-10-29 10:01:17 -07:00
Eric Anholt
6eb6a0e9cb
intel: Don't bother MI_FLUSHing on glFlush in the DRI2 case.
...
We only need it when drawing to the front buffer, which we never do for
DRI2. No significant performance difference, but the flush is definitely
gone from the end of every batchbuffer.
2009-10-29 10:01:17 -07:00
Eric Anholt
fb0084e69e
intel: Clean up merge leftover from the DRI2 swap throttling.
2009-10-29 10:01:16 -07:00
Brian Paul
1596f714d2
intel: remove debug code
2009-10-29 10:56:13 -06:00
Brian Paul
2b628d43c0
mesa: consolidate some code in _mesa_GetCompressedTexImageARB()
2009-10-29 10:53:26 -06:00
Brian Paul
dcb4716802
intel: added fast memcpy path for glGetTexImage()
2009-10-29 10:50:26 -06:00
Brian Paul
1e2c517026
progs/tests: also test GL_BGRA format in getteximage.c
2009-10-29 10:50:26 -06:00
Brian Paul
01ee5c63d3
mesa: move pixels==NULL check in glGetTexImage()
2009-10-29 10:50:26 -06:00
Brian Paul
99bbf4b4f5
mesa: consolidate some code in _mesa_GetTexImage()
2009-10-29 10:50:26 -06:00
Brian Paul
67df4fb56b
mesa: move, clean-up _mesa_print_texture()
2009-10-29 10:50:26 -06:00
Brian Paul
d580c0c8f7
mesa: fix some tests in subtexture_error_check2()
...
Don't use hard-coded compressed block sizes.
Update comments and error strings.
2009-10-29 10:50:26 -06:00
Brian Paul
cf7040594e
mesa: remove unneedded is_srgb_teximage() function
...
Use _mesa_get_format_color_encoding() function instead.
2009-10-29 10:50:26 -06:00
Brian Paul
c89f5b6ac8
glsl: make shader substitution a little better
2009-10-29 10:50:26 -06:00
David Heidelberger
41892e9b17
st/mesa: fix PIPE_FORMAT_X8Z24 <> MESA_FORMAT_X8_Z24 conversion
...
Signed-off-by: David Heidelberger <d.okias@gmail.com >
Signed-off-by: Brian Paul <brianp@vmware.com >
2009-10-29 10:14:41 -06:00
David Heidelberger
10a509564f
st/mesa: Add conversion from PIPE_FORMAT_X8Z24_UNORM to MESA_FORMAT_S8_Z24.
...
Fix glxgears and openarena for Nouveau (no more asserts and crash).
Signed-off-by: David Heidelberger <d.okias@gmail.com
Signed-off-by: Brian Paul <brianp@vmware.com >
2009-10-29 09:56:14 -06:00
David Heidelberger
c2f5eb7148
st/mesa: Fix nouveau glxinfo after merging texformat-rework.
...
Signed-off-by: David Heidelberger <d.okias@gmail.com >
Signed-off-by: Brian Paul <brianp@vmware.com >
2009-10-29 09:54:38 -06:00
Brian Paul
1f1bfe8cb5
mesa: move declaration to prevent unused var warning
2009-10-29 07:54:44 -06:00
Chia-I Wu
9927d7f31c
mesa: Fix compilation errors and warnings when features are disabled.
...
Some of the fixes are cherry-picked from opengl-es branch.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-29 07:52:58 -06:00
Chia-I Wu
59798cd886
mesa/main: Make FEATURE_texture_s3tc follow feature conventions.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-29 07:52:58 -06:00
Chia-I Wu
20e20fc5af
mesa/main: Make FEATURE_texture_fxt1 follow feature conventions.
...
Also remove the unused initialization and GLchan fetch functions.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-29 07:52:58 -06:00
Chia-I Wu
920f023e8b
mesa/main: Never return NULL in _mesa_get_texstore_func.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-29 07:52:58 -06:00
Brian Paul
e2131e0171
radeon: fix incorrect Z format in radeon_alloc_renderbuffer_storage()
...
And update error message.
2009-10-29 07:47:41 -06:00
Cooper Yuan
da1fb3be82
r300g: Fix bytes_per_line calculation error while displaying surface
2009-10-29 20:20:59 +08:00
Chia-I Wu
59b29516af
swrast: added braces
2009-10-28 22:14:01 -06:00
Brian Paul
c6bd5fae0c
mesa: remove old, unused #define
2009-10-28 21:52:37 -06:00
Brian Paul
bd36ca9b76
mesa: re-remove s3v and trident driver files
...
These were removed from master but a few files came back from the
texformat-rework branch.
2009-10-28 21:46:37 -06:00
Brian Paul
960d49b387
mesa: move some gl_texture_image and gl_renderbuffer fields around
2009-10-28 21:43:50 -06:00
Brian Paul
bc143b1a9f
mesa: minor code movement
2009-10-28 21:25:56 -06:00
Brian Paul
1f196b786d
Merge branch 'texformat-rework'
...
Conflicts:
src/mesa/drivers/dri/radeon/radeon_fbo.c
src/mesa/drivers/dri/s3v/s3v_tex.c
src/mesa/drivers/dri/s3v/s3v_xmesa.c
src/mesa/drivers/dri/trident/trident_context.c
src/mesa/main/debug.c
src/mesa/main/mipmap.c
src/mesa/main/texformat.c
src/mesa/main/texgetimage.c
2009-10-28 21:24:11 -06:00
Brian Paul
086f9fc0e2
swrast: fix RGB, RGBA texturing code
...
Fix backward component ordering for RGB textures.
Only optimize RGBA texture case if running little endian. This restriction
could be lifted with a little work.
2009-10-28 19:46:28 -06:00
Brian Paul
88bb4b5935
swrast: check for single texture unit in _swrast_choose_triangle()
2009-10-28 19:41:24 -06:00
Brian Paul
0103d7a47a
swrast: clean up and remove dead code in triangle functions
2009-10-28 19:40:56 -06:00
Brian Paul
1e7517f059
swrast: fix texel decoding in opt_sample_rgba_2d()
2009-10-28 19:38:12 -06:00
Brian Paul
7ac233ec15
mesa: choose texture format in _mesa_get_fallback_texture()
2009-10-28 19:33:48 -06:00
Brian Paul
0ea575d721
Merge branch 'mesa_7_6_branch'
2009-10-28 18:27:25 -06:00
Zack Rusin
24c61c8c2e
st/xorg: fix src coordinates in the video acceleration paths
2009-10-28 16:53:50 -04:00
Alex Deucher
660acd60d0
r600: add occlusion query support
...
Based on initial patch from Stephan Schmid <stephan_2303@gmx.de >.
Basic idea is to dump the zpass count at the start and end of the query
and subtract to get the total number of visible fragments. HW writes
alternating qwords for up to 4 DBs. On the first pass, we start at
buffer address + 0; on the second pass, we start at buffer address + 8
(bytes). The resulting buffer at the end of the query looks like:
qw[0]: db0 start
qw[1]: db0 end
...
qw[6]: db3 start
qw[7]: db3 end
The MSB of each qword is the valid bit and the lower 63 bits are
the zpass count for that DB.
OQ on RV740 is disabled at the moment as it only seems to report
results for half of its DBs. This needs further investigation.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com >
2009-10-28 15:53:24 -04:00
Corbin Simpson
f3d8d534e6
r300g: Use u_trim_pipe_prim to prevent lockups from incorrect vert counts.
...
Adapted from osiris' version on his tree.
2009-10-28 12:15:35 -07:00
Corbin Simpson
23d8d15bed
r300g: Keep texture formats organized.
2009-10-28 12:15:35 -07:00
Maciej Cencora
e7c8a27638
r300g: add some texture formats
2009-10-28 12:15:35 -07:00
Corbin Simpson
6007e2e008
r300g: Clear up a bit of the buffer reference stuff.
...
Still need to actually get reference info from winsys somehow. Doing added
buffers is easy, but knowing whether a flush has happened is a bit tricky.
2009-10-28 12:15:34 -07:00
Corbin Simpson
81c51bb67f
r300g: Fix XXX.
...
Nothing strange here.
2009-10-28 12:15:34 -07:00
Marek Olšák
bcfde42913
r300g: fix emitting the stencil-ref and alpha-ref values
...
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com >
DSA really needs its head examined someday. ~ C.
2009-10-28 12:15:34 -07:00
Marek Olšák
a1d726aae8
r300g: fix the WRAP_T mode when using 1D textures
...
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com >
2009-10-28 12:15:34 -07:00
Marek Olšák
0e44884aad
r300g: fix blending and do some optimizations
...
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com >
2009-10-28 12:15:34 -07:00
Marek Olšák
c451011d99
mesa/st: fix crash in st_texture_image_copy
...
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com >
2009-10-28 12:15:33 -07:00
Brian Paul
7d56caabe4
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/mesa/shader/lex.yy.c
src/mesa/shader/program_lexer.l
2009-10-28 11:33:51 -06:00
José Fonseca
182ff3e47a
llvmpipe: Make sure the JIT engine and X86 target are linked on MSVC build.
...
Basically mimic the llvm 2.6 way of linking execution engines and
targets.
2009-10-28 11:26:26 +00:00
José Fonseca
5eba607db6
util: Drop return value from cpuid().
2009-10-28 11:26:26 +00:00
José Fonseca
0426227b68
util: Fix cpuid on MSVC.
2009-10-28 11:26:26 +00:00
José Fonseca
095e66f695
llvmpipe: Implement round() for MSVC.
2009-10-28 11:26:26 +00:00
Brian Paul
6bc1e9fd69
mesa: consolidate _mesa_CompressedTexSubImage[123]DARB() functions
2009-10-27 21:39:44 -06:00
Brian Paul
f3c29bd74f
mesa: consolidate CompressedTexSubImage1/2/3DARB() error checking
2009-10-27 21:15:48 -06:00
Brian Paul
9519603f74
mesa: simplify teximage code with get_current_tex_object()
2009-10-27 21:15:36 -06:00
Brian Paul
dd5691e802
mesa: code refactoring to eliminate a switch stmt in bind_buffer_object()
2009-10-27 20:10:59 -06:00
Brian Paul
b44304efde
glsl: avoid redundant state changes in _mesa_use_program()
2009-10-27 20:10:59 -06:00
Zack Rusin
2947d14202
st/xorg: fix xv
2009-10-27 21:00:47 -04:00
Brian Paul
52374d7e4c
radeon: add case for MESA_FORMAT_X8_Z24 in radeon_create_renderbuffer()
2009-10-27 17:05:08 -06:00
Brian Paul
f8155ef51f
intel: silence warning
2009-10-27 17:01:26 -06:00
Brian Paul
21f8d31cfd
mesa: debug code for glBlitFramebuffer()
2009-10-27 17:00:31 -06:00
Brian Paul
507cf530b9
via: silence unused var warnings
2009-10-27 17:00:31 -06:00
Brian Paul
3c71666921
intel: minor clean-up, comments
2009-10-27 17:00:31 -06:00
Brian Paul
7fd8c6ca2a
intel: use _mesa_get_current_tex_unit() helper
2009-10-27 17:00:31 -06:00
Brian Paul
05ec586851
mesa: s/Bilt/Blit
2009-10-27 17:00:31 -06:00
Brian Paul
403181b913
mesa: more texture debug code changes, improvements
2009-10-27 17:00:31 -06:00
Brian Paul
58a4328e96
mesa: minor code clean-up in client_state()
2009-10-27 17:00:31 -06:00
Brian Paul
72cb441c2f
mesa: avoid redundant state setting in glClientActiveTexture
...
Plus add code for verbose/debugging.
2009-10-27 17:00:31 -06:00
Brian Paul
33531614de
intel: fix comment, formatting
2009-10-27 17:00:31 -06:00
Brian Paul
3bee7610be
progs/tests: added new blitfb.c test
...
Tests glBlitFramebuffer() between two texture/renderbuffer surfaces.
In particular, blit from level[1] of a cube map face to a 2D texture.
Used to find/fix bug in intel do_copy_texsubimage().
See commit aef1ab1073f3e30d699b99dae17518ed48b57c72
2009-10-27 17:00:31 -06:00
Brian Paul
3e45788d5d
intel: fix src offset bug in do_copy_texsubimage()
...
Use src->draw_offset intead of zero. Zero usually worked, except when
the src renderbuffer is actually a texture mipmap level higher than zero.
Fixes progs/test/blitfb.c test.
2009-10-27 17:00:31 -06:00
Brian Paul
4c2a7bc438
glsl: fix memory leak
...
A slightly modified version of a patch from Vinson Lee.
2009-10-27 17:00:30 -06:00
Eric Anholt
4f9f5a7840
i915: Fix driver for the miptree x/y offset changes.
...
Bug #24734 .
2009-10-27 17:00:30 -06:00
Brian Paul
e9b17d6477
i965: be clear that the Fallback field is a boolean, not a bitfield
2009-10-27 16:59:44 -06:00
Brian Paul
755161b888
Revert "i965: fix hacked Fallback usage in brw_prepare_vertices()"
...
This reverts commit 8810b8f671 .
It turns out the i965 driver uses the intel->Fallback field as a boolean,
not as a bitmask. The intelFallback() function is a no-op in the i965
driver. It would have been nice if there were some comments about this.
I'll fix that next...
2009-10-27 16:59:44 -06:00
Vinson Lee
b7ab7d3627
draw: Fix memory leak.
...
This would only be hit if we got and invalid index_size.
2009-10-27 16:59:44 -06:00
Brian Paul
b73c4ad98b
docs: document Intel glBitmap fixes
2009-10-27 16:59:44 -06:00
Brian Paul
fe818ea797
intel: fix GL state bugs in intel_texture_bitmap()
...
Need to push texture state and polygon state too.
Fixes rendering glitches seen in progs/demos/engine when changing
the rendering mode (wireframe, texture modes).
This makes bitmap rendering a little slower, unfortunately.
2009-10-27 16:59:43 -06:00
Christoph Bumiller
7d967b9b7c
nv50: activate more lanes in a warp
...
Some cards have crippling defaults set and use only 4
of 32 lanes. This should activate 16 on these.
Those that allow 32 by default should still do so.
Found out by Marcin Kościelnicki.
2009-10-28 00:57:18 +01:00
Jakob Bornecrantz
8a1f239ca9
st/xorg: Adopt to new dirty clip rect type
2009-10-27 17:40:55 +01:00
Vinson Lee
50e113e375
progs/tests: Fix MSVC build.
2009-10-26 15:03:52 -06:00
José Fonseca
ad0975f701
scons: Define _USE_MATH_DEFINES on MSVC.
2009-10-26 15:17:26 +00:00
Brian Paul
87127c83dc
windows: added remap.[ch] to project files
...
Untested. Other updates may be needed to reflect the current source files.
2009-10-26 09:06:00 -06:00
Chia-I Wu
c9d715da39
mesa: Add remap.c to SConscript.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-26 09:01:29 -06:00
Zack Rusin
b5fb60041e
st/xorg: initialize indexes before reswizzling for yuv
2009-10-26 08:15:48 -04:00
Zack Rusin
0b069d648b
st/xorg: stop overflowing yuv buffers
2009-10-26 08:15:48 -04:00
Zack Rusin
a9f8baf00b
st/xorg: add yuv vertex shader
...
plus some general fixes
2009-10-26 08:15:48 -04:00
Zack Rusin
6b8ce4cc4f
st/xorg: add yuv shaders
2009-10-26 08:15:48 -04:00
Marek Olšák
5241b9568c
r300g: read occlusion query results from both Z pipes on RV530
2009-10-26 02:07:32 +01:00
Marek Olšák
827002f5ff
r300g: add cubemap support
...
Also, set a pitch for rectangles only.
2009-10-26 02:07:26 +01:00
Brian Paul
d8ded352ec
progs/tests: disable blending while drawing text
2009-10-25 18:10:45 -06:00
Brian Paul
11caea687e
mesa: choose texture format in core mesa, not drivers
...
Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's
_mesa_[Copy]TexImage functions instead of in the driver functions.
One less thing for drivers to do.
2009-10-25 18:06:24 -06:00
Brian Paul
355b5bde50
mesa: remove _mesa_compressed_texture_size_glenum() stub
2009-10-25 17:32:56 -06:00
Brian Paul
20c6c58532
mesa: remove _mesa_compressed_row_stride()
2009-10-25 17:25:46 -06:00
Brian Paul
e3f2efc4f1
mesa: remove calls to _mesa_compressed_row_stride()
2009-10-25 17:23:37 -06:00
Brian Paul
c83b758760
glide: remove _mesa_compressed_row_stride() calls
...
And fix incorrect first parameter.
2009-10-25 17:21:27 -06:00
Brian Paul
253e7fee5d
mesa: remove _mesa_compressed_row_stride() calls
2009-10-25 17:21:11 -06:00
Brian Paul
2594168e9f
mesa: begin removing _mesa_compressed_row_stride() calls
...
Use equivalent _mesa_format_row_stride() function instead.
2009-10-25 17:20:24 -06:00
Brian Paul
82bcc1c5d2
mesa: simplify texture_row_stride() helper
2009-10-25 17:15:02 -06:00
Brian Paul
07ad6393cb
mesa: fix-up error checking related to compressed texture block size
2009-10-25 17:07:27 -06:00
Brian Paul
54bb414e00
mesa: clean-up, simplify compressed texture size checking
2009-10-25 16:59:08 -06:00
José Fonseca
3a49497f10
gallium: Move enum pipe_error into p_defines.h.
...
It's really just another define. No need for its own header.
2009-10-25 21:11:54 +00:00
José Fonseca
88e08d7c6d
llvmpipe: Human friendlier sampler state dump.
2009-10-25 12:27:14 +00:00
José Fonseca
47f0529806
util: Human readable output of texture states.
2009-10-25 12:26:39 +00:00
José Fonseca
5fcb75758c
llvmpipe: Dump the sampler state of the shader key.
2009-10-25 11:49:01 +00:00
José Fonseca
e4c5e01c10
llvmpipe: Immediate multiplication.
2009-10-25 11:48:17 +00:00
José Fonseca
e1342f871b
llvmpipe: Fast path for sampling rgba8 textures with linear filtering.
...
Implement Keith's suggestion of doing most of the sampling with 16x8
and 8x16 AoS, and only doing the conversion to floating point SoA at
the very last step.
Improves gloss performance by 10%.
2009-10-25 09:53:49 +00:00
José Fonseca
f3893ca9c8
llvmpipe: Make lerping work for 8.8 fixed point values.
2009-10-25 09:53:49 +00:00
José Fonseca
bfd7a9ca96
llvmpipe: New module to help make assertions about formats.
2009-10-25 09:53:49 +00:00
José Fonseca
47d241be9f
llvmpipe: New function to unpack rgba8 formats into 4 x u8n AoS.
2009-10-25 09:53:49 +00:00
José Fonseca
abff4214ef
llvmpipe: Split the format swizzling step from the unpacking.
2009-10-25 09:53:48 +00:00
José Fonseca
8d80fd3f55
llvmpipe: Allow different signs when unpacking.
2009-10-25 09:53:48 +00:00
José Fonseca
b544ab7299
llvmpipe: Add inlines to quickly generate types matching the native SIMD register bitwidth.
2009-10-25 09:53:48 +00:00
José Fonseca
a55b305c5b
llvmpipe: Merge lp_build_load_rgba_soa into lp_build_sample_texel.
2009-10-25 09:53:48 +00:00
José Fonseca
bc93e9181c
llvmpipe: Factor our pixel offset computation.
2009-10-25 09:53:48 +00:00
José Fonseca
fedd054d53
llvmpipe: Share testing infrastructure with lp_test_format.
2009-10-25 09:53:48 +00:00
José Fonseca
17afb6dd69
llvmpipe: Eliminate lp_build_store_rgba_aos.
2009-10-25 09:53:48 +00:00
José Fonseca
232b586464
llvmpipe: Eliminate lp_build_load_rgba_aos.
2009-10-25 09:53:48 +00:00
José Fonseca
b4f6907b8d
llvmpipe: Move a few format/sampling functions into better space.
2009-10-25 09:53:47 +00:00
Marek Olšák
c2df759cd7
r300g: fix redefining mipmaps and fetching from them
2009-10-25 10:16:59 +01:00
Marek Olšák
118dfe1688
r300g: added support for 3D textures
...
Mipmaps not tested. Also, I am not sure why piglit/texturing/tex3d needs
to have color tolerance +-1 to pass. The classic Mesa driver doesn't
need that.
2009-10-25 08:06:19 +01:00
Brian Paul
d6ee86c77a
mesa: remove _mesa_compressed_texture_size()
...
Use _mesa_format_image_size() instead.
2009-10-24 16:50:00 -06:00
Brian Paul
4c00981b22
mesa: remove ctx->Driver.CompressedTextureSize() hook
...
It always just called _mesa_compressed_texture_size() anyway.
2009-10-24 16:34:25 -06:00
Brian Paul
35efc6a1b3
mesa: change compressed texture size calls
...
Replace calls to ctx->Driver.CompressedTextureSize with calls to
_mesa_format_image_size. The former always called the later.
2009-10-24 16:28:27 -06:00
Brian Paul
bea245ac2f
mesa: minor clean-ups in _mesa_store_compressed_texsubimage2d()
2009-10-24 12:04:09 -06:00
Brian Paul
5c82827696
mesa: simplify _mesa_compressed_row_stride(), _mesa_compressed_image_address()
...
_mesa_compressed_row_stride() can go away soon.
_mesa_compressed_image_address() can be generalized and moved to formats.c
2009-10-24 11:52:36 -06:00
Brian Paul
1ad9671db7
mesa: s/GLuint/gl_format/
2009-10-24 11:41:25 -06:00
Brian Paul
2c3787f513
mesa: move assertion after declaration
2009-10-24 11:34:27 -06:00
Brian Paul
d255aaf54f
mesa: remove hard-coded block sizes
2009-10-24 11:33:58 -06:00
Brian Paul
7b16c43e43
mesa: added _mesa_get_format_block_size()
2009-10-24 11:33:10 -06:00
Brian Paul
51bc12d623
progs/tests: fix sub texture offsets
2009-10-24 11:08:01 -06:00
Brian Paul
bee6794eb1
mesa: added _mesa_get_format_name()
2009-10-24 08:43:16 -06:00
Brian Paul
eb732b1bbb
mesa: additional comments in format code
2009-10-24 08:41:08 -06:00
Joakim Sindholt
94a63dccdd
r300g: fix scons build yet again
2009-10-24 02:43:21 +02:00
Brian Paul
46a784b7fd
Merge branch 'mesa_7_6_branch'
2009-10-23 18:38:43 -06:00
Brian Paul
26f1ad65b9
mesa: simplify att->CubeMapFace assignment
2009-10-23 18:31:03 -06:00
Brian Paul
346250b190
mesa: refactor, new print_shader_info()
2009-10-23 18:31:03 -06:00
Brian Paul
81a4d34f07
mesa: rework error checking code for glGetCompressedTexImage()
...
Do all error checking in new getcompressedteximage_error_check() func.
Move some additional PBO checks out of the driver fallbacks into the
error checking functions.
2009-10-23 18:31:03 -06:00
Brian Paul
d66965c9a1
mesa: remove misplaced VERBOSE_TEXTURE tests
2009-10-23 18:31:02 -06:00
Brian Paul
9b50ceac03
mesa: more detailed error messages in fbo code
2009-10-23 18:31:02 -06:00
Zack Rusin
b17c885a8a
st/xorg: fix text with component alpha rendering
2009-10-23 19:39:16 -04:00
Eric Anholt
49d402e275
Merge remote branch 'origin/mesa_7_6_branch'
...
Conflicts:
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_tex_copy.c
src/mesa/drivers/dri/intel/intel_tex_image.c
2009-10-23 15:21:05 -07:00
Eric Anholt
bfd51dc34d
i965: Annotate _NEW_COLOR dependency for brw_update_renderbuffer_surface().
2009-10-23 14:13:57 -07:00
Christoph Bumiller
683722740c
nv50: do SIGN_SET as one instruction
2009-10-23 22:24:13 +02:00
Christoph Bumiller
99e728a13e
nv50: fix saturation outside of tx_insn case
2009-10-23 22:24:09 +02:00
Christoph Bumiller
ad67326f12
nv50: allow all 127 TEMP regs
...
We should really learn to not waste so many though.
2009-10-23 22:24:03 +02:00
Christoph Bumiller
c738c9ab67
nv50: fix address reg code
...
Contained some rather obvious thinking errors before,
and didn't consider offsets from TGSI ADDRESS regs.
2009-10-23 22:17:44 +02:00
Christoph Bumiller
255a90a7bd
nv50: add depth texture formats, and a few others, too
2009-10-23 22:17:34 +02:00
Vinson Lee
952bf63e2c
progs/tests: Fix MSVC build.
2009-10-23 13:49:13 -06:00
Patrice Mandin
d9014a13e7
nouveau: nv30: Relax some limits. We can render to z24s8 buffer even if color buffer is 16 bits.
2009-10-23 18:42:21 +02:00
Patrice Mandin
c84a056764
nouveau: nv30: use r5g6b5 as z16 format
2009-10-23 18:40:13 +02:00
Chia-I Wu
6e99e6ddbf
glapi: Always build libglapi.a.
...
This is made possible by making glapioffsets.h and glapidispatch.h
internal headers of glapi. They should only be included indirectly
through dispatch.h by mesa.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-23 09:10:04 -06:00
Chia-I Wu
22884db174
glapi: Move dispatch marcos to glapidispatch.h.
...
dispatch.h is kept as a wrapper to glapidispatch.h.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-23 09:10:04 -06:00
Chia-I Wu
3d16088ff0
mesa/dri: Remove extension_helper.h.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-23 09:10:04 -06:00
Chia-I Wu
17ef1f6074
mesa: Enable remap table in core.
...
This enables the remap table in core. driInitExtensions is adapted to
use the remap table. All uses of extension_helper.h are replaced by
remap_helper.h. The chicken-egg problem of the DRI drivers is also
solved.
It is now also possible to pass NULL extensions to driInitExtensions.
It will cause driInitExtensions to map all known functions. This
functionality is used by software drivers and EGL_i915.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-23 09:10:04 -06:00
Chia-I Wu
d7d3fb925b
mesa/main: Add support for remap table.
...
This commit only adds the source files. It is supposed to replace the
remap table in DRI drivers.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-23 09:10:04 -06:00
Zack Rusin
bec5230a1f
st/xorg: lots of fixes related to compositing
...
fixes transformations, rendering with multiple bound textures, xrender
matrix conversions plus some cleanups
2009-10-23 11:11:00 -04:00
Andre Maasikas
d4d4733e6c
r600: remove duplicate stride setting
...
Stride is set already in r700SetVertexFormat and there it works
correctly for 0 also
2009-10-23 17:16:46 +03:00
Andre Maasikas
738b394769
r600: for position invariant programs reading vert_pos is not always known at this point
2009-10-23 17:16:23 +03:00
Keith Whitwell
da253319f9
gallium: remove extended negate also, and also the ExtSwz token
...
Likewise, the extended negate functionality hasn't been
used since mesa switched to using tgsi_ureg to build programs,
and has been translating the SWZ opcode internally to a single MAD.
2009-10-23 14:50:02 +01:00
Keith Whitwell
8a571b809a
cell: typo from ExtSwizzle commit
2009-10-23 14:38:30 +01:00
Keith Whitwell
b9cb74c7f8
gallium: remove the swizzling parts of ExtSwizzle
...
These haven't been used by the mesa state tracker since the
conversion to tgsi_ureg, and it seems that none of the
other state trackers are using it either.
This helps simplify one of the biggest suprises when starting off with
TGSI shaders.
2009-10-23 14:31:24 +01:00
Keith Whitwell
4e1d51786e
gallium: remove noise opcodes
...
Provide a dummy implementation in the GL state tracker (move 0.5 to
the destination regs).
At some point, a motivated person could add a better
implementation of noise. Currently not even the nvidia
binary drivers do anything more than this. In any case, the
place to do this is in the GL state tracker, not the poor
driver.
2009-10-23 13:56:07 +01:00
Keith Whitwell
19403935aa
progs/demos: add fps to multiarb
2009-10-23 13:56:07 +01:00
Cooper Yuan
9b6c86b8be
r300g: last changes's typo, miss a include file
2009-10-23 16:40:31 +08:00
Cooper Yuan
6df12aad2f
r300g: add flush_frontbuffer function to display video surface
2009-10-23 14:46:29 +08:00
Cooper Yuan
0072a26662
g3dvl: pass display and screen to g3dvl when creating video private context
2009-10-23 14:44:27 +08:00
Alex Deucher
45eb9d2f6d
r600: remove remains of old tnl pipeline
2009-10-23 01:01:19 -04:00
Alex Deucher
fc38a3cfe8
r600: fix render size prediction
2009-10-23 01:01:19 -04:00
Alex Deucher
614e8f2203
r600: remove old tnl pipeline
2009-10-23 01:01:19 -04:00
Alex Deucher
95328c7cf9
r600: clean up context creation
...
Make it more consistent with other radeon drivers.
2009-10-23 01:01:18 -04:00
Ian Romanick
286611d990
Revert "Store clipping distance for user clip planes as part of vertex processing"
...
This reverts commit f058b25881 .
This change is completely wrong in so many ways. When clip distances
are generated as part of vertex processing, they must be interpolated
to perform clipping. Geometric clipping goes right out the window.
2009-10-22 19:21:21 -07:00
Brian Paul
1160acbfea
dri/drivers: update driNewRenderbuffer() to take a gl_format
...
Now pass a specific MESA_FORMAT_x token to indicate the renderbuffer's
format. This is better than passing a GLenum and having to guess the
specific format.
I'm unable to test all the drivers, but any issues should be easy to fix.
2009-10-22 19:57:32 -06:00
Brian Paul
cf0e25d4c8
radeon: simplify radeon_create_renderbuffer()
2009-10-22 19:57:06 -06:00
Brian Paul
ab9d1011f5
Merge branch 'mesa_7_6_branch'
2009-10-22 18:38:19 -06:00
Brian Paul
347fb3737b
docs: document 'useprog' debug option
2009-10-22 18:35:13 -06:00
Brian Paul
fdce832437
mesa: fix up vbo comments
2009-10-22 18:35:13 -06:00
Brian Paul
488e67bab2
mesa: added _mesa_dump_texture()
2009-10-22 18:35:12 -06:00
Zack Rusin
fb22e80169
st/xorg: fix the makefile when used with new xextproto
2009-10-22 19:33:04 -04:00
Corbin Simpson
04ec113e09
r300g: Enable more stuff in r300_screen, cleanup comments.
...
Also enable 24-bit depth buffers without stencil.
2009-10-22 14:29:48 -07:00
Corbin Simpson
ff9e1c0198
r300g: Cleanup PSC setup math a bit and stop using Draw formats.
2009-10-22 14:29:48 -07:00
Christoph Bumiller
198925caa1
nv50: handle PIPE_TEX_FILTER_ANISO case
...
Set the same bits as for linear filtering (in addition
to max anisotropy), and 2 unknown bits I've seen set.
2009-10-22 23:05:12 +02:00
Patrice Mandin
4b8de9bd7c
nouveau: nv30: rewrite so we can render only in depth buffer
2009-10-22 22:01:53 +02:00
Patrice Mandin
f9a69c0f04
nouveau: nv30: use a8r8g8b8 as depth texture format for z24s8
2009-10-22 22:00:46 +02:00
Corbin Simpson
fd7ee2bcb7
Kill off trident.
...
Hm. I could have said "chew trident and spit it out," or perhaps
"spear trident," instead. Dohoho.
2009-10-22 12:57:13 -07:00
Corbin Simpson
8e4657a9d4
Nuke s3v.
...
As per FDO #17889 .
2009-10-22 12:29:30 -07:00
Corbin Simpson
06e464c2d5
r300g: Clean up duplicate code in r300_render.
2009-10-22 11:50:51 -07:00
Corbin Simpson
1f7f9bab81
r300g: Move render functions to r300_render.
...
Part of the fastpath cleanup.
2009-10-22 11:50:51 -07:00
Alex Deucher
dd36006a4e
r600: fix depth span macros for format changes
2009-10-22 14:48:45 -04:00
Brian Paul
eb1b8ed148
radeon: fix some renderbuffer format bugs
2009-10-22 12:26:17 -06:00
José Fonseca
bf48447caf
scons: Hack LLVM support on Windows.
...
Doesn't quite work yet though, as small differences in the compilation flags
used when building LLVM and Mesa cause link failures for STL symbols.
2009-10-22 19:12:14 +01:00
José Fonseca
719984afca
llvmpipe: Avoid yet another variable size array.
2009-10-22 19:12:14 +01:00
José Fonseca
ba8c11923a
llvmpipe: Define rdtsc for MSVC.
2009-10-22 19:12:14 +01:00
José Fonseca
9aafa1fbd2
llvmpipe: Avoid variable size arrays.
...
Not really variable size, but MSVC still doesn't like them.
2009-10-22 19:12:14 +01:00
José Fonseca
01b85e2923
llvmpipe: Use the pack/unpack functions for 8bit unsigned norm multiplication.
2009-10-22 19:12:13 +01:00
José Fonseca
4458695bda
llvmpipe: Utility function to double the bit width of a type.
2009-10-22 19:12:13 +01:00
José Fonseca
421507de06
llvmpipe: Factor vector packing/unpacking to a separate source file.
...
These functions will be needed to implement many of the 8bit operations,
and they are quite complex on its own.
2009-10-22 19:12:13 +01:00
José Fonseca
a07437f8a6
llvmpipe: Call util_cpu_detect() from the unit tests.
2009-10-22 19:12:13 +01:00
José Fonseca
4797ce0d19
util: Set cpu endianness too.
2009-10-22 19:12:13 +01:00
José Fonseca
1acd891ed3
scons: Disable more MSVC pedantic security warnings.
2009-10-22 19:12:12 +01:00
Alex Deucher
f8bee0e412
Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa
2009-10-22 12:29:36 -04:00
Zack Rusin
1f5b568fbe
st/xorg: cleanup the checks for whether the op is accelerated
2009-10-22 12:21:35 -04:00
Alex Deucher
5e77b61e39
Merge branch 'mesa_7_6_branch' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa
2009-10-22 12:02:31 -04:00
Zack Rusin
c4af8ce69e
st/xorg: lots of render fixes
...
fixes all the blend modes, fixes flushing/finishing semantics, adds
acceleration for the component alpha modes that we can support, fixes
src in mask shader and general cleanups
2009-10-22 11:53:10 -04:00
Chia-I Wu
4e2bdd6635
progs/egl: Add support for pixmap and pbuffer surface to xeglgears.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-22 09:33:27 -06:00
Chia-I Wu
60cf250d47
egl_glx: Add support for eglWaitClient and eglWaitNative.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-22 09:33:27 -06:00
Chia-I Wu
7ffe64a7ae
egl_glx: Clean up eglGetProcAddress.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-22 09:33:27 -06:00
Chia-I Wu
a206436577
egl_glx: Clean up context functions.
...
This lifts the requirement that a context must be direct.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-22 09:33:27 -06:00
Chia-I Wu
c407c70244
egl_glx: Clean up surface functions.
...
Separete Drawable and GLXDrawable. Add support for pbuffer and pixmap
surfaces on GLX <= 1.3. Remove surface binding code that will never
work.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-22 09:33:27 -06:00
Chia-I Wu
78c3a351bc
egl_glx: Clean up the initialization code.
...
Proper detection of GLX extensions. Convert fbconfigs or visuals in a
more unified way and validate the resulting configs.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-22 09:33:27 -06:00
Chia-I Wu
326baecd75
egl: Correct conversion of native visual type.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-22 09:33:27 -06:00
Ben Skeggs
eebf4b5299
nv50: support 3D class 0x8597, remove redundant unknown chipset detection
2009-10-22 21:56:32 +10:00
Corbin Simpson
511bd5f32b
r300g: Check for NULL Draw during flush.
...
Split from the fastpath WIP.
2009-10-22 00:21:08 -07:00
Corbin Simpson
0a8cd4862c
r300g: Update comments, function names in r300_state_inlines.
2009-10-21 23:26:02 -07:00
Corbin Simpson
034db65f08
r300g: Update comments, asserts, indents in r300_texture.
...
I wish I knew enough about textures to really really REALLY fix that file.
2009-10-21 23:23:37 -07:00
Corbin Simpson
5a653ada41
r300g: Remove unused debug flag.
2009-10-21 22:54:52 -07:00
Corbin Simpson
40247d87d2
r300g: Cleanup old static shader state.
2009-10-21 22:53:37 -07:00
Brian Paul
82ffc5884c
progs/tests: draw Z values as luminance, no pixel zoom
2009-10-21 21:51:19 -06:00
Brian Paul
3c68560866
i915: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24
...
And change parameter type.
2009-10-21 21:48:03 -06:00
Brian Paul
6e1ddd34c6
radeon: get rid of z24s8 <-> s8z24 conversions in span code
...
Can just use s8z24 everywhere.
Note: the WRITE_DEPTH macro for R600 may need to be fixed.
2009-10-21 21:20:05 -06:00
Brian Paul
c18b022d0d
radeon: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24
...
Core Mesa deals with MESA_FORMAT_S8_Z24 everywhere it should so
we shouldn't have to use MESA_FORMAT_Z24_S8 anymore.
2009-10-21 21:14:44 -06:00
Brian Paul
68d94a608a
intel: use MESA_FORMAT_S8_Z24 format and avoid z24s8/s8z24 conversions
2009-10-21 20:02:33 -06:00
Brian Paul
4bd70b5cff
i965: change parameter type to gl_format
2009-10-21 20:00:43 -06:00
Brian Paul
c55b355fd4
mesa: use MESA_FORMAT_X8_Z24
2009-10-21 19:58:00 -06:00
Brian Paul
832f29770d
mesa: use MESA_FORMAT_X8_Z24 format
2009-10-21 19:56:18 -06:00
Brian Paul
e4c700dbbf
mesa: added MESA_FORMAT_X8_Z24 format
...
24-bit Z in 32-bit pixel. We could probably use the MESA_FORMAT_S8_Z24
format but this there's a few places where we explicitly don't want stencil.
This format may go away at some point in the future.
2009-10-21 19:55:44 -06:00
Marc Dietrich
b2b239691d
gallium/util: fix cpu detection on ppc
...
As we are compiling with -D_BSD_SOURCE, sigjmp_buf and siglongjmp
should be replaced by the non-sig functions (see man 3 setjmp).
Tested on linux/cell.
2009-10-21 15:15:03 -06:00
Brian Paul
2cc5a0e6bb
mesa: added _mesa_dump_renderbuffers() debug code
2009-10-21 15:14:30 -06:00
Patrice Mandin
d364f662c6
nouveau: nv30: Do not use assert to return NULL
2009-10-21 22:01:03 +02:00
Patrice Mandin
cb351bdd6e
nouveau: nv30: check number of colour buffers to bind
2009-10-21 21:56:09 +02:00
José Fonseca
ce98860012
llvmpipe: Remove extraneous name in lp_type pre-declaration.
2009-10-21 15:53:37 +01:00
Corbin Simpson
3b8dad47f8
r300g: No debug in r300_state.
2009-10-21 06:52:25 -07:00
Corbin Simpson
6a448a525b
r300g: Cleanup header includes.
2009-10-21 06:52:25 -07:00
Corbin Simpson
babadb8bb9
r300g: Don't use getenv; use debug_get_*_option instead.
2009-10-21 06:52:24 -07:00
Corbin Simpson
5a0598f235
r300g: Don't use the hashtable internally.
...
As osiris pointed out, glxgears slowly gets slower for some reason
when it's enabled, and it's not helping at the moment, so just turn
it off.
2009-10-21 06:52:24 -07:00
Corbin Simpson
b589e39809
r300g: Examine vertex attribute type on HW TCL too.
2009-10-21 06:52:23 -07:00
Corbin Simpson
b21df2620e
r300g: Also kill r300_shader_inlines with fire.
2009-10-21 06:52:23 -07:00
Corbin Simpson
58abfebaad
r300g: Kill r300_surface with fire.
...
If you really want to see it again, check the history.
2009-10-21 06:52:22 -07:00
Eric Anholt
d56125a298
intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS).
...
Bug #24435
2009-10-20 14:52:58 -07:00
Eric Anholt
cbd20e18a0
meta: Fix the BufferSubData in meta clear to be BufferData.
...
Fixes a 3.4% +/- 1.3% performance regression in my GL demo (n=3). The
other meta code could probably also use the same treatment.
2009-10-20 13:07:49 -07:00
Jakob Bornecrantz
478332b0c1
st/xorg: Move drm init to own function
2009-10-20 18:11:51 +02:00
Jakob Bornecrantz
fc07ca004a
trace: Check for destroy before calling it
2009-10-20 17:19:05 +02:00
Jakob Bornecrantz
a9f71b3bba
st/xorg: Cleanly shutdown
2009-10-20 17:19:04 +02:00
Jakob Bornecrantz
5f8f14e5ca
st/xorg: Remove output functions not used
2009-10-19 07:52:16 +02:00
Zack Rusin
b7fbcfdb3b
st/xorg: makefile garbage
2009-10-19 23:48:38 -04:00
Zack Rusin
a39a3cc14e
st/xorg: implement basic src/mask transformations
...
plus fix filters
2009-10-19 23:45:31 -04:00
Corbin Simpson
e5f1f6a0be
r300g: Demonstratory kludge to unbreak glxgears.
...
We *must* recalculate something in vformat every rebind; let's see
if we can't narrow it down a bit.
2009-10-19 14:43:33 -07:00
Corbin Simpson
973aab1a52
dri-st: Add EXT_provoking_vertex.
...
Hm, I could have sworn I did this before?
2009-10-19 14:43:32 -07:00
Jakob Bornecrantz
e1b39c673d
st/xorg: Switch to set_mode_major
2009-10-18 15:46:25 +02:00
Jakob Bornecrantz
846da0bfda
st/xorg: Massivly redo root pixmap creation
2009-10-18 15:46:25 +02:00
Jakob Bornecrantz
e9e6152cb3
st/xorg: Clean up cursor functions a bit
2009-10-18 15:46:25 +02:00
Jakob Bornecrantz
b8843c6056
st/xorg: Support more then one output of a given type
2009-10-18 15:46:24 +02:00
Jakob Bornecrantz
68b5dc9634
st/xorg: Change how disable accel is handled
2009-10-18 15:46:24 +02:00
Christoph Bumiller
ec5c23551c
nv50: add support for address regs
...
Allow indirect uniform access and increase the
limit on parameters from 128 to 512.
2009-10-19 18:25:09 +02:00
Christoph Bumiller
eb7ea97e7f
nv50: cleanup emit_kil
2009-10-19 18:25:09 +02:00
Christoph Bumiller
2eef2017ac
nv50: implement TGSI_OPCODE_CMP
2009-10-19 18:25:09 +02:00
Christoph Bumiller
f204eb1842
nv50: quick fix for insn src negation
...
We only have a per nv50_reg negation flag, if an
nv50_reg is used more than once in a TGSI op with
different sign modes, we'd generate wrong code.
We probably can't do much better without more
invasive changes.
2009-10-19 18:25:09 +02:00
Christoph Bumiller
1635e8d6f4
nv50: add support for DDX and DDY opcodes
2009-10-19 18:25:09 +02:00
Christoph Bumiller
c0e80cf0e9
nv50: submit user vbo data through the fifo
...
Requesting a new real buffer from the kernel and
copying all the data is wasteful e.g. if only a
few (but widely spread) vertices are accessed.
2009-10-19 18:25:08 +02:00
Christoph Bumiller
fba2eabe13
nv50: use SIFC for TIC, TSC upload
...
Add proper flushes for TIC and TSC and remove
the costly 2D.0110 flush in nv50_flush.
Correct TIC and TSC bo sizes.
2009-10-19 18:25:08 +02:00
Christoph Bumiller
6ab2fcca9d
nv50: nicer texture format switch
...
Similar to nv40.
2009-10-19 18:25:08 +02:00
Alex Deucher
620270c76e
Merge branch 'mesa_7_6_branch' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa
...
regenerated lex.yy.c
2009-10-19 12:10:59 -04:00
Ben Skeggs
35b98e2884
nouveau: implement is_{texture,buffer}_referenced properly
2009-10-19 09:49:02 +10:00
Ben Skeggs
869d3eea37
drm/nv50: write tic/tsc setup to correct slots when skipping units
2009-10-19 09:49:02 +10:00
Corbin Simpson
16a06fea73
r300g: Fix up a bunch of warnings.
2009-10-18 16:09:01 -07:00
Corbin Simpson
d2e29b502e
r300g: Add another ZTOP condition.
...
I don't even know if texkill works right now.
2009-10-18 10:30:18 -07:00
José Fonseca
838da1d4ae
llvmpipe: Allocate texture storage for whole quads.
2009-10-18 14:31:58 +01:00
Corbin Simpson
bb567357bc
gallium: Permit surface_copy and surface_fill to be NULL.
...
Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc.
please make sure you are not broken, and fix yourself up if you are.
There were only two or three places where the code did not have painful
fallbacks, so I would advise st maintainers to find less painful workarounds,
or consider overhauling util_surface_copy and util_surface_fill.
Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is.
I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
2009-10-17 21:32:56 -07:00
Corbin Simpson
bfd877e470
r300g: Squash format warning.
...
Won't ever be supported.
2009-10-17 20:53:19 -07:00
Corbin Simpson
11056ca86f
r300g: Use a dirty test to bring framerate back up.
...
This is just split out from the next commit, that's all.
2009-10-17 20:47:45 -07:00
Corbin Simpson
51173e4e53
r300g: Also have rs_block keyed to the current shader combo.
...
Eliminates part of the glxgears corruption here. Need to clean up PSC more,
to get rid of the rest of it.
2009-10-17 20:29:27 -07:00
Corbin Simpson
ce9ae4a483
r300g: Fix u_hash_table rename.
2009-10-17 20:05:23 -07:00
Corbin Simpson
4a98d19d1b
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa
2009-10-17 19:58:23 -07:00
Patrice Mandin
114417a2f5
nouveau: nv40: Use same workaround as i915 for segfault related to vbo
2009-10-17 20:49:18 +02:00
Patrice Mandin
66aab9a1f6
nouveau: nv30: Remove duplicate case. Was a typo for X8R8G8B8, but that will never be use for front buffer.
2009-10-17 20:46:19 +02:00
Patrice Mandin
67356ae047
nouveau: nv30: Use same workaround as i915 for segfault related to vbo
2009-10-17 20:27:24 +02:00
José Fonseca
5d42e3988d
util: Rename from u_* to util_* while we're at it.
...
To be consistent with the rest.
2009-10-17 11:45:04 +01:00
Chris Wilson
60a39b6799
intel: Disallow relocations to the byte beyond the end of the buffer
2009-10-17 08:26:54 +01:00
Brian Paul
a335d334d4
mesa: fix/update some comments
2009-10-16 13:07:43 -06:00
Brian Paul
f094b86bb5
mesa: lift default symlinks target into Makefile.template
...
Driver Makefiles can still add symlink dependencies/rules if needed.
2009-10-16 13:07:43 -06:00
Brian Paul
db2046580f
mesa: use EXTRA_MODULES and SUBDIRS to build r300 compiler
...
This is a bit cleaner and avoids rebuilding the r300_dri.so library all
the time.
2009-10-16 13:07:43 -06:00
Brian Paul
d9fd207133
mesa: added SUBDIRS support in dri/Makefile.template
2009-10-16 13:07:43 -06:00
Brian Paul
f0503726bf
mesa: move a comma
2009-10-16 13:07:43 -06:00
Brian Paul
2ee7fd8d58
mesa: added MESA_GLSL=useprog debug flag
...
This logs glUseProgram() calls to stderr.
2009-10-16 13:07:43 -06:00
Corbin Simpson
3e56bef5a5
radeon-gallium: Use debug_get_bool_option instead of getenv.
2009-10-16 09:45:07 -07:00
Corbin Simpson
fc8a156cfc
r300g: Use a hash table to look up vertex info.
...
Need to move rs_block to this, too.
Also, I'm getting massive amounts of flicker for some reason; I bet we've gotta
re-re-examine PSC and friends. :C
2009-10-16 08:43:02 -07:00
Corbin Simpson
3924d86115
util: Change function names to begin with u_.
...
Avoids link-time clashes with Mesa's internal hash table.
2009-10-16 08:43:02 -07:00
José Fonseca
166957abeb
progs/tests: Use rand() instead of random().
...
Forgot these on previous commit.
2009-10-16 11:42:13 +01:00
José Fonseca
699260b195
progs/tests: Use rand() instead of random().
...
More portable. Same implementation on Linux.
2009-10-16 11:39:29 +01:00
Vinson Lee
60b6c74583
prog/tests: Fix MSVC build.
2009-10-16 11:36:09 +01:00
Corbin Simpson
e4f21be13a
r300g: Set logical ID for each emitted texture/sampler.
...
multitexarray works on my r300, but texrect doesn't.
2009-10-15 16:58:26 -07:00
Brian Paul
fa3046431a
dri/common: updated #includes
2009-10-15 14:57:45 -06:00
Brian Paul
a37c9ac8ee
dri/common: use _mesa_little_endian() and update comments
2009-10-15 14:54:32 -06:00
Brian Paul
9bf2aa3329
dri/common: fix broken _dri_texformat_* initializations
2009-10-15 14:49:53 -06:00
Patrice Mandin
a5a05fd782
nouveau: nv30: Hack to enforce same number of bits as front buffer, for render targets
2009-10-15 22:41:09 +02:00
Patrice Mandin
13580aa3d1
nouveau: nv30: refuse binding a colour buffer with a zeta buffer with different bits, till the backend can tell Mesa not to do that.
2009-10-15 21:58:44 +02:00
Zack Rusin
108273c5ed
st/xorg: refix source over
2009-10-15 15:23:04 -04:00
Brian Paul
5b7d9053a0
progs/egl: put declarations before code
2009-10-15 13:00:03 -06:00
Chia-I Wu
6c21c8862b
egl: Rework the synchronization primitives.
...
This adds error checking to the synchronization primitives. And
eglWaitGL is now implemented by eglWaitClient.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-15 12:54:00 -06:00
Chia-I Wu
57da499d7b
egl: Rework eglSwapInterval.
...
This adds error checking to eglSwapInterval and clamps the swap
interval.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-15 12:54:00 -06:00
Chia-I Wu
bbfd0e2615
egl: Rework error checking in eglSwapBuffers.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-15 12:53:58 -06:00
Chia-I Wu
aaa1253b09
egl: Update comments about eglapi.c.
...
Mention that opaque handles are looked up and checked.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-15 12:53:57 -06:00
Chia-I Wu
6190663120
egl: Rework error checking in eglGetCurrentSurface.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-15 12:53:57 -06:00
Chia-I Wu
8bb2485ed0
egl: Include GL header in eglconfigutil.h.
...
This is just a cosmetic change.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-15 12:53:56 -06:00
Chia-I Wu
29d115092e
egl: Fix GLX_USE_TLS build.
...
Remove an extraneous semicolon.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-15 12:53:56 -06:00
Chia-I Wu
2fc1614e7a
egl: Fix eglCheckConfigHandle.
...
A stupid bug by me made the check void.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-15 12:53:55 -06:00
Brian Paul
c47b03ebeb
radeon: initialize renderbuffer Format field in radeon_create_renderbuffer()
...
Plus, use MESA_FORMAT_S8_Z24 everywhere.
2009-10-14 13:15:05 -06:00
Jakob Bornecrantz
72fd1cf292
trace: Handle transfer returning null
2009-10-14 11:44:09 +02:00
Zack Rusin
074e069910
st/xorg: fix most of the composition modes
2009-10-15 00:06:43 -04:00
Corbin Simpson
a82fc97c64
r300g: Move ZTOP to its own state atom.
...
It may seem pointless, but this avoids a fair amount of predicted CSO pain.
2009-10-14 20:06:38 -07:00
Brian Paul
91bd87c06e
progs/demos: try different depth formats in fbo_firecube.c
2009-10-14 19:13:32 -06:00
Brian Paul
85fb3e4027
docs: document more MESA_GLSL env var options
2009-10-14 19:09:08 -06:00
Brian Paul
24e2f61469
mesa: assorted top-level Makefile clean-ups
2009-10-14 19:09:08 -06:00
Brian Paul
2fd5cb7133
mesa: added VERBOSE_SWAPBUFFERS
2009-10-14 19:08:39 -06:00
Brian Paul
f9784072fe
vbo: clean-ups, reformatting
2009-10-14 19:08:38 -06:00
Brian Paul
ade1cc9924
mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.
2009-10-14 19:08:38 -06:00
Brian Paul
d9099f8602
mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
2009-10-14 19:08:38 -06:00
Brian Paul
73fc0ca4c3
mesa: remove unused ctx->Driver.PrioritizeTextures() hook
2009-10-14 19:08:38 -06:00
Brian Paul
0187e042b6
mesa: remove unused ctx->Driver.TextureMatrix() hook
2009-10-14 19:08:38 -06:00
Jakob Bornecrantz
ef067b5f01
st/xorg: Fix dpms include problems
2009-10-13 19:16:21 +02:00
Jakob Bornecrantz
5c4bdbd825
autoconf: Fix case for not having package
2009-10-15 01:25:48 +01:00
Zack Rusin
59cf40059a
st/xorg: get transparency on fills working (fixes Qt/KDE apps)
2009-10-14 19:04:29 -04:00
Jakob Bornecrantz
96c9b39a6a
i915g: Fix warnings
2009-10-14 23:05:55 +01:00
Alex Deucher
f22c427bd6
r600: enable EXT_vertex_array_bgra extensions
2009-10-14 14:19:12 -04:00
José Fonseca
3ce3c03257
util: Fix cpu detection on Windows. Cleanup.
2009-10-14 17:27:06 +01:00
José Fonseca
4046c3bab4
llvmpipe: Use ALIGN_STACK.
2009-10-14 17:24:22 +01:00
José Fonseca
68edb4eac5
gallium: New ALIGN_STACK macro to tell gcc to align stack pointer.
2009-10-14 17:24:22 +01:00
José Fonseca
5ba645f0fb
scons: Disable SSE intrinsics on MinGW.
...
-mstackrealign causes stack corruption on MinGW. And without it the ability
to use SSE instrinsics goes down the drain. Even if we use
__attribute__((force_align_arg_pointer)) for the functions we explicitly
use SSE instrinsics, the SSE code automatically generated by gcc will
cause assertion failures. What a nightmare.
Thankfully LLVM gets this right, so all runtime generated SSE code just
works. rtasm code doesn't assume 16byte alignment. Therefore the bulk of
our performance sensitive code is not affected by this.
Still, intrinsics can be convenient, and it would be nice
to get this working again some day, sp will try to get a reduced test
case.
2009-10-14 17:24:21 +01:00
Brian Paul
9fd7e9ef05
Merge branch 'mesa_7_6_branch'
2009-10-14 09:40:05 -06:00
Brian Paul
ce3801ab87
Merge branch 'mesa_7_6_branch'
2009-10-14 09:22:30 -06:00
Brian Paul
98eb7a14a4
mesa: remove left-over debug printf
2009-10-14 07:52:39 -06:00
Vinson Lee
ea862ec8ff
prog/tests: Fix MSVC build.
2009-10-14 07:52:39 -06:00
Corbin Simpson
fd63f89e95
r300g: Move ztop to derived state.
...
Need to get it into its own atom instead of piggybacking on DSA.
2009-10-14 03:09:41 -07:00
Corbin Simpson
f13e507798
r300g: Compiler warning cleanup.
2009-10-14 01:58:18 -07:00
Dave Airlie
88b697fb0a
r300g: remove buffer add that should be unnecessary.
...
This should be handled in the emit fine
2009-10-14 18:24:34 +10:00
Dave Airlie
fa581580b1
r300g: add QUERY to KITCHEN_SINK
...
I missed this, thanks to Corbin for pointing it out.
2009-10-14 18:24:05 +10:00
Dave Airlie
ce5cba040c
r300g: add one more ZTOP disable bit.
...
Still missing the frag uses kill support, hopefully nha can point that out.
2009-10-14 18:05:14 +10:00
Dave Airlie
51d1cf55da
r300g: port over last parts of oq support.
...
Add support for begin/end in each CS so we don't get any other
processes rendering in between.
TODO:
blame other parts of driver for this not working like Z.
2009-10-14 17:44:19 +10:00
Dave Airlie
47791697ab
r300g: convert query to a state for emitting.
...
This means we don't emit in the begin query but when we have
to flush. Similiar to classic.
TODO:
make query object actually work.
2009-10-14 17:14:43 +10:00
Dave Airlie
c1bee7bdea
r300g: fixup arb occulsion query support.
...
1: add rv530 support
- num z pipes cap
- add proper start/finish query options for rv530
2: convert to use linked list properly.
3: add flushing required check.
4: initial Z top disabling support.
TODO:
make it actually work on my rv530.
2009-10-14 16:53:12 +10:00
Dave Airlie
210481ae16
r300g: attempt to make bo space check sane.
...
This attempts to make r300g do proper bo space checking as opposed
to whatever it was doing now.
Signed-off-by: Dave Airlie <airlied@redhat.com >
2009-10-14 15:13:25 +10:00
Dave Airlie
23c0c820e2
r300g: fix case where texture unit 0 is disabled but unit 1 is enabled.
...
to reproduce, start texrect, disable 0 texture in menu.
Signed-off-by: Dave Airlie <airlied@redhat.com >
2009-10-14 11:42:05 +10:00
Brian Paul
220f72a8d0
mesa: minor tweak to printf string
2009-10-13 16:33:36 -06:00
Brian Paul
435623b3f0
mesa: rework _mesa_read_shader() debug hook
...
Look for shaders named "newshader_<CHECKSUM>" to replace the incoming
shader text. For debug purposes.
2009-10-13 16:33:36 -06:00
Brian Paul
dfefde38c7
mesa: don't print pointer in _mesa_fprint_parameter_list()
2009-10-13 16:33:36 -06:00
Ian Romanick
f058b25881
Store clipping distance for user clip planes as part of vertex processing
...
Once the clipping distance is calculated and stored per vertex, the
distances can be re-used when clipping is actually performed. This
doesn't have any immediate benefit, but it paves the way for
implementing gl_ClipDistance in vertex shaders and result.clip[] in
vertex programs.
This has not produces any oglconform regressions on my G31 system
which uses software TNL.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
Reviewed-by: Brian Paul <brianp@vmware.com >
2009-10-13 15:15:20 -07:00
Patrice Mandin
cf33aaf8fe
nouveau: nv30: use texture width,height for render target dimensions
2009-10-13 22:53:32 +02:00
Chia-I Wu
f1c5cab552
egl: Improve logging facility.
...
Add _eglSetLogger and _eglSetLogLevel to allow drivers to change the
message logger or report level.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-13 12:00:37 -06:00
Chia-I Wu
310c76812e
egl: Allow binding to any client API.
...
As a result, EGL_NONE is no longer a valid client API. And it is
possible that no config supports the current bound API.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-13 12:00:36 -06:00
Chia-I Wu
e787ffcd02
egl: Preload a driver if eglGetProcAddress is called early.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-13 12:00:36 -06:00
Chia-I Wu
9061d733d3
egl: Remove core functions from eglGetProcAddress.
...
eglGetProcAddress may not be used to query core (non-extension)
functions.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-13 12:00:36 -06:00
Chia-I Wu
5541988578
egl: Add support for driver built-in.
...
This allows an EGL driver to be compiled together with libEGL.so. It
eliminates the need to specify a driver, or support module loading on
new platforms.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-10-13 12:00:36 -06:00
Zack Rusin
1cc1c3a033
st/xorg: solid fills with masks are supported
...
gradients are supported, but not enabled by default due to little
testing they got
2009-10-13 13:04:00 -04:00
Brian Paul
83f4e72009
intel: fix broken sw generate mipmap path
...
Need to restore code that fixed up the intel_texture_image state.
2009-10-13 10:38:34 -06:00
Zack Rusin
89bb33fb20
st/xorg: fix and enable by default xrender acceleration
...
src in mask was broken
2009-10-13 12:25:13 -04:00
Brian Paul
eefecf5d2a
mesa: whitespace fixes
2009-10-13 09:05:02 -06:00
Brian Paul
c8413351c3
mesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback()
...
We need to check that we can actually render to the texture's format
before doing mipmap generation.
This may fix bug 24219.
2009-10-13 09:05:02 -06:00
Corbin Simpson
ca8cafda0b
r300g: More debug flags.
2009-10-12 21:48:08 -07:00
Corbin Simpson
a4a4f7abc2
r300g: Surface debug.
...
It gets really annoying watching r300g tell me how it's filling surfaces.
Or falling back during filling surfaces.
2009-10-12 21:48:08 -07:00
Corbin Simpson
95a05621eb
r300g: Fallback on surfaces we can't render to or from.
...
Still not sure why st keeps handing down things we can't render to.
2009-10-12 21:48:07 -07:00
Corbin Simpson
36ccdf09b8
r300g: Prevent multiple-use textures from getting incorrectly approved.
2009-10-12 21:48:07 -07:00
Corbin Simpson
05fc9cdfdf
r300g: Clean up texture formats.
2009-10-12 21:48:07 -07:00
Brian Paul
3f928b3552
mesa: save/set/restore texture base/wrap state in blitframebuffer_texture()
2009-10-12 18:12:01 -06:00
Brian Paul
b5d6a8e88f
mesa: minor clean up in check_begin_texture_render()
2009-10-12 18:12:01 -06:00
Brian Paul
47a7535f41
intel: whitespace/formatting clean-up
2009-10-12 18:12:00 -06:00
Brian Paul
3732d0a77d
intel: replace extern decl with #include
2009-10-12 18:12:00 -06:00
Brian Paul
b9c2897957
intel: added INLINE keyword to minify()
...
This is mainly just to silence some warnings.
2009-10-12 18:12:00 -06:00
Brian Paul
c932e21fa8
intel: code clean-ups
2009-10-12 18:12:00 -06:00
Brian Paul
e6594a22f2
intel: pass zslice to intel_miptree_image_offset()
...
This lets us get rid of intel_miptree_depth_offsets() and simplify all
of the calling code.
2009-10-12 18:12:00 -06:00
Brian Paul
15d2ef6024
i965: remove unused var
2009-10-12 18:12:00 -06:00
Vinson Lee
96fd13c1a0
prog/tests: Fix MSVC build.
2009-10-12 18:05:23 -06:00
Brian Paul
6c1cd4c558
mesa: print program Id when printing
2009-10-12 18:05:23 -06:00
Patrice Mandin
a5348d435d
Add support for more 8 and 16 bits formats
2009-10-12 21:03:26 +02:00
Andre Maasikas
7a32c0a19e
r600: implement ProgramStringNotify
...
need this to properly test with piglit/glean vert/fragprog tests
copied mostly from r300, many thanks to osiris, nha, airlied, others...
2009-10-12 16:28:36 +03:00
Andre Maasikas
da66d9e12d
r600: LIT dst.y gets value from src.x
...
seems I overlooked this when removing hardcoded swizzles for this
one previously
2009-10-12 16:28:25 +03:00
Andre Maasikas
97dd35bd6f
r600: DPH adds w comp of second operand, so set first one to 1 instead
2009-10-12 16:28:16 +03:00
Zack Rusin
150d4968e3
st/xorg: initialize pipe in the renderer
2009-10-11 21:52:10 -04:00
Zack Rusin
319a588238
st/xorg: lots of rendering and xv changes
...
extract all the rendering code to xorg_rendedrer, make both exa and xv
share that code. in the process cleanup the rendering code and implement
a lot more of the xv infrastructure.
2009-10-11 20:02:47 -04:00
Zack Rusin
59ae3d5155
configs: fix some remains of the i915simple driver
2009-10-11 20:02:47 -04:00
Zack Rusin
4969d014e5
st/xorg: implement basics of xv
2009-10-11 20:02:47 -04:00
Nicolai Hähnle
f096cc7dc1
r300g: Fix fragment program constants upload on R300
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-11 12:41:18 +02:00
Dave Airlie
3611d01a44
r300g: fix blending default state + alpha separate.
...
this makes the default state same as r300
2009-10-11 19:30:23 +10:00
Vinson Lee
cbf46ed670
progs/perf: Fix MSVC build.
2009-10-10 10:45:16 -06:00
Brian Paul
57e3eb1b17
Merge branch 'mesa_7_6_branch'
2009-10-10 09:25:34 -06:00
Brian Paul
39daa763b5
softpipe: fix multi-drawbuffers regression
...
This is part of the fix for bug 24401.
2009-10-10 09:24:22 -06:00
Cooper Yuan
a74e53ddba
r300g: add video surface create and destroy functions
2009-10-10 14:41:44 +08:00
Brian Paul
45e76d2665
mesa: remove a bunch of gl_renderbuffer fields
...
_ActualFormat is replaced by Format (MESA_FORMAT_x).
ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are
all replaced by MESA_FORMAT_x queries.
2009-10-08 20:27:27 -06:00
Jakob Bornecrantz
db828ed758
st/xorg: Old X servers don't deal well with failing accesses
2009-10-08 14:54:38 +02:00
Jakob Bornecrantz
6d629d4aa2
st/xorg: More fallback debugging
...
Change the fallback debugging around a bit and do the old commit correctly
2009-10-08 14:50:40 +02:00
Jakob Bornecrantz
992b143b25
Revert "st/xorg: Debug fallbacks for composite as well"
...
This commit included a change that should have been in
its own commit, and turns out that you can do what was
suposed to go in it in much better way as well.
This reverts commit 5080e8bea6 .
2009-10-08 14:46:29 +02:00
Jakob Bornecrantz
5080e8bea6
st/xorg: Debug fallbacks for composite as well
2009-10-08 13:42:44 +02:00
Jakob Bornecrantz
552efdae06
st/xorg: Use A8 textures for depth 8 pixmaps
...
There is no hardware out there that can render to I8 textures.
2009-10-08 13:42:40 +02:00
Jakob Bornecrantz
a31d16cbfa
st/xorg: Fix depth stencil buffers on old X servers
...
Sanity checking is for the weak.
2009-10-08 13:42:31 +02:00
Vinson Lee
76d2ec3a0a
progs/tests: Add tests to Makefile.
2009-10-09 07:24:37 -06:00
Brian Paul
f36123323c
softpipe: restore/fix print_vertex() debug helper
2009-10-09 07:24:37 -06:00
Jakob Bornecrantz
023bab675a
progs/perf: Ignores!
2009-10-09 14:00:15 +01:00
José Fonseca
c595dea23c
util: Force ESI register for cpuid's ebx result.
...
Fixes a segfault and better code. Unfortunately using an arbitrary
register ("=r") causes the gcc to abort when the code is optimized saying
it can't satisfy the constraint. Setting seems to do the trick.
2009-10-09 13:22:42 +01:00
José Fonseca
69588d7ed5
llvmpipe: Eliminate constant mapping/unmapping.
2009-10-09 11:29:33 +01:00
José Fonseca
d54e9f54d0
progs: Remove unused empty file.
2009-10-09 11:08:17 +01:00
José Fonseca
b858257ca6
gdi: Fix the build when llvmpipe is requested (the default) but llvm is not present.
2009-10-09 11:08:17 +01:00
Andre Maasikas
44c6c20b69
r600: fixup KIL instruction a bit
...
- KILLGT takes 2 arguments
- arb KIL has no dst register
- add TODO about clause ending but currently piglit fp-kil passes and
does not hang the card
2009-10-09 11:52:48 +03:00
Brian Paul
90692486aa
docs: bump libdrm version requirement
...
Probably need to bump other version requirements too...
2009-10-08 20:49:36 -06:00
Eric Anholt
859828cc4f
mesa: Bump the required libdrm version to reflect reality.
...
Not all drivers require the latest version, but distros are good at
tracking it since we've got a good record as far as not regressing, and
it sure beats having a weird compile failure in someone else's driver
later on.
2009-10-08 17:18:12 -07:00
Eric Anholt
9b8d2e76c3
i965: Use bo_references for the state cache delete function.
...
This appears to shave about 3% off the CPU usage in cairo-gl for firefox.
2009-10-08 17:12:23 -07:00
Eric Anholt
193dddb04e
intel: Use new drm_intel_bo_references() to avoid flushing.
2009-10-08 17:12:23 -07:00
Brian Paul
f49d53594c
mesa: free display list state after freeing shared state
...
Fixes bug 24402.
2009-10-08 12:50:44 -06:00
Brian Paul
f67bc2e872
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/mesa/drivers/common/meta.c
2009-10-08 09:28:07 -06:00
Vinson Lee
f7455ad7af
progs/tests: Fix MSVC build.
2009-10-08 08:08:11 -06:00
Brian Paul
f001cc0981
mesa: clean up extended opcode code
2009-10-07 16:51:26 -06:00
Brian Paul
33e9ac20e3
mesa: move gl_list_instruction and gl_list_extensions to dlist.c
2009-10-07 16:41:18 -06:00
Brian Paul
15f05e97aa
mesa: added _mesa_free_display_list_data()
2009-10-07 16:32:25 -06:00
Brian Paul
fc995c7298
mesa: clean-up display list mem allocation, fix NULL handling
...
The -1 term in alloc_instruction() foiled later NULL pointer checks.
2009-10-07 16:22:24 -06:00
Brian Paul
77be195cf6
main: replace ALLOC_INSTRUCTION macro with regular function
2009-10-07 16:12:26 -06:00
Brian Paul
6e1697bee7
mesa: rename display list functions
...
_mesa_alloc_instruction() sounded like it was related to vertex/fragment
program instructions, but it wasn't.
2009-10-07 16:03:09 -06:00
Vinson Lee
0083d2e40a
i915g: Fix MSVC build.
2009-10-07 14:29:23 -06:00
Brian Paul
2b9418b278
softpipe: new comments
2009-10-07 13:30:48 -06:00
Brian Paul
0fb71be217
softpipe: whitespace and comment fixes
2009-10-07 13:21:57 -06:00
Brian Paul
9a0ff33ad6
softpipe: prefix non-static functions with sp_
2009-10-07 13:17:20 -06:00
Joakim Sindholt
cf6209b274
r300compiler: fix scons build again
2009-10-07 21:02:18 +02:00
Nicolai Hähnle
7ca7220ea1
Merge branch 'master' into r300g-glsl
...
Conflicts:
src/gallium/drivers/r300/r300_tgsi_to_rc.c
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-07 20:45:08 +02:00
Nicolai Hähnle
5b4c0b864a
Merge branch 'mesa_7_6_branch'
2009-10-07 20:39:22 +02:00
Keith Whitwell
3f5a316f36
util: do some more util_blit_pixels cases without temporaries
...
When the source surface is pointing at a 2d texture with only one
mipmap level, use that directly rather than creating a temporary.
Probably want to cover more cases, but this is a start.
2009-10-07 18:15:21 +01:00
Keith Whitwell
c0de2ed505
mesa/st: add missing mesa constant file name
...
There are many different names for constants in mesa, we were missing
one since the ureg rewrite.
2009-10-07 18:15:20 +01:00
Brian Paul
2ef1aae163
st/mesa: pass pipe_screen, not pipe_context to st_choose_format() functions
...
These don't depend on context state, but use a screen pointer.
2009-10-07 09:58:34 -06:00
Michel Dänzer
de81b2cf0a
st/dri: Add missing front buffer case in dri_get_buffers().
...
This seems to help for compiz at least with some drivers.
Also add an assert(0) to catch unhandled cases in the future.
2009-10-07 16:36:39 +02:00
Jakob Bornecrantz
0f0127f6f9
i915g: Use buffer write instead of map for lit vertices
2009-10-07 14:04:48 +01:00
Jakob Bornecrantz
f8ba93aefd
i915g: Change order of buffer_write arguments
...
They now follow the pipe_buffer_write style,
its the gallium driver that sets the interface not
the winsys.
2009-10-07 13:48:32 +01:00
Jakob Bornecrantz
030723fc5d
i915g: Disable vbuf fifo and minor commenting of vbuf code
...
The vbuf fifo doesn't appear to help once the libdrm
reuse flag has been set.
2009-10-07 13:48:32 +01:00
Brian Paul
74d61d03b5
mesa: added MESA_FORMAT_XRGB8888
2009-10-06 22:30:01 -06:00
Younes Manton
aec2c010f6
nv04-nv40: Fix swizzle transfers for NPOT sizes.
...
Workarounds not necessary, SIFM can handle NPOT, we just weren't setting
dst dimensions properly. SIFM can't handle odd w,h though, that still
needs fixing.
2009-10-06 22:11:07 -04:00
Brian Paul
c5b7254892
mesa: added case for MESA_FORMAT_SIGNED_RGBA_16
2009-10-06 19:01:43 -06:00
Brian Paul
c13b9a141d
mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffers
2009-10-06 19:00:09 -06:00
Brian Paul
f7b5e616e0
mesa: added _mesa_get_format_color_encoding()
2009-10-06 18:56:29 -06:00
Brian Paul
edfd2f7c4f
mesa: accept more pnames in _mesa_get_format_bits()
2009-10-06 18:54:13 -06:00
Vinson Lee
9c778a90ea
progs/tests: fix MSVC build.
2009-10-06 16:02:47 -06:00
Nicolai Hähnle
57abb76e10
r300/compiler: Fix R300 vertex program dumps
...
The source register field has 8 bits.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-06 21:24:44 +02:00
Nicolai Hähnle
bcfba138cc
r300/compiler: Fix yet another regression in register allocation
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-06 21:13:27 +02:00
Nicolai Hähnle
a09bd685da
r300/compiler: Fix a really stupid logic inversion in the generic dataflow code
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-06 20:25:07 +02:00
Nicolai Hähnle
9e42f0ebc7
r300/compiler: Fix regression in pair scheduling
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-06 20:08:32 +02:00
Vinson Lee
017fae04ec
progs/perf: Fix MSVC build.
2009-10-06 09:13:14 -06:00
Andre Maasikas
ec58dac86d
r600: r700PredictRenderSize can flush, so move index buffer setup after it
2009-10-06 16:17:03 +03:00
Ben Skeggs
340436d8d2
nv50: fix segfault when there's gaps in enabled texture units
...
Tested with progs/demos/multiarb.
2009-10-06 13:57:51 +10:00
Ben Skeggs
4911443d36
nouveau: fix buffer object leak
...
Very apparent with resizing windows on DRI2.
2009-10-06 13:31:43 +10:00
Jakob Bornecrantz
db8b363eb9
i915g: Add more defines to tweek batchbuffer
2009-10-06 03:09:16 +01:00
Jakob Bornecrantz
ce3c2b51a2
i915g: Tweek vertexbuffer size
2009-10-06 03:09:01 +01:00
Brian Paul
3e34a2a2b9
drivers: don't include texformat.h
...
And remove other unneeded #includes while we're at it.
2009-10-05 18:11:37 -06:00
Brian Paul
90cd968300
mesa: don't include texformat.h
2009-10-05 17:56:31 -06:00
Brian Paul
019bc97bd9
mesa: move _mesa_format_to_type_and_comps() to formats.c
2009-10-05 17:54:20 -06:00
Brian Paul
be0765cd6e
mesa: move gl_format_info struct to formats.c
...
This is a private datatype.
2009-10-05 17:50:36 -06:00
Brian Paul
7e7f38a67d
mesa: remove feature tests
2009-10-05 17:48:22 -06:00
Brian Paul
6ec3db6cab
mesa: use FetchTexelf() instead of FetchTexelc()
2009-10-05 17:28:39 -06:00
Brian Paul
41bee4cff5
mesa: add parenthesis
2009-10-05 17:27:50 -06:00
Brian Paul
1a2bb37264
mesa: lift _mesa_set_fetch_functions() calls out of drivers
...
Call it from in the main Mesa glTexImage functions.
2009-10-05 17:12:40 -06:00
Brian Paul
bbbf55fa84
mesa: make _mesa_get_texel_fetch_func() static
2009-10-05 16:52:26 -06:00
Brian Paul
722ae91722
i965g: remove 965/brw files from XLIB_WINSYS_SOURCES
2009-10-05 14:43:38 -06:00
Brian Paul
55770d09c1
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/gallium/auxiliary/util/u_cpu_detect.c
2009-10-05 14:42:08 -06:00
Jakob Bornecrantz
f00da2a3ff
i915g: Drop the simple sufix
...
None of the other driver have a silly sufix,
so just drop it. Nothing new added in this commit
or any other commit but this is better marketing.
2009-10-05 19:48:08 +01:00
Jakob Bornecrantz
c4b821a4c6
i965g: Drop i965simple
...
The driver never work with real hardware and has
bitrotted for quite some time now, might as well
drop it. If somebody wants to look at it just use git.
2009-10-05 19:48:03 +01:00
Joakim Sindholt
1f39d59a29
r300g: fix scons build
...
So I didn't touch r300compiler, but r300g now compiles after having
declarations and code untangled. As nha so gently points out, we shouldn't
have to do this just to comply with MSVC compilers.
2009-10-05 19:25:04 +02:00
José Fonseca
6971be783b
util: Improve the cpuid assembly.
...
No need to save ebx on 64bit. Use just xchgl. Refer to gcc's cpuid.h header.
Thanks to Uros Bizjak for pointing this out.
2009-10-05 16:49:21 +01:00
José Fonseca
75e0a376cd
mesa: Copy textures' base format into wrapper renderbuffer.
...
Otherwise st_copy_texsubimage will fallback to software blit due to
inconsistent base formats.
2009-10-05 16:49:21 +01:00
Keith Whitwell
b02ef740b9
mesa/st: add ST_DEBUG environment variable
...
At last it's possible to turn on tgsi dumps and other debugging in the
state tracker without modifying sources...
2009-10-05 15:51:55 +01:00
Keith Whitwell
6a085184eb
util: add lost code to util_make_fragment_tex_shader_writemask()
...
This got ported to ureg at some point, but lost the code that
distinguishes it from regular util_make_fragment_tex_shader().
2009-10-05 15:51:55 +01:00
Andre Maasikas
0b032eabc7
r600: update vertex program selection for draw path
2009-10-05 13:38:53 +03:00
Ben Skeggs
d47de50540
st/dri: avoid segfault if we can't get a pixmap's buffers
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2009-10-05 15:52:33 +10:00
Ben Skeggs
7bfc3172e8
nv50: support PIPE_FORMAT_X8R8G8B8_UNORM
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2009-10-05 15:36:06 +10:00
Ben Skeggs
5313f1be11
nouveau: return pitch value from local_handle_from_texture()
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2009-10-05 15:36:02 +10:00
Ben Skeggs
7aeaca33c3
mesa: fix return value when clipping {Read,Draw}Pixels height <= 0
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2009-10-05 15:35:40 +10:00
Ben Skeggs
1336989ec6
st/dri: no need to request fake front buffer, only handle it being returned
...
The previous behaviour was incorrect, and resulted in EXT_tfp being broken
for DDX drivers that implement the correct behaviour (intel/radeon/nouveau).
In the cases where a fake front buffer is required, the X server will
return one when requesting __DRI_BUFFER_FRONT_LEFT.
The Xorg state tracker (aka modesetting_drv) is likely broken now until
it's modified to match the other drivers.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2009-10-05 15:32:55 +10:00
José Fonseca
7a2271c659
util: Make assert a no-op on non-debug builds.
...
This ensures that an assertion like
assert(expensive_test());
won't have any penalty on release builds. It also implies that no vital
code should be in assert expressions.
2009-10-04 22:03:16 +01:00
José Fonseca
77ef705058
llvmpipe: Ensure tile cache transfers are mapped before flushing it.
2009-10-04 22:03:16 +01:00
José Fonseca
589ec337f0
llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv.
...
This is just a temporary change until we code generate the tile read/write
functions in runtime. The new code avoids an extra memcpy that exists in
u_tile.c functions, from which lp_tile_soa.c was originally based.
This achieves up to 5% improvement, particularly in frames with
little geometry overlap.
2009-10-04 22:03:16 +01:00
José Fonseca
7a7dfb09aa
util: Fix cpuid invocation for x86_64.
2009-10-04 22:03:15 +01:00
José Fonseca
eb2e41f0c6
llvmpipe: Remove loop testing from format testing.
...
Loop building will be rewritten.
2009-10-04 22:03:15 +01:00
José Fonseca
10981c0a76
llvmpipe: Match header's protection macro with filename.
2009-10-04 22:03:15 +01:00
José Fonseca
cd0a396813
llvmpipe: Adjust format assertion.
...
We support array layout too -- if it has a single channel.
2009-10-04 22:03:15 +01:00
Nicolai Hähnle
a6b300ac98
r300/compiler Add support for more of the Sxx set instructions
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-04 18:31:18 +02:00
Nicolai Hähnle
12e89e0e51
r300/compiler: Emit flow control instructions and ALU result writes on R500
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-04 18:30:52 +02:00
Corbin Simpson
2a929a08ab
r300g: xRGB and RGBx formats.
...
We now have 48 GLX visuals. Pretty soon, we'll have 90+ visuals,
only five of which ever get tested. :3
2009-10-04 09:30:30 -07:00
Nicolai Hähnle
a30560e6f0
r300/compiler: Refactor the radeon_pair code to support control flow instructions
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-04 16:50:07 +02:00
Nicolai Hähnle
995135479d
r300/compiler: Refactor to allow different instruction types
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-04 11:41:03 +02:00
Nicolai Hähnle
e6b137dcce
r300/compiler: Introduce aluresult register for branch operation support
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-04 11:13:13 +02:00
Chris Wilson
f194d2737b
intel: Suppress a compiler warning for an pointer->int cast
...
intel_pixel_read.c: In function ‘do_blit_readpixels’:
intel_pixel_read.c:221: warning: cast from pointer to integer of
different size
Cast via an intermediate (GLintptr) instead and hope the result fits
within GLuint... [It should as we simply do not support textures *that*
large!]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2009-10-03 23:08:39 +01:00
Chris Wilson
470ec8d42e
intel: Assert that relocation offsets are within the target
...
This should catch the common programming error where we attempt to
emit a relocation to beyond the end of the target buffer.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2009-10-03 23:06:39 +01:00
Nicolai Hähnle
b7cf887ca7
r300/compiler: Introduce control flow instructions and refactor dataflow
...
Note that control flow instruction support isn't actually fully functional yet.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-03 23:37:16 +02:00
José Fonseca
cbb57bf726
llvmpipe: Fetch tile only if a color buffer is bound.
2009-10-03 19:42:22 +01:00
Nicolai Hähnle
6d25b9125e
Merge branch 'master' into r300-compiler
2009-10-03 19:30:48 +02:00
Nicolai Hähnle
7d2699aedc
prog_parameter: Document the fact that Size may be > 4
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-03 19:30:05 +02:00
Nicolai Hähnle
81e5188f66
r300g: Do not abort on fragment program compiler error
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-03 19:29:48 +02:00
Nicolai Hähnle
59b20b760d
r300g: Fix memory leak in radeon_texture_from_shared_handle
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-03 18:07:34 +02:00
Sedat Dilek
aa6aa77a1b
r300g: Build in the trace and softpipe driver for xorg state tracker
...
Same as in src/gallium/winsys/drm/intel/xorg/Makefile
Thanks MrCooper for explanations on IRC
[ Summary amended by Michel Dänzer to clarify that this is related to the xorg
state tracker ]
2009-10-03 18:01:58 +02:00
Michel Dänzer
b330cebe01
radeon: Cope better with texture images with no miptrees.
...
Fixes crash with compiz magnifier plugin.
2009-10-03 18:01:58 +02:00
Michel Dänzer
f741c1eed4
swrast: Move up state validation in _swrast_ReadPixels.
...
This ensures the driver won't map the wrong set of textures.
2009-10-03 18:01:58 +02:00
Michel Dänzer
4a6759b778
meta: Make sure texImage->TexFormat is valid for CopyTex(Sub)Image.
2009-10-03 18:01:57 +02:00
Nicolai Hähnle
26df8af4fe
r300g: Remove an unnecessarily created pipe buffer (and thus fix a leak)
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-03 17:51:09 +02:00
Nicolai Hähnle
fce2095a90
st/dri: Install APPLE_vertex_array_object functions
...
Besides from being necessary to use that extension, it also fixes a crash
when deleting the currently bound vertex array object.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-03 17:42:50 +02:00
Nicolai Hähnle
751aa58e01
r300g: Reset vbo_offset after allocation of a new buffer
...
This fixes the glxgears bug, among other things.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-03 17:27:50 +02:00
Nicolai Hähnle
ebbd65eb06
st/dri: Install ARB_vertex_array_object functions
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-10-03 11:45:19 +02:00
Brian Paul
be16acaafa
mesa: optimized _mesa_meta_BlitFramebuffer() for src=texture case
...
If the src renderbuffer is actually a texture, we can directly use that
texture as the src and avoid a copy.
2009-10-02 14:00:02 -06:00
Eric Anholt
4182b58169
i965: Use a little stack space to avoid a malloc in wm_get_binding_table.
2009-10-02 11:42:19 -07:00
Eric Anholt
6d0fc3cfde
mesa: Remove another unexplained Flush call, this time from BindFramebuffer.
...
Combined with the previous fix, it takes cairo-gl firefox-talos-gfx time
from 120 seconds to 90 seconds on my GM45.
2009-10-02 11:42:07 -07:00
Eric Anholt
f019577f0c
Revert "Flush driver, not just tnl module."
...
This reverts commit df058298e1 . It didn't
explain why it was required, doesnt appear to be required, and is a
significant performance penalty for cairo-gl firefox.
Conflicts:
src/mesa/main/fbobject.c
2009-10-02 11:41:29 -07:00
Eric Anholt
3d78a86cd7
intel: Remove an unexplained flush from intelClearWithBlit.
2009-10-02 11:38:36 -07:00
Alex Deucher
3f623cfffe
r600: remove support for host-based ibs
...
no longer used now that the hw supports this natively.
Also, clean up some formatting.
2009-10-02 14:34:28 -04:00
Keith Whitwell
918199fb0f
mesa/st: don't reuse vertex buffers for bitmap, clear quads
...
Currently using max_slots > 1 will cause synchronous rendering
if the driver flushes its command buffers between one bitmap and the
next.
Need to improve buffer_write to allow NO_WAIT (as well as no_flush)
updates to buffers where we know there is no conflict with previous
data.
2009-10-02 19:03:15 +01:00
Michel Dänzer
316b4ddcf7
st/xorg: Use PIPE_TRANSFER_MAP_DIRECTLY flag in EXA PrepareAccess hook.
...
Propagate NULL return value.
This also allows removing the DRM_MODE_FEATURE_DIRTYFB specific pixmap
management hacks.
2009-10-02 18:13:26 +02:00
Michel Dänzer
9db647bb7a
gallium: Add PIPE_TRANSFER_MAP_DIRECTLY usage flag.
...
Asks the driver to map the texture storage directly or return NULL if that's
not possible.
2009-10-02 18:13:26 +02:00
Michel Dänzer
47e41b024e
gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.
...
Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and
add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags
corresponding to them.
2009-10-02 18:13:26 +02:00
Brian Paul
7d4b348c67
intel: wrap _mesa_meta_GenerateMipmap()
...
Need to check if we'll take the software path so which requires mapping the
src texture image.
Fixes crash in piglit gen-compressed-teximage, bug 24219. However, the
test still does not pass (it may never have).
2009-10-02 09:03:27 -06:00
Brian Paul
f1cab802b8
mesa: added _mesa_meta_check_generate_mipmap_fallback()
2009-10-02 09:03:27 -06:00
Brian Paul
32aa40eee4
mesa: removed gl_texture_image::CompressedSize field
...
Just call ctx->Driver.CompressedTextureSize() when we need to get
the compressed image size.
2009-10-01 21:13:34 -06:00
Younes Manton
f9f7646fe6
g3dvl: Formatting.
2009-10-01 22:57:39 -04:00
Younes Manton
577f12fbba
g3dvl: Delete state_trackers/g3dvl, other unused files.
2009-10-01 22:57:39 -04:00
Younes Manton
fcb595c04f
g3dvl: Copyright blocks.
2009-10-01 22:53:00 -04:00
Younes Manton
62db9b21da
st/xvmc: Set default CSC matrix to BT.601, no ProcAmp, full range RGB.
2009-10-01 22:52:59 -04:00
Younes Manton
e00da1476f
g3dvl: Color space conv interface & vl impl.
...
Interface is pipe_video_context::set_csc_matrix().
vl_csc.h defines some helpers to generate CSC matrices based on one of
the color standard and a user defined ProcAmp (brightness, contrast,
saturation, hue).
2009-10-01 22:52:59 -04:00
Brian Paul
8c92a531fb
mesa: reformatting
2009-10-01 19:01:02 -06:00
Brian Paul
bb659f6e53
progs/tests: additional debug code
2009-10-01 16:43:22 -06:00
Brian Paul
4ca9ba2544
mesa: move mesa_set_fetch_functions()
2009-10-01 16:42:37 -06:00
Brian Paul
073d55f584
radeon: fix tx_table[] entry
...
XXX need to still verify that the table entries are in correct order.
2009-10-01 16:41:52 -06:00
Brian Paul
4208a8c026
savage: s/Xfree/_mesa_free/
2009-10-01 16:41:24 -06:00
Brian Paul
354d66e2f5
mesa: simplify _mesa_compressed_texture_size()
2009-10-01 16:30:47 -06:00
Brian Paul
b6bdafdf2c
mesa: remove gl_texture_image::IsCompressed field
...
Use _mesa_is_format_compressed() instead.
2009-10-01 16:29:44 -06:00
Brian Paul
040fd7ed44
mesa: added _mesa_format_row_stride()
2009-10-01 16:27:23 -06:00
Brian Paul
1c7ec97ec4
mesa: added _mesa_format_image_size()
2009-10-01 15:59:13 -06:00
Eric Anholt
81aa5d717b
i915: Add stub ARB_occlusion_query support under a driconf debug option.
...
This is useful for enabling our GLSL testcases using the 2.0 entrypoints
even though we don't have full GL 2.0.
2009-10-01 14:54:15 -07:00
Eric Anholt
862a2a55b3
i915: Add optional support for ARB_fragment_shader under a driconf option.
...
Other vendors have enabled ARB_fragment_shader as part of OpenGL 2.0
enablement even on hardware like the 915 with no dynamic branching or
dFdx/dFdy support. But for now we'll leave it disabled because we don't
do any flattening of ifs or loops, which is rather restrictive.
This support is not complete, and may be unstable depending on your shaders.
It passes 10/15 of the piglit glsl tests, but hangs on glean glsl1.
2009-10-01 14:52:44 -07:00
Eric Anholt
67f4d626d3
i915: Add support or fallbacks for GLSL fragment shader opcodes.
2009-10-01 14:31:04 -07:00
Eric Anholt
f9f31b2574
i915: Add support for varying inputs.
2009-10-01 14:31:04 -07:00
Eric Anholt
7d4b7460b0
i915: Enable ARB_vertex_shader for both i915 and i830.
...
Since the TNL is all done in software anyway, it should be the same to
the user who's probably using ARB_vertex_program otherwise, but gives them
a nicer programming environment.
2009-10-01 14:31:03 -07:00
Eric Anholt
96a3c69d48
i915: Increase maximum program size to the hardware limits.
...
This fixes potential heap trashing if the program of choice exceeds limits,
and fixes the native instructions limit being lower than what can be
used by valid programs.
2009-10-01 14:31:03 -07:00
Eric Anholt
61b512c47c
i915: Update and translate the fragment program along with state updates.
...
Previously, we were doing it in the midst of the pipeline run, which gave
an opportunity to enable/disable fallbacks, which is certainly the wrong
time to be doing so. This manifested itself in a NULL dereference for PutRow
after transitioning out of a fallback during a run_pipeline in glean glsl1.
2009-10-01 14:31:03 -07:00
Eric Anholt
d6fbf87575
Revert "i915: don't validate PS program when falling back to software"
...
This reverts commit e7044d552c . It
prevented the driver from ever recovering from a software fallback due
to a program error. The original bug it claimed to fix doesn't appear to
exist post-revert.
2009-10-01 14:31:03 -07:00
Eric Anholt
4ff816751f
i915: Bail when the fragment program has too many total instructions.
...
Previously, we'd go trashing the heap.
2009-10-01 14:31:03 -07:00
Eric Anholt
994d1db079
i915: Let i915_program_error take a format string, and don't use _mesa_problem.
...
It's misleading to report things like the program having too many native
instructions as a Mesa implementation error, when the program may just be
too big for the hardware.
2009-10-01 14:31:03 -07:00
Brian Paul
5d2413fca4
Merge branch 'mesa_7_6_branch'
2009-10-01 13:35:42 -06:00
Brian Paul
15c57648cd
objviewer: remove disabled code
2009-10-01 13:14:50 -06:00
Brian Paul
9745e26adb
objviewer: mouse/keyboard info in README file
2009-10-01 13:14:50 -06:00
Brian Paul
d622c4ddba
docs: added objviewer to release notes
2009-10-01 13:14:50 -06:00
Brian Paul
24f31ab861
mesa: add objviewer to PROGRAM_DIRS
2009-10-01 13:14:50 -06:00
Brian Paul
0b1de63ad8
mesa: add progs/objviewer to tarball list
2009-10-01 13:14:50 -06:00
Brian Paul
8d93a4c639
objview: clean up drawing VBO code
2009-10-01 13:14:50 -06:00
Brian Paul
c7c62521fb
objview: set skybox texture filter
2009-10-01 13:14:50 -06:00
Brian Paul
336994e54c
objview: check GL version/extension
2009-10-01 13:14:49 -06:00
Brian Paul
ca1bda552d
progs/objviewer: Wavefront .obj file loader/viewer demo
...
Adapted from code written by Nate Robins. See README.txt.
2009-10-01 13:14:48 -06:00
Michel Dänzer
e32a341be6
st/xorg: Check that ms->api->destroy is not NULL before calling it.
...
Fixes potential crash on X server shutdown.
2009-10-01 16:45:11 +02:00
Robert Noland
0b466c8705
util: Enable sockets on BSD
...
I think this should be safe for all of the BSDs.
Signed-off-by: Robert Noland <rnoland@2hip.net >
Signed-off-by: Brian Paul <brianp@vmware.com >
2009-10-01 08:42:48 -06:00
Robert Noland
908ecb3faa
util: define PIPE_OS_FREEBSD to correct u_cpu_detect on FreeBSD.
...
Since the various BSDs use some different features here,
define PIPE_OS_OPENBSD and PIPE_OS_NETBSD as well
Signed-off-by: Robert Noland <rnoland@2hip.net >
2009-10-01 08:40:30 -06:00
Brian Paul
f8d8f45278
mesa: better debug message
2009-10-01 08:38:38 -06:00
Keith Whitwell
4456006ba6
gallium: remove depth.occlusion_count flag
...
This was redundant as drivers can just keep track of whether they are
inside a begin/end query pair. We want to add more query types later
and also support nested queries, none of which map well onto a flag like
this. No driver appeared to be using the flag.
2009-10-01 14:34:23 +01:00
Cooper Yuan
ae2daacbac
st/mesa: fix non-mipmap lastLevel calculation.
...
reviewed by Brian Paul.
2009-10-01 17:54:27 +08:00
Brian Paul
8c36ca707c
swrast: fix some texformat regressions
...
Need to be careful with component ordering for MESA_FORMAT_RGB888
and MESA_FORMAT_RGBA8888.
2009-09-30 22:50:08 -06:00
Brian Paul
3d6a20e5b6
mesa: rename texformat_tmp.h to texfetch_tmp.h
2009-09-30 21:08:06 -06:00
Brian Paul
60843e3ee5
mesa: remove MESA_FORMAT_RGBA4444
...
Not used by any hardware driver. ARGB4444 and ARGB4444_REV remain.
2009-09-30 21:04:17 -06:00
Brian Paul
3fa7dbf368
mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead
...
Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
2009-09-30 21:00:16 -06:00
Brian Paul
74ae14a2bd
mesa: move texel fetch/store into new texfetch.[ch] files
2009-09-30 20:47:54 -06:00
Brian Paul
884d1abb2a
st/mesa: update comment
2009-09-30 20:36:25 -06:00
Brian Paul
bdc761b0f9
mesa: remove gl_texture_format
2009-09-30 20:35:32 -06:00
Brian Paul
1f7c914ad0
mesa: replace gl_texture_format with gl_format
...
Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum.
ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x.
gl_texture_format will go away next.
2009-09-30 20:28:45 -06:00
Michel Dänzer
81a62edc08
st/xorg: Fix debug option function call typo.
2009-09-30 18:01:46 +02:00
Chia-I Wu
cef97267d6
mesa/main: New feature FEATURE_beginend.
...
This feature corresponds to the Begin/End paradigm. Disabling this
feature also eliminates the use of GLvertexformat completely.
2009-09-30 08:31:56 -06:00
Chia-I Wu
a73ba2d31b
mesa/main: Make FEATURE_dlist follow feature conventions.
...
As shown in mfeatures.h, this allows users of dlist.h to work without
knowing if the feature is available.
2009-09-30 08:31:56 -06:00
Chia-I Wu
aefa1f6ab1
mesa/main: Make FEATURE_evaluators follow feature conventions.
...
As shown in mfeatures.h, this allows users of eval.h to work without
knowing if the feature is available.
2009-09-30 08:31:55 -06:00
Chia-I Wu
42fac11d43
mesa/main: New feature FEATURE_queryobj.
...
It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and
follows the feature conventions.
2009-09-30 08:31:55 -06:00
Chia-I Wu
80630d1fed
mesa/main: New feature FEATURE_arrayelt.
...
This allows the removal of AEcontext.
2009-09-30 08:31:55 -06:00
Chia-I Wu
cc95de82e5
mesa/main: Make FEATURE_texgen follow feature conventions.
...
As shown in mfeatures.h, this allows users of texgen.h to work without
knowing if the feature is available.
2009-09-30 08:31:55 -06:00
Chia-I Wu
301a510092
mesa/main: Make FEATURE_feedback follow feature conventions.
...
As shown in mfeatures.h, this allows users of feedback.h to work without
knowing if the feature is available.
2009-09-30 08:31:55 -06:00
Chia-I Wu
67a2a4e901
mesa/main: Make FEATURE_drawpix follow feature conventions.
...
As shown in mfeatures.h, this allows users of drawpix.h to work
without knowing if the feature is available.
2009-09-30 08:31:55 -06:00
Chia-I Wu
d25080074f
mesa/main: New feature FEATURE_rastpos.
...
It is separated from FEATURE_drawpix and made to follow the feature
conventions.
2009-09-30 08:31:55 -06:00
Chia-I Wu
cab7ea0368
mesa/main: Make FEATURE_histogram follow feature conventions.
...
As shown in mfeatures.h, this allows users of histogram.h to work without
knowing if the feature is available.
2009-09-30 08:31:55 -06:00
Chia-I Wu
2b36db496d
mesa/main: Make FEATURE_attrib_stack follow feature conventions.
...
As shown in mfeatures.h, this allows users of attrib.h to work without
knowing if the feature is available.
2009-09-30 08:31:55 -06:00
Chia-I Wu
a833ff0f53
mesa/main: Make FEATURE_accum follow feature conventions.
...
As shown in mfeatures.h, this allows users of accum.h to work without
knowing if the feature is available.
2009-09-30 08:31:55 -06:00
Chia-I Wu
e82b02c7e8
progs/egl: Make demo3 work again.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-30 08:15:30 -06:00
Chia-I Wu
28c2190336
progs/egl: Check EGL_MESA_screen_surface is supported in demo2.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-30 08:15:30 -06:00
Chia-I Wu
e0b2848f4f
progs/egl: Fix a crash in demo1.
...
The variable "configs" in main() is used without initialization.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-30 08:15:30 -06:00
Chia-I Wu
4b95481e95
st/egl: Fix a double free in drm_destroy_context.
...
st_destroy_context has destroyed the pipe context for us.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-30 08:15:30 -06:00
Chia-I Wu
dd81cc885c
st/egl: Fix a crash when unbinding current context.
...
This fixes a NULL-pointer dereference when
eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)
is called.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-30 08:15:30 -06:00
Chia-I Wu
fa8df0c40d
progs/egl: Replace EGL_i915 by EGL_DEFAULT_DISPLAY.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-30 08:15:30 -06:00
Brian Paul
cb0de06301
mesa: added nopfrag/nopvert options for MESA_GLSL
...
These options can be used to force vertex/fragment shaders to be no-op
shaders (actually, simple pass-through shaders). For debug/test purposes.
2009-09-29 10:38:02 -06:00
Brian Paul
c7aee65bb9
mesa: added _mesa_nop_vertex/fragment_program()
...
For debug/test purposes.
2009-09-29 10:38:02 -06:00
José Fonseca
baddcbc522
llvmpipe: Workaround for bug in llvm 2.5.
...
The combination of fptosi
and sitofp (necessary for trunc/floor/ceil/round implementation)
somehow becomes invalid code.
Skip the instruction combining pass when SSE4.1 is not available.
2009-09-29 17:28:15 +01:00
José Fonseca
a02ecdf8c2
llvmpipe: First verify LLVM IR, only then run optimizing passes.
2009-09-29 17:28:15 +01:00
José Fonseca
754f48871c
llvmpipe: Runtime cpu checks for lp_build_min_simple too.
2009-09-29 17:28:15 +01:00
José Fonseca
741c40a232
llvmpipe: Implement non SSE4.1 versions of floor and round.
2009-09-29 17:28:15 +01:00
Brian Paul
124f5875ea
Merge branch 'mesa_7_6_branch'
...
Conflicts:
Makefile
configs/default
docs/relnotes.html
src/gallium/drivers/softpipe/sp_context.c
src/gallium/drivers/softpipe/sp_tile_cache.c
src/mesa/main/version.h
2009-09-29 09:46:49 -06:00
Chia-I Wu
170bd0c882
egl_xdri: Report full list of supported configs.
...
Call _eglConfigFromContextModesRec to convert __GLcontextModes to
_EGLConfig. Single-buffered configs are no longer skipped.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-29 08:10:48 -06:00
Chia-I Wu
d845f2754b
egl: Add support for querying render buffer.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-29 08:10:48 -06:00
Chia-I Wu
55893b9439
egl: Add a function to convert __GLcontextModes to _EGLConfig.
...
_eglConfigFromContextModesRec is used to convert a __GLcontextModes to a
_EGLConfig. Note that the config is not validated. An invalid mode
is likely to give an invalid config.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-29 08:10:47 -06:00
Chia-I Wu
56822b0812
egl: Rework config lookup.
...
Make it similiar to how contexts and surfaces are looked up. It should
be slightly faster, and work better with multiple displays.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-29 08:10:47 -06:00
Chia-I Wu
95cdd697e7
egl: Rework configuration management.
...
This mainly implements the algorithms for configuration selection and
sorting, described in the spec. User errors should also be correctly
detected and reported.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-29 08:10:47 -06:00
Chia-I Wu
358c5a8fd1
egl: Introduce config keys.
...
Config keys are almost config attributes. A valid config attribute is a
valid config key, but a valid config key may not be a valid config
attribute.
This commit does not distinguish the differences.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-29 08:10:47 -06:00
José Fonseca
7cda8ea44c
llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.
...
Note that llvmpipe still doesn't run on any processor yet: if you don't
have a recent processor with SSE4.1 you will still likely end up
hitting a code path for which a generic non-sse4 version is not
implemented yet.
2009-09-29 13:59:16 +01:00
José Fonseca
a81fb2a0d2
util: Cleanup u_cpu_detect, build. Support X86_64 and detect SSE4.1 too.
...
I was waiting for the need to use this code to arise, and it finally came.
I've tested building this on Linux and Windows, both x86 and x64_64. But
it might break other platforms. Please bear with me and help me fix it.
Many thanks to Dennis Smit who submitted this, and Eric Anholt whose
work this was based on.
2009-09-29 13:59:16 +01:00
José Fonseca
8210abb113
gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices.
2009-09-29 13:59:16 +01:00
Vinson Lee
60f3f22a52
i915: Fix MSVC build.
2009-09-29 11:10:42 +01:00
José Fonseca
57d0fcba67
python: Update for surface_buffer_create change.
2009-09-29 11:09:55 +01:00
José Fonseca
bd2e36a38f
g3dvl: assert.h -> util/u_debug.h
2009-09-29 11:09:55 +01:00
José Fonseca
7db33440a8
g3dvl: Define PIPE_VIDEO_CODEC_UNKNOWN for failures.
...
gcc 4.4 seems particularly picky with int -> enum conversions.
2009-09-29 11:09:55 +01:00
Brice Goglin
ee9811de78
Prepare changelog for upload
2009-09-29 11:52:04 +02:00
Brice Goglin
adaeac03dd
Add bug closers
2009-09-29 11:51:51 +02:00
Brice Goglin
e47955de4e
Refresh patches
2009-09-29 11:45:58 +02:00
Brice Goglin
58c42a5b1d
New upstream release
2009-09-29 11:43:15 +02:00
Brice Goglin
753604e607
Merge tag 'mesa_7_6' into debian-unstable
...
Conflicts:
progs/egl/Makefile
progs/egl/demo3.c
progs/slang/vstest.c
progs/tests/Makefile
progs/tests/SConscript
progs/tests/bufferobj.c
progs/tests/floattex.c
progs/tests/getprocaddress.c
progs/tests/getprocaddress.py
progs/tests/mapbufrange.c
progs/tests/mapvbo.c
progs/tests/texcmp.c
progs/tests/texcompsub.c
progs/tests/zreaddraw.c
progs/trivial/.gitignore
progs/vp/arl-static.txt
progs/vp/arl-unused.txt
progs/vp/vp-tris.c
scons/gallium.py
2009-09-29 11:39:19 +02:00
Andre Maasikas
ac9c8b6359
r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color mask
...
makes blend functions work better
Signed-off-by: Dave Airlie <airlied@linux.ie >
2009-09-29 19:24:35 +10:00
Andre Maasikas
7c5f3c3d8a
r600: user correct alpha blend factor
...
Signed-off-by: Dave Airlie <airlied@linux.ie >
2009-09-29 19:24:34 +10:00
Andre Maasikas
a230ad2bc4
r600: clear position enable bit when when wpos is not used by FP
...
Makes doom3 alot nicer..
2009-09-29 16:02:00 +08:00
Jakob Bornecrantz
3a8d525373
st/xorg: Add debug for fallbacks
2009-09-28 21:34:45 -07:00
Jakob Bornecrantz
e226bf8a5d
st/xorg: Make debug printing optional
2009-09-28 21:26:13 -07:00
Brian Paul
e2e7bd6c1f
mesa: move StoreTexImageFunc typedef to .c file
2009-09-28 21:55:47 -06:00
Brian Paul
0a306daf71
mesa: use _mesa_texstore()
2009-09-28 21:52:43 -06:00
Brian Paul
6480210b89
st/mesa: use _mesa_texstore()
2009-09-28 21:52:23 -06:00
Brian Paul
49263e0856
mesa: make individual texstore functions static
2009-09-28 21:49:38 -06:00
Brian Paul
cb0ef0cbf8
glide: use _mesa_texstore()
2009-09-28 21:49:10 -06:00
Brian Paul
b436d729d1
drivers: use _mesa_texstore
2009-09-28 21:46:34 -06:00
Brian Paul
0b1f4dc0fa
drivers: use new _mesa_texstore() function
2009-09-28 21:41:11 -06:00
Brian Paul
660ca9c5a2
mesa: new _mesa_texstore() function
2009-09-28 21:40:50 -06:00
Eric Anholt
d492e7b017
meta: Fix invalid PBO access from DrawPixels when trying to just alloc.
...
This whole reuse of buffers (TexSubImage instead of TexImage, SubData
instead of Data) is bad for hardware drivers, but it's even worse when
we accidentally try to access the 2x2 PBO to fill the new 16x16 texture
we're creating, producing GL errors.
Fixes piglit pbo-drawpixels. Bug #14163 .
2009-09-28 14:12:15 -07:00
Eric Anholt
e885cb48a0
intel: Drop my generatemipmap code in favor of the new shared code.
2009-09-28 14:12:15 -07:00
Eric Anholt
8b23755ce9
intel: Remove some dead metaops code.
2009-09-28 14:12:09 -07:00
Ian Romanick
41865d991f
Merge branch 'mesa_7_6_branch'
...
Conflicts:
Makefile
src/mesa/main/version.h
2009-09-28 12:03:23 -07:00
Brian Paul
05bad193f5
st/mesa: check gl_texture_object::GenerateMipmap field when allocating texmem
...
In guess_and_alloc_texture() use the gl_texture_object::GenerateMipmap
field as another hint as to whether to allocate space for a whole mipmap.
2009-09-28 10:03:58 -06:00
Brian Paul
8fda97afb8
Merge branch 'mesa_7_6_branch'
2009-09-28 10:02:20 -06:00
Brian Paul
eb82373abb
mesa: use _mesa_get_current_tex_unit() helper
2009-09-28 09:22:33 -06:00
Vinson Lee
6920a355c1
progs/perf: Include local headers before installed headers.
...
Fixes compilation errors on platforms with older installed GL headers.
2009-09-28 09:03:26 -06:00
Brian Paul
653ae04bea
progs/tests: print usage info upon SPACE/u
2009-09-28 08:44:43 -06:00
Brian Paul
c8de476189
progs/tests: re-indent mipmap_limits.c
2009-09-28 08:44:43 -06:00
Younes Manton
9871521b30
llvmpipe: Grab a ref when the fb is set.
...
Based on softpipe commit a77226071f .
2009-09-28 15:35:29 +01:00
José Fonseca
5687053480
softpipe: Fix MSVC build.
2009-09-28 13:03:03 +01:00
José Fonseca
22658c1650
g3dvl: Fix MSVC build.
...
pipe/p_compiler for integer types. No declarations out of scope.
2009-09-28 13:02:42 +01:00
Cooper Yuan
99e1745af9
r300g: fix r300g cause GPU hang issue.
...
why there are two input position semantic tags is that ureg doesn't
set vs input semantic due to commit: 6d8dbd3d1e
so use vs input index instead of semantic name.
2009-09-28 17:55:38 +08:00
Younes Manton
70c44073ad
xvmc: Fail on unsupported formats, operations.
2009-09-28 00:17:33 -04:00
Younes Manton
c0745670d8
g3dvl: Missing semicolon.
2009-09-27 23:54:36 -04:00
Brian Paul
729ff875f4
mesa: change _mesa_format_to_type_and_comps() format parameter type
2009-09-27 21:32:12 -06:00
Brian Paul
bd00a7fa4b
mesa: sort texstore_funcs[] array, remove search loop
2009-09-27 21:22:57 -06:00
Younes Manton
d52d51ab8a
g3dvl: Formatting and cleanups.
2009-09-27 23:14:52 -04:00
Brian Paul
749e50442a
mesa: fix render buffer _BaseFormat assignment
2009-09-27 21:14:43 -06:00
Brian Paul
ef089604a9
mesa: use texture format functions
2009-09-27 21:14:12 -06:00
Brian Paul
4fc344790d
mesa: update comments
2009-09-27 21:13:46 -06:00
Brian Paul
e987ea9d21
mesa: use more mesa format functions
2009-09-27 21:07:57 -06:00
Brian Paul
5767a677a0
mesa: fix GL_TEXTURE_LUMINANCE_SIZE query
2009-09-27 20:59:28 -06:00
Brian Paul
a2b663fe38
mesa: use more mesa format functions
2009-09-27 20:58:05 -06:00
Brian Paul
af0adb5852
mesa: use more mesa format functions
2009-09-27 20:56:04 -06:00
Brian Paul
5cf5d4be21
mesa: use more format helper functions
2009-09-27 20:51:18 -06:00
Brian Paul
5978cbdf77
mesa: code movement
2009-09-27 20:40:53 -06:00
Brian Paul
ddffe4546a
drivers: use more mesa format functions
2009-09-27 20:40:35 -06:00
Brian Paul
9fbb8884f0
mesa/drivers: use _mesa_get_format_bytes()
2009-09-27 20:24:59 -06:00
Brian Paul
e0bc4533eb
mesa/drivers: use _mesa_get_format_bytes()
2009-09-27 20:07:41 -06:00
Brian Paul
b58bc12ed4
via: use mesa texture format helper functions
2009-09-27 19:58:18 -06:00
Younes Manton
97c28bb63a
g3dvl: Move XvMC under the Xorg state tracker.
2009-09-27 21:54:20 -04:00
Brian Paul
21db8959c1
glide: use _mesa_get_format_bytes()
2009-09-27 19:53:54 -06:00
Brian Paul
2de7683280
mesa: use _mesa_get_format_base_format()
2009-09-27 19:51:45 -06:00
Brian Paul
db8aca3a39
mesa: use _mesa_get_format_bytes()
2009-09-27 19:49:51 -06:00
Brian Paul
5ab5f16919
mesa: added _mesa_get_format_datatype()
2009-09-27 19:42:36 -06:00
Brian Paul
b64d478a5b
mesa: use _mesa_get_format_bits()
2009-09-27 19:38:21 -06:00
Brian Paul
c28d78f832
mesa: added _mesa_get_format_bits()
2009-09-27 19:07:44 -06:00
Brian Paul
a608257a02
mesa: remove unused gl_texture_format fields
2009-09-27 18:57:02 -06:00
Brian Paul
e8eed5003b
mesa: added MESA_FORMAT_NONE
2009-09-27 18:53:22 -06:00
Brian Paul
cccdc43fa9
mesa: move StoreTexImageFunc to texstore.h
2009-09-27 18:50:04 -06:00
Brian Paul
27e201e9c4
mesa: rework null texel fetch/store funcs
2009-09-27 18:49:14 -06:00
Brian Paul
05e73cc8e2
mesa: replace function pointer types with void *
...
These fields are no longer used and will be removed soon.
2009-09-27 18:39:52 -06:00
Brian Paul
adce34e23b
st/mesa: use _mesa_get_texstore_func()
2009-09-27 18:39:17 -06:00
Brian Paul
f782f90c45
mesa: use _mesa_get_texstore_func()
2009-09-27 18:38:50 -06:00
Brian Paul
d73cd70316
glide: use _mesa_get_texstore_func()
2009-09-27 18:34:12 -06:00
Brian Paul
9525b92efb
mesa: NULL-out unused texformat field initializers
2009-09-27 18:28:48 -06:00
Brian Paul
f76cbac04a
mesa: use _mesa_get_texstore_func()
2009-09-27 18:28:22 -06:00
Brian Paul
e07862d2c9
st/mesa: use _mesa_get_texstore_func()
2009-09-27 18:27:59 -06:00
Brian Paul
8abb984dc9
mesa: null-out StoreTexImageFunc fields
2009-09-27 18:19:24 -06:00
Younes Manton
e44c85637a
g3dvl: Implement XvMC using pipe_video_context.
2009-09-27 20:18:02 -04:00
Brian Paul
431ba64222
mesa: use _mesa_get_texel_store_func()
2009-09-27 18:17:32 -06:00
Brian Paul
da5722bea6
mesa: use new look-up table to get texel fetch/store funcs
2009-09-27 18:09:23 -06:00
Brian Paul
7116ae857c
mesa: make some s3tc/fxt1 functions public
2009-09-27 18:08:49 -06:00
Brian Paul
6c6896bd25
progs/tests: disable texturing before printing text
2009-09-27 18:02:02 -06:00
Younes Manton
f547472bfa
g3dvl: pipe_video_context interface, softpipe impl, auxiliary libs
2009-09-27 19:49:06 -04:00
Younes Manton
da793b7434
util: Add util_next_power_of_two() for rounding a uint up to a POT.
2009-09-27 19:25:57 -04:00
Brian Paul
0f91e4461f
mesa: minor clean-up in _mesa_texstore_srgb8()
2009-09-27 17:07:22 -06:00
Brian Paul
722b761564
mesa: use _mesa_get_texstore_func() to get texture image store func
2009-09-27 17:01:41 -06:00
Maciej Cencora
540039887a
r300g: fix erroneous condition
2009-09-27 22:44:29 +02:00
Maciej Cencora
98f6bea168
r300g: don't force vertex position for HW TCL path
...
It could be generated by vertex shader.
2009-09-27 22:44:28 +02:00
Maciej Cencora
bedc6b7bdf
r300g: add some assertions
...
Not sure why we are getting a shader with two inputs with position semantic, but we don't know how to handle it correctly so it's better to stop the app than lock the machine.
2009-09-27 22:44:28 +02:00
Maciej Cencora
8c8b77a5f3
r300g: plug memory leak
2009-09-27 22:44:27 +02:00
Maciej Cencora
a6eb593072
r300g: add some debugging info
2009-09-27 22:44:27 +02:00
Dave Airlie
d85fe842b8
r300g: fix r300 rs path
2009-09-28 06:42:25 +10:00
Dave Airlie
b1252c7a34
r300g: rewrite RS state setup.
...
Not 100% sure this is correct, but its more correct than what was here previous
however it may require changes in the input routing for the frag shader.
2009-09-28 06:28:32 +10:00
Dave Airlie
225c3375fd
r300g: silence compiler warning
2009-09-28 06:28:31 +10:00
Jakob Bornecrantz
48c45959ee
i915g: Submit direct vertex buffers
2009-09-27 13:19:49 -07:00
Jakob Bornecrantz
2d71b541d7
i915g: Fix warning
2009-09-27 13:19:49 -07:00
Jakob Bornecrantz
973e9a774a
i915g: Tile shared buffers as well
2009-09-27 13:19:49 -07:00
Jakob Bornecrantz
5aecddc153
i915g: Make sure to map tiled buffers via the gtt
2009-09-27 13:19:49 -07:00
Jakob Bornecrantz
60d72d9e45
i915g: Use boolean
2009-09-27 13:19:48 -07:00
Jakob Bornecrantz
c3663bdc35
i915g: Enable reuse of buffers
2009-09-27 13:19:48 -07:00
Jakob Bornecrantz
dd586078be
st/egl: Remove buffer from screen
...
It is no longer needed since the new drm api code,
and it incorrectly checked if the buffer where there
for testing completeness when it should have checked
the texture instead.
2009-09-27 13:19:48 -07:00
Richard Li
eea30906de
r600 : Enable draw_prim.
2009-09-27 14:47:12 -04:00
Younes Manton
a77226071f
softpipe: Grab a ref when the fb is set.
...
Nasty bug when the surface is freed and another is allocated right on
top of it. The next time we set the fb state SP thinks it's the same
surface and doesn't flush, and when the flush eventually happens the
surface belongs to a completely different texture.
2009-09-27 10:56:42 -04:00
Jakob Bornecrantz
bcca927562
progs/rbug: Link to math
2009-09-26 12:36:01 -07:00
Brian Paul
485105ed18
mesa: move _mesa_get_texstore_func() to texstore.c
2009-09-26 12:32:13 -06:00
Brian Paul
22108bb571
mesa: begin removing dependencies on gl_texture_format in texstore code
2009-09-26 12:26:18 -06:00
Brian Paul
a7455f9fc6
mesa: added formats.c to build
2009-09-26 12:25:02 -06:00
Brian Paul
9e7b56c980
mesa: include formats.h
2009-09-26 12:24:17 -06:00
Brian Paul
813870fd95
mesa: initial check-in of new formats.[ch] files
2009-09-26 12:21:03 -06:00
Dave Airlie
eb5dd947fb
r300g: add tx depth support in register.
...
also enable cube/3d bits in txformat reg
2009-09-26 19:32:46 +10:00
Dave Airlie
9bf85f6b95
r300g: only pass complete texture state to hw setup function
...
No point passing things twice here, also allows more state
to be setup properly.
2009-09-26 18:39:54 +10:00
Dave Airlie
ec9c02187e
r300g: add missing break in OQ emit
2009-09-26 18:39:54 +10:00
José Fonseca
1df539ce87
llvmpipe: Allow building with LLVM 2.6 too.
2009-09-26 09:37:43 +01:00
Dave Airlie
28f531e3fe
r300g: report GL1.5, enable cap bits for OQ and shadow.
...
Its not like it works well on 1.3 so may as well reach for greater
heights.
Signed-off-by: Dave Airlie <airlied@redhat.com >
2009-09-26 18:25:00 +10:00
Dave Airlie
20d3c85128
r300g: add z16 unorm texture format
2009-09-26 18:24:34 +10:00
Dave Airlie
07183b73eb
r300g: fix texture pitch to correct value.
...
pitch is pixels - 1, not bytes.
2009-09-26 16:39:13 +10:00
Ian Romanick
8130375e77
Merge branch 'asm-shader-rework-2'
...
Conflicts:
src/mesa/shader/program_parse.tab.c
2009-09-25 16:57:38 -07:00
Michel Dänzer
c19482b16f
st/xorg: Re-enable accelerated fills and copies.
...
These seem to work well enough now with the new code. Composite acceleration
isn't quite there yet and thus remains disabled in xorg_composite_bind_state()
for now.
2009-09-25 20:49:53 +02:00
Michel Dänzer
07e2d6edfa
st/xorg: Flush render cache if but only if a source has pending write operations.
2009-09-25 20:49:53 +02:00
Michel Dänzer
626553f327
st/xorg: Reject Composite acceleration for some cases not working yet.
2009-09-25 20:49:53 +02:00
Michel Dänzer
9c449502a2
st/xorg: Make sure struct is fully initialized.
...
gcc complained about a missing initializer.
2009-09-25 20:49:00 +02:00
Michel Dänzer
b0ddfe8a3d
st/xorg: Use generic semantic for Composite mask coordinates.
2009-09-25 20:38:49 +02:00
Michel Dänzer
ac2e0ddcd8
st/xorg: Flesh out EXA PrepareComposite hook a little.
...
Check that the formats are supported, and don't crash with source-only
pictures.
2009-09-25 20:38:49 +02:00
Michel Dänzer
b97547027e
st/xorg: Use I8 format instead of A8 for depth 8 pixmaps.
...
Seems to work better for Composite acceleration.
2009-09-25 20:38:49 +02:00
Michel Dänzer
67fb13ba68
st/xorg: Bind rasterizer state for copies.
2009-09-25 20:38:49 +02:00
Michel Dänzer
7edda9350a
st/xorg: Source-only pictures always have format PICT_a8r8g8b8.
...
See xserver/render/picture.c:createSourcePicture(). This both simplifies the
code and avoids a crash because pFormat is NULL.
2009-09-25 20:38:49 +02:00
Michel Dänzer
07f107467e
st/xorg: Better checks for unsupported component alpha pictures.
2009-09-25 20:38:49 +02:00
Michal Krol
69c7fc128c
softpipe: Grab fs output z from the correct file.
2009-09-25 18:52:13 +02:00
Michal Krol
a0fbc01cea
softpipe: Do not advertise support for L16 and YCBCR formats.
2009-09-25 18:52:12 +02:00
Michal Krol
02b81187dc
radeon: Fix newlines.
2009-09-25 18:51:55 +02:00
Brian Paul
ecf3091cc7
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/mesa/drivers/dri/intel/intel_clear.c
2009-09-25 09:00:19 -06:00
Christoph Bumiller
5f4f7ad965
nv50: fix TEX for WriteMask not equal 0xf
...
If you e.g. only need alpha, it ends up in the first reg,
not the last, as it would when reading rgb too.
2009-09-25 11:01:45 +02:00
Christoph Bumiller
513cadf5af
nv50: actually enable view volume clipping
...
Until now, only primitives wholly outside the view volume
were not drawn.
This was only visibile when using a viewport smaller than
the window size, naturally.
2009-09-25 11:01:45 +02:00
Christoph Bumiller
001daf78c8
nv50: RCP and RSQ cannot load from VP inputs
2009-09-25 11:01:45 +02:00
Christoph Bumiller
ef6805710d
nv50: fix CEIL and TRUNC
...
Separated the integer rounding mode flag for cvt.
2009-09-25 11:01:45 +02:00
Christoph Bumiller
e2b8dc3e38
nv50: implement BGNLOOP, BRK, ENDLOOP
...
There's a good chance a loop won't execute correctly
though since our TEMP allocation assumes programs to
be executed linearly. Will fix later.
2009-09-25 11:01:44 +02:00
Christoph Bumiller
1196f9fbd6
nv50: implement IF, ELSE, ENDIF opcodes
2009-09-25 11:01:44 +02:00
Cooper Yuan
16a6ca9b2b
r300g: add texture format for xvmc
2009-09-25 15:15:20 +08:00
Chia-I Wu
5a1e25afac
mesa/main: Make FEATURE_convolve follow feature conventions.
...
As shown in mfeatures.h, this allows users of convolve.h to work without
knowing if the feature is available.
2009-09-24 21:48:39 -06:00
Chia-I Wu
cb4f24e51d
mesa/main: Make FEATURE_colortable follow feature conventions.
...
As shown in mfeatures.h, this allows users of colortab.h to work
without knowing if the feature is available.
2009-09-24 21:48:22 -06:00
Chia-I Wu
dbb8fb8de9
mesa/main: Make FEATURE_pixel_transfer follow feature conventions.
...
As shown in mfeatures.h, this allows users of pixel.h to work without
knowing if the feature is available.
2009-09-24 21:48:05 -06:00
Chia-I Wu
17099f5e19
mesa/main: Add comments to mfeatures.h.
...
The comments document the conventions that a feature may follow.
2009-09-24 21:47:45 -06:00
Brian Paul
c9ddd6f810
progs/perf: glGenerateMipmap() test
2009-09-24 19:38:04 -06:00
Brian Paul
0876618a8d
mesa: _mesa_meta_GenerateMipmap() now working
...
Handles GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP.
But GL_TEXTURE_3D and texture borders not supported yet.
2009-09-24 19:36:20 -06:00
Brian Paul
e33ea11c14
mesa: remove: unused gl_vertex_program::TnlData field
2009-09-24 19:34:19 -06:00
Ian Romanick
09af58d7ed
NV fp lexer: Add UP4B and UP4UB instructions that were previously missing
2009-09-24 18:27:20 -07:00
Zack Rusin
228aa45fcb
st/xorg: start working on the Xv acceleration code
2009-09-24 19:20:41 -04:00
Zack Rusin
80965fca74
st/xorg: fills are supported plussome minor clenups
2009-09-24 19:20:41 -04:00
Zack Rusin
53d2fa46e7
st/xorg: add easier way of disabling/enabling acceleration
2009-09-24 19:20:41 -04:00
Brian Paul
01249c6d56
llvmpipe: add missing __FUNCTION__ parameter to debug_printf() calls
2009-09-24 16:08:47 -06:00
Brian Paul
a665a3416e
llvmpipe: increase max 3D texture size to 256
2009-09-24 16:07:45 -06:00
Brian Paul
29d27229a9
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/mesa/vbo/vbo_exec_array.c
2009-09-24 16:06:21 -06:00
Pauli Nieminen
fd56bee6c4
Merge branch 'mesa_7_6_branch'
2009-09-24 20:39:16 +03:00
Brian Paul
c9f7a23ef0
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/mesa/drivers/dri/r600/r700_assembler.c
src/mesa/drivers/dri/r600/r700_chip.c
src/mesa/drivers/dri/r600/r700_render.c
src/mesa/drivers/dri/r600/r700_vertprog.c
src/mesa/drivers/dri/r600/r700_vertprog.h
src/mesa/drivers/dri/radeon/radeon_span.c
2009-09-24 11:03:16 -06:00
Brian Paul
6be2bc56af
gallium/trace: casts to silence warnings
2009-09-24 10:47:42 -06:00
Brian Paul
f85816354c
tgsi/sse: remove old comments
2009-09-24 10:45:36 -06:00
Brian Paul
35cd0bbfb1
tgsi/sse: implement SEQ, SGT, SLE, SNE
2009-09-24 10:45:35 -06:00
Keith Whitwell
09a23ac3c1
progs/perf: fix warnings in readpixels test
2009-09-24 16:52:14 +01:00
Keith Whitwell
d93f022936
progs/perf: fix typo in sconscript
2009-09-24 16:50:27 +01:00
Keith Whitwell
90dcfb3b47
trace: fix printf warnings
2009-09-24 16:49:40 +01:00
Keith Whitwell
d3beaf2f32
softpipe: fix compiler warnings
2009-09-24 16:49:27 +01:00
Keith Whitwell
fca7f38441
pipebuffer: fix printf warnings
2009-09-24 16:49:05 +01:00
Keith Whitwell
0c55dd8094
pipebuffer: fix warnings
2009-09-24 16:48:49 +01:00
Keith Whitwell
cd362334ad
draw: fix warning
2009-09-24 16:44:58 +01:00
Keith Whitwell
6e0b56edf8
progs/perf: accept GL3.x also
2009-09-24 16:43:15 +01:00
Richard Li
5f06064b61
r600 : fix draw_prim bug: vertex fetcher setting.
2009-09-24 11:29:44 -04:00
José Fonseca
9659aa6482
softpipe: Use portable INLINE macro.
2009-09-24 15:28:55 +01:00
José Fonseca
e8e6d8853d
softpipe: Update SConscript.
2009-09-24 15:28:54 +01:00
Richard Li
41c5f113b5
r600 : disable draw_prim for now.
2009-09-24 10:15:19 -04:00
José Fonseca
86962d6f6e
gdi: Update for WGL state tracker interface changes.
2009-09-24 13:12:51 +01:00
José Fonseca
4e5ed05b02
wgl: DWM integration.
2009-09-24 13:12:51 +01:00
José Fonseca
9ea277ba7a
scons: Don't require -liberty on MinGW.
...
Not always present.
2009-09-24 13:12:50 +01:00
José Fonseca
622bdecabd
mesa: Fix missing finite symbol error on Windows.
...
Caused by some weird logic regarding the __WIN32__ define which made
the finite definition dependent on the header include order.
2009-09-24 13:12:50 +01:00
Alex Deucher
1bf0651d9b
r600: fix up ordering of functions in draw prims path
...
Shaders and IB need to be updated and allocated before
calling validatebuffers.
2009-09-23 19:42:07 -04:00
Alex Deucher
20e7738293
r600: fix r700PredictRenderSize for draw prims path
2009-09-23 16:54:12 -04:00
Richard Li
8a2b0f6415
r600 : add hw index buffer draw support.
2009-09-23 16:16:11 -04:00
Brian Paul
fa0816b17c
progs/perf: added glReadPixels benchmark
2009-09-23 14:05:05 -06:00
Brian Paul
489f8bc86f
progs/perf: also request a stencil buffer
2009-09-23 14:05:05 -06:00
Adam Jackson
8abe77a75a
Finish removing glcore
2009-09-23 15:22:19 -04:00
Alex Deucher
53051b8cb5
r600: fix copy/paste typo
2009-09-23 15:02:19 -04:00
Alex Deucher
ec205bbd57
r600: fix some warnings
2009-09-23 14:58:46 -04:00
Andre Maasikas
2d2f49c919
r600: add support for CUBE textures, also TXP
...
seems to work here ...
2009-09-23 14:58:46 -04:00
Michal Krol
a0549f6634
progs/perf: Actually bind the newly created vbo.
2009-09-23 20:24:35 +02:00
Brian Paul
35af3f94a3
llvmpipe: move tile cache datatypes into .c file since they're private
2009-09-23 11:53:12 -06:00
Brian Paul
b4a40d1052
softpipe: replace macros with inline functions
...
And update comments.
2009-09-23 11:51:52 -06:00
Brian Paul
e2329f2795
softpipe: white-space/formatting fixes and updated comments
2009-09-23 11:35:33 -06:00
Brian Paul
5244ce786a
llvmpipe: added max texture/surface size sanity check
...
Carried over from softpipe driver.
2009-09-23 11:05:00 -06:00
Brian Paul
b26f1df920
llvmpipe: increase MAX_WIDTH/HEIGHT to match max texture size
2009-09-23 11:04:07 -06:00
Brian Paul
de25f82067
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/gallium/drivers/softpipe/sp_tile_cache.c
2009-09-23 11:00:04 -06:00
Keith Whitwell
890679d432
Merge branch 'softpipe-opt'
...
Conflicts:
progs/demos/cubemap.c
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_texture.c
2009-09-23 17:37:28 +01:00
Keith Whitwell
a1fa770c01
gallium/include: update some comments
2009-09-23 17:04:48 +01:00
Zack Rusin
1ddb217d8e
st/xorg: fix a typo
...
it'd be too easy, eh
2009-09-23 12:05:13 -04:00
Zack Rusin
5a7f708530
st/xorg: keep the user buffer contents around
...
Michel noticed that they were getting out of scope
2009-09-23 12:03:35 -04:00
Brian Paul
aae77319c0
progs/perf: set TexSubImage4=FALSE
2009-09-23 08:06:37 -06:00
José Fonseca
31f1571d1f
wgl: Eliminate the shared layer; implement WGL API on top of the ICD callbacks.
...
While the WGL API has been stale for decades now, the ICD interface has
been updated with new Windows versions, so it is much easier to define
everything in terms of the ICD interfaces, which is pretty much what
Microsoft's opengl32.dll does anyway.
2009-09-23 10:32:52 +01:00
José Fonseca
f8c11526c0
gdi: Update for WGL statetracker source reorg.
2009-09-23 10:32:51 +01:00
José Fonseca
f724036f00
wgl: Flatten the source tree.
...
It is easier to have the WGL API on top of the ICD callbacks as
Microsoft's own implementation does, than to have a seperate shared
entity. This source reorganization is in antecipation of that.
2009-09-23 10:32:51 +01:00
José Fonseca
8d1af5991d
wgl: Fix debug_printf format specifiers.
2009-09-23 10:32:51 +01:00
José Fonseca
21a949365d
gallium: Update vendor string.
2009-09-23 10:32:50 +01:00
root
75276ea316
softpipe: fix bugs in POT texture sampling when texture is not square
...
Before, if level was greater than the logbase2(base size) we were
doing a negative bit shift and winding up with garbage values.
2009-09-22 20:14:10 -06:00
Brian Paul
5dbedf3d7e
softpipe: additional assertions
2009-09-22 16:59:28 -06:00
Brian Paul
0670df5cb2
softpipe: disable a _debug_printf()
2009-09-22 16:42:15 -06:00
Brian Paul
02f2bcdf1d
Merge branch 'mesa_7_6_branch'
2009-09-22 16:06:18 -06:00
Brian Paul
d04fa73cec
progs/perf: added glCopyTex[Sub]Image2D test
2009-09-22 15:39:05 -06:00
Richard Li
98d5ec10d0
r600 : add draw_prim support, make up one lost change.
2009-09-22 17:26:23 -04:00
Richard Li
81283b0bf0
r600 : add draw_prim support.
2009-09-22 17:04:49 -04:00
Keith Whitwell
fe9ca0f718
softpipe: need to write depth/stencil values even when stencil fails
2009-09-22 20:47:37 +01:00
Keith Whitwell
207764894b
softpipe: set quad->facing value
2009-09-22 20:47:07 +01:00
Keith Whitwell
b1139e9ad8
softpipe: fix polygon stipple
2009-09-22 19:38:34 +01:00
Brian Paul
da0e4e557b
progs/perf: test glGetTexImage() also
2009-09-22 12:26:12 -06:00
Keith Whitwell
b626176f06
softpipe: fix occlusion counting
2009-09-22 19:26:08 +01:00
Jakob Bornecrantz
bade906ed1
st/xorg: Fix two leeks
...
We where leaking both surfaces in the composit code
and textures from pixmaps.
2009-09-22 11:06:57 -07:00
Jakob Bornecrantz
19798e17fe
i915g: Activate trace
2009-09-22 11:06:57 -07:00
Jakob Bornecrantz
e369294f76
i915g: Do propper references of surfaces in context
2009-09-22 11:06:56 -07:00
Brian Paul
67d7021ae0
progs/perf: add missing texture enable in fbobind.c
2009-09-22 11:15:11 -06:00
Brian Paul
ed113da12e
progs/perf: added fbobind.c test to test FBO binding speed
2009-09-22 11:15:11 -06:00
Brian Paul
cfb0f2489d
progs/perf: added PerfExtensionSupported() helper
2009-09-22 11:15:11 -06:00
Keith Whitwell
0ec26cce36
teximage: add more tests, image formats
...
Add a test which creates a new texture from scratch before uploading.
Add more image formats.
Don't run all tests on all image formats.
2009-09-22 18:00:11 +01:00
Brian Paul
bae2d58827
progs/perf: add another VBO test for Create/Draw/Destroy pattern
...
Report both MB/sec and draw/sec.
2009-09-22 09:53:35 -06:00
Brian Paul
7e5004b298
progs/perf: simplify the code
2009-09-22 09:43:08 -06:00
Brian Paul
aa80851e16
progs/perf: fix comment
2009-09-22 09:29:27 -06:00
Brian Paul
32979ae15f
progs/perf: updated comments
2009-09-22 07:50:12 -06:00
Keith Whitwell
6a09c9d2d8
progs/perf: make teximage results easier to read, more reproducible
...
Always run the same tests on different drivers, give zero results
where test image is too big for driver.
Add a newline between groups of tests.
2009-09-22 12:35:56 +01:00
Keith Whitwell
89f2799dac
progs/perf: reset row_length after subimage test
...
Also test fewer sizes in teximage generally.
2009-09-22 11:58:09 +01:00
Keith Whitwell
bf014d03fe
progs/perf: clean up swapbuffers test a bit
2009-09-22 11:27:18 +01:00
Keith Whitwell
ac6a5107e2
progs/perf: break up long runs of fullscreen quads
...
Not all drivers cope gracefully with command-buffers with zillions of
fullscreen quads.
2009-09-22 11:21:10 +01:00
Keith Whitwell
a7b2659f02
progs/perf: add first attempt at a swapbuffers rate test
...
This is pretty ugly as the original framework assumed you'd set
a single window size at startup and keep it throughout, but for
swapbuffers you want to test the rate at various window sizes.
With luck a nicer solution can be found, but this at least lays out
a marker.
2009-09-22 11:21:09 +01:00
Brian Paul
94a020cfe6
vbo: added comment about max array index
2009-09-21 16:54:35 -06:00
Brian Paul
9a3333f436
vbo: restore some lost warning output
2009-09-21 16:51:34 -06:00
Brian Paul
972e995b14
vbo: disable the GL_ARB_draw_elements_base_vertex rebase path
...
This was introduced with commit 92d7ed8a20 .
It causes rendering of stray polygons (with sw rendering at least) when
running the OGL Distilled / Picking demo (click on an object).
This needs additional debugging to fix/restore.
Found one suspect thing: in _tnl_draw_prims() there's some mixed signed/
unsigned arithmetic/comparing at line 422 that may be incorrect.
2009-09-21 16:10:50 -06:00
Adam Jackson
83019ffc07
selinux: Fix mmap() return value check
2009-09-21 17:04:22 -04:00
Brian Paul
40603526f4
mesa: refine the error checking vbo_exec_DrawRangeElements()
...
If the 'end' index is out of bounds issue a warning as before. But instead
of just no-op'ing the draw call, examine the actual array indices to see
if they're OK. If the max array index is out of bounds, issue another
warning and no-op the draw call. Otherwise, draw normally. This is a
debug build-only feature since it could impact performance.
This "fixes" the missing torus in the OGL Distilled / Picking demo.
2009-09-21 14:56:58 -06:00
Brian Paul
e5d29ebb5e
mesa: make max_buffer_index() a non-static function
2009-09-21 14:56:40 -06:00
Maciej Cencora
4916a5a2e7
radeon: update buffer map/unmap code for changes introduced in 92033a9516 and 822c796481
2009-09-21 14:56:11 -06:00
Maciej Cencora
d100cbf721
mesa: add some debug info to teximage.c
2009-09-21 14:56:11 -06:00
Maciej Cencora
b1c9c5a800
r300: fix a typo
2009-09-21 14:56:11 -06:00
Brian Paul
d504a7669d
swrast: fix cube face selection
...
If arx and ary are equal, we still want to choose from one of them,
and not arz.
This is the same as Michal's softpipe fix.
2009-09-21 14:56:10 -06:00
Alex Deucher
c63e78b3e5
r600: fix typo in the last commit
...
128 gprs, 256 reg-based consts
2009-09-21 16:48:55 -04:00
Alex Deucher
1869bdabba
r600: various cleanups
...
- max texture size is 8k, but mesa doesn't support
that at the moment.
- attempt to set shader limits to what the hw actually
supports
- clean up some old r300 cruft
- no need to explicitly disable irqs. This is fixed
in the drm now.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com >
2009-09-21 16:33:11 -04:00
José Fonseca
734a498ed4
mesa: Ensure TGSI tokens are freed with gallium's free.
...
To avoid breaking the gallium's builtin malloc debugging.
2009-09-21 20:12:03 +01:00
Brian Paul
9297e6968a
progs/perf: added fill-rate test
...
Many more fill modes could be tested, but this hits the basics including
blending, texturing and shaders.
2009-09-21 12:17:49 -06:00
Brian Paul
05bce08980
progs/perf: added helpers for creating simple textures and shader programs
2009-09-21 11:58:03 -06:00
Brian Paul
83fbee6e0b
progs/perf: offsetof() should be defined in stddef.h, include it
...
If this breaks mingw, feel free to revert this.
2009-09-21 11:09:47 -06:00
Nicolai Hähnle
9ca94f91a3
r300g: Fix bad formatting parameters in calls to debug_printf
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-09-21 17:41:54 +02:00
Nicolai Hähnle
496137d8eb
gallium debug: Add gcc printf hint to debug_printf
...
This causes gcc to issue warnings when format parameters do not match up
with the format string in calls to debug_printf.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-09-21 17:41:54 +02:00
Keith Whitwell
7ce0421fb7
progs/perf: a few more vbo upload modes
...
Some tests, eg small SubData are probably overwhelmed by the cost of
performing the draw after each upload. Add a varient which does a lot
of subdata uploads and then a single draw.
Also try to avoid cache-artifacts in the upload timings.
2009-09-21 15:57:14 +01:00
Keith Whitwell
25a580c841
progs/perf: human-readable drawoverhead output
2009-09-21 15:57:14 +01:00
Keith Whitwell
6ab7c127f7
progs/perf: human-format vertexrate output
2009-09-21 15:57:14 +01:00
Keith Whitwell
ed63bd62d8
progs/perf: add human-readable float formatter
2009-09-21 15:57:13 +01:00
Vinson Lee
d17af7d1e1
progs/glsl: Include local headers before installed headers during compilation.
...
Fixes compilation errors on platforms with insufficient older installed
GL headers.
2009-09-21 08:44:56 -06:00
Andre Maasikas
2d729e6e3b
r600: fix some issues with LIT instruction
...
- MUL_LIT is ALU.Trans instruction
- some Trans instructions can take 3 arguments
- don't clobber dst.x, use dst.z as temp, it'll get written correct
value in last insn
- respect source swizzles
2009-09-21 10:14:25 -04:00
Nicolai Hähnle
81c7561d9d
Merge branch 'master' into r300-compiler
...
There were additional non-textual conflicts.
Conflicts:
src/gallium/drivers/r300/r300_tgsi_to_rc.c
src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c
src/mesa/drivers/dri/r300/compiler/radeon_program.c
src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c
2009-09-21 13:26:50 +02:00
Nicolai Hähnle
3083ba38f4
Merge branch 'mesa_7_6_branch'
2009-09-21 13:08:34 +02:00
Michel Dänzer
c67bb22fe7
Merge branch 'mesa_7_6_branch'
2009-09-21 10:48:32 +02:00
Ben Skeggs
774db70506
nouveau: allow building modesetting_drv.so
2009-09-21 14:51:39 +10:00
Ben Skeggs
344e2fd1f2
nouveau: drm_api create_screen()'s 'arg' argument can be NULL
2009-09-21 14:46:50 +10:00
Brian Paul
e3384a0d53
windows: call _mesa_meta_init/free()
2009-09-20 22:19:28 -06:00
Brian Paul
2c1937480a
xlib: always call _mesa_meta_init/free()
2009-09-20 22:19:06 -06:00
Brian Paul
4a4914e414
dri/swrast: call _mesa_meta_init/free()
2009-09-20 22:13:28 -06:00
Brian Paul
1741bc1a79
osmesa: call _mesa_meta_init/free()
2009-09-20 22:13:09 -06:00
Brian Paul
a1cf9b6abe
Revert "st/mesa: Compile in meta.c."
...
This reverts commit 6c5726cd39 .
2009-09-20 22:08:30 -06:00
Brian Paul
1eda10d073
Revert "scons: add meta.c to sources"
...
This reverts commit 41fefe88c5 .
2009-09-20 22:08:21 -06:00
Brian Paul
da9d8f1924
Revert "mesa: move _mesa_meta_init/free() calls to core Mesa"
...
This reverts commit 651cffd626 .
The commit inadvertantly introduced a new gallium dependency on the meta code.
2009-09-20 22:06:03 -06:00
Brian Paul
41fefe88c5
scons: add meta.c to sources
2009-09-20 21:31:45 -06:00
Chia-I Wu
6c5726cd39
st/mesa: Compile in meta.c.
...
meta was moved to core Mesa since
651cffd626 .
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-20 21:31:45 -06:00
Chia-I Wu
81bac6e2a8
intel: meta clear has a new name.
...
It was renamed to _mesa_meta_Clear.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2009-09-20 21:31:45 -06:00
Dave Airlie
e9d6ab72be
xorg/st: fixup builds against later dpms headers.
2009-09-21 13:26:48 +10:00
José Fonseca
1a9eec84bd
scons: Drop gprof support for profile builds; tweak optimization flags instead.
...
gprof is useful for shared libraries, hence our drivers. Nevertheless
profilers like oprofile can benefit from disabling some relatively
minor optimizations for more accurate / complete results.
2009-09-20 18:09:34 +01:00
José Fonseca
911a7a82cd
llvmpipe: Fix lp_get_cached_tile.
...
Align coordinates to tile boundaries.
2009-09-20 18:09:34 +01:00
José Fonseca
76c2e34b22
llvmpipe: Update tile status on flush.
2009-09-20 18:09:34 +01:00
Brian Paul
ebf2710b2f
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/mesa/drivers/dri/intel/intel_clear.c
2009-09-20 10:36:45 -06:00
Brian Paul
ed4076b5b8
mesa: remove redundant readbuffer check
2009-09-19 17:26:14 -06:00
Brian Paul
4de8e2123e
mesa: rename functions to be more consistant with rest of mesa
2009-09-19 17:06:15 -06:00
Brian Paul
232fc7d333
swrast: remove obsolete s_imaging.c file
2009-09-19 16:43:18 -06:00
Brian Paul
7e0f2ce941
swrast: remove prototypes for obsolete functions
2009-09-19 16:43:17 -06:00
Brian Paul
58e843dda0
mesa: remove s_imaging.c from build
2009-09-19 16:43:17 -06:00
Brian Paul
32e4b6c607
windows: replace old ColorTable, Convolution functions with new
2009-09-19 16:43:17 -06:00
Brian Paul
bc1c8d4af7
mesa: use new meta functions
2009-09-19 16:43:17 -06:00
Brian Paul
3e5a35269b
mesa: meta functions for glCopyColorTable, glCopyConvolutionFilter, etc
2009-09-19 16:43:17 -06:00
Brian Paul
dc3839ef3d
mesa: move readbuffer tests
2009-09-19 16:43:17 -06:00
Brian Paul
883dd9d770
mesa: use _mesa_get_current_tex_unit() helper
2009-09-19 16:43:17 -06:00
Brian Paul
3ed9dab19c
mesa: use _mesa_get_current_tex_unit() helper
2009-09-19 16:43:16 -06:00
Brian Paul
b0e9ea6084
mesa: fix some glCopyTex[Sub]Image regressions related to convolution
2009-09-19 16:43:16 -06:00
Brian Paul
651cffd626
mesa: move _mesa_meta_init/free() calls to core Mesa
2009-09-19 16:43:16 -06:00
Alex Deucher
b8477f079b
r600: fix point sizes
...
registers takes radius
2009-09-19 15:18:42 -04:00
Alex Deucher
368fb578f8
r600: fix polygon offset
2009-09-19 14:48:44 -04:00
Brian Paul
67cad78e08
swrast: remove obsolete s_texstore.c
...
Replaced by new, simpler meta functions.
2009-09-19 11:09:25 -06:00
Brian Paul
2f89044e6f
swrast: remove prototypes for obsolete functions
2009-09-19 11:08:49 -06:00
Brian Paul
14869c0984
mesa: remove s_texstore.c from makefile/project files
2009-09-19 11:08:20 -06:00
Brian Paul
a9c64daf02
glapi: replace old TexCopy functions w/ new
2009-09-19 11:05:54 -06:00
Brian Paul
41a171b714
windows: replace old TexCopy functions w/ new
2009-09-19 11:03:33 -06:00
Brian Paul
e2e0735e0e
gldirect: remove refs to soon-to-be-obsolete functions
...
I don't know if this driver is anywhere near build-able, but anyway.
2009-09-19 11:01:27 -06:00
Brian Paul
6f9dbe7739
mesa: use new _mesa_meta_CopyTex[Sub]Image() functions
2009-09-19 10:58:11 -06:00
Brian Paul
af69346446
intel: use new _mesa_meta_CopyTex[Sub]Image() functions
2009-09-19 10:58:07 -06:00
Brian Paul
22f02509f2
glapi: regenerated files
2009-09-19 10:00:55 -06:00
Brian Paul
c9a87ff441
glapi: added tokens, function for GL_ARB_provoking_vertex
2009-09-19 10:00:19 -06:00
Michal Krol
18d0f9a7a3
llvmpipe: Respect input interpolators for the shader.
...
Cherry-picked from fb2c7b6743
2009-09-19 14:57:24 +01:00
José Fonseca
fdd605e446
mesa: Allow BlitFramebuffer from a texture.
...
Although GL_EXT_framebuffer_blit does not mention textures, it doesn't
forbid them either, and some thirdparty driver appear to support this.
2009-09-19 14:33:35 +01:00
Michal Krol
de685b37a9
softpipe: Fix cube face selection.
...
If arx and ary are equal, we still want to choose from one of them,
and not arz.
2009-09-18 14:36:59 +01:00
Michal Krol
fb2c7b6743
softpipe: Respect input interpolators for the shader.
2009-09-17 16:06:11 +01:00
Michal Krol
5f0b49e7a9
tgsi: Scan input interpolators, too.
2009-09-17 16:06:09 +01:00
Keith Whitwell
2884c31d94
progs/perf: convert some DOS line-endings
...
It seems like some of these files were committed with CRLF initially.
2009-09-17 12:09:16 +01:00
Keith Whitwell
e95a3a23dc
progs/perf: add scons support, get working under mingw
2009-09-17 12:08:04 +01:00
Brian Paul
21caa29fbd
mesa: begin some texstore code refactoring
...
Next step will be to move the calls to ctx->Driver.ChooseTextureFormat()
into the teximage.c functions so drivers don't have to do it.
2009-09-16 21:50:04 -06:00
Brian Paul
1d8fbef4f2
mesa: meta driver functions for glCopyTex[Sub]Image()
...
Implement in terms of glReadPixels + glTex[Sub]Image().
This will allow us to get rid of some swrast texture code.
2009-09-16 20:09:07 -06:00
Brian Paul
9abbedad09
progs/perf: initial set of simple performance test programs
...
Initial tests include:
drawoverhead - measure overhead of state changes w.r.t drawing commands
teximage - measure glTexImage2D() and glTexSubImage2D() speed
vbo - measure glBufferData() and glBufferSubData() speed
vertexrate - measure vertex rate for immediate mode, glDrawArrays, VBOs, etc.
2009-09-16 19:33:01 -06:00
Brian Paul
4df2f7af5e
progs/glsl: minor Makefile clean-ups
2009-09-16 19:28:55 -06:00
Brian Paul
8d47b4906b
swrast: remove mipmap generation checks (done in core Mesa now)
2009-09-16 19:28:55 -06:00
Brian Paul
4e84b96d92
s3v: remove unneeded initializations
2009-09-16 19:28:54 -06:00
Brian Paul
1b1125c239
ffb: remove disabled code
2009-09-16 19:28:54 -06:00
José Fonseca
f911d196cf
llvmpipe: Don't assert due to unsupported texture wrap modes.
...
Issue a warning and fallback to clamping.
2009-09-16 20:42:09 +01:00
Ian Romanick
5ce72c559c
Merge branch 'mesa_7_6_branch'
2009-09-16 08:05:36 -07:00
Brian Paul
aabcc6cb23
gallium: remove incorrect 'return' stmt
2009-09-16 08:59:32 -06:00
José Fonseca
c29905aa31
gallium: Deprecate PIPE_CAP_S3TC.
...
No longer used. S3TC support is queried via
pipe_screen::is_format_supported.
2009-09-16 14:33:52 +01:00
Michal Krol
ec48396e0f
softpipe: Do not advertise Z32_UNORM as a supported format.
2009-09-16 13:56:58 +01:00
José Fonseca
b60e1d7630
gdi: Integrate with llvmpipe where available.
2009-09-16 11:35:23 +01:00
José Fonseca
459ea0095c
llvmpipe: Make the code portable for MinGW.
2009-09-16 11:35:23 +01:00
Dave Airlie
858a2a2ac7
radeon: cleanup compile defines mess.
...
I inherited this and really it stayed around far too long,
make it nice and simple.
2009-09-16 13:48:45 +10:00
Dave Airlie
a6a21eb00d
radeon: oops remove debugging left on in previous patch
2009-09-16 13:25:02 +10:00
Dave Airlie
2fdb0e5d3b
radeon: use txformat to decide to emit rect tex state.
...
This is more logical, and fixes a TFP issue.
2009-09-16 13:13:43 +10:00
Brian Paul
2914f2b7fd
mesa: move generate mipmap calls
...
Per the suggestion in the Intel driver, move the calls to
ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't
have to worry about it.
2009-09-15 18:17:43 -06:00
Brian Paul
ef6ee07fc7
mesa: minor clean-up
2009-09-15 18:17:43 -06:00
Brian Paul
a31ac84d74
mesa: remove last of gotos
2009-09-15 18:17:43 -06:00
Brian Paul
c352566933
mesa: more goto removal
2009-09-15 18:17:43 -06:00
Brian Paul
ecf6f37fc2
mesa: remove some gotos
...
This will make some subsequent changes easier...
2009-09-15 18:17:42 -06:00
Brian Paul
c26c2006df
mesa: clean-up fbo debug code
2009-09-15 18:17:42 -06:00
Brian Paul
0b0fc4072f
progs/demos: use non-default texobj in cubemap.c
2009-09-15 18:17:42 -06:00
Brian Paul
7f86da6c60
progs/demos: create a texture object in lodbias.c
...
Before, we were using the default texture object (name=0). This caused
the intel_generate_mipmap() path to fail since passing texture=0 to
glFramebufferTexture2DEXT() causes us to _unbind_ the texture if present.
2009-09-15 18:17:42 -06:00
Zack Rusin
a016043386
st/xorg: fixing copies and composite shaders
...
copies were busted when src == dst. also the composite shaders
were incorrectly using the fragments instead of the texture coordinate.
2009-09-15 19:50:36 -04:00
Zack Rusin
8adcad0c70
st/xorg: lots of fixes
...
fixes blending binding and copy coordinates
2009-09-15 19:50:34 -04:00
Brian Paul
f9574e05c2
docs: GL_ARB_provoking_vertex
2009-09-15 16:01:51 -06:00
Brian Paul
2e7a1dd8ca
mesa: added GL_ARB_provoking_vertex (same as EXT version)
2009-09-15 16:01:51 -06:00
Alex Deucher
87d40a95bf
radeon: don't build non-r600 span code on r600
2009-09-15 17:13:08 -04:00
Alex Deucher
49fc41eeed
r600: minor span cleanups
2009-09-15 17:13:08 -04:00
Ian Romanick
ac4e23d784
Merge branch 'mesa_7_6_branch'
2009-09-15 13:14:38 -07:00
Zack Rusin
f1ce6b09cd
st/xorg: Brian suggested that those could be mad's
...
optimizes the common paths
2009-09-15 15:21:42 -04:00
Brian Paul
b0c52e491d
mesa: remove incorrect texture state check
...
Fixes incorrectly textured bitmap text in engine demo.
It's incorrect to test the texture enable bits here since they may have
been changed by disabling the shader above. Optimization is still possible
but will have to be reexamined.
2009-09-15 12:36:55 -06:00
Maarten Maathuis
26860a6e2f
nv50: avoid excessive FIRE_RING
...
- And reduce RING_SPACE to 2, instead of 3.
2009-09-15 18:59:53 +02:00
Maarten Maathuis
db37279e0b
nv50: use flush_notify to reduce number of relocs
2009-09-15 18:59:53 +02:00
Michel Dänzer
0469465c31
st/xorg: Only unreference texture on pixmap destruction, don't destroy it.
...
Fixes memory corruption if e.g. the driver still has references to the texture.
2009-09-15 18:31:07 +02:00
Michel Dänzer
45cf2696ca
st/xorg: Explicitly check whether the driver supports the pixmap formats.
...
Rather than arbitrarily checking for pixmap depth < 15.
2009-09-15 18:30:58 +02:00
Michel Dänzer
be94a1d3bc
st/xorg: Use A8 format for depth 8 pixmaps.
...
The inconsistent bpp caused issues with UploadTo/DownloadFromScreen.
2009-09-15 18:23:00 +02:00
Brian Paul
be0cdd77ea
st/mesa: disable accidentally committed _mesa_print_program() call
2009-09-15 09:52:27 -06:00
Brian Paul
41bbc83951
Merge branch 'mesa_7_6_branch'
2009-09-15 09:47:35 -06:00
Brian Paul
c0cf9dc05e
ARB prog parser: regenerated file
2009-09-15 09:40:26 -06:00
Brian Paul
2aad3a855b
ARB prog parser: more detailed error message for out of bounds ADDR offsets
2009-09-15 09:40:25 -06:00
Andre Maasikas
5ef40337ab
r600: support position_invariant programs
2009-09-15 11:27:51 -04:00
José Fonseca
a18301790c
gallium: Use the enum for pipe_transfer::usage.
2009-09-15 16:02:55 +01:00
José Fonseca
cb5f1bce23
gallium: pipe_transfer_destroy helper inline.
2009-09-15 16:02:54 +01:00
Christoph Bumiller
d3a9cf54c0
nv50: fix stupid thinko in emit_set
...
When swapping sources 0 and 1, EQ of course does *not*
become NE, etc.
Introduced in 2b963f5c72 .
2009-09-15 15:37:10 +02:00
Michal Krol
7aee53002c
gallium: Fix pointer type casts.
2009-09-15 12:00:27 +01:00
Christoph Bumiller
750c6cae3d
nv50: let programs use the whole param buffer
...
Allocation is unnecessary since all uniforms are
uploaded on every constant buffer change anyway.
2009-09-15 12:13:23 +02:00
Christoph Bumiller
01670ca807
nv50: add preliminary support for point sprites
2009-09-15 12:13:23 +02:00
Christoph Bumiller
06dac41cc5
nv50: add support for point size per vertex
2009-09-15 12:13:23 +02:00
Christoph Bumiller
4d7b4781c8
nv50: add support for light-twoside
2009-09-15 12:13:23 +02:00
Christoph Bumiller
6516594c8e
nv50: proper linkage between VP and FP
...
This moves construction of the mapping between VP outputs
and FP inputs into validation.
The map also contains slots for special outputs like clip
distance and point size, so we need to at least merge the
VP related and FP related parts on validation if we want
to support those.
Now we match every single FP input component with results
from the VP and leave those not read out of the map, or
replace those not written by 0 (xyz) or 1 (w).
The bitmap indicating linear interpolants is also filled,
and flat FP inputs are mapped in only after non-flat ones,
as is required.
Furthermore, we can save some space by only fetching VP
attrs we actually use, and avoid wasting any output regs
because of TGSI using less than 4 components.
2009-09-15 12:13:23 +02:00
Christoph Bumiller
38849c529e
nv50: move allocation of pc regs
...
Make use of tgsi_shader_info to determine how many nv50_regs we
need to allocate, whether program uses KIL, or writes DEPR.
2009-09-15 12:13:23 +02:00
Christoph Bumiller
e0951797cb
nv50: nicer initialization of nv50_regs
2009-09-15 12:13:23 +02:00
Christoph Bumiller
849885c7a6
nv50: handle CEIL and TRUNC opcodes
2009-09-15 12:13:23 +02:00
Christoph Bumiller
2b963f5c72
nv50: handle SEQ, SGT, SLE, SNE opcodes
2009-09-15 12:13:23 +02:00
Christoph Bumiller
e774b3c0f2
nv50: SIN and COS use src0.w for dst.w
2009-09-15 12:13:22 +02:00
Christoph Bumiller
81de711fc8
nv50: use broadcast TEMP reg in tx_insn
...
Makes some opcode cases nicer and might reduce the total
nr of TEMPs required, or save some MOVs.
2009-09-15 12:13:22 +02:00
Christoph Bumiller
234d82ed63
nv50: add nv50_tgsi_insn to handle swizzles safely
2009-09-15 12:13:22 +02:00
Christoph Bumiller
2da8608ad7
nv50: add functions for swizzle resolution
...
We're going to try to reorder the scalar ops of a vector instr
to accomodate swizzles that would otherwise require us to emit
to an additional TEMP first (like MOV R0.xy, R0.zx).
2009-09-15 12:13:22 +02:00
Christoph Bumiller
5d141b3e3e
nv50: extend insn src mask function
...
Extend its usage to avoiding e.g. emission of negation
instructions in tx_insn for sources we don't need.
2009-09-15 12:13:22 +02:00
Cooper Yuan
287f0072d2
st/g3dvl: pass color values to softpipe clear function
2009-09-15 15:25:47 +08:00
Cooper Yuan
2ef8c60e55
xvmc: Generate new resource ID in _XIDHandler, otherwise it's invalid.
2009-09-15 13:16:56 +08:00
Zack Rusin
ef77462171
st/xorg: add some debugging helpers
2009-09-14 19:03:28 -04:00
Alex Deucher
364ca57aff
r600: add span support for 1D tiles
...
1D tile span support for depth/stencil/color/textures
Z and stencil buffers are always tiled, so this fixes
sw access to Z and stencil buffers. color and textures
are currently linear, but this adds span support when we
implement 1D tiling.
This fixes the text in progs/demos/engine and progs/tests/z*
2009-09-14 18:10:24 -04:00
Alex Deucher
f662cedae4
r600: fix warning
...
Noticed by rnoland on IRC.
2009-09-14 18:10:24 -04:00
Brian Paul
909ab3377f
st/mesa: minor whitespace, comment clean-ups
2009-09-14 16:01:27 -06:00
Brian Paul
5a87a25a65
st/xorg: fix ureg_DECL_constant() parameters
...
This fixes the compilation errors reported in bug 23945 but someone more
familiar with the code should review for correctness and close the bug
report.
2009-09-14 15:47:13 -06:00
José Fonseca
d3f5a2e5ab
scons: Allow to use only the WINDDK headers.
2009-09-14 20:12:02 +01:00
José Fonseca
a4a4553a80
scons: Allow to use MS's DXSDK headers with MinGW.
2009-09-14 20:12:01 +01:00
José Fonseca
c51bd94a14
gallium: Add pipe_transfer_map/unmap inlines.
2009-09-14 20:12:01 +01:00
José Fonseca
88b88bba68
util: Add _BitScanForward intrinsic's declaration.
...
It is missing in some Microsoft DDKs.
2009-09-14 20:12:01 +01:00
Brian Paul
aa522e6cc4
intel: minor code clean-ups
2009-09-14 12:42:18 -06:00
Brian Paul
8ec456c68c
intel: fix renderbuffer map/unmap regression
...
Commit 36dd53a3cd caused a few regressions
because the glReadBuffer() buffer wasn't getting mapped when GL_READ_BUFFER
!= GL_DRAW_BUFFER.
2009-09-14 12:42:18 -06:00
Brian Paul
3c31049439
intel: remove unneeded driver function assignments
...
These default swrast functions are already installed by
_mesa_init_driver_functions().
2009-09-14 12:42:18 -06:00
Brian Paul
284d3b2d9c
progs/tests: exercise display lists and pixelstore
2009-09-14 12:42:17 -06:00
Keith Whitwell
d7512521fd
mesa/st: remove dead comment
2009-09-14 17:11:09 +01:00
Keith Whitwell
4295b34d25
st/mesa: convert to new tgsi_ureg mechanism for shader emit
...
Should be easier to read and work with than the older ways of emitting
TGSI tokens.
Also, emit simpler TGSI than previously:
- translate away source and dest extended modifiers
- translate away the SWZ opcode
2009-09-14 17:09:15 +01:00
Marcin Kościelnicki
d8a191e314
nv50: Fix m2mf positions.
2009-09-14 12:12:03 +02:00
José Fonseca
b4835ea03d
llvmpipe: Make lp_type a regular union.
...
Union not worth the hassle of violating C99 or adding a name to
the structure.
2009-09-14 11:05:38 +01:00
José Fonseca
fa150debf0
util: Fix a1r5g5b5's format description.
2009-09-14 11:05:38 +01:00
Cooper Yuan
aad0deee4b
g3dvl: update tgsi_opcode in order to build g3dvl library
2009-09-14 16:23:03 +08:00
Keith Whitwell
66a7eedaa2
tgsi: handle some src/dst aliasing in tgsi_sse2.c
...
Src/Dst aliasing (aka SOA dependencies) requires some care to ensure
intermediate results do not overwrite yet-to-be read source registers.
This change ensures that MOV/SWZ handle this correctly, which is poor but
no worse than the current tgsi_exec.c path. Remove the fallback as there
is nothing to be gained correctness-wise between the two implementations now.
Fixing this properly looks like a bit of work in this code, but might be
easily achieved by sending destination writes to temporary storage.
2009-09-13 11:59:24 -07:00
José Fonseca
86226d5ea1
llvmpipe: Compute derivatives.
2009-09-13 16:22:27 +01:00
José Fonseca
4b32dd3007
llvmpipe: Remove dead references to pipe_winsys.
2009-09-13 16:13:12 +01:00
José Fonseca
5e13e987da
llvmpipe: Use const keyword for input array arguments.
2009-09-13 16:12:48 +01:00
José Fonseca
faec23387e
llvmpipe: Delay storing into the dst register to prevent clobbering the src registers.
...
How I'm thankful for regular expressions -- just a couple of them were
all that was needed to do this otherwise tiresome and bug prone change.
2009-09-13 14:42:52 +01:00
José Fonseca
873773ee2b
llvmpipe: Translate more TGSI opcodes.
...
Basically cover all low hanging fruit, and mark the still missing opcodes
as "fixme" or deprecated.
2009-09-13 13:55:08 +01:00
José Fonseca
00dd0156e0
llvmpipe: Add a few more common arithmetic functions.
...
We are relying on SSE4.1 for round/trunc/ceil/floor. We'll need to
eventually find alternatives for the rest of the world.
2009-09-13 13:50:19 +01:00
José Fonseca
d7aa114e16
llvmpipe: Rename function to free up lp_build_trunc to the usual arithmetic meaning.
2009-09-13 13:45:48 +01:00
Keith Whitwell
18e5f1cee4
tgsi: implement saturation
...
Fix recent performance regression.
2009-09-12 18:33:46 -07:00
Keith Whitwell
055fe5768c
tgsi: add missing implementation of constant decl change
2009-09-12 16:27:25 -07:00
Cooper Yuan
bffa18624d
r300g: delete unused flag due to commit: 09b566e161
2009-09-13 07:10:34 -04:00
Keith Whitwell
11f41f54cf
ureg: add a mechanism to get the built tokens rather than a full shader
...
Previously ureg would always call the driver's create-shader function. This
allows the caller the opportunity to hold onto the tokens if it needs to
reuse them, eg. to create an internal draw shader.
2009-09-12 14:18:50 -07:00
Keith Whitwell
c23894295b
ureg: add generic emitters for tex and branch instructions
...
Couldn't previously emit these except by calling the opcode-specific helper.
2009-09-12 14:18:00 -07:00
Keith Whitwell
ae4704eabc
tgsi/ureg: give ureg_DECL_constant an explicit index parameter
...
Avoid the need to emit all constant declarations in order. Makes
referring to a specific constant in the constant buffer much easier.
2009-09-12 14:16:00 -07:00
Keith Whitwell
09b566e161
mesa: remove unused SATURATE_PLUS_MINUS_ONE flag
...
Never set in mesa. Remove from tgsi translation as well.
2009-09-12 14:15:15 -07:00
Keith Whitwell
6d8dbd3d1e
tgsi/ureg: VS inputs don't have any semantic tags, just an index
...
Fix ureg_DECL_vs_input to reflect this and fix up all callers.
2009-09-12 14:12:35 -07:00
Keith Whitwell
149945c432
tgsi: free tokens on error
2009-09-12 14:07:48 -07:00
Keith Whitwell
e90fb86ac3
tgsi: sanity check ureg programs
2009-09-12 14:05:37 -07:00
Keith Whitwell
983b261e6d
tgsi: add const qualifier
2009-09-12 14:04:36 -07:00
Nicolai Hähnle
3cb30e55e4
r300g: There is no such thing as "texture stride"
...
Individual texture images have a stride, but textures as a whole do not.
There are still pieces of code which are confused about this, but the core of
the confusion is hopefully gone.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-09-12 16:55:25 +02:00
Eric Anholt
57d16c4cc3
i965: Move OPCODE_DDX/DDY to brw_wm_emit.c and make it actually work.
...
Previously, it was trying to mess around with the varying's
WM setup data to produce a result. Along with not actually working when
passed a varying, this wouldn't work if you did dFd[xy]() on a temporary.
Instead, just calculate the derivative using the neighbors in the subspan.
2009-09-11 14:13:47 -07:00
Andre Maasikas
a79eecb913
r600: fix texcoords from constants
...
with some minor updates from Richard.
2009-09-11 15:59:55 -04:00
Alex Deucher
08b7d32140
Revert "r600: support tex coords from constants"
...
This reverts commit 4099bb7614 .
Tex coord src has to be a GPR.
2009-09-11 12:11:04 -04:00
Cooper Yuan
622b31925b
r300g: only allocate one BO for vertex buffers, default size is 64*1024
...
it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on
2009-09-11 23:21:28 +08:00
Alex Deucher
4099bb7614
r600: support tex coords from constants
...
Fixes neverball among other things.
2009-09-11 11:07:58 -04:00
Andre Maasikas
4108ed7e80
r600: enable caching of vertex programs
2009-09-11 10:59:53 -04:00
José Fonseca
672c5f52d1
llvmpipe: set dirty_render_cache in llvmpipe_clear()
...
Based on Brian's softpipe change on
commit 988db64119 . We don't use the tile
cache for zsbuf though, only for color buffers.
2009-09-11 11:29:24 +01:00
José Fonseca
1fc4100225
llvmpipe: Update status in README and TODO/FIXME comments throughout the code.
2009-09-11 11:24:26 +01:00
Eric Anholt
7c0152fbae
i965: Enable loops in the VS.
...
Passes piglit glsl-vs-loop testcase.
Bug #20171
2009-09-10 20:43:44 -07:00
Brian Paul
0ef5b62787
mesa: nicer vertex setup
2009-09-10 19:56:35 -06:00
Brian Paul
4781c1f459
st/mesa: use st_context() helper
2009-09-10 19:40:53 -06:00
Brian Paul
6bc36f29c7
softpipe: remove no-op softpipe_init_texture_funcs() function
2009-09-10 16:51:52 -06:00
Brian Paul
209031701a
softpipe: remove unused #includes, move comment
2009-09-10 16:50:18 -06:00
Brian Paul
de059d35c3
util: remove unneeded #includes
2009-09-10 16:45:25 -06:00
Brian Paul
afcaa45a94
softpipe: reformatting, clean-ups, comments
2009-09-10 16:42:47 -06:00
Brian Paul
759696defb
util: minor clean-ups, reformatting
2009-09-10 16:39:13 -06:00
Brian Paul
71b3ccc4b0
softpipe: remove unneeded #includes
2009-09-10 16:38:51 -06:00
Ian Romanick
b8e1e8d2d8
Merge branch 'master' into asm-shader-rework-2
...
Conflicts:
src/mesa/shader/lex.yy.c
src/mesa/shader/program_parse.tab.c
src/mesa/shader/program_parse.tab.h
2009-09-10 15:33:45 -07:00
Ian Romanick
81722c5d7e
NV fp parser: Add support for condition codes
...
Conditional write masks and the condition-code based KIL instruction
are all supported. The specific behavior of KIL in the following
shader may or may not match the behavior of other implementations:
!!ARBfp1.0
TEMP GT;
MOVC GT, fragment.texcoord[0];
KIL GT.x;
END
Should be it interpreted as 'KIL srcReg' or as 'KIL ccTest'? The
current parser will interpret it as 'KIL srcReg'.
2009-09-10 15:04:24 -07:00
Ian Romanick
cdb7193994
ARB prog lexer: Add missing #include to silence compile warning
2009-09-10 14:55:36 -07:00
Brian Paul
d9dc4cb0e4
Merge branch 'mesa_7_6_branch'
2009-09-10 15:41:52 -06:00
Zack Rusin
8c37a4c8fd
st/xorg: rename ctx to pipe to match every other gallium state tracker
...
plus it avoids the "ctx->ctx->" syntax
2009-09-10 17:43:25 -04:00
Ian Romanick
0e7953366f
ARB prog parser: Differentiate between used and unused names in the lexer
...
The lexer will return IDENTIFIER only when the name does not have an
associated symbol. Otherwise USED_IDENTIFIER is returned.
2009-09-10 14:35:33 -07:00
Zack Rusin
85a716bf62
st/xorg: temporarily disablie copies
2009-09-10 17:21:06 -04:00
Zack Rusin
feb74e7753
st/xorg: implement pipelines surface/texture copies
2009-09-10 17:21:06 -04:00
Zack Rusin
57d0934bc5
st/xorg: unite finalization and stub out pipelined copies
2009-09-10 17:21:06 -04:00
Zack Rusin
974dec2e7b
st/xorg: abstract flushing and syncing for the exa code
2009-09-10 17:21:06 -04:00
Zack Rusin
16886c8be3
st/xorg: disable solid fills until copies are accelerated as well
2009-09-10 17:21:06 -04:00
Zack Rusin
6be1a98ab9
st/xorg: implement exasolids with full pipelining
...
plus fix some small issues with the shaders
2009-09-10 17:21:06 -04:00
Zack Rusin
3167c2e8a0
st/xorg: start adding support for surface fills
2009-09-10 17:21:06 -04:00
Marcin Kościelnicki
18882f4d30
nv50: Fix tiling mode for lower mipmap levels.
2009-09-10 21:06:48 +02:00
Eric Anholt
36dd53a3cd
intel: Don't forget to map the depth read buffer in spans.
...
This broke BlitFramebufferEXT(GL_DEPTH_BUFFER_BIT).
2009-09-10 11:16:18 -07:00
Alex Deucher
e669dc2b0d
r300: enable rb3d_discard_src_pixel_lte_threshold for more chips on dri2
2009-09-10 12:04:38 -04:00
Alex Deucher
7dfe54a60e
r300: add full support for two sided stencil on r5xx for dri2
2009-09-10 12:01:19 -04:00
Mathias Frohlich
f89751e719
mesa: fix cut&paste typos
2009-09-10 08:50:16 -06:00
Vinson Lee
c7291f69a0
util: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.
...
Fixes typo from commit c6c44bf481 .
2009-09-10 15:33:57 +01:00
José Fonseca
6a405b4a21
llvmpipe: Fix alpha test.
2009-09-10 13:35:39 +01:00
José Fonseca
4c3a48ad0c
llvmpipe: Mask out color channels not present in the color buffer.
2009-09-10 12:37:44 +01:00
José Fonseca
48f19c0bcd
llvmpipe: Fix sampling from depth textures. Respect texture compare func.
...
Fixes Mesa shadowtex sample.
2009-09-10 12:14:53 +01:00
José Fonseca
c3c80c5c22
llvmpipe: Skip blending when mask is zero.
...
This increases quake3 timedemo fps another 10%.
2009-09-10 12:01:42 +01:00
José Fonseca
8e6b925d2a
llvmpipe: Proper control flow builders.
...
New control flow helper functions which keep track of all variables
and generate the correct Phi functions.
This re-enables skipping the fs execution of quads masked out by
the rasterizer, early z testing, and kill opcode.
This yields a performance improvement of around 20%.
2009-09-10 11:44:03 +01:00
José Fonseca
bd3b59da63
llvmpipe: Copy the texture target into the sampler static state.
...
Hunk forgotten in previous commit.
2009-09-10 09:19:51 +01:00
José Fonseca
4139bc8f43
llvmpipe: Quick hack for 1D textures.
2009-09-09 21:48:50 +01:00
José Fonseca
b0b131b023
scons: Pass -mstackrealign option to gcc.
...
It is impossible to have gcc generate SSE code without it, as thirdparty
applications often call us with an unaligned stack pointer.
2009-09-09 21:48:50 +01:00
José Fonseca
abc160b664
llvmpipe: Fix depth mask computation.
...
Fixes depth test for 24bit depth formats.
2009-09-09 21:48:50 +01:00
José Fonseca
cdbbcdf3bd
llvmpipe: Include zsbuf's format in the fragment shader key.
2009-09-09 21:48:50 +01:00
José Fonseca
da912a7a16
util: Fix depth/stencil format description.
...
Inverse channel order.
2009-09-09 21:48:49 +01:00
José Fonseca
01c831576e
llvmpipe: Debug function to check stack alignment.
...
Doing alignment check in locus is redundant, as gcc alignment assumptions
will optimize away the check.
2009-09-09 21:48:49 +01:00
Eric Anholt
5604b27b93
i965: Fix relocation delta for WM surfaces.
...
This was a regression in 0f328c90db .
Bug #23688
Bug #23254
2009-09-09 12:52:52 -07:00
Brian Paul
4d85a6b393
i965: fix an overlooked merge conflict
2009-09-09 09:24:38 -06:00
Alex Deucher
49c230709c
r600: check if textures are actually enabled before submission
...
noticed by taiu on IRC.
2009-09-09 11:17:24 -04:00
Brian Paul
7bf6347362
Merge branch 'mesa_7_6_branch'
2009-09-09 09:00:58 -06:00
Brian Paul
94a8157ef6
mesa: regenerate get.c form get_gen.py
2009-09-09 08:55:32 -06:00
Brian Paul
3fed69eb16
mesa: move call to init_c_cliptest() from enable.c to tnl module.
...
Fixed gallium build breakage.
2009-09-09 08:54:38 -06:00
Alex Deucher
da9ed257a3
r600: fix ftp for dri1
...
We use t->bo for dri1 since r600 uses CS for dri1.
2009-09-09 01:43:17 -04:00
Zhenyu Wang
ca246dd186
intel: add B43 chipset support
...
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com >
2009-09-09 13:28:59 +08:00
Dave Airlie
5aaa45de4c
r600: don't setup hardware state if TFP
...
if we have a BO here it means TFP and we should have set it
up already.
tested by b0le on #radeon
2009-09-09 15:02:16 +10:00
Brian Paul
8947cf6728
progs/tests: added Z invert option
2009-09-08 16:47:30 -06:00
Brian Paul
f78eafcacb
mesa: bump version to 7.7
2009-09-08 16:46:06 -06:00
Brian Paul
97cbaab541
gallium: added r8g8b8_get/put_tile_rgba()
2009-09-08 16:45:34 -06:00
Brian Paul
079ae4c38c
progs/demos: added RGB invert option
2009-09-08 16:45:07 -06:00
Brian Paul
126696caf7
mesa: fix viewport_z_clip breakage
2009-09-08 16:44:49 -06:00
Jakob Bornecrantz
e589a37f7b
i915g: Add buffer write callback
2009-09-09 00:43:36 +01:00
Jakob Bornecrantz
d112132840
i915g: Reorg vbuf code a bit
2009-09-09 00:43:36 +01:00
Jakob Bornecrantz
547b726484
i915g: pwrite batchbuffer instead of map
2009-09-09 00:43:36 +01:00
Jakob Bornecrantz
d585616f5b
i915g: Keep vertex buffers in a fifo
2009-09-09 00:43:35 +01:00
Jakob Bornecrantz
6e61d06209
util: Add super simple fifo
2009-09-09 00:43:35 +01:00
Jakob Bornecrantz
3833587818
i915g: Map vertex buffers via gtt
2009-09-09 00:43:35 +01:00
Jakob Bornecrantz
530fbd314e
i915g: Remove lib prefix from driver
2009-09-09 00:43:35 +01:00
Eric Anholt
9fff4b46d3
docs: Add basic 7.7 relnotes.
2009-09-08 15:12:22 -07:00
Eric Anholt
f959ccdfa6
intel: Add support for ARB_draw_elements_base_vertex.
...
On the 965, we just drop the value into the primitive packet. On non-945,
we rely on the sw tnl code handling it.
2009-09-08 15:12:22 -07:00
Eric Anholt
92d7ed8a20
mesa: Add support for ARB_draw_elements_base_vertex.
2009-09-08 15:12:20 -07:00
Eric Anholt
ec9e729580
glapi: Add ARB_draw_elements_base_vertex
2009-09-08 14:48:47 -07:00
Eric Anholt
b11a8ea863
mesa: Expose NV_depth_clamp if ARB_depth_clamp is supported.
...
The wording of these two is exactly the same, except for the issue
"Can fragments with wc<=0 be generated when this extension is supported?",
which idr thinks is a non-issue for us.
2009-09-08 14:30:18 -07:00
Eric Anholt
0310aafd9e
i965: Add support for ARB_depth_clamp.
2009-09-08 14:30:18 -07:00
Eric Anholt
0e5c2598ec
Regenerate files for GL_ARB_depth_clamp.
2009-09-08 14:30:18 -07:00
Eric Anholt
b4922b5331
mesa: Add support for ARB_depth_clamp.
...
This currently doesn't include fixing up the cliptests in the assembly
paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
2009-09-08 14:30:15 -07:00
Eric Anholt
3e4539a471
i965: Respect spec requirement for pixel shader computed depth with no zbuffer.
2009-09-08 14:28:23 -07:00
Eric Anholt
15c0cc5cf4
i965: Set NULL WM surfaces as tiled according to requirement by specs.
2009-09-08 14:28:23 -07:00
Eric Anholt
ea6dab2537
i965: Use the renderbuffer surface size instead of region size for WM surfaces.
...
For drawing to lower mipmap levels, the region size makes the renderbuffer
be the size of the lowest level, instead of the current level. On DRI1,
Brian previously found that the RB size was incorrect, so leave this broken
there.
2009-09-08 14:28:23 -07:00
Eric Anholt
58a57e3fc4
Revert "intel: helper to debug bufmgr (disabled)"
...
This reverts commit e0ec405a9f .
This is already available in INTEL_DEBUG=bufmgr in the environment.
2009-09-08 14:28:23 -07:00
Brian Paul
b2de028523
i965: #include clean-ups
2009-09-08 14:33:47 -06:00
Brian Paul
e61215242b
intel: #include clean-ups
2009-09-08 14:33:47 -06:00
Brian Paul
8e8d3470be
i965: use _mesa_is_bufferobj()
...
Also, remove unneeded call to _mesa_validate_pbo_access(). It's done by
core Mesa as the comment suggested.
2009-09-08 14:33:47 -06:00
Brian Paul
ced699b37a
i965: use _mesa_is_bufferobj()
2009-09-08 14:33:47 -06:00
Brian Paul
abdf2e14bc
i965: use _mesa_is_bufferobj()
2009-09-08 14:33:47 -06:00
Brian Paul
00aac1d29a
i965: use _mesa_is_bufferobj()
2009-09-08 14:33:47 -06:00
Alex Deucher
e6ad286a80
r600: fix dri2 clipping
2009-09-08 16:03:25 -04:00
Michel Dänzer
e34ea368d9
st/xorg: Add support for EXA_MIXED_PIXMAPS and EXA_SUPPORTS_PREPARE_AUX.
...
Also make sure not to leak malloced memory when switching pixmaps to texture
based.
2009-09-08 18:08:24 +02:00
Vinson Lee
2c307c7750
scons: Add Mac OS to target platform list.
2009-09-08 12:32:37 +01:00
Michal Krol
fcb94f6e3e
gdi: Fix prototype of gdi_softpipe_surface_buffer_create().
2009-09-08 10:22:07 +02:00
Vinson Lee
79f48c9f9e
scons: Don't set LLVM_VERSION if one of the llvm-config calls fails.
...
Ubuntu 8.10 has llvm-config version 2.2, which doesn't have
nativecodegen. This triggers an exception.
2009-09-07 15:16:25 +01:00
José Fonseca
b481fb2c6d
llvmpipe: Silent debug statement.
2009-09-07 15:02:08 +01:00
José Fonseca
1127201088
llvmpipe: Better abs for floating points.
2009-09-07 15:02:08 +01:00
José Fonseca
e4c76c02f7
llvmpipe: Code generate the texture sampling inside the shader.
...
Finally a substantial performance improvement: framerates of apps using
texturing tripled, and furthermore, enabling/disabling texturing only
affects around 15% of the framerate, which means the bottleneck is now
somewhere else.
Generated texture sampling code is not complete though -- we always
sample from the base level -- so final figures will be different.
2009-09-07 15:02:08 +01:00
José Fonseca
de8376e2f2
llvmpipe: Texture sampling code generation primitives.
...
Only supports single level 2d textures, with neareast and bilinear
filtering for now.
2009-09-07 15:02:07 +01:00
José Fonseca
0c2ea24338
llvmpipe: Convenience function to obtain the integer type with same bitdepth of an arbitrary type.
2009-09-07 15:02:07 +01:00
José Fonseca
fa0f4b35be
llvmpipe: Utility functions for linear and bilinear interpolation.
2009-09-07 15:02:07 +01:00
José Fonseca
4da20234f3
llvmpipe: Correct implementation of floor.
2009-09-07 15:02:07 +01:00
José Fonseca
b1eff018c7
llvmpipe: Utility function to get the pointer to a structure member.
2009-09-07 15:02:07 +01:00
José Fonseca
866fbacf2b
llvmpipe: SoA pixel unpacking specialization.
2009-09-07 15:02:06 +01:00
José Fonseca
6b129a8222
util: Utility function to check if a number is a power of two.
2009-09-07 15:02:06 +01:00
José Fonseca
8be72bb764
llvmpipe: Further abstract the texture sampling generation from TGSI translation.
2009-09-07 15:02:06 +01:00
Michal Krol
970823978c
mesa: Include <unistd.h> only when one is available.
2009-09-07 09:31:17 +02:00
Michal Krol
826d441cdf
mesa: Fix calling conventions of sync object api callbacks.
2009-09-07 09:16:35 +02:00
Michel Dänzer
617202b578
r300g: Fix some issues pointed out by compiler warnings.
2009-09-06 18:12:14 +02:00
Michel Dänzer
7b8ec0d8e7
r300g: Handle PIPE_BUFFER_USAGE_DONTBLOCK as intended.
...
Return NULL if the BO is busy, otherwise just map it.
2009-09-06 18:12:14 +02:00
Brian Paul
23663ae914
mesa: initial version of _mesa_meta_generate_mipmap()
...
Incomplete and totally untested. Based on intel_generate_mipmap().
2009-09-06 09:39:50 -06:00
Brian Paul
4d63c626d0
xlib: test _mesa_meta_bitmap()
2009-09-06 09:37:30 -06:00
Brian Paul
886e7b318d
mesa: use separate temp texture for bitmaps
2009-09-06 09:37:30 -06:00
Brian Paul
b2951ffe96
mesa: temp_texture changes
2009-09-06 09:37:30 -06:00
Brian Paul
f477fa7a85
mesa: free meta bitmap buffers
2009-09-06 09:37:29 -06:00
Brian Paul
0e5293a240
mesa: use _mesa_set_enable()
2009-09-06 09:37:29 -06:00
Brian Paul
bcb62ae78a
mesa: _mesa_meta_bitmap() function
2009-09-06 09:37:29 -06:00
Brian Paul
4fdc96db1d
xlib: move misplaced brace
2009-09-06 09:37:29 -06:00
Nicolai Hähnle
1ddb22675c
r300g: Fix a number of warnings
...
Seriously guys....
2009-09-06 15:14:22 +02:00
Nicolai Hähnle
4b01e6f614
r300g: Debug flags infrastructure
...
So that debugging is no longer a full-spam-or-nothing approach, you are now
supposed to set the RADEON_DEBUG environment flag just like for classic Mesa.
The available debug flags are different, however. Just running an OpenGL
application with RADEON_DEBUG set to an arbitrary string will print out
helpful information.
Everything must be compiled with -DDEBUG for any of this to work
2009-09-06 15:03:52 +02:00
Nicolai Hähnle
f02f63997c
Merge branch 'master' into r300-compiler
...
Conflicts:
src/gallium/drivers/r300/r300_tgsi_to_rc.c
2009-09-06 13:15:04 +02:00
Nicolai Hähnle
e95e76e125
r300/compiler: New dataflow structures and passes
...
This replaces the old NQSSADCE code with the same functionality, but quite
different design. Instead of doing a single integerated pass, we now build
explicit data structures representing the dataflow.
This will enable analysis of flow control instruction, and could potentially
open an avenue for several dataflow based optimizations, such as peephole
optimization, fusing MUL+ADD to MAD, and so on.
2009-09-06 11:47:40 +02:00
Cooper Yuan
9778731732
r300g: update the value of register VAP_VF_MAX_VTX_INDX
...
according to actual vertex index count.
2009-09-05 20:58:32 +08:00
Cooper Yuan
80ea03bd17
r300g: update rs_block state after changing rasterizer
2009-09-05 14:26:39 +08:00
Cooper Yuan
8f990f928b
r300g: need to validate scissor and viewport state if bind new rasterizer
2009-09-05 10:26:39 +08:00
Ian Romanick
d0adebb8d5
NV fp parser: Support instruction and TEMP / OUTPUT sizes
...
Adds support for declaring TEMP and OUTPUT variables as 'LONG' or
'SHORT' precision. The precision specifiers are parsed, but they are
currently ignored. Some support for this may be added in the future,
but neither Intel hardware nor, as far as I'm aware, Radeon hardware
support multiple precisions.
Also adds support for instruction precision ('X', 'H', and 'R')
suffixes and instruction condition code output ('C') suffix. This
results in a fairly major change to the lexer. Instructions are
matched with all the possible suffix strings. The suffix string are
then carved off by a context (i.e., which program mode and options are
set) aware parser that converts the suffixes to bits in
prog_instruction.
This could have been handled in the same way _SAT was originally
handled in the lexer, but it would have resulted in a very large lexer
with lots of opportunity for cut-and-paste errors.
2009-09-04 17:31:05 -07:00
Ian Romanick
9ea4319744
ARB prog parser: Add new constructor for asm_instruction
...
The new constructor copies fields from the prog_instruction that the
parser expects the lexer to set.
2009-09-04 16:35:50 -07:00
Alex Deucher
9ab19a3900
r600: add support for EXT_texture_sRGB
2009-09-04 18:46:16 -04:00
Alex Deucher
60ca65c016
r300: Add support for GL_EXT_provoking_vertex
2009-09-04 18:46:15 -04:00
Alex Deucher
8fd7586bcc
r600: Add support for GL_EXT_provoking_vertex
2009-09-04 18:46:15 -04:00
Eric Anholt
0612ad4f19
i965: Don't set the complete field when there is more VUE yet to come.
...
This should help with things like lightsmark, but I don't have a testcase
for this commit.
2009-09-04 14:20:09 -07:00
Eric Anholt
a47858e45e
i965: Add support for 2 threads in the GS.
...
This brings noop vertex shader throughput from 6.8M verts/sec to 10.4M
verts/sec using GL_QUADs on my GM45.
2009-09-04 14:20:09 -07:00
Eric Anholt
8f7f22ca1d
i965: Add support for KIL_NV in brw_wm_emit.c
...
I ran into this lack of support when writing a shader that always discarded
the fragments.
2009-09-04 14:20:08 -07:00
Julien Cristau
f8f07cb999
Remove unused INSTALL_TARGETS variable
...
The install targets were removed in the previous commit.
2009-09-04 17:29:21 +02:00
Julien Cristau
c14446ab00
Don't run install from the various configs in parallel
...
Hopefully this fixes a bug in the previous debian/rules that could lead
to FTBFS. Thanks to Bernhard R. Link for the suggestions.
2009-09-04 17:22:31 +02:00
Brice Goglin
70fd9421ac
Prepare changelog for upload
2009-09-04 11:39:18 +02:00
Brice Goglin
1810757c29
Bump Standards-Version to 3.8.3 to 3.8.3 now that we have README.source
2009-09-04 11:35:10 +02:00
Brice Goglin
4c79e26a9d
Add a Mesa-specific README.source inspired from the one in xsfbs
2009-09-04 11:33:17 +02:00
Brice Goglin
1783d52ace
Prepare changelog for upload
2009-09-04 10:58:58 +02:00
Brice Goglin
c5bf7f94c0
New upstream release
2009-09-04 10:55:25 +02:00
Brice Goglin
8222bfc1d1
Merge tag 'mesa_7_5_1' into debian-unstable
...
Conflicts:
progs/tests/fbotest1.c
progs/tests/texwrap.c
progs/trivial/.gitignore
progs/trivial/Makefile
2009-09-04 10:53:45 +02:00
Ian Romanick
eeb1402c05
NV fp parser: Add support for absolute value operator on instruction operands
2009-09-03 14:32:48 -07:00
Ian Romanick
5db8ebb8f5
Enable GL_NV_fragment_program_option for software rendering
...
At this point the extension is not fully implemented.
2009-09-03 14:07:07 -07:00
Ian Romanick
b8e389bb03
NV fp parser: Support new scalar constant behavior
...
ARBfp requires scalar constants have a '.x' suffix, but NVfp_option
does not. This shows up with instructions that require a scalar
parameter (e.g., COS).
2009-09-03 14:05:18 -07:00
Ian Romanick
8ca6fd8a83
NV fp parser: Parse TXD instruction
2009-09-01 14:16:03 -07:00
Ian Romanick
ede0cd4d8c
NV fp lexer: Add new opcodes
2009-08-31 17:00:31 -07:00
Ian Romanick
dc8ec05ace
NV fp: Parse 'OPTION NV_fragment_program' in ARB assembly shaders
2009-08-31 16:57:49 -07:00
Ian Romanick
efff7aa980
NV fp: Add tracking for NV_fragment_program_option
2009-08-31 16:43:39 -07:00
Nicolai Hähnle
d1b4351e60
r300: Remove all Mesa dependencies from the shader compiler
...
In particular, this removes the dependency on prog_instruction, which
unfortunately creates some code duplication, but also opens a path towards
adding some hardware-specific things in there.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-08-30 18:51:46 +02:00
Nicolai Hähnle
d6d71e5bf4
r300: Move Mesa -> RC program conversion to classic Mesa driver
...
This really doesn't belong into the compiler itself, since the compiler
should eventually be independent of Mesa's program representation.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com >
2009-08-30 17:57:20 +02:00
Keith Whitwell
67d4a5b15c
mesa/swrast: use one fewer divide in swrast's choose_cube_face also
...
Same change as for softpipe
2009-08-24 08:26:33 +01:00
Keith Whitwell
fd19e8adcd
softpipe: use one fewer divide in sample_cube
...
GCC won't do this for us. Makes a bigger difference to cubemap fps
than previous set of compilcated rearrangements.
2009-08-24 08:26:33 +01:00
Keith Whitwell
60adc15ba5
softpipe: separate out 2d and cube img filter functions
2009-08-24 08:26:32 +01:00
Keith Whitwell
81601d85ef
softpipe: make the various get_texel routines more similar
...
Remove arguments, return const float * by default. Add specialized 3d
versions and remove 3d texture support from the others.
2009-08-24 08:26:17 +01:00
Keith Whitwell
75312b6555
progs/demos: add fps output to cubemap
2009-08-23 23:53:41 +01:00
Keith Whitwell
153e474d22
softpipe: lift tex_address construction up to img_filter
...
For fastpaths at least, can avoid recalculating this sometimes.
2009-08-23 13:38:10 +01:00
Keith Whitwell
4fe0fc3eba
softpipe: remove old prim_setup draw stage
...
Everything now goes through the draw_vbuf handler, the same as
regular drivers.
2009-08-23 11:22:41 +01:00
Keith Whitwell
47800c572f
softpipe: add missing header
2009-08-23 11:13:20 +01:00
Keith Whitwell
7670102468
Merge branch 'tex-tilecache' into softpipe-opt
...
Conflicts:
src/gallium/drivers/softpipe/sp_state_derived.c
src/gallium/drivers/softpipe/sp_state_sampler.c
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_tex_sample.h
src/gallium/drivers/softpipe/sp_tile_cache.c
2009-08-23 10:23:46 +01:00
Julien Cristau
3f970a6d4e
Bump debhelper build-dep for dh_lintian
2009-08-22 21:30:15 +02:00
Brian Paul
0f24886f92
softpipe: remove duplicate #include, move another
2009-08-21 14:07:37 -06:00
Brian Paul
d204659c8c
softpipe: remove tex sample dependencies on softpipe
...
The texture sampling code doesn't really have any dependencies on the
rest of softpipe, just the tile cache.
2009-08-21 14:04:51 -06:00
Brian Paul
3adc8c3779
softpipe: minor code refactoring to remove softpipe/tile cache dependencies
...
The tile cache code now has no hard dependencies on softpipe.
2009-08-21 14:01:58 -06:00
Brian Paul
4256c5829f
softpipe: remove unused #includes, white-space clean-up
2009-08-21 13:47:50 -06:00
Brian Paul
46fbc87288
softpipe: remove unneeded const qualifier
2009-08-21 13:45:16 -06:00
Brian Paul
a29447c33d
softpipe: per-unit sampler varients
...
Can't share sampler varients across multiple tex units because the texture
pointer is in the sampler varient. That prevents different textures per unit.
Fixes progs/demos/multiarb, progs/glsl/samplers, etc.
2009-08-21 12:44:04 -06:00
Brian Paul
87ec83afd5
softpipe: add missing PIPE_TEXTURE_CUBE case in get_lambda_func()
...
Fixes progs/demos/cubemap
2009-08-21 11:47:31 -06:00
Keith Whitwell
ecfa8be150
softpipe: add missing sp_sampler_varient_destroy
2009-08-21 18:44:56 +01:00
Brian Paul
cf102b031e
softpipe: remove redundant comparison, make test easier to understand
2009-08-21 11:43:48 -06:00
Brian Paul
41483627f0
softpipe: fix min/mag filter typo
2009-08-21 11:41:29 -06:00
Brian Paul
4e5c385d21
softpipe: fix s/t/p typos
2009-08-21 11:40:33 -06:00
Keith Whitwell
4fc7d0345a
softpipe: rework texture sampling code
...
Split into component pieces, stitch together at runtime using function
pointers. Make it possible to utilize the existing fastpaths as image-level
filters for generic mip-filtering routines.
Remove special case for rectangle filtering, as it can now be handled by
the 2d path.
As most of the mesa demo texturing was already covered by fast paths, its
harder to find examples of speedups, but tunnel gets a boost as mip-nearest
filtering is now able to access the img_2d_linear_wrap_POT functions
for sampling within a mipmap level.
2009-08-21 18:14:19 +01:00
Keith Whitwell
b1cc196e6d
util: add util_is_power_of_two function
2009-08-21 18:07:35 +01:00
Keith Whitwell
00c8359182
softpipe: allow the existing sampler routines to be hooked up directly
...
Let eg. sp_get_samples_rect be hooked directly in as the tgsi sampler
routine.
Add a field to determine whether this is a vertex or fragment sampling
call, and massage parameters to match the tgsi call.
2009-08-20 18:36:57 +01:00
Keith Whitwell
0d9979d9ec
softpipe: fix xpot calculation typo in sp_get_samples_2d_nearest_clamp_POT
2009-08-20 18:13:25 +01:00
Keith Whitwell
1fd40e506c
softpipe: slightly optimized tiling calculation
2009-08-20 18:12:44 +01:00
Keith Whitwell
79a7ddb57a
softpipe: fix glitch in texel lookups on fastpaths
...
Fixes two issues - firstly for mipmap levels with one or more
dimensions smaller than tilesize, the code was sampling off the edge
of the texture (but still within the tile).
Secondly, in the linear_mipmap_linear case, both the default code and
new fastpath were incorrect. This change fixes the fastpath and adds
a comment to the default path, which still needs to be fixed.
Basically the issue is that the coordinates in the smaller texture
level are/were being computed by just dividing thecoordinates from the
larger texture level by two, as in:
x0[j] /= 2;
y0[j] /= 2;
x1[j] /= 2;
y1[j] /= 2;
The issues with this are signficant. Initially x1 is most often equal
to x0+1, but after this, it will likely be equal to x0, so we will not
actually be performing the linear blend within the smaller mipmap.
The fastpath code avoided this (recalculated x1), but was still using
the weighting factors from the larger mipmap level (xw, yw), which
were incorrect.
Change the fastpath code to do two full, independent linear samples of
the two mipmap levels before blending. The default code needs to do
the same thing.
2009-08-20 17:59:39 +01:00
Keith Whitwell
4f409da345
softpipe: optimized path for simple mipmap sampling
...
linear-mip-linear-repeat-POT sampling faspath, provides a very nice
speedup to apps that do this common type of texturing.
Test case: demos/terrain, turn fog off, turn texturing on.
Without patch: 12 fps
With patch: 20 fps.
2009-08-20 11:25:20 +01:00
Keith Whitwell
c84abe36a9
softpipe: fix typo in clear_tile
2009-08-18 16:55:10 +01:00
Keith Whitwell
80c78472ad
softpipe: split texture and surface tile caches
...
These do similar jobs but with largely disjoint code. Will want
to evolve them separately going forward.
2009-08-18 16:55:10 +01:00
Keith Whitwell
d12bae9368
softpipe: move flatshade-first check out of loop
2009-08-18 16:21:12 +01:00
Keith Whitwell
99ec78d946
Revert "softpipe: rearrange blend fastpaths"
...
This reverts commit 1295cf423e .
The original formulation was easier to understand & work with. Will
revisit this later.
2009-08-11 18:23:28 +01:00
Keith Whitwell
da319095f2
softpipe: reduce textual differences between exec and sse shader paths
...
Unshare one function (setup_pos_vector) as we want to push this code
into the generated shader in the SSE case.
2009-08-11 18:06:16 +01:00
Keith Whitwell
b5c389721a
softpipe: remove gallivm fragment shaders
...
However we do llvm integration, it will be different & more comprehensive
than this.
2009-08-11 18:03:01 +01:00
Keith Whitwell
95f7ed4638
softpipe: setup quad outputs from with fs->run
2009-07-30 11:59:32 +01:00
Keith Whitwell
1295cf423e
softpipe: rearrange blend fastpaths
2009-07-30 11:35:50 +01:00
Keith Whitwell
73a6178a73
softpipe: add depth-lequal z16 path
2009-07-30 11:35:08 +01:00
Keith Whitwell
572c2fb5bb
softpipe: remove unused variable in shade_quad
2009-07-30 11:34:36 +01:00
Keith Whitwell
5fdac2dcea
softpipe: fix off-by-one in nearest texcoord routines
...
Stray '- 0.5' copied from linear versions.
2009-07-27 15:51:15 +01:00
Keith Whitwell
6142de393f
softpipe: example fast paths for simple samplers
...
All these fastpaths are examples of the types of things we'd code-generate
in a more sophisticated version of softpipe.
2009-07-27 12:44:58 +01:00
Keith Whitwell
c611458205
softpipe: fastpath for interpolated z16 less depthtesting
...
Because this is interpolated (ie. early) depth, we can build in an
assumption about the quads emitted by triangle setup, ie that they
are actually linear spans. Interpolate z over those spans in z16
format to save on math & conversion.
2009-07-27 12:11:16 +01:00
Keith Whitwell
1078844d18
softpipe: cope with nr_cbufs == 0
...
Disable blend code when no color buffer
2009-07-27 11:23:51 +01:00
Keith Whitwell
bac8e34c9e
softpipe: move all depth/stencil/alpha pixel processing into one stage
2009-07-27 08:17:45 +01:00
Julien Cristau
a151efc6cc
Use dh_lintian.
2009-07-27 00:29:45 +02:00
Julien Cristau
05c0e10a9e
Override 'package-name-doesnt-match-sonames' lintian warnings
2009-07-27 00:29:44 +02:00
Keith Whitwell
85613cc4f1
softpipe: fix error in scissor state dependencies
2009-07-25 11:01:48 +01:00
Keith Whitwell
ade8984f50
softpipe: cleanup framebuffer state routine slightly
2009-07-25 10:01:06 +01:00
Keith Whitwell
a2f7ab1d15
softpipe: move all color-combine code into sp_quad_blend.c
...
Consolidate the read-modify-write color combining code from
the blend, colormask and output stages.
2009-07-24 20:19:18 +01:00
Keith Whitwell
42f1757189
softpipe: fix typo
2009-07-24 20:18:52 +01:00
Keith Whitwell
333ec94380
softpipe: example fastpaths in blending
2009-07-24 18:46:17 +01:00
Keith Whitwell
a1dbd7aa15
softpipe: actually pass >1 quad from triangle routine
...
First attempt
2009-07-24 18:17:05 +01:00
Keith Whitwell
ab9fb51670
softpipe: expand quad pipeline to process >1 quad at a time
...
This is part one -- we still only pass a single quad down, but
the code can now cope with more. The quads must all be from the same
tile.
2009-07-24 16:49:35 +01:00
Keith Whitwell
6153a1c28f
softpipe: rip out old mulithread support
2009-07-24 16:12:48 +01:00
Brice Goglin
3c4727a4e9
Prepare changelog for upload
2009-07-24 00:29:35 +02:00
Brice Goglin
40f217aea7
Enable i686 optimized libraries on hurd-i386
2009-07-24 00:29:25 +02:00
Brice Goglin
d3403389cd
Only install the huge upstream changelog in mesa-common-dev
2009-07-23 23:41:19 +02:00
Brice Goglin
a70d1eb1ee
Pull from upstream mesa_7_5_branch
2009-07-23 21:11:22 +02:00
Brice Goglin
d7aa5d5ca0
Merge branch 'mesa_7_5_branch' of git://anongit.freedesktop.org/mesa/mesa into debian-unstable
2009-07-23 21:09:47 +02:00
Keith Whitwell
93a026d4ba
softpipe: avoid flushing depth buffer cache on swapbuffers
...
There's no need to push out depth buffer contents on swapbuffers.
Note that this change doesn't throw away depth buffer changes, it simply
holds them in the cache over calls to swapbuffers. The hope is
that swapbuffers will be followed by a clear() which means in that case
we won't have to write the changes out.
2009-07-23 11:14:39 +01:00
Keith Whitwell
19097907ef
softpipe: also shortcircuit non-texture tile lookups
2009-07-23 09:35:33 +01:00
Keith Whitwell
f911c3b989
softpipe: shortcircuit repeated lookups of the same tile
...
The sp_tile_cache is often called repeatedly to look up the same
tile. Add a cache (to the cache) of the single tile most recently
retreived and make a quick inline check to see if this matches the
subsequent request.
Add a tile_address bitfield struct to make this check easier.
2009-07-22 15:08:42 +01:00
Keith Whitwell
13e2d35764
softpipe: remove unused vars in sp_setup.c
2009-07-22 12:48:01 +01:00
Keith Whitwell
0ed99f4552
softpipe: use bitwise logic to setup quad masks in sp_setup
2009-07-22 12:48:00 +01:00
Keith Whitwell
73e7356385
softpipe: simplify flush_spans
...
No loss of performance, but simpler code.
2009-07-22 12:48:00 +01:00
Keith Whitwell
b5d583efef
softpipe: make some small steps to flush texture cache less frequently
...
No performance gain yet, but the code is a bit cleaner.
2009-07-22 12:48:00 +01:00
Keith Whitwell
07bb026900
gallium/xlib: use XSHM for swapbuffers
...
Makes some difference, but suprisingly little. Barely worth the effort.
2009-07-22 12:47:59 +01:00
Keith Whitwell
0ac879dca7
util: _debug_printf should print even when DEBUG is not defined
...
The leading underscore is meaningful... This function is used by
_warning and _error functions as well as the more common
debug_printf().
debug_printf (without underscore) gets turned off when DEBUG is
disabled, but warning/error messages still use this function to get
their message out.
2009-07-22 12:47:59 +01:00
Keith Whitwell
aa5db68438
softpipe: remove backwards dependency from tilecache to softpipe
...
The tile cache is a utility, it shouldn't know anything about the
entity which is making use of it (ie softpipe).
Remove softpipe parameter to all the tilecache function calls, and
also remove the need to keep a softpipe pointer in the sampler structs.
2009-07-22 12:47:59 +01:00
Brice Goglin
04493de67b
Prepare changelog for upload
2009-07-21 22:22:07 +02:00
Brice Goglin
e06e2b001f
Install the upstream ChangeLog
2009-07-21 22:21:47 +02:00
Brice Goglin
d740456ee5
Install the upstream ChangeLog
2009-07-21 20:42:50 +02:00
Brice Goglin
45c5ed4bb8
Pull from upstream mesa_7_5_branch
2009-07-21 20:38:30 +02:00
Brice Goglin
19a8ce6f70
Merge branch 'mesa_7_5_branch' of git://anongit.freedesktop.org/mesa/mesa into debian-unstable
2009-07-21 20:05:24 +02:00
Brice Goglin
767c0b16f3
Prepare changelog for upload
2009-07-19 12:54:22 +02:00
Brice Goglin
3041819a4e
New upstream release
2009-07-19 12:51:08 +02:00
Brice Goglin
4a9beaf2e9
Merge tag 'mesa_7_5' into debian-experimental
...
Conflicts:
progs/tests/.gitignore
progs/tests/Makefile
progs/tests/SConscript
progs/trivial/Makefile
scons/dxsdk.py
scons/gallium.py
2009-07-19 12:50:28 +02:00
Brice Goglin
fe9b9fec39
Enable i686 optimized libraries on kfreebsd-i386
2009-07-17 18:21:27 +02:00
Timo Aaltonen
082f547492
Move dri.pc to mesa-common-dev ( closes : #521667 )
2009-06-29 15:22:21 +03:00
Julien Cristau
9032d6b40b
Prepare changelog for upload
2009-06-28 20:22:05 +02:00
Julien Cristau
489ca73db1
Merge commit 'mesa-7.4.4-1' into debian-experimental
...
Conflicts:
debian/changelog
2009-06-28 20:20:56 +02:00
Julien Cristau
2c8046b1bc
Prepare changelog for upload
2009-06-28 18:58:41 +02:00
Julien Cristau
18bb120fce
Refresh patches
2009-06-28 18:41:21 +02:00
Julien Cristau
d2c8712fa4
Remove some directories absent from the tarballs, and add some missing ones
2009-06-28 18:09:58 +02:00
Julien Cristau
b59211a602
Update changelog
2009-06-28 17:46:10 +02:00
Julien Cristau
adafe6d607
Merge commit 'mesa_7_5_rc4' into debian-experimental
...
Conflicts:
progs/fp/point-position.c
progs/fp/tri-depth.c
progs/fp/tri-depth2.c
progs/fp/tri-depthwrite.c
progs/fp/tri-depthwrite2.c
progs/fp/tri-inv.c
progs/fp/tri-param.c
progs/fp/tri-tex.c
progs/tests/.gitignore
progs/tests/Makefile
progs/tests/zreaddraw.c
2009-06-28 17:41:50 +02:00
Julien Cristau
c38bc21cf5
add bug closer
2009-06-24 19:54:26 +02:00
Julien Cristau
1df36638c0
Don't build gallium for now.
2009-06-24 17:30:00 +02:00
Julien Cristau
dd89f8e3ea
Merge branch 'debian-unstable' into debian-experimental
...
Conflicts:
debian/changelog
debian/patches/06_kfreebsd-ftbfs.diff
2009-06-24 17:26:42 +02:00
Julien Cristau
2ca61d4474
Merge commit 'mesa_7_4_4' into debian-experimental
2009-06-24 17:23:34 +02:00
Julien Cristau
22f1c449ae
update changelog
2009-06-24 17:20:23 +02:00
Julien Cristau
2be8cd65cb
Merge tag 'mesa_7_5_rc3' into debian-experimental
2009-06-24 17:19:16 +02:00
Julien Cristau
ec4c889266
Update 04_osmesa_version.diff, refresh 06_kfreebsd-ftbfs.diff.
2009-06-24 12:37:17 +02:00
Julien Cristau
c84a384fdf
Update changelog
2009-06-24 12:32:20 +02:00
Julien Cristau
f56634caea
Merge tag 'mesa_7_4_4' into debian-unstable
2009-06-24 12:27:10 +02:00
Brian Paul
d0c391b6a2
docs: set 7.4.4 release date
2009-06-23 18:53:31 -06:00
Brian Paul
eaed8dc609
mesa: bump version to 7.4.4
2009-06-22 15:27:03 -06:00
Brian Paul
b5609e6444
docs: release notes for 7.4.4
2009-06-22 15:26:19 -06:00
Brian Paul
0b870bbb2a
docs: 7.4.3 MD5 checksums
2009-06-22 11:24:09 -06:00
Brian Paul
1dbbc39f48
intel: added a null ptr check
...
This was hit during screen tear-down.
2009-06-22 11:23:44 -06:00
Brian Paul
4b8cd0b0ad
intel: call _mesa_unreference_framebuffer() in intelDestroyBuffer()
...
This was a call to _mesa_reference_framebuffer(ptr, NULL) but the NULL
pointer is incorrect in Mesa 7.4.x.
Fixes a failed assertion during screen tear-down.
2009-06-22 11:23:13 -06:00
Brian Paul
5d387a35ff
docs: set 7.4.3 release date
2009-06-19 15:16:01 -06:00
Brian Paul
2ae6859215
docs: bump version to 7.4.3
2009-06-19 15:14:49 -06:00
Brian Paul
afe0ca1f3f
mesa: rework viewport/scissor initialization code
...
The first time a context is bound to a drawable, the viewport and scissor
bounds are initialized to the buffer's size. This is actually a bit tricky.
A new _mesa_check_init_viewport() function is called in several places
to check if the viewport has been initialized. We also use a new
ctx->ViewportInitialized flag instead of the overloaded
ctx->FirstTimeCurrent flag.
Hand-picked from mesa_7_5_branch, commit 3f856c6b6b
2009-06-17 08:43:17 -06:00
Brian Paul
6b782231d0
mesa: added null ptr check in Fake_glXCreatePixmap()
...
Fixes segfault in progs/xdemos/glxgears_pixmap.c
(cherry picked from master, commit d18c57aaea )
2009-06-17 08:40:16 -06:00
Brian Paul
2b890c9818
docs: document GLX/glean makeCurrent fix
2009-06-17 08:06:50 -06:00
Brian Paul
e0b13e15f1
GLX: attempt to fix glean makeCurrent test cases.
...
Two parts to this:
One we don't keep pointers to possibly freed memory anymore once we unbind the
drawables from the context. Brian I need to figure out what the comment
you made there, can we get a glean/piglit test so we can fix it properly?
If the new gc is the same as the oldGC, we call the unbind even though
we just bound it in that function. doh.
(cherry picked from master, commit 77506dac8e )
2009-06-17 08:05:54 -06:00
Brian Paul
420c74b870
docs: document viewport clamping bug
2009-06-16 09:40:22 -06:00
Brian Paul
a64f994a3a
mesa: fix incorrect viewport clamping in _mesa_set_viewport()
...
A 0 by 0 viewport size is legal. Don't clamp against lower bound of one.
The error checking earlier in the function prevents negative values.
2009-06-16 09:39:33 -06:00
Brian Paul
c568446dc6
docs: fixed bug 21872
2009-06-16 08:48:26 -06:00
Brian Paul
acbf9c6f3c
mesa: fix REMAINDER() macro
...
The results were incorrect for some negative values of A.
See bug 21872.
(cherry picked from mesa_7_5_branch, commit ed7f4b4230 )
2009-06-16 08:48:12 -06:00
Brian Paul
3b842feead
docs: recent fixes for 7.4.3
2009-06-15 16:24:03 -06:00
Brian Paul
6d62b8d5c1
intel: Release fb backing regions in intelDestroyBuffer()
...
Fixes memory leak when destroying framebuffers.
(cherry picked from mesa_7_5_branch, commit d027e8feff )
2009-06-15 16:22:54 -06:00
Brian Paul
02659868e8
glsl: fix warnings, update comments, s/TRUE/GL_TRUE/
...
(cherry picked from master, commit 7fdd64ab29 )
2009-06-10 12:26:12 -06:00
Brian Paul
457f4efab0
glsl: Handle continuation characters in preprocessor.
...
(cherry picked from master, commit cc22620e4b )
2009-06-10 12:25:35 -06:00
Brian Paul
0269eb5e3f
glsl: Fix symbol replacement handling in preprocessor.
...
(cherry picked from master, commit d9617deb00 )
2009-06-10 12:25:11 -06:00
Brian Paul
b7d9be69b2
glsl: Expand nested preprocessor macros.
...
(cherry picked from master, commit ef8caec29a )
2009-06-10 12:24:52 -06:00
Brian Paul
7b8b856c97
glsl: Fix preprocessor define argument parsing for dead sections.
...
(cherry picked from master, commit 19a54d9f10 )
2009-06-10 12:24:32 -06:00
Brian Paul
24bffc4cc2
glsl: preprocessor debug code (disabled)
...
(cherry picked from master, commit 854151ba62 )
2009-06-10 12:24:11 -06:00
Brian Paul
586341afd9
docs: document recent bug fixes for 7.4.x
2009-06-05 17:30:51 -06:00
Dan Nicholson
1e4334f623
osmesa: Link with -ldl for dlopen code
...
Now that the dlopen wrappers are built into libmesa.a, we need to link
standalone libOSMesa with libdl to resolve dlopen and friends on
platforms that need it.
(cherry picked from commit 4795dd5950 )
2009-06-04 19:45:58 -07:00
Dan Nicholson
8861577fd1
osmesa: Allow building standalone in all three channel widths
...
autoconf had been designating the 8 bit libOSMesa as the default
standalone osmesa, but the Makefile expected it to be linked to libGL.
Fix up the osmesa Makefile so that it allows any of the combinations of
standalone and channel width to be built.
Fixes bug #21980 .
(cherry picked from commit 7441dcd90b )
2009-06-04 19:05:48 -07:00
Brian Paul
cf997e0d2e
mesa: fix loop over generic attribs in update_arrays()
...
(cherry picked from commit 1045481dd9 )
2009-06-01 15:04:35 -06:00
Timo Aaltonen
f3496a3cbd
mesa-common-dev.install: Don't install glxew.h, conflicts with libglew.
2009-06-01 22:26:27 +03:00
Julien Cristau
4bcb9cc14f
Update patches
...
+ 02_use-ieee-fp-on-s390-and-m68k.patch moved from imports.h to compiler.h
+ 03_optional-progs-and-install.patch refreshed
+ 05_hurd-ftbfs.diff partly applied upstream
+ 06_kfreebsd-ftbfs.diff refreshed
2009-05-31 13:15:00 +02:00
Julien Cristau
537f3e7a1e
Install dri.pc, which will be needed to build xorg-server 1.7.
2009-05-31 12:52:47 +02:00
Julien Cristau
2096234053
clarify changelog: this is only a release candidate
2009-05-30 21:08:54 +02:00
Timo Aaltonen
99b4daf5e1
Disable EGL.
...
Update the changelog too.
2009-05-25 12:47:02 +03:00
Brian Paul
506d340363
demos: fix multitex.c VertCoord attribute mapping
...
If the multitex.vert shader uses the VertCoord generic vertex attribute
instead of the pre-defined gl_Vertex attribute, we need to make sure that
VertCoord gets bound to generic vertex attribute zero.
That's because we need to call glVertexAttrib2fv(0, xy) after all the other
vertex attributes have been set since setting generic attribute 0 triggers
vertex submission. Before, we wound up issuing the vertex attributes in
the order 0, 1, 2 which caused the first vertex to be submitted before all
the attributes were set. Now, the attributes are set in 1, 2, 0 order.
(cherry picked from commit 58fadc6242 )
2009-05-22 13:20:48 -06:00
Brian Paul
9dbe32f5eb
vbo: fix crash in vbo_exec_bind_arrays()
...
When a vertex shader uses generic vertex attribute 0, but not gl_Vertex,
we need to set attribute[16] to point to attribute[0]. We were setting the
attribute size, but not the pointer.
Fixes crash in glsl/multitex.c when using the VertCoord attribute instead
of gl_Vertex.
(cherry picked from commit c3538969e1 )
2009-05-22 13:19:42 -06:00
Brian Paul
9adca8814d
mesa: allow GL_BITMAP type in _mesa_image_image_stride()
...
It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D()
which gets converted to RGBA via the glPixelMap tables.
This fixes a failure with piglit/fdo10370 with Gallium.
(cherry picked from commit 995456f930 )
2009-05-22 09:38:18 -06:00
Brian Paul
8125c5ce92
docs: updates for version 7.4.3
2009-05-22 07:13:47 -06:00
Brian Paul
ba3f8dc0aa
mesa: bump version to 7.4.3
2009-05-22 07:13:34 -06:00
Brian Paul
85cf1675d4
mesa: bump version to 7.4.3
2009-05-22 07:13:30 -06:00
Brian Paul
3aeace2928
vbo: fix incorrect loop limit in bind_array_obj()
...
The generic_array[] is 16 elements in size, but the loop was doing 32
iterations. The out of bounds array write was clobbering the following
inputs[] array but as luck would have it, that didn't matter.
(cherry picked from commit 8da09e6924 )
2009-05-22 07:10:47 -06:00
Brian Paul
0edb61afef
docs: add glGet case for GL_VERTEX_ARRAY_BINDING_APPLE
2009-05-22 07:08:38 -06:00
Brian Paul
accffe2b73
mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLE
...
(cherry picked from commit 70c4b81e88 )
2009-05-22 07:07:38 -06:00
Brian Paul
35f5222ae0
mesa: remove texUnit->_Current = NULL assignment
...
A follow-on to commit 46a2aad2cf which
fixes a texture object memory leak.
See bug 21756.
2009-05-20 08:14:45 -06:00
Brian Paul
1096a6c579
docs: 7.4.3 relnotes edits
2009-05-19 10:06:58 -06:00
Brian Paul
1eb59f49a4
docs: start 7.4.3 release notes
2009-05-19 10:06:09 -06:00
Brian Paul
63d1e89138
mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT
...
See sourceforge bug #2793846 .
(cherry picked from commit 042d9a5132 )
2009-05-19 10:04:17 -06:00
Brian Paul
3ed7e9bfcc
mesa: assign trb->Base.StencilBits in update_wrapper().
...
When we render to a depth/stencil texture there are stencil bits.
(cherry picked from commit c99a60c40d )
2009-05-19 10:02:55 -06:00
Brian Paul
46a2aad2cf
mesa: fix texture object reference counting in texture_override()
...
Fixes bug 21756: r200: Mesa-7.4.2 release regression: "Quit on exit".
2009-05-19 09:03:19 -06:00
Timo Aaltonen
73670d56e8
Merge branch 'debian-experimental' into test
...
Conflicts:
Makefile
configs/default
docs/download.html
docs/news.html
docs/relnotes-7.4.2.html
doxygen/.gitignore
include/GL/internal/dri_interface.h
include/GLES/egl.h
progs/demos/Windows/all.dsp
progs/demos/Windows/bounce.dsp
progs/demos/Windows/clearspd.dsp
progs/demos/Windows/cubemap.dsp
progs/demos/Windows/demos.dsw
progs/demos/Windows/drawpix.dsp
progs/demos/Windows/fire.dsp
progs/demos/Windows/gears.dsp
progs/demos/Windows/geartrain.dsp
progs/demos/Windows/glinfo.dsp
progs/demos/Windows/gloss.dsp
progs/demos/Windows/gltestperf.dsp
progs/demos/Windows/glutfx.dsp
progs/demos/Windows/ipers.dsp
progs/demos/Windows/isosurf.dsp
progs/demos/Windows/loadbias.dsp
progs/demos/Windows/morph3d.dsp
progs/demos/Windows/multiarb.dsp
progs/demos/Windows/occlude.dsp
progs/demos/Windows/osdemo.dsp
progs/demos/Windows/paltex.dsp
progs/demos/Windows/pixeltex.dsp
progs/demos/Windows/pointblast.dsp
progs/demos/Windows/rain.dsp
progs/demos/Windows/ray.dsp
progs/demos/Windows/readpix.dsp
progs/demos/Windows/reflect.dsp
progs/demos/Windows/renormal.dsp
progs/demos/Windows/shadowtex.dsp
progs/demos/Windows/spectex.dsp
progs/demos/Windows/spriteblast.dsp
progs/demos/Windows/stex3d.dsp
progs/demos/Windows/teapot.dsp
progs/demos/Windows/terrain.dsp
progs/demos/Windows/tessdemo.dsp
progs/demos/Windows/texcyl.dsp
progs/demos/Windows/texdown.dsp
progs/demos/Windows/texenv.dsp
progs/demos/Windows/texobj.dsp
progs/demos/Windows/trispd.dsp
progs/demos/Windows/tunnel.dsp
progs/demos/Windows/tunnel2.dsp
progs/demos/Windows/winpos.dsp
progs/demos/dinoshade.c
progs/demos/projtex.c
progs/egl/Makefile
progs/egl/demo1.c
progs/egl/demo2.c
progs/egl/demo3.c
progs/egl/eglgears.c
progs/egl/eglinfo.c
progs/fp/.gitignore
progs/fp/Makefile
progs/miniglx/Makefile
progs/redbook/Windows/redbook.dsw
progs/redbook/Windows/teapots.dsp
progs/slang/windows/vc60/cltest.dsp
progs/slang/windows/vc60/framework.dsp
progs/slang/windows/vc60/slang.dsw
progs/slang/windows/vc60/sotest.dsp
progs/slang/windows/vc60/vstest.dsp
progs/tests/.gitignore
progs/tests/Makefile
progs/tests/afsmultiarb.c
progs/tests/antialias.c
progs/tests/api_speed.c
progs/tests/arbfpspec.c
progs/tests/arbfptest1.c
progs/tests/arbfptexture.c
progs/tests/arbfptrig.c
progs/tests/arbnpot-mipmap.c
progs/tests/arbnpot.c
progs/tests/arbvptest1.c
progs/tests/arbvptest3.c
progs/tests/arbvptorus.c
progs/tests/arbvpwarpmesh.c
progs/tests/arraytexture.c
progs/tests/blendminmax.c
progs/tests/blendsquare.c
progs/tests/blendxor.c
progs/tests/bufferobj.c
progs/tests/bug_3050.c
progs/tests/bug_3101.c
progs/tests/bug_3195.c
progs/tests/copypixrate.c
progs/tests/crossbar.c
progs/tests/cva.c
progs/tests/debugger.c
progs/tests/drawbuffers.c
progs/tests/exactrast.c
progs/tests/ext422square.c
progs/tests/fbotest1.c
progs/tests/fbotest2.c
progs/tests/floattex.c
progs/tests/fog.c
progs/tests/fogcoord.c
progs/tests/fptest1.c
progs/tests/fptexture.c
progs/tests/interleave.c
progs/tests/invert.c
progs/tests/jkrahntest.c
progs/tests/lineclip.c
progs/tests/manytex.c
progs/tests/minmag.c
progs/tests/mipmap_limits.c
progs/tests/multipal.c
progs/tests/multitexarray.c
progs/tests/multiwindow.c
progs/tests/no_s3tc.c
progs/tests/packedpixels.c
progs/tests/pbo.c
progs/tests/prog_parameter.c
progs/tests/random.c
progs/tests/readrate.c
progs/tests/rubberband.c
progs/tests/seccolor.c
progs/tests/shader_api.c
progs/tests/stencil_twoside.c
progs/tests/stencil_wrap.c
progs/tests/stencilwrap.c
progs/tests/subtexrate.c
progs/tests/tex1d.c
progs/tests/texcmp.c
progs/tests/texcompress2.c
progs/tests/texfilt.c
progs/tests/texgenmix.c
progs/tests/texline.c
progs/tests/texrect.c
progs/tests/texwrap.c
progs/tests/unfilledclip.c
progs/tests/vao-01.c
progs/tests/vao-02.c
progs/tests/vparray.c
progs/tests/vpeval.c
progs/tests/vptest1.c
progs/tests/vptest2.c
progs/tests/vptest3.c
progs/tests/vptorus.c
progs/tests/vpwarpmesh.c
progs/tests/yuvrect.c
progs/tests/yuvsquare.c
progs/tests/zreaddraw.c
progs/trivial/.gitignore
progs/trivial/Makefile
progs/trivial/clear.c
progs/trivial/dlist-dangling.c
progs/trivial/dlist-edgeflag-dangling.c
progs/trivial/dlist-edgeflag.c
progs/trivial/drawarrays.c
progs/trivial/drawelements.c
progs/trivial/drawrange.c
progs/trivial/line-clip.c
progs/trivial/line-cull.c
progs/trivial/line-userclip-clip.c
progs/trivial/line-userclip-nop-clip.c
progs/trivial/line-userclip-nop.c
progs/trivial/line-userclip.c
progs/trivial/line.c
progs/trivial/lineloop-clip.c
progs/trivial/lineloop.c
progs/trivial/point-clip.c
progs/trivial/point-param.c
progs/trivial/point-wide.c
progs/trivial/point.c
progs/trivial/poly-flat.c
progs/trivial/poly-unfilled.c
progs/trivial/poly.c
progs/trivial/quad-clip-all-vertices.c
progs/trivial/quad-clip-nearplane.c
progs/trivial/quad-clip.c
progs/trivial/quad-degenerate.c
progs/trivial/quad-flat.c
progs/trivial/quad-offset-factor.c
progs/trivial/quad-offset-unfilled.c
progs/trivial/quad-offset-units.c
progs/trivial/quad-tex-2d.c
progs/trivial/quad-tex-3d.c
progs/trivial/quad-tex-pbo.c
progs/trivial/quad-unfilled.c
progs/trivial/quad.c
progs/trivial/quads.c
progs/trivial/quadstrip-flat.c
progs/trivial/quadstrip.c
progs/trivial/tri-blend.c
progs/trivial/tri-clip.c
progs/trivial/tri-cull.c
progs/trivial/tri-dlist.c
progs/trivial/tri-edgeflag.c
progs/trivial/tri-flat-clip.c
progs/trivial/tri-flat.c
progs/trivial/tri-tex-3d.c
progs/trivial/tri-unfilled-clip.c
progs/trivial/tri-unfilled-smooth.c
progs/trivial/tri-unfilled-userclip.c
progs/trivial/tri-unfilled.c
progs/trivial/tri-userclip.c
progs/trivial/tri.c
progs/trivial/tristrip-clip.c
progs/trivial/tristrip.c
progs/trivial/vbo-drawarrays.c
progs/trivial/vbo-drawelements.c
progs/trivial/vbo-drawrange.c
progs/trivial/vp-array.c
progs/trivial/vp-clip.c
progs/trivial/vp-line-clip.c
progs/trivial/vp-tri.c
progs/trivial/vp-unfilled.c
progs/vp/Makefile
progs/vp/vp-tris.c
src/egl/Makefile
src/egl/drivers/demo/Makefile
src/egl/drivers/demo/demo.c
src/egl/drivers/dri/Makefile
src/egl/drivers/dri/egldri.c
src/egl/drivers/dri/egldri.h
src/egl/main/Makefile
src/egl/main/eglapi.c
src/egl/main/eglapi.h
src/egl/main/eglconfig.c
src/egl/main/eglconfig.h
src/egl/main/eglcontext.c
src/egl/main/eglcontext.h
src/egl/main/egldisplay.c
src/egl/main/egldisplay.h
src/egl/main/egldriver.c
src/egl/main/egldriver.h
src/egl/main/eglglobals.c
src/egl/main/eglglobals.h
src/egl/main/egllog.c
src/egl/main/eglmode.h
src/egl/main/eglsurface.c
src/egl/main/eglsurface.h
src/egl/main/egltypedefs.h
src/glx/mini/Makefile
src/glx/x11/dri2_glx.c
src/mesa/drivers/allegro/amesa.c
src/mesa/drivers/dri/intel/intel_buffers.c
src/mesa/drivers/dri/intel/intel_clear.c
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_pixel.c
src/mesa/drivers/dri/r300/r300_texstate.c
src/mesa/drivers/dri/radeon/radeon_screen.c
src/mesa/drivers/windows/gldirect/dx7/gld_wgl_dx7.c
src/mesa/drivers/windows/gldirect/dx8/gld_wgl_dx8.c
src/mesa/drivers/windows/gldirect/dx9/gld_wgl_dx9.c
src/mesa/main/glheader.h
src/mesa/main/light.c
src/mesa/main/teximage.c
src/mesa/main/texparam.c
src/mesa/main/version.h
src/mesa/swrast/s_texfilter.c
2009-05-18 14:05:53 +03:00
Aidan Thornton
b5eafa2d51
Initialize psp->waitX/waitGL for swrast_dri.so.
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 .
(cherry picked from commit f2445dfd85 )
2009-05-18 12:51:12 +02:00
Timo Aaltonen
ac00f6a47a
Merge commit 'mesa_7_4' into test
2009-05-18 13:21:01 +03:00
Brian Paul
d1fcb4a263
docs 7.4.2 tarball md5 sums
2009-05-15 06:32:24 -06:00
Brian Paul
da709f163f
docs: set 7.4.2 release date
2009-05-15 06:21:56 -06:00
Brian Paul
3a1bcbe579
mesa: bump version to 7.4.2
2009-05-14 13:20:13 -06:00
Brian Paul
ec863602f2
i965: fix render to FBO/texture orientation bugs
...
Anytime we're not rendering to the default/window FBO, need to invert
rendering, not just when rendering to a texture. Otherwise, if a FBO
consists of a mix of textures and renderbuffers the up/down orientation
was inconsistant.
Fixes shadowtex.c bad rendering.
(cherry picked from commit ba367f68cc )
2009-05-13 14:13:46 -07:00
Brian Paul
2ff47b80f5
docs: updated bug fix list for 7.4.2
2009-05-11 09:49:46 -06:00
Brian Paul
63cde0ea0e
mesa: Fixed a texture memory leak
...
The current texture for any particular texture unit is given an additional
reference in update_texture_state(); but if the context is closed before
that texture can be released (which is quite frequent in normal use, unless
a program unbinds and deletes the texture and renders without it to force
a call to update_texture_state(), the memory is lost.
This affects general Mesa; but the i965 is particularly affected because
it allocates a considerable amount of additional memory for each allocated
texture.
(cherry picked from master, commit c230767d69 )
2009-05-11 09:47:17 -06:00
Brice Goglin
ab885d7088
Enable motif in GLw
2009-05-09 20:49:15 +02:00
Eric Anholt
c521d4629b
Flag GLSL programs as depending on constant state when they use uniforms.
...
This is not a cherry-pick, as it got fixed in master with the
_NEW_PROGRAM_CONSTANTS change. Fixes bad rendering with various GLSL programs
idr and I have been writing.
2009-05-05 12:14:29 -07:00
Brian Paul
e9d5569bf3
glx: replace Xmalloc() calls with Xcalloc()
...
Fixes a bug where psp->WaitX was uninitialized. Reported by Chris Clayton.
(cherry picked from commit dd4c142e90 )
2009-05-04 08:34:20 -06:00
Julien Cristau
84ae506072
Don't build hardware dri drivers on s390.
2009-05-03 19:30:02 +02:00
Julien Cristau
4842cde28f
Prepare changelog for upload
2009-05-03 16:05:30 +02:00
Julien Cristau
b651c02dca
Fix Architecture field for libgl1-mesa-dri-dbg
2009-05-03 16:04:39 +02:00
Julien Cristau
ec44d955bb
Move -dbg packages to new 'debug' section.
2009-05-03 16:03:58 +02:00
Julien Cristau
914edc46fa
Update changelog
2009-05-03 14:31:05 +02:00
Julien Cristau
64cb29deca
Merge branch 'mesa_7_4_branch' of git.freedesktop.org:/git/mesa/mesa into debian-unstable
2009-05-03 14:26:30 +02:00
Brian Paul
6337525497
mesa: fix state validation bug for glCopyTex[Sub]Image()
...
We need to make sure the framebuffer state is up to date to make sure we
read pixels from the right buffer when doing a texture image copy.
(cherry-picked from master, commit 63f0130980 )
2009-05-01 20:24:39 -06:00
Brian Paul
7541c3806a
docs: fix typos
2009-04-30 17:08:37 -06:00
Michel Dänzer
a1ce4efefb
r300: Increase reference count of texture objects referenced by current state.
...
Fixes a use-after-free reported in
http://bugs.freedesktop.org/show_bug.cgi?id=20539 , so this possibly fixes that
bug. It has been confirmed to fix
http://bugs.freedesktop.org/show_bug.cgi?id=17895 .
(cherry picked from commit c28707b507 )
2009-04-30 13:50:36 +02:00
Brian Paul
656cd707db
mesa: Fix buffer overflow when parsing generic vertex attributes.
...
(cherry picked from master, commit fa92756400 )
2009-04-28 10:58:13 -06:00
Alex Deucher
ce7f78694d
R300: add quadpipe overrides
...
RV410 SE chips only have 1 quadpipe.
Also, handle other R300 chip with quadpipe override
2009-04-28 12:40:04 -04:00
Brian Paul
fd95e8ee33
docs: fix swrast texrect bug 21461
2009-04-28 09:11:05 -06:00
Brian Paul
d2b8c41b7a
swrast: add missing break in clamp_rect_coord_linear()
...
See bug 21461.
(cherry picked from master, commit dcf571aff9 )
2009-04-28 09:09:41 -06:00
Alan Hourihane
bfd6bb31a6
demos: ensure display lists are destroyed for next generation
2009-04-24 17:22:52 +01:00
Eric Anholt
c3e7fc394f
i965: Support drawing to FBO cube faces other than positive X.
...
Also fixes drawing to 3D texture depth levels.
(cherry picked from commit 8374379572 )
2009-04-23 14:05:58 -07:00
Eric Anholt
dd56897b27
intel: Fix commented-out glViewport in intel_meta_set_passthrough_transform.
...
Too much commit -a while debugging.
(cherry picked from commit 8910da5b7a )
2009-04-23 14:00:56 -07:00
Brian Paul
e8807a14a6
fixed intel front-buffer rendering segfault
2009-04-20 16:13:04 -06:00
Brian Paul
c38397866d
intel: added null screen->dri2.loader pointer check
...
Fixes front-buffer rendering with DRI1.
2009-04-20 16:12:16 -06:00
Brice Goglin
d7b9a6c9ef
Add patch by Aurelien Jarno to fix FTBPS on kfreebsd-i386
2009-04-20 12:36:44 +02:00
Julien Cristau
4f2bc058f3
Add patch by Samuel Thibault to fix FTBFS on hurd-i386.
2009-04-19 00:46:32 +02:00
Julien Cristau
909afc5304
Adjust libgl1-mesa-glx and libgl1-mesa-dri package relationships
...
Drop the dependency on libgl1-mesa-glx from -dri, and make -glx
recommend -dri instead. The dri drivers are also loaded by the X
server, which doesn't need libGL. On the other hand, libGL needs one of
the dri drivers for direct rendering (either software or hardware).
Mark libgl1-mesa-dri as breaking old xserver-xorg-core and
libgl1-mesa-glx, to avoid incompatibilities.
2009-04-18 22:28:35 +02:00
Julien Cristau
4deb679b42
Make libgl1-mesa-dri 'Architecture: any'
...
swrast_dri.so should get built everywhere.
2009-04-18 22:27:51 +02:00
Brian Paul
dce84002c2
docs: create 7.4.2 release notes page
2009-04-18 11:12:41 -06:00
Brian Paul
c490349825
docs: remove unused sections
2009-04-18 11:12:33 -06:00
Brian Paul
f62d45fd0d
docs: MD5 sums for 7.4.1 release
2009-04-18 11:03:25 -06:00
Brian Paul
b2dfc29a82
intel: update driver date, remove RC3 designation
2009-04-18 10:51:41 -06:00
Brian Paul
7c1e61f41c
mesa: bump version to 7.4.1
2009-04-18 10:49:35 -06:00
Brian Paul
5654197d12
docs: prep for 7.4.1 release
2009-04-18 10:49:08 -06:00
Brian Paul
87cb55e9c6
mesa: bump version to 7.4.1
2009-04-18 10:48:57 -06:00
Brian Paul
e7d499f935
mesa: add switch case for GL_VERTEX_STATE_PROGRAM_NV in _mesa_new_program()
...
Fixes bug seen in progs/tests/vptest1.c
(cherry picked from master, commit c5af2ed60f )
2009-04-18 10:21:00 -06:00
Michel Dänzer
51e7600d77
intel: Handle ARB_vertex_buffer_object state in intel_clear_tris().
...
Fixes gearsvbo app by Michael Clark.
(cherry picked from commit 54fb6f0053 )
2009-04-18 15:53:08 +02:00
Brian Paul
69b17abd6b
intel: make sure polygon mode is set properly in intel_clear_tris()
...
Fixes progs/glsl/skinning.c demo.
(cherry picked from master, commit 794d488e6d )
2009-04-17 16:14:39 -06:00
Brian Paul
a975da7aca
docs: fixed user clip plane restore bug in glPopAttrib()
2009-04-16 10:16:38 -06:00
Brian Paul
ecf47b5046
mesa: fix bad mask bit in clip plane restore code for glPopAttrib()
...
(cherry picked from master commit d82876e850 )
2009-04-16 10:16:26 -06:00
Brian Paul
fed8dc53ad
mesa: add distclean target to top-level Makefile
...
(cherry picked from master, commit 666702baec )
2009-04-16 09:34:06 -06:00
Brian Paul
1f462e26c0
demos: use larger buffer for snprintf() call, see bug 21220
...
(cherry picked from master, commit 0d0028e6df )
2009-04-16 09:26:54 -06:00
Ian Romanick
85396d8ef4
intel: Bump driver date
2009-04-15 15:12:48 -07:00
Ian Romanick
f11b84998d
docs: more bug fixes for Mesa 7.4.1
2009-04-15 15:10:33 -07:00
Julien Cristau
5d4659e7c7
Install pkgconfig files for libGLU, libOSMesa and libGLw.
2009-04-15 21:31:24 +02:00
Julien Cristau
c422347bee
Make libgl1-mesa-dev and mesa-common-dev 'Architecture: any'.
...
This gets rid of uninstallability when a new upstream version
isn't built on all architectures, and allows us to ship potentially
arch-specific .pc files.
2009-04-15 21:25:17 +02:00
Brian Paul
d2f6791062
glx: added null pointer check in glXGetFBConfigs()
...
Fixes segfault seen with glxinfo with NVIDIA OpenGL.
(cherry picked from master, commit 05471828dc )
2009-04-15 08:02:38 -06:00
Ian Romanick
49e0c74ddd
DRI2: Don't fault on NULL DrawBuffer
...
It is possible for ctx->DrawBuffer to be NULL, so don't fault when
that happens. This change is not being committed to master because it
doesn't appear to be necessary there.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
2009-04-11 20:24:15 -07:00
Eric Anholt
83e14773c5
dri2: Don't crash if the server returns more buffers than expected.
...
(cherry picked from commit f967e8b507 )
2009-04-09 15:15:33 -07:00
Ian Romanick
4605937843
intel / DRI2: Accept fake front-buffer from loader
...
Handle the loader returning a fake front-buffer. Since the driver
never specifically requests a fake front-buffer, the driver assumes
that it will never receive both a fake and a real front-buffer.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
Reviewed-by: Kristian Høgsberg <krh@redhat.com >
(cherry picked from commit 6a6e478e55 )
2009-04-09 14:44:53 -07:00
Ian Romanick
b8ef30c45c
DRI2: Assume that there is always a front buffer
...
Assume that the front-buffer exists even if the server didn't tell the
client that it exists.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
Reviewed-by: Kristian Høgsberg <krh@redhat.com >
(cherry picked from commit e6386e0d9a )
2009-04-09 14:44:44 -07:00
Ian Romanick
4f17040cb1
intel / DRI2: Track and flush front-buffer rendering
...
Track two flags: whether or not front-buffer rendering is currently
enabled and whether or not front-buffer rendering has been enabled
since the last glFlush. If the second flag is set, the front-buffer
is flushed via a loader call back. If the first flag is cleared, the
second flag is cleared at this time.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
Reviewed-by: Kristian Høgsberg <krh@redhat.com >
(cherry picked from commit 43cf0d1eeb )
2009-04-09 14:44:34 -07:00
Ian Romanick
98c2c9ef8c
DRI2: Provide an interface for drivers to flush front-buffer rendering
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
Reviewed-by: Kristian Høgsberg <krh@redhat.com >
(cherry picked from commit 82634ee8df )
2009-04-09 14:44:17 -07:00
Brian Paul
d805c82068
mesa: fix potential recursive locking deadlock in _mesa_HashWalk()
...
If the walk callback called _mesa_HashRemove() we'd deadlock.
(cherry picked from master, commit deff099215 )
2009-04-09 10:55:06 -06:00
Julien Cristau
3d81e934e5
Upload to unstable.
2009-04-08 23:53:54 +01:00
Brian Paul
6c3bec4387
swrast: fix point rendering function selection
...
Need to clamp default point size to min/max range before checking if it's one.
Fixes glean pointAtten test.
(cherry picked from master, commit 228f20e324 )
2009-04-07 13:44:50 -06:00
Brian Paul
7d3561c871
docs: more bug fixes for Mesa 7.4.1
2009-04-07 08:37:22 -06:00
Brian Paul
5c47d53924
mesa: in mesa_add_named_constant(), avoid adding duplicate constants
...
(cherry picked from master, commit 80197a0c1b )
2009-04-07 08:35:01 -06:00
Brian Paul
a18216308a
mesa: fix parameter counting in ARB vertex/fragment program parsing
...
Duplicated unnamed constants were getting counted more than once.
(cherry picked from master, commit 866bdd0509 )
2009-04-07 08:34:32 -06:00
Brian Paul
14f13fbcfa
mesa: replace >= with > when testing if we've exceeded max local params
...
Now a program that uses 256 locals works as it should.
(cherry picked from master, commit a4173956eb )
2009-04-07 08:34:04 -06:00
Brian Paul
ca24095c1e
mesa: only clear matrix MAT_DIRTY_INVERSE flag when we actually compute the inverse
...
If _math_matrix_analyse() got called before we allocated the inverse
matrix array we could lose the flag indicating that we needed to compute
the inverse. This could happen with certain vertex shader cases.
(cherry picked from master, commit ce461ffc5a )
2009-04-07 08:33:43 -06:00
Brian Paul
d5e0e03d43
mesa: for OPCODE_LIT, use _mesa_pow() instead of exp() and log()
...
Also, s/pow/_mesa_pow/
(cherry picked from master, commit b8a200ac9d )
2009-04-07 08:32:42 -06:00
Michel Dänzer
775ca8e3fa
radeon: Expose a 32 bit RGBA fbconfig even when the screen depth is 16.
...
Otherwise current xserver / libGL no longer expose a 32 bit RGBA GLX visual,
and compiz fails.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=20479 .
(Cherry picked from commit e798bf8053 )
2009-04-06 09:27:17 +02:00
Brian Paul
39345a4928
mesa: don't normalize spot light direction until validation time
...
In glLight() we're only supposed to transform the direction by the modelview
matrix, not normalized it too.
(cherry picked from commit 650d147289 )
2009-04-03 10:16:31 -06:00
Roland Scheidegger
7be149cfd1
mesa: fix TexParameter functions
...
premature return in TexParameterf caused mesa to never call Driver.TexParameter
breaking drivers relying on this (fix bug #20966 ).
While here, also fix using ctx->ErrorValue when deciding to call
Driver.TexParameter. Errors are sticky and uncleared errors thus would cause
this to no longer get called. Since we thus need return value of
set_tex_parameter[if] can also optimize this to only call when value changed.
2009-04-03 00:00:40 +02:00
Brian Paul
8c9d7b2474
docs: fix TXB texture unit bias error
2009-04-02 13:11:56 -06:00
Brian Paul
6ef0951b17
mesa: don't call ctx->Driver.ReadPixels() if width or height is zero
...
(cherry picked from commit master, 7b9bf39543 )
2009-04-02 13:11:33 -06:00
Brian Paul
2b33b77337
mesa: don't call ctx->Driver.Draw/CopyPixels() if width or height is zero
...
(cherry picked from master, commit f6a3f1f52a )
2009-04-02 13:10:41 -06:00
Brian Paul
0590edeea0
mesa: use correct tex unit lod bias for TXB instruction
...
(cherry picked from master, commit 1ab225017e )
2009-04-02 13:09:32 -06:00
Brian Paul
7511d76bd7
swrast: fix glDrawBuffer(GL_FRONT_AND_BACK)
...
We weren't putting the right colors into the back buffer in this mode.
(cherry picked from master, commit 9cc79fc2dc )
2009-04-02 13:07:53 -06:00
Julien Cristau
99f159339e
Prepare changelog for upload
2009-04-01 20:25:25 +02:00
Brian Paul
7f30aba920
docs: fix bug 20986
2009-04-01 07:39:43 -06:00
Brian Paul
4fa700260e
glsl: fix texgen state variable tokens in emit_statevars()
...
This fixes broken variable indexing into the gl_Eye/ObjectPlaneS/T/R/Q arrays.
See bug 20986.
(cherry picked from master, commit f8dd6594bf )
2009-04-01 07:39:26 -06:00
Brian Paul
781fb79c59
docs: first 7.4.1 bug fixes
2009-03-31 16:29:23 -06:00
Brian Paul
5b7e9f2f3a
mesa: fix bug in GPU codegen for fixed-function two-sided lighting
...
The 'dots' register wasn't getting properly un-negated and un-swizzled
after emitting the code for back-face lighting. So, if more than one
light source was enabled, the specular exponent for the next light source
was wrong.
During execution we were evaluating pow(x, y) where y was negative instead
of positive. This led to the outcome being zero or NaN.
This fixes the occasional black triangles seen in isosurf when hacked to
enable two-sided lighting.
(cherry picked from master, commit 919f57078b )
2009-03-31 16:28:17 -06:00
Brian Paul
d4d4b63d7f
docs: prep for Mesa 7.4.1 release notes
2009-03-31 16:26:24 -06:00
Jeremy Huddleston
9e9fe51acd
Updated CPU_TO_LE32 to work on darwin
2009-03-31 14:59:28 -07:00
Jeremy Huddleston
b65bc1b6cb
Fix compiling indirect.c when GLX_DIRECT_RENDERING is not defined
2009-03-31 14:48:19 -07:00
Jeremy Huddleston
6cb796f6fc
Updated darwin config for when X11 is not in the same location as we're installing to
...
(cherry picked from commit 7817fea0b6 )
2009-03-31 14:37:27 -07:00
Timo Aaltonen
4830fab603
update the changelog.
2009-03-30 10:41:39 +03:00
Timo Aaltonen
1e142bf63d
Merge commit 'mesa_7_4' into debian-experimental
2009-03-30 10:38:45 +03:00
Brian Paul
de197cf991
docs: 7.4 release md5 sums
2009-03-27 19:12:16 -06:00
Brian Paul
bf1e6581a5
docs: set 7.4 release date
2009-03-27 18:57:39 -06:00
Brian Paul
80ec7843bc
mesa: set VERSION=7.4
2009-03-27 18:57:23 -06:00
Brian Paul
366d6e8cd1
mesa: set version to 7.4
2009-03-27 18:57:07 -06:00
Ian Romanick
63ed288396
intel: Add extra, stronger flushes around CopyTexSubImage blits
2009-03-27 15:22:27 -07:00
Eric Anholt
88ce34f400
swrast: Add support for x8r8g8b8 fbconfig.
...
This lets swrast produce an fbconfig suitable for the root visual now that
the server's not allowing mismatched fbconfigs.
(cherry picked from commit 529d1d720e )
2009-03-27 15:20:09 -07:00
Ian Romanick
f535de8721
Mark current bits as 2009Q1-RC2 for Intel driver.
2009-03-26 15:32:29 -07:00
Eric Anholt
1db913f687
i965: Fix glFrontFacing in twoside GLSL demo.
...
This also cuts instructions by just using the existing bit in the payload
rather than computing it from the determinant in the SF unit and passing it
as a varying down to the WM. Something still goes wrong with getting the
backface color right, but a simpler shader appears to get the right result.
(cherry picked from commit 699db6d842 )
2009-03-26 15:15:51 -07:00
Eric Anholt
0e5d1f43af
i965: Fix fog coordinate g,b,a values when glFrontFacing isn't used.
...
Previously, we would sample (f,glFrontFacing,undef,undef) instead of the
(f,0,0,1) that fragment.fogcoord is supposed to return. Due to
glFrontFacing's presence in FOGC.y, we'll still give bad results there when
glFrontFacing is used.
Bug #19122 , piglit testcase fp-fog.
(cherry picked from commit 411d913cce )
2009-03-26 15:15:27 -07:00
Eric Anholt
09c587ae55
i965: Clean up a bit of mess with unneeded variables in emit_interp.
...
(cherry picked from commit b013f945d8 )
2009-03-26 15:15:14 -07:00
Brian Paul
775d8431e9
i965: separate emit_op() and emit_tex_op() functions
...
(cherry picked from commit a79186e29e )
2009-03-26 15:14:56 -07:00
Brian Paul
3217ea8a1d
i965: minor clean-up, comments, etc.
...
(cherry picked from commit 9e7903e492 )
2009-03-26 15:14:22 -07:00
Brian Paul
00aea5853d
docs: mention Solaris updates in release notes
2009-03-25 21:08:21 -06:00
Brian Paul
20d34b50b5
mesa: bump version to 7.4 rc2
2009-03-25 21:06:41 -06:00
Alan Coopersmith
9cff0acb36
define __builtin_expect for non-gcc compilers in two more glx files
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com >
2009-03-25 16:26:03 -07:00
Alan Coopersmith
791b59493f
mklib improvements for Solaris
...
Move flags for linking standard C/C++ libraries from configure.ac to mklib
Use -norunpath flag when linking with Sun C++ compiler
Convert mklib -exports list into a linker mapfile
Set FINAL_LIBS correctly when -noprefix is used
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com >
2009-03-25 16:26:02 -07:00
Michel Dänzer
7dff7029fa
Revert "dri2: Avoid round-tripping on DRI2GetBuffers for the same set of buffers."
...
This scheme breaks when the display connection doesn't receive ConfigureNotify
events. This caused reporoducible problems (cropped / misplaced output) when
starting a 3D application in a guest operating system in VMware Workstation.
This reverts commit dd1c68f151 .
Conflicts:
src/glx/x11/dri2_glx.c
(cherry picked from commit 11da7e02aa )
2009-03-25 15:55:20 +01:00
Brian Paul
f8fd9bc46b
docs: update glext.h to version 48
2009-03-25 08:35:15 -06:00
Brian Paul
53f0e141c0
gl: update include/GL/glext.h to version 48
2009-03-25 08:35:02 -06:00
Julien Cristau
af3c568475
Prepare changelog for upload
2009-03-25 11:34:58 +01:00
Julien Cristau
7d01429512
Build-depend on linux-libc-dev >= 2.6.29 on linux archs.
...
The 2.6.28 kernel headers miss some compat defines.
2009-03-25 01:51:02 +01:00
Brian Paul
14a794300e
demos: add LDFLAGS for corender target, bug 20844
...
(cherry picked from commit c4c4358e08 )
2009-03-24 16:09:23 -06:00
Eric Anholt
912ec292c1
i965: Fix occlusion query when no other WM state updates occur.
...
Turns out that XXX comment was important. We weren't flagging the WM to
re-update with the statistics enable, so we got zeroes out of our query.
Bug #20740 , fixes piglit occlusion_query test.
Signed-off-by: Eric Anholt <eric@anholt.net >
(cherry picked from commit c0d6e07909 )
2009-03-23 12:49:31 -07:00
Tom Fogal
e814b5ae2f
mesa: fix _glxapi_get_proc_address() for mangled names
...
(cherry picked from commit 7399d56ec6 )
2009-03-23 12:49:13 -07:00
Brian Paul
0fea05915a
glapi: update find_entry() for mangled names
...
(cherry picked from commit 4447fddc82 )
2009-03-23 12:49:05 -07:00
Brian Paul
dfa44f0ff9
mesa: regenerated gl_mange.h file
...
(cherry picked from commit fe0ccf323d )
2009-03-23 12:48:56 -07:00
Julien Cristau
8d088cd34f
update changelog
2009-03-23 17:25:04 +01:00
Julien Cristau
094d627885
Merge tag 'mesa_7_4_rc1' into debian-experimental
2009-03-23 17:21:26 +01:00
Brian Paul
f850ff2bcc
mesa: remove unused 'out' label
2009-03-23 08:27:00 -06:00
Brian Paul
66f972ab55
Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com >
(cherry picked from master, commit a06dd4de87 )
2009-03-23 08:18:48 -06:00
Brian Paul
17db2db9dc
docs: prep for 7.4 release
2009-03-20 17:34:54 -06:00
Brian Paul
dba79af9bc
mesa: prep for 7.4-rc1 release
2009-03-20 17:26:04 -06:00
Brian Paul
b009a32bf4
r300: don't crash on sw tcl hw if point size vertex attrib is sent
...
(cherry picked from master, commit 005ad1a71d )
2009-03-20 08:49:39 -06:00
Brian Paul
7122490982
mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state change
...
Avoid a little bit of unneeded state validation and fixes a bug where the
texture complete flags was set to false, but we didn't signal _NEW_TEXTURE.
Fixes piglit tex1d-2dborder failure.
(cherry picked from commit aad3f546a0 )
2009-03-18 14:47:47 -07:00
Brian Paul
6ada1d47d9
mesa: add no-change testing for a few more texture parameters
...
(cherry picked from commit 37c768b36a )
2009-03-18 10:54:09 -07:00
Robert Ellison
55865335f4
i965: fix polygon stipple when rendering to FBO
...
The polygon stipple pattern, like the viewport and the
polygon face orientation, must be inverted on the i965
when rendering to a FBO (which itself has an inverted pixel
coordinate system compared to raw Mesa).
In addition, the polygon stipple offset, which orients
the stipple to the window system, disappears when rendering
to an FBO (because the window system offset doesn't apply,
and there's no associated FBO offset).
With these fixes, the conform triangle and polygon stipple
tests pass when rendering to texture.
(cherry picked from commit 29309b45b0 )
2009-03-18 10:47:24 -07:00
Robert Ellison
918e5221ef
i965: fix polygon face orientation when rendering to FBO
...
In the i965, the FBO coordinate system is inverted from the standard
OpenGL/Mesa coordinate system; that means that the viewport and the
polygon face orientation have to be inverted if rendering to a FBO.
The viewport was already being handled correctly; but polygon face
was not. This caused a conform failure when rendering to texture with
two-sided lighting enabled.
This fixes the problem in the i965 driver, and adds to the comment about
the gl_framebuffer "Name" field so that this isn't a surprise to other
driver writers.
(cherry picked from commit 6dceeb2eb8 )
2009-03-18 10:47:24 -07:00
Brian Paul
9feb26584a
swrast: use better _swrast_compute_lambda() function
...
The MAX-based function can produce values that are non-monotonic for a span
which causes glitches in texture filtering. The sqrt-based one avoids that.
This is perhaps slightly slower than before, but the difference
probably isn't noticable given we're doing software mipmap filtering.
Issue reported by Nir Radian <nirr@horizonsemi.com >
(cherry picked from master, commit c334ce273e )
2009-03-17 10:34:45 -06:00
Ian Romanick
a8528a2e86
Mark current bits as 2009Q1-RC1 for Intel driver.
2009-03-16 13:39:32 -07:00
Brian Paul
119360cccd
i965: init dest reg CondMask = COND_TR (the proper default)
...
Plus fix up a debug printf.
(cherry picked from commit 20f49252e1 )
2009-03-13 17:38:40 -07:00
Brian Paul
ac2216542d
glsl: fix vec4_texp_rect IR code (need projective version) (cherry picked from commit ad2cfa4199)
2009-03-13 17:38:40 -07:00
Brian Paul
37e5c057f1
i965: check if we run out of GRF/temp registers
...
Before this change we would up emitting instructions with invalid register
numbers. This typically (but not always) hung the GPU. For now, just
prevent emitting bad instructions to avoid hangs. Still need to do some
kind of proper error recovery.
(cherry picked from commit e60b3067d8 )
2009-03-13 17:38:40 -07:00
Brian Paul
4d9b8e0f93
mesa: added _mesa_fprintf() wrapper (cherry picked from commit 596b8fbbbf)
2009-03-13 17:38:40 -07:00
Brian Paul
c1b71f46b5
i965: fix emit_math1() function used for scalar instructions
...
Instructions such as RCP, RSQ, LOG must smear the result of the function
across the dest register's X, Y, Z and W channels (subject to write masking).
Before this change, only the X component was getting written.
Among other things, this fixes cube map texture sampling in GLSL shaders
(since cube lookups involve normalizing the texcoord).
(cherry picked from commit 3485801978 )
2009-03-13 17:38:39 -07:00
Brian Paul
4a25ac9564
i965: rewrite the code for handling shader subroutine calls
...
Previously, the prog_instruction::Data field was used to map original Mesa
instructions to brw instructions in order to resolve subroutine calls. This
was a rather tangled mess. Plus it's an obstacle to implementing dynamic
allocation/growing of the instruction buffer (it's still a fixed size).
Mesa's GLSL compiler emits a label for each subroutine and CAL instruction.
Now we use those labels to patch the subroutine calls after code generation
has been done. We just keep a list of all CAL instructions that needs patching
and a list of all subroutine labels. It's a simple matter to resolve them.
This also consolidates some redundant post-emit code between brw_vs_emit.c and
brw_wm_glsl.c and removes some loops that cleared the prog_instruction::Data
fields at the end.
Plus, a bunch of new comments.
(cherry picked from commit c51c822ee0 )
2009-03-13 17:38:39 -07:00
Eric Anholt
35d965b39b
intel: Fix bpp setting of blits to 8bpp targets.
...
This was causing hangs in cairogears, as we would blit to the 8bpp target
(A8 texture) as 16bpp, and stomp over state objects.
(cherry picked from commit 19e134051c )
2009-03-13 17:38:39 -07:00
Robert Ellison
d0aab00609
i965: add software fallback for conformant 3D textures and GL_CLAMP
...
The i965 hardware cannot do GL_CLAMP behavior on textures; an earlier
commit forced a software fallback if strict conformance was required
(i.e. the INTEL_STRICT_CONFORMANCE environment variable was set) and
2D textures were used, but it was somewhat flawed - it could trigger
the software fallback even if 2D textures weren't enabled, as long
as one texture unit was enabled.
This fixes that, and adds software fallback for GL_CLAMP behavior with
1D and 3D textures.
It also adds support for a particular setting of the INTEL_STRICT_CONFORMANCE
environment variable, which forces software fallbacks to be taken *all*
the time. This is helpful with debugging. The value is:
export INTEL_STRICT_CONFORMANCE=2
(cherry picked from commit 3468315087 )
2009-03-13 17:38:39 -07:00
Brian Paul
ef33d0f103
mesa: don't draw arrays if vertex position array is not enabled
...
For regular GL, we must have vertex positions in order to draw. But ES2
doesn't have that requirement (positions can be computed from any array
of data).
See bug 19911.
(cherry picked from commit 97dd2ddbd9 )
2009-03-13 17:38:39 -07:00
Robert Ellison
349b819768
i965: texture fixes: bordered textures, fallback rendering
...
i965 doesn't natively support GL_CLAMP; it treats it like
GL_CLAMP_TO_EDGE, which fails conformance tests.
This fix adds a clause to the check_fallbacks() test to check
whether GL_CLAMP is in use on any enabled 2D texture. If so,
and if strict conformance is required (via INTEL_STRICT_CONFORMANCE),
a software fallback is mandated.
In addition, validate textures *before* checking for fallbacks,
rather than after; otherwise, the texture state is never validated
and can't be trusted. (In particular, if texturing is enabled and
the sampler would access any level beyond level 0 of a texture, the
sampler will segfault, because texture validation sets the firstLevel
and lastLevel fields of a texture object so that the valid levels
will be mapped and accessed correctly. If texture validation doesn't
occur, only level 0 is accessed correctly, and that only because
firstLevel and lastLevel happen to be set to 0.)
(cherry picked from commit 17c7852bf9 )
2009-03-13 17:38:39 -07:00
Dave Airlie
50443db882
texmem: fix typo from brianp's changes.
...
Reported by cjb via tinderbox on irc
(cherry picked from commit 487a55af78 )
2009-03-13 17:38:39 -07:00
Brian Paul
c503cacb53
mesa: use an array for current texture objects
...
Use loops to consolidate lots of texture object code.
(cherry picked from commit 9818734e01 )
2009-03-13 17:38:39 -07:00
Brian Paul
e862b4e38f
mesa: use an array for default texture objects
...
Replace Default1D/2D/3D/Cube/etc with DefaultTex[TEXTURE_x_INDEX].
The same should be done with the Current1D/2D/3D/etc pointers...
(cherry picked from commit 4d24b639d1 )
2009-03-13 17:38:39 -07:00
Robert Ellison
e9dfc858fb
Fix an i965 assertion failure on glClear()
...
While running conform with render-to-texture:
conform -d 33 -v 2 -t -direct
the i965 driver failed this assertion:
intel_clear.c:77: intel_clear_tris: Assertion `(mask & ~((1 << BUFFER_BACK_LEFT) | (1 << BUFFER_FRONT_LEFT) | (1 << BUFFER_DEPTH) | (1 << BUFFER_STENCIL))) == 0' failed.
The problem is that intel_clear_tris() is called by intelClear() to
clear any and all of the available color buffers, but intel_clear_tris()
actually only handles the back left and front left color buffers; so
the assertion fails as soon as you try to clear a non-standard color
buffer.
The fix is to have intelClear() only call intel_clear_tris() with
buffers that intel_clear_tris() can support. intelClear() already backs
down to _swrast_Clear() for all buffers that aren't handled explicitly.
(cherry picked from commit 0ccbc3c905 )
2009-03-13 17:38:39 -07:00
Brian Paul
5efbca1e21
intel: fix datatype typo, s/GLboolean/GLuint/
...
Fixes mysterious failures in glean glsl1 test.
(cherry picked from commit da2b661ee4 )
2009-03-13 17:38:39 -07:00
Kristian Høgsberg
d6d8663a88
intel: Fix intelSetTexBuffer miptree leak.
...
The intelImage also holds a reference to the miptree, so unref that as well.
(cherry picked from commit 5b354d39d4 )
2009-03-13 17:38:39 -07:00
Eric Anholt
13990bd98a
intel: tell libdrm whether we want a cpu-ready or gpu-ready BO for regions.
...
This lets us avoid allocing new buffers for renderbuffers, finalized miptrees,
and PBO-uploaded textures when there's an unreferenced but still active one
cached, while also avoiding CPU waits for batchbuffers and CPU-uploaded
textures. The size of BOs allocated for a desktop running current GL
cairogears on i915 is cut in half with this.
Note that this means we require libdrm 2.4.5.
(cherry picked from commit 40dd024be6 )
2009-03-13 17:38:39 -07:00
Eric Anholt
def630d0a2
i965: Fix render target read domains.
...
We were asking for something illegal (write_domain != 0 && read_domains !=
write_domain) because at the time of writing the region surfaces were used
for texturing occasionally as well, and we weren't really clear on the model
GEM was going to use.
This reliably triggered a kernel bug with domain handling, resulting in
oglconform mustpass.c failure. Of course, it only became visible after
01bc4d441f cleaned up some gratuitous flushing.
(cherry picked from commit 078e8a61b2 )
2009-03-13 17:38:39 -07:00
Eric Anholt
ca2564f1e6
intel: Don't do the extra MI_FLUSH in flushing except when doing glFlush().
...
Everything other than "make sure the last rendering ends up visible on the
screen" doesn't need that behavior.
(cherry picked from commit 01bc4d441f )
2009-03-13 17:38:38 -07:00
Eric Anholt
711a57f7c7
intel: don't crash when dri2 tells us about buffers we don't care about. (cherry picked from commit f82f1ffba9)
2009-03-13 17:38:38 -07:00
Eric Anholt
058cf2fff1
dri2: Initialize variables for the getbuffers round-trip reduction.
...
Missed setting the initial values which usually didn't hurt at runtime.
(cherry picked from commit 680c708dee )
2009-03-13 17:38:38 -07:00
Eric Anholt
715f509c5d
intel: Fix tri clear to do FBO color attachments as well.
...
This is a 2% win in fbo_firecube, and would avoid a sw fallback for
masked clears.
(cherry picked from commit fd51cf1531 )
2009-03-13 17:38:38 -07:00
Eric Anholt
e704e6c6f3
i965: Fix fallback on stencil drawing to fbo when the visual lacks stencil.
...
Noticed this with the fbotexture demo.
(cherry picked from commit c06f4e2a37 )
2009-03-13 17:38:38 -07:00
Brian Paul
01f34e667a
i965: need to disable current shader, if any, in intel_clear_tris()
...
Fixes bad background in all the progs/glsl/ tests.
(cherry picked from commit 60b3fe6c19 )
2009-03-13 17:38:38 -07:00
Eric Anholt
4d0a7b33c5
intel: Speed up glDrawPixels(GL_ALPHA) by using an alpha texture format. (cherry picked from commit 0b63f6449e)
2009-03-13 17:38:38 -07:00
Eric Anholt
fb1d2ed34c
intel: Fix some state leakage of {Client,}ActiveTexture in metaops.
...
Found while debugging cairo-gl.
(cherry picked from commit d11981e0d7 )
2009-03-13 17:38:38 -07:00
Eric Anholt
9395fedf98
i965: Remove brw->attribs now that we can just always look in the GLcontext. (cherry picked from commit 052c1d66a1)
2009-03-13 17:38:38 -07:00
Eric Anholt
9abc0d80af
i965: Delete old metaops code now that there are no remaining consumers. (cherry picked from commit 14321fcfde)
2009-03-13 17:38:38 -07:00
Brian Paul
90e89c01df
i965: init array->Format fields (see bug 19708) (cherry picked from commit 628b52241b)
2009-03-13 17:38:38 -07:00
Eric Anholt
790d93e362
intel: If we're doing a depth clear with tris, do color with it.
...
This is a 10% win on the ever-important glxgears not-a-benchmark.
(cherry picked from commit 67ee22c89f )
2009-03-13 17:38:38 -07:00
Eric Anholt
e9f3783169
i915: Only call CalcViewport from DrawBuffers instead of Viewport.
...
This saves an inadvertent round-trip to the X Server on DrawBuffers, which was
hurting some metaops.
(cherry picked from commit ac0dfbdf0f )
2009-03-13 17:38:38 -07:00
Brian Paul
e41780fedc
intel: move some driver functions around
...
A step toward consolidating i915/intel_state.c and i965/intel_state.c
(cherry picked from commit 84c8b5bbf9 )
2009-03-13 17:38:38 -07:00
Eric Anholt
d0edbbb3f3
intel: replace custom metaops clear with generic.
...
No real-world impact on performance seen. Even glxgears seems to be, if
anything, happier.
(cherry picked from commit c96bac0950 )
2009-03-13 17:38:38 -07:00
Brian Paul
e10119c23e
intel: make intelUpdateScreenFromSAREA() static (cherry picked from commit aae2729aeb)
2009-03-13 17:38:38 -07:00
Brian Paul
208c087f39
intel: remove unused var (cherry picked from commit 66c7f06413)
2009-03-13 17:38:38 -07:00
Shaohua Li
0c8b40b42b
i915: Add support for a new G33-like chipset.
...
Signed-off-by: Shaohua Li <shaohua.li@intel.com >
Signed-off-by: Eric Anholt <eric@anholt.net >
(cherry picked from commit 40290745ea )
2009-03-13 17:38:37 -07:00
Xiang, Haihao
5199f451bb
i965: fix for RHW workaround
...
It is possible that an object whose vertices all are outside of a
view plane is passed to clip thread due to the RHW workaround. This
object should be rejected by clip thread. Fix bug #19879
(cherry picked from commit 68915fd6fa )
2009-03-13 17:38:37 -07:00
Brian Paul
dd7cde5230
i965: tell GLSL compiler to emit code using condition codes
...
The default for EmitCondCodes got flipped when gallium-0.2 was merged.
This fixes GLSL if/else/endif regressions.
Drivers that use GLSL should always explicitly set the flag to be safe.
(cherry picked from commit a9e753c84c )
2009-03-13 17:38:37 -07:00
Eric Anholt
ab5746e5d8
tdfx: Fix begin/endquery for current API. (cherry picked from commit 0cb295584f)
2009-03-13 17:38:37 -07:00
Brian Paul
3bd446c0ab
i965: add missing break for OPCODE_RET case
...
This doesn't effect correctness, but we were emitting an extraneous ADD.
(cherry picked from commit 74b6d55864 )
2009-03-13 17:38:37 -07:00
Brian Paul
9b78402ee4
mesa: more info in error messages (cherry picked from commit 1ca05a066b)
2009-03-13 17:38:37 -07:00
Brian Paul
cf1ef0f308
mesa: minor error msg improvement (cherry picked from commit 803504e69f)
2009-03-13 17:38:37 -07:00
Chris Wilson
fd1f65ba61
intel: Decode MI operands using specific length masks
...
The MI opcodes have different variable length masks, so use an operand
specific mask to decode the length.
(cherry picked from commit e92d97d75b )
2009-03-13 17:38:37 -07:00
Chris Wilson
967345b497
intel: Correct decoding of 3DSTATE_PIXEL_SHADER_CONSTANTS
...
A couple of minor typos that proclaimed an error in the wrong command, and
failed to offset the mask.
(cherry picked from commit 05d130a35a )
2009-03-13 17:38:37 -07:00
Ian Romanick
41ad853a6a
glxgears: No, really. Fix the dyslexia. (cherry picked from commit 5b5ddfb89c)
2009-03-13 17:38:37 -07:00
Ian Romanick
842baa29cb
Fix dyslexia. (cherry picked from commit 9d6880ec8d)
2009-03-13 17:38:37 -07:00
Ian Romanick
9556d870a1
glxgears: Log a message if synched to vblank
...
Tries to use either GLX_MESA_swap_control or GLX_SGI_video_sync to
detect whether the display is synchronized to the vertical blank. If
it detects this, a message will be printed. HOPEFULLY this will
prevent some of the bug reports such as "glxgears only gets 59.7fps.
What's wrong with my driver?"
(cherry picked from commit 58b9cd411f )
2009-03-13 17:38:37 -07:00
Brian Paul
42ce790086
mesa: refactor glTexParameter code (cherry picked from commit 318e53a4bf)
2009-03-13 17:38:37 -07:00
Robert Ellison
b17769af42
mesa: add missing texture_put_row_rgb() function in texrender.c
...
The wrap_texture() function doesn't set the renderbuffer PutRowRGB() method,
which is used to implement DrawPixels(). This fix adds an implementation
of this method.
(cherry picked from commit 523febe12e )
2009-03-13 17:38:37 -07:00
Brian Paul
9030277b0d
intel: move glClear-related code into new intel_clear.c file (cherry picked from commit 4451eb2e75)
2009-03-13 17:38:37 -07:00
Brian Paul
a37a9bf769
intel: Move swap-related functions from intel_buffers.c to new intel_swapbuffers.c (cherry picked from commit 6fcebbe719)
2009-03-13 17:38:37 -07:00
Brian Paul
8afb8a8145
i965: scissor rect was inverted when rendering to texture (cherry picked from commit 3b23a8e07d)
2009-03-13 17:38:37 -07:00
Brian Paul
801f933694
mesa: consolidate glGetTexEnvi/f() code with new get_texenvi() helper (cherry picked from commit ad338c14c2)
2009-03-13 17:38:36 -07:00
Jesse Barnes
75ecd6ebbf
intel: fix the mismerge of the vblank pipe enable sanity check
...
Fix the last merge fix, had the blocks ordered incorrectly.
(cherry picked from commit e57e398960 )
2009-03-13 17:38:36 -07:00
Jesse Barnes
1cd7317fdb
intel: move pipe enable sanity check to where it belongs
...
Bah, applied the patches in the wrong order, not Owain's fault...
(cherry picked from commit 216bff5fd4 )
2009-03-13 17:38:36 -07:00
Owain Ainsworth
1865291701
intel: fix vblank crtc selection with DRI1 when only one pipe is enabled.
...
On Mobile chipsets, we often enable PipeB instead of PipeA, but the test
in here was insufficient, falling back to pipe A if the area
intersection returned zero. Therefore, in the case where a window went
off to the top of the left of the screen, it would freeze, waiting on
the wrong vblank.
Fix this mess by checking the sarea for a crtc being zero sized, and in
that case always default to the other one.
(cherry picked from commit 0b5266ff64 )
2009-03-13 17:38:36 -07:00
Owain G. Ainsworth
3edbcce7d5
intel: Prevent an "irq is not working" printf when only pipe B is enabled.
...
intelMakeCurrent is called before intelWindowMoved (in fact, it calls
it), so calculation of the correct vblank crtc has not happened yet.
Fix this by making a function that fixes up a set of vblank flags and
call if from both functions.
(cherry picked from commit 39b4061bb9 )
2009-03-13 17:38:36 -07:00
Robert Ellison
b1fb34d0ac
i965: fix line stipple fallback for GL_LINE_STRIP primitives
...
When doing line stipple, the stipple count resets on each line segment,
unless the primitive is a GL_LINE_LOOP or a GL_LINE_STRIP.
The existing code correctly identifies the need for a software fallback
to handle conformant line stipple on GL_LINE_LOOP primitives, but
neglects to make the same assessment on GL_LINE_STRIP primitives.
This fixes it so they match.
(cherry picked from commit 73658ff04f )
2009-03-13 17:38:36 -07:00
Ian Romanick
606099f545
swrast: Enable GL_EXT_stencil_two_side (cherry picked from commit b5fbdef7ec)
2009-03-13 17:38:36 -07:00
Brian Paul
32e3142071
i965: minor improvements in brw_wm_populate_key() (cherry picked from commit 89fddf978c)
2009-03-13 17:38:36 -07:00
Brian Paul
66eea4e104
mesa: fix/update/restore comments related to two-sided stencil (cherry picked from commit a304cc6cca)
2009-03-13 17:38:36 -07:00
Brian Paul
e428cf3afd
mesa: initialize ctx->Stencil._BackFace = 1
...
Back-face stencil operations didn't work correctly because this value was
zero. It needs to be 1 or 2. The only place it's set otherwise is in
glEnable/Disable(GL_STENCIL_TEST_TWO_SIDE_EXT).
(cherry picked from commit 2a968113a9 )
2009-03-13 17:38:36 -07:00
Ian Romanick
842b5164d2
Track two sets of back-face stencil state
...
Track separate back-face stencil state for OpenGL 2.0 /
GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all
three to be enabled in a driver. One set of state is set via the 2.0
or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is
disabled. The other is set by StencilFunc and StencilOp when the
active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has
more details.
http://opengl.org/registry/specs/EXT/stencil_two_side.txt
(cherry picked from commit dde7cb9628 )
2009-03-13 17:38:36 -07:00
Brian Paul
a6f7e909a7
mesa: fix transposed red/blue in store_texel_rgb888/bgr888() functions
...
(cherry picked from master, commit 862dccd560 )
2009-03-12 09:32:55 -06:00
Brian Paul
ca87e5a7bd
mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()
...
(cherry picked from master, commit 81569c2f69 )
2009-03-12 08:12:54 -06:00
Alan Hourihane
45c4b4dfbd
xdemos: On termination with esc close the contexts correctly.
2009-03-11 13:36:26 +00:00
Brian Paul
2adaec1226
xmesa: set back-buffer's drawable field
...
Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap
(cherry picked from master, commit 22bac2a1a0 )
2009-03-09 16:28:50 -06:00
Brian Paul
549586c319
i965: fix cube map lock-up / corruption
...
If we're using anything but GL_NEAREST sampling of a cube map, we need to
use the BRW_TEXCOORDMODE_CUBE texcoord wrap mode. Before this, the GPU
would either lock up or subsequent texture filtering would be corrupted.
(cherry picked from master, commit 6f915b10d5 )
2009-03-09 11:57:16 -06:00
Dan Nicholson
463ac421a5
autoconf: Restore _GNU_SOURCE for all Linux systems
...
This catches the linux-uclibc case and any others that were being set
prior to 98fcdf3f . Fixes bug 20345.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com >
(cherry picked from commit ac55db1d7d )
2009-03-06 07:59:00 -08:00
Brian Paul
6801240205
mesa: Reads must also be done with lock held.
...
Otherwise two threads might think each made the refcount go zero.
(cherry picked from master, commit 8bbb6b352a )
2009-03-06 07:51:18 -07:00
Brian Paul
a22088b7d5
mesa: Fix typo.
...
Windows threads block if one over-unlocks them.
(cherry picked from master, commit f6159ba4d5 )
2009-03-06 07:50:55 -07:00
Brian Paul
e89c49147f
docs: update glext.h to version 46
2009-03-05 08:25:17 -07:00
Brian Paul
67634240d1
gl: update glext.h to version 46
2009-03-05 08:25:09 -07:00
Brian Paul
819b028a8e
mesa: fix sw fallback state validation bug
...
When a hw driver fell back to swrast, swrast wasn't always getting informed
of program changes. When fixed function is translated into shaders, flags
like _NEW_LIGHT, _NEW_TEXTURE, etc. should really signal _NEW_PROGRAM.
In this case, swrast wasn't seeing _NEW_PROGRAM when new fragment shaders
were generated.
(cherry picked from master, commit de1caa5507 )
2009-03-03 14:25:28 -07:00
Brian Paul
a43c30ef41
mesa: update fragResults array in arb_output_attrib_string()
...
Plus add some comments.
(cherry picked from master, commit a070937c00 )
2009-02-27 13:49:58 -07:00
Brian Paul
b65bfde84d
mesa: set bufObj->Pointer = NULL after unmapping
...
Also, ctx->Driver.UnmapBuffer can never be null, so remove conditional.
(cherry picked from master, commit 67025f7893 )
2009-02-27 13:13:31 -07:00
Brian Paul
c39e6917ac
mesa: if a buffer object is mapped when glDeleteBuffers() is called, unmap it
...
(cherry picked from master, commit a7f434b486 )
2009-02-27 13:05:51 -07:00
Brian Paul
c79079895f
mesa: fix incorrect error handling in glBufferDataARB()
...
If glBufferDataARB() is called while a buffer object is currently mapped
we're supposed to unmap the current buffer, then replace it. Don't generate
an error.
(cherry picked from master, commit 75e3ccf6a5 )
2009-02-27 12:58:07 -07:00
Alex Deucher
4480e631cd
R300: Add support for RS600 chips
2009-02-25 17:48:45 -05:00
Brian Paul
c32661c3ce
mesa: Build DRI by default on Linux/sparc
...
Signed-off-by: David S. Miller <davem@davemloft.net >
(cherry picked from master, commit 32dc28ac7a )
2009-02-24 20:08:00 -07:00
Brian Paul
d5c06bb812
glsl: yet another swizzled expression fix
...
This fixes swizzled conditional expressions such "(b ? p : q).x"
(cherry picked from master, commit 00f0b05d5f )
2009-02-24 08:32:01 -07:00
Brian Paul
9d5aa36239
glsl: fix another swizzle-related bug
...
This fixes the case of "infinitely" nested swizzles such as EXPR.wzyx.yxwz.xxyz
This doesn't appear in typical shaders but with function inlining and the
compiler's internal use of swizzles it can happen.
New glean glsl1 test case added for this.
(cherry picked from master, commit d9881356a6 )
2009-02-24 08:31:02 -07:00
Brian Paul
e3050c1777
docs: Haiku fixes
2009-02-23 08:16:09 -07:00
Brian Paul
06295ddbdd
mesa: fixes for building on Haiku
...
(cherry picked from master, commit 41172c0430 )
Conflicts:
src/mesa/main/dlopen.c
2009-02-23 08:15:43 -07:00
Brian Paul
e2092bb23c
demos: update multitex.c GLSL demo to use vertex arrays or glVertex-mode
...
Press 'a' to toggle drawing mode.
(cherry picked from master, commit 8e8b25c26a )
2009-02-19 17:05:14 -07:00
Brian Paul
528836d0ad
util: added more functions to extfuncs.h
...
(cherry picked from master, commit 4c5f390328 )
2009-02-19 17:04:42 -07:00
Brian Paul
3511442e43
mesa: fix GLSL issue preventing use of all 16 generic vertex attributes
...
Only 15 actually worked before since we always reserved generic[0] as an
alias for vertex position.
The case of vertex attribute 0 is tricky. The spec says that there is no
aliasing between generic vertex attributes 0..MAX_VERTEX_ATTRIBS-1 and the
conventional attributes. But it also says that calls to glVertexAttrib(0, v)
are equivalent to glVertex(v). The distinction seems to be in glVertex-mode
versus vertex array mode.
So update the VBO code so that if the shader uses generic[0] but not gl_Vertex,
route the attribute data set with glVertex() to go to shader input generic[0].
No change needed for the glDrawArrays/Elements() path.
This is a potentially risky change so regressions are possible. All the usual
tests seem OK though.
(cherry picked from mesa, commit dea0d4d563 )
Follow-up: This patch doesn't seem to be as risky as noted above.
There have been no known regressions on Mesa/master because of it.
2009-02-19 17:01:17 -07:00
Brian Paul
d20c53b511
glsl: update program->InputsRead when referencing input attributes
...
This info will be used in the linker for allocating generic vertex attribs.
(cherry picked from master, commit 1cb7cd1292 )
2009-02-19 17:00:06 -07:00
Brian Paul
091cc122ad
glsl: asst improvements, clean-ups in set_program_uniform()
...
Move the is_boolean/integer_type() calls out of the loops.
Move the is_sampler_type() function near the bool/int functions.
Add a bunch of comments.
(cherry picked from master, commit c4ffbf009e )
2009-02-18 17:53:08 -07:00
Brian Paul
c983abbb9e
glsl: fix inequality in set_program_uniform()
...
We were off by one when checking for too many uniform values.
(cherry picked from master, commit b9d8f717d2 )
2009-02-18 17:52:47 -07:00
Brian Paul
a0a81204c2
mesa: bump gl.h version comment to 7.4 (bug 20170)
2009-02-18 15:37:44 -07:00
Brian Paul
409d4f839c
glsl: fix link failure for variable-indexed varying output arrays
...
If the vertex shader writes to a varying array with a variable index,
mark all the elements of that array as being written.
For example, if the vertex shader does:
for (i = 0; i < 4; i++)
gl_TexCoord[i] = expr;
Mark all texcoord outputs as being written, not just the first.
Linking will fail if a fragment shader tries to read an input that's not
written by the vertex shader. Before this fix, this linker test could fail.
(cherry picked from master, commit dac19f17f3 )
2009-02-18 14:29:46 -07:00
Brian Paul
0ab36958ea
mesa: improved error msg
...
(cherry picked from master, commit 621c999d82 )
2009-02-18 13:41:12 -07:00
Brian Paul
c2445f43a3
mesa: increase MAX_UNIFORMS to 1024 (of vec4 type)
...
Old limit was 256. Note that no arrays are declared to this size.
The only place we have to be careful about raising this limit is the
prog_src/dst_register Index bitfields. These have been bumped up too.
Added assertions to check we don't exceed the bitfield in the future too.
(cherry picked from master, commit 5b2f8dc013 )
2009-02-18 13:40:57 -07:00
Brian Paul
f3d1c136b7
glsl: fix a swizzle-related regression
...
This new issue was exposed by commit 6eabfc27f1
(cherry picked from master, commit 212f41b80f )
2009-02-18 13:37:31 -07:00
Brian Paul
dd10a8b09d
docs: 7.4 relnotes: report GLSL 1.20, fixed GLSL array index bug
2009-02-17 16:39:45 -07:00
Brian Paul
dd312366da
glsl: silence some uninit var warnings
...
(cherry picked from master, commit 9d49802b7a )
2009-02-17 16:38:30 -07:00
Brian Paul
d2fe466ef3
mesa: turn on reporting of GLSL version 1.20
...
The new array features, precision/invariant/centroid qualifiers, etc. were
done a while back. The glGetString(GL_SHADING_LANGUAGE_VERSION) query returns
"1.20" now (for drivers that support it anyway).
(cherry picked from master, commit f59719c6c7 )
2009-02-17 16:37:41 -07:00
Brian Paul
fe5328bfad
glsl: fix mistake in a comment
...
(cherry picked from master, commit be8dd01678 )
2009-02-17 16:36:15 -07:00
Brian Paul
c0891dde07
glsl: fix an array indexing bug
...
This fixes a bug found with swizzled array indexes such as in "array[index.z]"
where "index" is an ivec4.
(cherry picked from master, commit 6eabfc27f1 )
2009-02-17 16:35:59 -07:00
Brian Paul
0e6d9c1a55
docs: recent 7.4 bug fixes
2009-02-16 20:35:12 -07:00
Brian Paul
5f74a66132
glsl: allow setting arrays of samplers in set_program_uniform()
...
Arrays of sampler vars haven't been tested much and might actually be broken.
Will need to be revisited someday.
Another fix for bug 20056.
(cherry picked from master, commit 2b4f0216bf )
2009-02-16 20:30:49 -07:00
Brian Paul
46f8b62d5f
glsl: raise GL_INVALID_OPERATION for glUniform(location < -1)
...
location = -1 is silently ignored, but other negative values should raise
an error.
Another fix for bug 20056.
(cherry picked from master, commit 234f03e90a )
2009-02-16 20:30:06 -07:00
Brian Paul
3e3e80c431
glsl: rework _mesa_get_uniform[fi]v() to avoid using a fixed size intermediate array
...
(cherry picked from master, commit 4ef7a93296 )
2009-02-16 20:29:36 -07:00
Brian Paul
0486d117e4
glsl: fix glUniform() array bounds error checking
...
If too many array elements are specified, they're to be silently ignored (don't
raise a GL error).
Fixes another issue in bug 20056.
(cherry picked from master, commit 2c1ea0720d )
2009-02-16 20:28:57 -07:00
Brian Paul
29981c14da
glsl: fix incorrect size returned by glGetActiveUniform() for array elements.
...
Fixes one of the issues in bug 20056.
(cherry picked from master, commit 369d1859d7 )
2009-02-16 20:28:14 -07:00
Brian Paul
98d5efb2c5
glsl: use _slang_var_swizzle() in a few places to simplify the code.
...
(cherry picked from master, commit 285b500bb7 )
2009-02-16 20:26:58 -07:00
Brian Paul
77a44aafaf
mesa: another fix for program/texture state validation
...
This fixes a regression introduced in 46ae1abbac
Break program validation into two steps, do part before texture state
validation and do the rest after:
1. Determine Vertex/Fragment _Enabled state.
2. Update texture state.
3. Determine pointers to current Vertex/Fragment programs (which may involve
generating new "fixed-function" programs).
See comments in the code for more details of the dependencies.
(cherry picked from master, commit 537d3ed6f3 )
2009-02-16 20:23:17 -07:00
Brian Paul
8278c70716
mesa: fix/change state validation order for program/texture state
...
Program state needs to be updated before texture state since the later depends
on the former.
Fixes piglit texgen failure. The second time through the modes (press 't'
three times) we disable the fragment program and return to conventional texture
mode. State validation failed here because update_texture() saw stale fragment
program state.
(cherry picked from master, commit 46ae1abbac )
2009-02-16 20:22:46 -07:00
Alan Hourihane
ac0955f5e2
demos: fix glxpixmap and call glXWaitGL before calling XCopyArea.
2009-02-16 11:55:47 +00:00
Alan Hourihane
4130c35ca8
dri2: support glXWaitX & glXWaitGL by using fake front buffer.
2009-02-16 11:48:24 +00:00
Brian Paul
d440647eb8
autoconf: Use include-fixed directory with makedepend on newer GCC
...
On newer GCC releases, the compiler's headers have been split between
the include and include-fixed directories. Add both if the directories
exist.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com >
Signed-off-by: Julien Cristau <jcristau@debian.org >
(cherry picked from master, commit a3d223f0d2 )
2009-02-13 09:10:09 -07:00
Brian Paul
7e8f2c56c0
mesa: fix logic error in computing enableBits in update_texture_state()
...
If we had a vertex shader but no fragment shader (i.e. fixed function) we
didn't get the right enabled texture targets.
Fixes blank/white texture problem.
(cherry picked from master, commit b46611633c )
2009-02-07 12:04:15 -07:00
Brian Paul
a0880a152f
mesa: fix tnl->render_inputs_bitset setup for fragment program texcoords
...
Handle the case where there's no per-vertex texcoords but the fragment shader
needs texcoords.
Fixes piglit shaders/fp-generic/dph test.
(cherry picked from master, commit f6d23943cd )
2009-02-07 12:03:37 -07:00
Brian Paul
4608a9172f
swrast: return (0,0,0,1) when sampling incomplete textures, not (0,0,0,0)
...
Fixes piglit shaders/fp-incomplete-tex test.
(cherry picked from master, commit 1df62651b2 )
Conflicts:
src/mesa/swrast/s_fragprog.c
Also updated the fetch_texel_lod(), fetch_texel_deriv() functions to match
those in git/master.
2009-02-07 12:02:22 -07:00
Brian Paul
d0e38f7ec0
glsl: replace assertion with conditional in _slang_pop_var_table()
...
We were hitting the assertion when we ran out of registers, which can happen.
Also, add some additional assertions and freshen up some comments.
(cherry picked from master, commit 0744805d58 )
2009-02-07 11:57:43 -07:00
Brian Paul
a69bdbbbdd
docs: fixed Windows build error, added MESA_GLX_FORCE_DIRECT env var
2009-02-03 15:40:16 -07:00
Brian Paul
88c97a2662
docs: document new MESA_GLX_FORCE_DIRECT env var for the Xlib driver
...
(cherry picked from master, commit 2f51be75c5 )
2009-02-03 15:39:13 -07:00
Brian Paul
ce9c69ddbc
xlib: use MESA_GLX_FORCE_DIRECT to make glXIsDirect() always return True
...
Some apps won't run w/ indirect rendering contexts.
Also, consolidate some context-init code in new init_glx_context() function.
(cherry-picked from master, commit 49e80bf6b1 )
2009-02-03 15:38:44 -07:00
Eric Anholt
e430fcb716
dri2: Avoid round-tripping on DRI2GetBuffers for the same set of buffers.
...
We only wanted to request when asked for the same set of buffers when a resize
has happened. We can just watch the protocol stream for a ConfigureNotify
and flag to do it then.
This is about a 5% win from doing two glViewport()s per frame in openarena.
2009-02-03 21:36:38 +00:00
Brian Paul
11a363e632
mesa: move code after decls. Fixes Window build failure.
...
(cherry picked from master, commit 92ced46eaf )
2009-02-02 07:50:31 -07:00
Julien Cristau
9a3a20b2b9
debian/rules: on lpia, only build the i915 and i965 dri drivers
...
Based on Ubuntu changes, modified to also build swrast.
2009-01-31 23:04:06 +01:00
Julien Cristau
4672811541
debian/control: build the dri drivers on lpia
...
add lpia to the Architecture field for libgl1-mesa-dri{,-dbg} to match Ubuntu.
2009-01-31 22:30:15 +01:00
Julien Cristau
3cad3d28a5
mangle upstream version in debian/watch
...
Fix watch file to make uscan not consider release candidates as newer than
actual releases.
2009-01-31 22:07:51 +01:00
Brian Paul
41e63fbdb2
docs: recent bug fixes for 7.4
2009-01-30 16:09:58 -07:00
Brian Paul
b543401a5c
mesa: fix incorrect call to clear_teximage_fields() in _mesa_TexImage2D()
...
Fixes failed assertion / segfault for particular proxy texture tests.
(cherry picked from master, commit ea4b183b8c )
2009-01-30 16:06:52 -07:00
Brian Paul
8c4f08fbad
mesa: add missing _mesa_reference_texobj() calls for texture array targets
...
(cherry picked from master, commit 7c48719a5f )
2009-01-30 16:06:21 -07:00
Brian Paul
f3081a34d2
mesa: remove incorrect refcounting adjustment in adjust_buffer_object_ref_counts()
...
Fixes bug 19835. However, a more elaborate fix should be implemented someday
which uses proper reference counting for gl_array_object.
(cherry picked from master, commit 88e0b92a74 )
2009-01-30 16:05:51 -07:00
Julien Cristau
cff0971f87
Prepare changelog for upload
2009-01-30 20:00:37 +01:00
Julien Cristau
5ac4c69d83
More superfluous directories
2009-01-30 19:56:29 +01:00
Julien Cristau
a314c40cc4
Document my changes in debian/changelog
2009-01-30 19:42:38 +01:00
Julien Cristau
959fd6b8f6
Add back progs/fbdev
...
It was added to the tarballs in 22b0b2f47e
2009-01-30 19:34:47 +01:00
Julien Cristau
937f0da04a
Delete more directories that aren't in the tarball
2009-01-30 19:25:50 +01:00
Julien Cristau
73bc5967e2
Merge commit '5a458977113e4a0d3c389b03801cf6ce580d3935' into debian-experimental
2009-01-30 19:06:19 +01:00
Brian Paul
7b1d3cf392
docs: i965 fixes
2009-01-28 17:02:39 -07:00
Brian Paul
25515b557e
i965: fix bug in pass0_precalc_mov()
...
Previously, "in-place" swizzles such as:
MOV t, t.xxyx;
were handled incorrectly. Fixed by splitting the one loop into two loops so we
get all the refs before assigning them (to avoid potential clobbering).
(cherry picked from master/commit faa48915d2 )
2009-01-28 17:01:34 -07:00
Brian Paul
51625ff86e
i965: widen per-texture bitfields for 16 texture image units
...
(cherry picked from master/commit f78c388b6c )
2009-01-28 17:01:03 -07:00
Brian Paul
4d8f661726
intel: check if stencil test is enabled in intel_stencil_drawpixels()
...
(cherry picked from master/commit 72ee0e247d )
2009-01-28 17:00:23 -07:00
Brian Paul
efa69a2f66
intel: save/restore GL matrix mode in intel_meta_set_passthrough_transform(), intel_meta_restore_transform()
...
(cherry picked from master, commit 723648f2ee )
2009-01-28 16:55:16 -07:00
Timo Aaltonen
a2dce49158
New changelog entry for 7.3
2009-01-25 17:51:16 +02:00
Timo Aaltonen
e4b28de803
Merge branch 'upstream-experimental' into debian-experimental
2009-01-25 17:30:47 +02:00
Brian Paul
30a6dd78d5
docs: fix typo
2009-01-22 10:39:05 -07:00
Brian Paul
9f75836308
mesa: set version to 7.4 for mesa_7_4_branch
2009-01-22 10:19:39 -07:00
Julien Cristau
f5c47105db
Prepare changelog for upload
2009-01-21 19:01:24 +01:00
Julien Cristau
f1939c8685
Refresh patches 03 and 04.
2009-01-21 19:01:17 +01:00
Julien Cristau
3ac4d678ef
Delete some more files which aren't in the tarballs
2009-01-21 18:51:07 +01:00
Julien Cristau
fcfec66865
update changelog
2009-01-20 18:50:10 +00:00
Julien Cristau
53426d7113
Merge tag 'mesa_7_3_rc3' into debian-experimental
...
Conflicts:
progs/tests/Makefile
2009-01-20 18:49:21 +00:00
Timo Aaltonen
1d4756de06
Update the changelog.
2009-01-16 23:12:14 +02:00
Timo Aaltonen
c1abb821f9
Merge commit 'mesa_7_3_rc2' into debian-experimental
2009-01-16 23:05:20 +02:00
Julien Cristau
88083e9bab
Prepare changelog for upload
2009-01-10 22:34:36 +01:00
Julien Cristau
47e54545ed
Delete some now unused code from debian/rules.
2009-01-10 22:13:17 +01:00
Julien Cristau
54885ff0ad
Delete unused configs/debian-*, and install-source.sh script.
...
We've switched to using autoconf, and mesa-swx11-source is gone.
2009-01-10 21:55:19 +01:00
Julien Cristau
502fbe7cb3
Merge branch 'debian-unstable' into debian-experimental
...
Conflicts:
debian/changelog
debian/rules
2009-01-10 21:42:57 +01:00
Julien Cristau
08fdb497fb
Merge commit 'origin/upstream-unstable' into debian-experimental
2009-01-10 21:38:10 +01:00
Julien Cristau
2a6711c0e5
add bug closers
2009-01-10 21:02:55 +01:00
Julien Cristau
382a8f6e29
Require libdrm-dev 2.4.3.
2009-01-10 20:41:16 +01:00
Julien Cristau
a713ba4399
Update changelog
2009-01-10 20:31:20 +01:00
Julien Cristau
5359febc9b
Merge tag 'mesa_7_3_rc1' into debian-experimental
...
Conflicts:
progs/tests/Makefile
progs/tests/floattex.c
2009-01-10 20:30:41 +01:00
Julien Cristau
85d882983f
Prepare changelog for upload
2008-12-14 09:59:33 +05:30
Timo Aaltonen
5387880f18
delete progs/trivial/
2008-12-09 02:16:44 +02:00
Timo Aaltonen
a7a9398411
Build-depend on x11proto-dri2-dev (>= 1.99.3)
2008-12-09 02:01:40 +02:00
Timo Aaltonen
7593023f0b
Update the changelog for the snapshot
...
also drop 01_disable-intel-classic-warn.diff since it's obsolete now.
2008-12-09 01:57:44 +02:00
Timo Aaltonen
92d9a71f60
Merge commit 'origin/debian-experimental' into debian-experimental
...
Conflicts:
include/GLES/egltypes.h
progs/miniglx/glfbdevtest.c
progs/miniglx/manytex.c
progs/miniglx/sample_server.c
progs/miniglx/sample_server2.c
progs/miniglx/texline.c
progs/tests/Makefile.win
progs/tests/antialias.c
progs/tests/cva.c
progs/tests/dinoshade.c
progs/tests/getprocaddress.py
progs/tests/jkrahntest.c
progs/tests/manytex.c
progs/tests/multipal.c
progs/tests/multiwindow.c
progs/tests/sharedtex.c
progs/tests/texline.c
progs/tests/texrect.c
progs/tests/texwrap.c
progs/trivial/Makefile
2008-12-09 01:38:08 +02:00
Timo Aaltonen
661890211e
Merge commit 'mesa_7_2' into debian-experimental
2008-12-09 01:36:36 +02:00
Julien Cristau
0206e20240
Also build the x86-specific dri drivers on kfreebsd ( closes : #492894 ).
2008-10-26 15:58:46 +01:00
Julien Cristau
83a4719056
Update changelog
2008-10-26 15:34:37 +01:00
Ian Romanick
6cfe871c75
Use 3Dnow! x86-64 routines only on processors that support 3Dnow!
...
Added an x86-64 CPUID function and use it to detect 3Dnow! If 3Dnow!
is available, use _mesa_3dnow_transform_points4_3d_no_rot,
_mesa_3dnow_transform_points4_perspective,
_mesa_3dnow_transform_points4_2d_no_rot, and _mesa_3dnow_transform_points4_2d.
This fixes long standing bug #8724 .
(cherry picked from commit 2b8d8989fb )
2008-10-26 15:23:27 +01:00
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
Julien Cristau
07c1fcc604
Prepare changelog for upload
2008-09-20 16:32:02 +02:00
Julien Cristau
7959b95efa
Update debian/copyright to the SGI Free Software License B, version 2.0.
...
It now mirrors the free X11 license used by X.Org (closes : #368560 ).
http://www.sgi.com/company_info/newsroom/press_releases/2008/september/opengl.html
2008-09-19 18:03:59 +02: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
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
Julien Cristau
332dcfb60b
Add parallel build support.
2008-08-04 12:49:03 +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
Julien Cristau
e325b76444
Prepare changelog for upload
2008-07-12 18:56:22 +02:00
Julien Cristau
34eedc6a98
update changelog
2008-07-12 18:55:55 +02:00
Julien Cristau
8c21c2e07e
Merge branch 'mesa_7_0_branch' of git://anongit.freedesktop.org/git/mesa/mesa into debian-unstable
2008-07-12 17:21:50 +02:00
Brian Paul
27425708f5
mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity check
2008-07-09 15:06:49 -06:00
Brian Paul
fc07b6cda0
ARB program, GLSL fixes
2008-07-09 08:58:47 -06:00
Brian Paul
562ed27eb5
mesa: remove debug code
2008-07-09 08:52:44 -06:00
Brian Paul
0a0e09078d
mesa: implement glGetUniformiv() with new ctx->Driver function
...
The old implementation could overwrite the caller's param buffer.
cherry-picked from master
2008-07-09 08:51:35 -06:00
Brian Paul
50bc5a75a7
mesa: fix state.clip[n].plane parsing bug (bug 16611)
2008-07-09 08:42:49 -06:00
Brian Paul
6661f53eb3
mesa: check for OpenBSD (bug 15604)
...
cherry-picked from master
2008-07-09 08:42:28 -06:00
Xiang, Haihao
b8782affc8
i915: fall back to software rendering when shadow comparison is
...
enabled for 1D texture. fix #12176
Cherry-picked from commit 75e4db1804
2008-07-09 13:44:13 +08:00
Brian Paul
9a9e839b9b
added null texObj ptr check (bug 15567)
2008-07-08 15:13:23 -06:00
Julien Cristau
b04ccc9a03
Disable the i915tex driver, it doesn't build against libdrm 2.3.1.
2008-07-08 18:18:56 +02:00
Xiang, Haihao
aa522e14ee
i965: official name for GM45 chipset
2008-07-08 14:39:01 +08: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
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
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
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
2c9e332bce
mesa: when linking a shader program, make sure all the shaders compiled OK
...
cherry-picked from master
2008-07-02 17:05:01 -06:00
Brian Paul
e89deed74d
mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source()
...
cherry-picked from master
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 17:02:41 -06:00
Brian Paul
5cb6f5515f
mesa: regenerated file
2008-07-02 17:02:14 -06:00
Brian Paul
c5024d4a5c
mesa: added some missing equal() notEqual() intrinsics
...
cherry-picked from master
2008-07-02 17:01:26 -06:00
Timo Aaltonen
9d72de1fb2
Run autoreconf before building the various flavours.
2008-07-03 00:20:58 +03:00
Brian Paul
62626467b4
fixes some GLSL bugs
2008-07-02 12:45:16 -06:00
Brian Paul
c55a72ef48
mesa: regenerated files
2008-07-02 12:42:52 -06:00
Brian Paul
8a353c4020
mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors
...
cherry-picked from master
2008-07-02 12:42:12 -06:00
Brian Paul
8261c40bb9
mesa: init default span fog if fragprog uses fog input register
...
See bug #16194 for original patch. Cleaned up a bit here.
2008-07-02 08:58:32 -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
Timo Aaltonen
e6a5e6512f
Add gl.pc to libgl1-mesa-dev
2008-07-02 14:07:23 +03: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
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
Xiang, Haihao
9fa552eb0f
dri: Take the base image size into account when computing
...
first level of the mipmap. fix #16421
2008-07-01 11:50:11 +08:00
Brian Paul
5f8ad807be
s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()
2008-06-28 16:50:07 -06:00
Zou Nan hai
b6e165d661
optimize 965 clip
...
1. increase clip thread number to 2
2. do cliptest for -rhw
Cherry-picked from commits b47c9f8c91 ,
aa88d11e7d .
2008-06-23 15:16:11 +08:00
Roland Scheidegger
afbb645906
r200: fix typo in r200TryDrawPixels parameter validation (bug 16406)
2008-06-21 02:52:18 +02: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
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
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
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
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
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
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
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
Xiang, Haihao
6f4c8b5b50
i965: apply commit 6c1a98e97a to glsl
...
(cherry picked from commit a742bed99a )
2008-06-10 16:46:02 +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
Roland Scheidegger
fa58fe247c
i965: fix OPCODE_TEX when additional ops are needed
2008-06-08 14:04:39 +02:00
Brian Paul
4b71478326
Set the attribute as used.
...
Cherry-picked from gallium-0.1
2008-06-04 14:42:55 -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
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
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
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
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
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
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
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
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
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
Xiang, Haihao
709f24adbb
intel: Set right cliprects for the current draw region. fix #15057
2008-05-14 15:01:44 +08: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
Xiang, Haihao
44f6a6f9c4
i915: Add E7221 variant to i915.
...
Cherry picked from commit 39bcbe0921
2008-05-07 14:09:28 +08: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
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
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
Brian
46cc4854e9
fix IEEE_ONE definition for ICC compiler (bug 15134)
2008-03-19 17:25:18 -06: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
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