mesa.git
14 years agoMerge branch 'master' of ssh://richardradeon@git.freedesktop.org/git/mesa/mesa
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

14 years agor600 : check in shader code test enable flag: if flag
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).

14 years agopb: Make fenced buffers threadsafe.
José Fonseca [Thu, 19 Nov 2009 19:46:21 +0000 (19:46 +0000)]
pb: Make fenced buffers threadsafe.

14 years agointel: Remove non-GEM support.
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.

14 years agointel: Remove dead intel_context members and move some packing around.
Eric Anholt [Wed, 18 Nov 2009 11:43:16 +0000 (03:43 -0800)]
intel: Remove dead intel_context members and move some packing around.

14 years agointel: Remove our special color packing macros and just use colormac.h.
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.

14 years agointel: Pack colors for blit at blit time, rather than at ClearColor.
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.

14 years agointel: Consistently use no_batch_wrap in intel_context struct.
Eric Anholt [Wed, 18 Nov 2009 11:21:17 +0000 (03:21 -0800)]
intel: Consistently use no_batch_wrap in intel_context struct.

14 years agoi965: Pack brw_wm_fragment_program better.
Eric Anholt [Wed, 18 Nov 2009 11:13:14 +0000 (03:13 -0800)]
i965: Pack brw_wm_fragment_program better.

14 years agomesa: Remove gratuitous padding in prog_dst_register.
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!

14 years agoi965: Pack the brw_wm_prog_key better.
Eric Anholt [Wed, 18 Nov 2009 11:01:42 +0000 (03:01 -0800)]
i965: Pack the brw_wm_prog_key better.

14 years agoi915: Remove dead meta_draw_quad code.
Eric Anholt [Wed, 18 Nov 2009 10:58:15 +0000 (02:58 -0800)]
i915: Remove dead meta_draw_quad code.

14 years agotnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]
Eric Anholt [Wed, 18 Nov 2009 09:45:42 +0000 (01:45 -0800)]
tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]

14 years agotnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.
Eric Anholt [Wed, 18 Nov 2009 09:38:55 +0000 (01:38 -0800)]
tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.

14 years agotnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtr
Eric Anholt [Wed, 18 Nov 2009 07:38:35 +0000 (23:38 -0800)]
tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtr

14 years agotnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS]
Eric Anholt [Wed, 18 Nov 2009 07:27:13 +0000 (23:27 -0800)]
tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS]

14 years agotnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]
Eric Anholt [Wed, 18 Nov 2009 00:00:53 +0000 (16:00 -0800)]
tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]

14 years agotnl: Replace NormalPtr with AttribPtr[_TNL_ATTRIB_NORMAL]
Eric Anholt [Tue, 17 Nov 2009 21:00:01 +0000 (13:00 -0800)]
tnl: Replace NormalPtr with AttribPtr[_TNL_ATTRIB_NORMAL]

14 years agotnl: Remove unused NotifyInputChanges() tnl dd hook.
Eric Anholt [Tue, 17 Nov 2009 19:15:13 +0000 (11:15 -0800)]
tnl: Remove unused NotifyInputChanges() tnl dd hook.

14 years agoidentity: Add missing screen methods.
Michal Krol [Thu, 19 Nov 2009 07:18:58 +0000 (08:18 +0100)]
identity: Add missing screen methods.

14 years agotgsi: Provide ultimate solution for SOA dependencies in exec.
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.

14 years agor600 : update PS and VS emit count for loop constants.
Richard Li [Wed, 18 Nov 2009 19:56:01 +0000 (14:56 -0500)]
r600 : update PS and VS emit count for loop constants.

14 years agor600 : add some defs
Richard Li [Wed, 18 Nov 2009 19:43:59 +0000 (14:43 -0500)]
r600 : add some defs

14 years agor600 : Initial version of glsl fc.
Richard Li [Tue, 17 Nov 2009 21:25:02 +0000 (16:25 -0500)]
r600 : Initial version of glsl fc.

