Corbin Simpson [Fri, 20 Nov 2009 22:55:22 +0000 (14:55 -0800)]
r300g: Texrect factor cleanup.
(0, 0, 0, 1) is a much saner default value, and texrect factors only need
to be (1/s, 1/t, 0, 1).
Marek Olšák [Sat, 14 Nov 2009 21:14:42 +0000 (22:14 +0100)]
r300g: fix rectangle textures on r3xx
Adapted from Maciej Cencora's patch.
Corbin Simpson [Fri, 20 Nov 2009 22:10:59 +0000 (14:10 -0800)]
r300g: Clean up bitcounting function.
I didn't see this in u_math; surely somebody else has this wheel
reinvented elsewhere.
Corbin Simpson [Fri, 20 Nov 2009 22:10:45 +0000 (14:10 -0800)]
r300g: Use MAX3 and MIN3.
Corbin Simpson [Fri, 20 Nov 2009 22:08:58 +0000 (14:08 -0800)]
util: Add MAX3 and MIN3.
Marek Olšák [Thu, 19 Nov 2009 00:35:08 +0000 (01:35 +0100)]
r300g: set better values in the R300_VAP_CNTL register
Alan Hourihane [Fri, 20 Nov 2009 18:11:30 +0000 (18:11 +0000)]
Fix comment to use /* */ rather than //
Alan Hourihane [Fri, 20 Nov 2009 18:10:54 +0000 (18:10 +0000)]
Fix indentation.
Alan Hourihane [Fri, 20 Nov 2009 18:09:10 +0000 (18:09 +0000)]
Fix vega compilation.
Alan Hourihane [Fri, 20 Nov 2009 18:08:29 +0000 (18:08 +0000)]
Fix memory leak.
Richard Li [Fri, 20 Nov 2009 15:58:05 +0000 (10:58 -0500)]
r600 : eliminate Wondows line ending for test code.
Dave Airlie [Fri, 20 Nov 2009 01:48:10 +0000 (11:48 +1000)]
Merge remote branch 'origin/mesa_7_7_branch'
Dave Airlie [Fri, 20 Nov 2009 01:45:43 +0000 (11:45 +1000)]
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>
Richard Li [Thu, 19 Nov 2009 22:41:10 +0000 (17:41 -0500)]
r600 : Clean up a bit test code mess.
Vinson Lee [Thu, 19 Nov 2009 22:38:39 +0000 (14:38 -0800)]
st/xorg: Fix infinite loop in copy_packed_data.
Vinson Lee [Thu, 19 Nov 2009 22:20:26 +0000 (14:20 -0800)]
progs/xdemos: Add missing break statement in offset.c.
Brian Paul [Thu, 19 Nov 2009 22:18:17 +0000 (15:18 -0700)]
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.
Brian Paul [Thu, 19 Nov 2009 22:17:56 +0000 (15:17 -0700)]
vbo: added recursion check in vbo_exec_FlushVertices()
Richard Li [Thu, 19 Nov 2009 21:55:16 +0000 (16:55 -0500)]
r600 : change shader pop method for now.
Brian Paul [Thu, 19 Nov 2009 21:35:38 +0000 (14:35 -0700)]
st/mesa: get rid of compressed_num_bytes() code
Brian Paul [Thu, 19 Nov 2009 21:17:09 +0000 (14:17 -0700)]
st/mesa: remove is_compressed_mesa_format()
Brian Paul [Thu, 19 Nov 2009 21:10:57 +0000 (14:10 -0700)]
st/mesa: remove pointless assertion
Brian Paul [Thu, 19 Nov 2009 21:02:06 +0000 (14:02 -0700)]
softpipe: whitespace/indentation fixes
Richard Li [Thu, 19 Nov 2009 21:17:13 +0000 (16:17 -0500)]
Merge branch 'master' of ssh://richardradeon@git.freedesktop.org/git/mesa/mesa
Richard Li [Thu, 19 Nov 2009 21:05:43 +0000 (16:05 -0500)]
r600 : check in shader code test enable flag: if flag
R600_ENABLE_GLSL_TEST defined, IL shader code will goto r600 assembler.
The test base is /mesa/progs/glsl/brick, and changes
shader code in CH06-brick.frag/vert to test different logic op
combination. (if,else,while,function,...). The stack depth code is not
in yet, so it is hard coded now. So complex code would not run (such as
things like 8 loops embeded loop in loop).
Vinson Lee [Thu, 19 Nov 2009 21:03:12 +0000 (13:03 -0800)]
progs/trivial: Redraw upon keypress.
José Fonseca [Thu, 19 Nov 2009 19:46:21 +0000 (19:46 +0000)]
pb: Make fenced buffers threadsafe.
Brian Paul [Thu, 19 Nov 2009 18:37:50 +0000 (11:37 -0700)]
softpipe: add missing check in softpipe_is_texture_referenced()
Check if the named texture is referenced by the texture cache.
Michel Dänzer [Thu, 19 Nov 2009 16:52:55 +0000 (17:52 +0100)]
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.
Michel Dänzer [Thu, 19 Nov 2009 16:47:21 +0000 (17:47 +0100)]
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.
Michel Dänzer [Thu, 19 Nov 2009 16:30:32 +0000 (17:30 +0100)]
st/xorg: Try harder to ensure a shared texture has valid contents right away.
Michel Dänzer [Thu, 19 Nov 2009 16:25:05 +0000 (17:25 +0100)]
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.
Eric Anholt [Wed, 18 Nov 2009 17:15:25 +0000 (18:15 +0100)]
intel: Remove non-GEM support.
This really isn't supported at this point. GEM's been in the kernel for
a year, and the fake bufmgr never really worked.
Eric Anholt [Wed, 18 Nov 2009 11:43:16 +0000 (03:43 -0800)]
intel: Remove dead intel_context members and move some packing around.
Eric Anholt [Wed, 18 Nov 2009 11:39:20 +0000 (03:39 -0800)]
intel: Remove our special color packing macros and just use colormac.h.
Eric Anholt [Wed, 18 Nov 2009 11:32:35 +0000 (03:32 -0800)]
intel: Pack colors for blit at blit time, rather than at ClearColor.
Eric Anholt [Wed, 18 Nov 2009 11:21:17 +0000 (03:21 -0800)]
intel: Consistently use no_batch_wrap in intel_context struct.
Eric Anholt [Wed, 18 Nov 2009 11:13:14 +0000 (03:13 -0800)]
i965: Pack brw_wm_fragment_program better.
Eric Anholt [Wed, 18 Nov 2009 11:05:14 +0000 (03:05 -0800)]
mesa: Remove gratuitous padding in prog_dst_register.
The padding was there to indicate the amount of space left from the
number of expected bytes in the struct minus allocated bits. But
uint bitfields get packed so that they don't cross uint boundaries, and we
ended up allocating an extra dword to hold the pad field!
Eric Anholt [Wed, 18 Nov 2009 11:01:42 +0000 (03:01 -0800)]
i965: Pack the brw_wm_prog_key better.
Eric Anholt [Wed, 18 Nov 2009 10:58:15 +0000 (02:58 -0800)]
i915: Remove dead meta_draw_quad code.
Eric Anholt [Wed, 18 Nov 2009 09:45:42 +0000 (01:45 -0800)]
tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]
Eric Anholt [Wed, 18 Nov 2009 09:38:55 +0000 (01:38 -0800)]
tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.
Eric Anholt [Wed, 18 Nov 2009 07:38:35 +0000 (23:38 -0800)]
tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtr
Eric Anholt [Wed, 18 Nov 2009 07:27:13 +0000 (23:27 -0800)]
tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS]
Eric Anholt [Wed, 18 Nov 2009 00:00:53 +0000 (16:00 -0800)]
tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]
Eric Anholt [Tue, 17 Nov 2009 21:00:01 +0000 (13:00 -0800)]
tnl: Replace NormalPtr with AttribPtr[_TNL_ATTRIB_NORMAL]
Eric Anholt [Tue, 17 Nov 2009 19:15:13 +0000 (11:15 -0800)]
tnl: Remove unused NotifyInputChanges() tnl dd hook.
Michel Dänzer [Thu, 19 Nov 2009 09:54:49 +0000 (10:54 +0100)]
st/xorg: Remove superfluous flushes from the EXA WaitMarker hook.
Thanks to Thomas Hellström for pointing this out.
Michel Dänzer [Thu, 19 Nov 2009 09:38:08 +0000 (10:38 +0100)]
st/xorg: Don't initialize non-existing fields.
Michal Krol [Thu, 19 Nov 2009 07:18:58 +0000 (08:18 +0100)]
identity: Add missing screen methods.
Michal Krol [Thu, 19 Nov 2009 07:17:25 +0000 (08:17 +0100)]
tgsi: Provide ultimate solution for SOA dependencies in exec.
Reorder STOREs in such a way that they appear after the last FETCH.
Vinson Lee [Thu, 19 Nov 2009 01:30:50 +0000 (17:30 -0800)]
progs/tests: Fix memory leak in texdown.c if malloc fails.
Richard Li [Wed, 18 Nov 2009 19:56:01 +0000 (14:56 -0500)]
r600 : update PS and VS emit count for loop constants.
Richard Li [Wed, 18 Nov 2009 19:43:59 +0000 (14:43 -0500)]
r600 : add some defs
Richard Li [Tue, 17 Nov 2009 21:25:02 +0000 (16:25 -0500)]
r600 : Initial version of glsl fc.
Zack Rusin [Wed, 18 Nov 2009 17:06:32 +0000 (12:06 -0500)]
st/xorg: enable yv12 for xv
Brian Paul [Wed, 18 Nov 2009 14:46:17 +0000 (07:46 -0700)]
docs: setup 7.8 release notes file
Brian Paul [Wed, 18 Nov 2009 14:25:46 +0000 (07:25 -0700)]
mesa: bump version to 7.8
Brian Paul [Wed, 18 Nov 2009 14:25:33 +0000 (07:25 -0700)]
mesa: bump version to 7.8
Jakob Bornecrantz [Wed, 18 Nov 2009 22:50:26 +0000 (22:50 +0000)]
st/xorg: Init all functions and fix spelling
Vinson Lee [Wed, 18 Nov 2009 22:41:40 +0000 (14:41 -0800)]
progs/fp: Redraw upon keypress.
Jakob Bornecrantz [Wed, 18 Nov 2009 19:56:50 +0000 (19:56 +0000)]
st/xorg: Make the #if more easier to read
Jakob Bornecrantz [Wed, 18 Nov 2009 19:51:57 +0000 (19:51 +0000)]
st/xorg: Use the correct DRI2BufferPtr struct on 1.6.4 servers
Vinson Lee [Wed, 18 Nov 2009 22:02:20 +0000 (14:02 -0800)]
progs/glsl: Fix trirast GLSL compilation errors on Mac OS.
Vinson Lee [Wed, 18 Nov 2009 21:50:49 +0000 (13:50 -0800)]
progs/glsl: Fix noise GLSL compilation error on Mac OS.
Maciej Cencora [Wed, 18 Nov 2009 21:19:25 +0000 (22:19 +0100)]
r300: allow disabling s3tc support if libtxc_dxtn is available
Maciej Cencora [Wed, 18 Nov 2009 21:09:33 +0000 (22:09 +0100)]
Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branch
Maciej Cencora [Wed, 18 Nov 2009 21:02:48 +0000 (22:02 +0100)]
r600: align for mipmap tree changes
Vinson Lee [Wed, 18 Nov 2009 20:49:31 +0000 (12:49 -0800)]
progs/glsl: Fix multinoise GLSL compilation errors on Mac OS.
Vinson Lee [Wed, 18 Nov 2009 07:15:25 +0000 (23:15 -0800)]
progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.
Ian Romanick [Wed, 18 Nov 2009 06:53:06 +0000 (22:53 -0800)]
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.
Brian Paul [Wed, 18 Nov 2009 02:22:29 +0000 (19:22 -0700)]
progs/glsl: use ShadersSupported()
Brian Paul [Wed, 18 Nov 2009 02:22:11 +0000 (19:22 -0700)]
progs/util: warn when GLSL not supported
Ian Romanick [Wed, 18 Nov 2009 00:10:24 +0000 (16:10 -0800)]
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
Ian Romanick [Thu, 12 Nov 2009 21:28:12 +0000 (13:28 -0800)]
ARB_fbo: Enable extensions related to GL_ARB_framebuffer_object for GLX
Ian Romanick [Thu, 12 Nov 2009 21:22:12 +0000 (13:22 -0800)]
ARB_fbo: Add missing GLX render opcode for glFramebufferTextureLayerEXT
Also regenerate the GLX protocol files from this change.
Ian Romanick [Thu, 12 Nov 2009 19:59:35 +0000 (11:59 -0800)]
Add missing XML files to API_XML
When the files missing from the list were modified, the generated files
weren't regenerated.
Ian Romanick [Wed, 11 Nov 2009 23:33:23 +0000 (15:33 -0800)]
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.
Ian Romanick [Thu, 12 Nov 2009 19:50:28 +0000 (11:50 -0800)]
ARB_fbo: Regenerate files from previous commits.
Ian Romanick [Wed, 11 Nov 2009 23:18:22 +0000 (15:18 -0800)]
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.
Ian Romanick [Wed, 11 Nov 2009 23:15:35 +0000 (15:15 -0800)]
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.
Ian Romanick [Wed, 11 Nov 2009 23:09:44 +0000 (15:09 -0800)]
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.
Ian Romanick [Wed, 11 Nov 2009 23:08:49 +0000 (15:08 -0800)]
EXT_pds: Add GL_EXT_packed_depth_stencil
Ian Romanick [Wed, 11 Nov 2009 23:01:25 +0000 (15:01 -0800)]
EXT_fbo_blit: Add missing GLX protocol render opcode
Ian Romanick [Wed, 11 Nov 2009 22:51:29 +0000 (14:51 -0800)]
ARB_fbo: Add missing protocol "Get" information
Ian Romanick [Wed, 11 Nov 2009 22:44:43 +0000 (14:44 -0800)]
ARB_fbo: Remove _EXT from enum names
Brian Paul [Tue, 17 Nov 2009 23:32:05 +0000 (16:32 -0700)]
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.
Vinson Lee [Tue, 17 Nov 2009 23:24:40 +0000 (15:24 -0800)]
progs/tests: Fix memory leak in arbgpuprog.c.
Brian Paul [Tue, 17 Nov 2009 23:18:29 +0000 (16:18 -0700)]
mesa: remove old comment
Brian Paul [Tue, 17 Nov 2009 23:16:16 +0000 (16:16 -0700)]
mesa: fix assorted compiler warnings
Brian Paul [Tue, 17 Nov 2009 23:15:56 +0000 (16:15 -0700)]
mesa: fix incorrect type in store_texel_al1616()
Brian Paul [Tue, 17 Nov 2009 23:15:29 +0000 (16:15 -0700)]
i915g: replace //-style comments
Brian Paul [Tue, 17 Nov 2009 23:15:21 +0000 (16:15 -0700)]
gallium/util: replace //-style comments
Brian Paul [Tue, 17 Nov 2009 23:14:54 +0000 (16:14 -0700)]
i915g: remove trailing commas in enum lists to silence warnings
Brian Paul [Tue, 17 Nov 2009 23:14:20 +0000 (16:14 -0700)]
progs/xdemos: change //-style comments
Brian Paul [Tue, 17 Nov 2009 23:14:09 +0000 (16:14 -0700)]
progs/glsl: change //-style comments
Brian Paul [Tue, 17 Nov 2009 23:13:12 +0000 (16:13 -0700)]
progs/demos: silence warnings
Brian Paul [Tue, 17 Nov 2009 23:05:59 +0000 (16:05 -0700)]
mesa: remove trailing comment to silence warning
Brian Paul [Tue, 17 Nov 2009 23:05:24 +0000 (16:05 -0700)]
mesa: remove a bit of old code