14 years agost/xorg: enable yv12 for xv
Zack Rusin [Wed, 18 Nov 2009 17:06:32 +0000 (12:06 -0500)]
st/xorg: enable yv12 for xv

14 years agodocs: setup 7.8 release notes file
Brian Paul [Wed, 18 Nov 2009 14:46:17 +0000 (07:46 -0700)]
docs: setup 7.8 release notes file

14 years agomesa: bump version to 7.8
Brian Paul [Wed, 18 Nov 2009 14:25:46 +0000 (07:25 -0700)]
mesa: bump version to 7.8

14 years agomesa: bump version to 7.8
Brian Paul [Wed, 18 Nov 2009 14:25:33 +0000 (07:25 -0700)]
mesa: bump version to 7.8

14 years agoprogs/glsl: use ShadersSupported()
Brian Paul [Wed, 18 Nov 2009 02:22:29 +0000 (19:22 -0700)]
progs/glsl: use ShadersSupported()

14 years agoprogs/util: warn when GLSL not supported
Brian Paul [Wed, 18 Nov 2009 02:22:11 +0000 (19:22 -0700)]
progs/util: warn when GLSL not supported

14 years agoMerge branch 'outputswritten64'
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

14 years agoARB_fbo: Enable extensions related to GL_ARB_framebuffer_object for GLX
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

14 years agoARB_fbo: Add missing GLX render opcode for glFramebufferTextureLayerEXT
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.

14 years agoAdd missing XML files to API_XML
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.

14 years agoARB_fbo: Enable GL_EXT_framebuffer_multisample
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.

14 years agoARB_fbo: Regenerate files from previous commits.
Ian Romanick [Thu, 12 Nov 2009 19:50:28 +0000 (11:50 -0800)]
ARB_fbo: Regenerate files from previous commits.

14 years agoARB_fbo: Move EXT_fb_blit to EXT_framebuffer_object.xml
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.

14 years agoARB_fbo: Add GL_EXT_framebuffer_multisample
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.

14 years agoEXT_pds: Alias GL_NV_packed_depth_stencil to GL_EXT_packed_depth_stencil
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.

14 years agoEXT_pds: Add GL_EXT_packed_depth_stencil
Ian Romanick [Wed, 11 Nov 2009 23:08:49 +0000 (15:08 -0800)]
EXT_pds: Add GL_EXT_packed_depth_stencil

14 years agoEXT_fbo_blit: Add missing GLX protocol render opcode
Ian Romanick [Wed, 11 Nov 2009 23:01:25 +0000 (15:01 -0800)]
EXT_fbo_blit: Add missing GLX protocol render opcode

14 years agoARB_fbo: Add missing protocol "Get" information
Ian Romanick [Wed, 11 Nov 2009 22:51:29 +0000 (14:51 -0800)]
ARB_fbo: Add missing protocol "Get" information

14 years agoARB_fbo: Remove _EXT from enum names
Ian Romanick [Wed, 11 Nov 2009 22:44:43 +0000 (14:44 -0800)]
ARB_fbo: Remove _EXT from enum names

14 years agodocs: libGL documentation, from the xorg-docs tree
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.

14 years agoprogs/tests: Fix memory leak in arbgpuprog.c.
Vinson Lee [Tue, 17 Nov 2009 23:24:40 +0000 (15:24 -0800)]
progs/tests: Fix memory leak in arbgpuprog.c.

14 years agomesa: remove old comment
Brian Paul [Tue, 17 Nov 2009 23:18:29 +0000 (16:18 -0700)]
mesa: remove old comment

14 years agomesa: fix assorted compiler warnings
Brian Paul [Tue, 17 Nov 2009 23:16:16 +0000 (16:16 -0700)]
mesa: fix assorted compiler warnings

14 years agomesa: fix incorrect type in store_texel_al1616()
Brian Paul [Tue, 17 Nov 2009 23:15:56 +0000 (16:15 -0700)]
mesa: fix incorrect type in store_texel_al1616()

14 years agoi915g: replace //-style comments
Brian Paul [Tue, 17 Nov 2009 23:15:29 +0000 (16:15 -0700)]
i915g: replace //-style comments

14 years agogallium/util: replace //-style comments
Brian Paul [Tue, 17 Nov 2009 23:15:21 +0000 (16:15 -0700)]
gallium/util: replace //-style comments

14 years agoi915g: remove trailing commas in enum lists to silence warnings
Brian Paul [Tue, 17 Nov 2009 23:14:54 +0000 (16:14 -0700)]
i915g: remove trailing commas in enum lists to silence warnings

14 years agoprogs/xdemos: change //-style comments
Brian Paul [Tue, 17 Nov 2009 23:14:20 +0000 (16:14 -0700)]
progs/xdemos: change //-style comments

14 years agoprogs/glsl: change //-style comments
Brian Paul [Tue, 17 Nov 2009 23:14:09 +0000 (16:14 -0700)]
progs/glsl: change //-style comments

14 years agoprogs/demos: silence warnings
Brian Paul [Tue, 17 Nov 2009 23:13:12 +0000 (16:13 -0700)]
progs/demos: silence warnings

14 years agomesa: remove trailing comment to silence warning
Brian Paul [Tue, 17 Nov 2009 23:05:59 +0000 (16:05 -0700)]
mesa: remove trailing comment to silence warning

14 years agomesa: remove a bit of old code
Brian Paul [Tue, 17 Nov 2009 23:05:24 +0000 (16:05 -0700)]
mesa: remove a bit of old code

14 years agoprogs/slang: Fix potential null pointer dereference in cltest.c.
Vinson Lee [Tue, 17 Nov 2009 22:22:35 +0000 (14:22 -0800)]
progs/slang: Fix potential null pointer dereference in cltest.c.

14 years agoprogs/redbook: Fix memory leak in quadric.c.
Vinson Lee [Tue, 17 Nov 2009 22:10:35 +0000 (14:10 -0800)]
progs/redbook: Fix memory leak in quadric.c.

14 years agosvga: More -Werror removal
Jakob Bornecrantz [Tue, 17 Nov 2009 11:04:17 +0000 (12:04 +0100)]
svga: More -Werror removal

14 years agoprogs/util: Fix memory leak if fopen fails in RawImageOpen.
Vinson Lee [Tue, 17 Nov 2009 21:49:31 +0000 (13:49 -0800)]
progs/util: Fix memory leak if fopen fails in RawImageOpen.

14 years agosvga: Remove -Werror for now as GCC 4.4.x raises a bunch of warnings
Jakob Bornecrantz [Tue, 17 Nov 2009 08:07:15 +0000 (09:07 +0100)]
svga: Remove -Werror for now as GCC 4.4.x raises a bunch of warnings

14 years agor300: fix reads and writes for MESA_FORMAT_S8Z24 buffer
Maciej Cencora [Tue, 17 Nov 2009 20:27:31 +0000 (21:27 +0100)]
r300: fix reads and writes for MESA_FORMAT_S8Z24 buffer

Regression was introduced by texformat-rework branch merge.

14 years agoprogs/xdemos: added -lX11 -lpthread for GNU gold linker
Brian Paul [Tue, 17 Nov 2009 20:39:13 +0000 (13:39 -0700)]
progs/xdemos: added -lX11 -lpthread for GNU gold linker

14 years agoprogs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
Vinson Lee [Tue, 17 Nov 2009 20:00:22 +0000 (12:00 -0800)]
progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.

14 years agomesa: move -ansi -pedantic to CFLAGS
Brian Paul [Tue, 17 Nov 2009 19:47:12 +0000 (12:47 -0700)]
mesa: move -ansi -pedantic to CFLAGS

14 years agoprogs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.
Vinson Lee [Tue, 17 Nov 2009 19:37:48 +0000 (11:37 -0800)]
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.

14 years agoprogs/util: Fix memory leak if malloc fails in tkRGBImageLoad.
Vinson Lee [Tue, 17 Nov 2009 19:04:24 +0000 (11:04 -0800)]
progs/util: Fix memory leak if malloc fails in tkRGBImageLoad.

14 years agonouveau: nv30: Check for NULL front (happens with DRI2)
Patrice Mandin [Tue, 17 Nov 2009 18:50:37 +0000 (19:50 +0100)]
nouveau: nv30: Check for NULL front (happens with DRI2)

14 years agonouveau: nv30: Add missing include to fix warning
Patrice Mandin [Tue, 17 Nov 2009 18:49:56 +0000 (19:49 +0100)]
nouveau: nv30: Add missing include to fix warning

14 years agoRemove unconditional use of glibc specific bswap_16() macro.
Michel Dänzer [Tue, 17 Nov 2009 18:41:29 +0000 (19:41 +0100)]
Remove unconditional use of glibc specific bswap_16() macro.

Fixes unresolved symbol bswap_16 on non-glibc or little endian glibc platforms.

14 years agodocs: list the new VMware SVGA Gallium driver in release notes
Brian Paul [Tue, 17 Nov 2009 18:23:03 +0000 (11:23 -0700)]
docs: list the new VMware SVGA Gallium driver in release notes

14 years agodri: Ensure subdirs have finished before linking driver
Dan Nicholson [Mon, 9 Nov 2009 13:51:23 +0000 (05:51 -0800)]
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>
14 years agoprogs/util: Fix memory leak if LoadRGBImage fails.
Vinson Lee [Tue, 17 Nov 2009 18:11:50 +0000 (10:11 -0800)]
progs/util: Fix memory leak if LoadRGBImage fails.

14 years agor600: More span breakage fixes.
Michel Dänzer [Tue, 17 Nov 2009 18:02:03 +0000 (19:02 +0100)]
r600: More span breakage fixes.

At least now the compiler doesn't complain about implicitly declared functions
anymore...

14 years agoprogs/glsl: Fix memory leak in deriv.c.
Vinson Lee [Tue, 17 Nov 2009 17:53:19 +0000 (09:53 -0800)]
progs/glsl: Fix memory leak in deriv.c.

14 years agor600: Attempt to fix span breakage introduced by big endian fixes.
Michel Dänzer [Tue, 17 Nov 2009 17:47:24 +0000 (18:47 +0100)]
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

14 years agoprogs/util: Fix memory if LoadRGBMipmaps2 fails.
Vinson Lee [Tue, 17 Nov 2009 16:29:36 +0000 (08:29 -0800)]
progs/util: Fix memory if LoadRGBMipmaps2 fails.

14 years agoradeon: Depth/stencil span code fixes for big endian.
Michel Dänzer [Tue, 17 Nov 2009 07:05:24 +0000 (08:05 +0100)]
radeon: Depth/stencil span code fixes for big endian.

Fixes e.g. text in progs/demos/arbocclude.

14 years agoradeon: Fix occlusion queries on big endian.
Michel Dänzer [Tue, 17 Nov 2009 07:05:24 +0000 (08:05 +0100)]
radeon: Fix occlusion queries on big endian.

14 years agoradeon: Fix software fallbacks with KMS on big endian.
Michel Dänzer [Tue, 17 Nov 2009 07:05:23 +0000 (08:05 +0100)]
radeon: Fix software fallbacks with KMS on big endian.

14 years agoradeon: FBO fixes for big endian.
Michel Dänzer [Tue, 17 Nov 2009 07:05:22 +0000 (08:05 +0100)]
radeon: FBO fixes for big endian.

14 years agoAdd MESA_FORMAT_XRGB8888_REV.
Michel Dänzer [Tue, 17 Nov 2009 07:05:22 +0000 (08:05 +0100)]
Add MESA_FORMAT_XRGB8888_REV.

14 years agoradeon: rn50's have no 3D engine so don't try and init 3D driver.
Dave Airlie [Tue, 17 Nov 2009 06:06:26 +0000 (16:06 +1000)]
radeon: rn50's have no 3D engine so don't try and init 3D driver.

14 years agoprogs/util: Fix memory leak if LoadYUVImage fails.
Vinson Lee [Tue, 17 Nov 2009 02:22:26 +0000 (18:22 -0800)]
progs/util: Fix memory leak if LoadYUVImage fails.

14 years agosvga: Build svga driver
Jakob Bornecrantz [Thu, 12 Nov 2009 00:28:26 +0000 (01:28 +0100)]
svga: Build svga driver

14 years agosvga: Add vmwgfx_drm.h file from vmwgfx kernel driver
Jakob Bornecrantz [Tue, 17 Nov 2009 01:56:04 +0000 (02:56 +0100)]
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.

14 years agosvga: Add svga driver
Jakob Bornecrantz [Mon, 16 Nov 2009 18:56:18 +0000 (19:56 +0100)]
svga: Add svga driver

14 years agoprogs/demos: Fix memory leak in ray.c.
Vinson Lee [Tue, 17 Nov 2009 02:06:40 +0000 (18:06 -0800)]
progs/demos: Fix memory leak in ray.c.

14 years agost/xorg: Fix copy-pasto
Jakob Bornecrantz [Mon, 16 Nov 2009 23:39:09 +0000 (00:39 +0100)]
st/xorg: Fix copy-pasto

Thanks Alan.

14 years agoprogs/demos: Fix memory leak in projtex.c.
Vinson Lee [Tue, 17 Nov 2009 00:31:34 +0000 (16:31 -0800)]
progs/demos: Fix memory leak in projtex.c.

14 years agoprogs/demos: Fix memory leak in ipers.c.
Vinson Lee [Mon, 16 Nov 2009 23:44:52 +0000 (15:44 -0800)]
progs/demos: Fix memory leak in ipers.c.

14 years agoi965: Use MESA_FORMAT_AL1616 when appropriate
Ian Romanick [Mon, 16 Nov 2009 23:09:24 +0000 (15:09 -0800)]
i965: Use MESA_FORMAT_AL1616 when appropriate

14 years agoMove 'static' to start of declaration to silence compiler warning
Ian Romanick [Mon, 16 Nov 2009 22:56:17 +0000 (14:56 -0800)]
Move 'static' to start of declaration to silence compiler warning

14 years agoAL1616: Enable MESA_FORMAT_AL1616 for software paths
Ian Romanick [Mon, 16 Nov 2009 22:53:36 +0000 (14:53 -0800)]
AL1616: Enable MESA_FORMAT_AL1616 for software paths

14 years agoAL1616: Add TexImage storage path
Ian Romanick [Mon, 16 Nov 2009 22:53:12 +0000 (14:53 -0800)]
AL1616: Add TexImage storage path

14 years agoAL1616: Add texel fetch / store routines
Ian Romanick [Mon, 16 Nov 2009 22:52:43 +0000 (14:52 -0800)]
AL1616: Add texel fetch / store routines

14 years agoAL1616: Add formats for GL_LUMINANCE16_ALPHA16 textures
Ian Romanick [Mon, 16 Nov 2009 22:49:40 +0000 (14:49 -0800)]
AL1616: Add formats for GL_LUMINANCE16_ALPHA16 textures

14 years agoAL1616: Add macros to pack two GLushorts into a texel
Ian Romanick [Mon, 16 Nov 2009 22:30:47 +0000 (14:30 -0800)]
AL1616: Add macros to pack two GLushorts into a texel

14 years agoprogs/demos: Fix memory leak in fslight.c.
Vinson Lee [Mon, 16 Nov 2009 22:56:07 +0000 (14:56 -0800)]
progs/demos: Fix memory leak in fslight.c.

14 years agost/xorg: Fix comp alpha code and deal with luminance masks
Jakob Bornecrantz [Mon, 16 Nov 2009 21:57:43 +0000 (22:57 +0100)]
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.