profile/ivi/mesa.git
18 years agosilence a variety of compiler warnings
Brian Paul [Wed, 22 Feb 2006 16:35:34 +0000 (16:35 +0000)]
silence a variety of compiler warnings

18 years agoupdated GLUT link
Brian Paul [Wed, 22 Feb 2006 15:50:57 +0000 (15:50 +0000)]
updated GLUT link

18 years agoMore GLSL code:
Michal Krol [Tue, 21 Feb 2006 12:35:06 +0000 (12:35 +0000)]
More GLSL code:
- uniforms (only GetLocation, Uniform1f and Uniform4fv for now for demos);
- fix bugs and optimize array size handling;
- 2D texture sampling (needs Enable(TEXTURE_2D) to work);
- decrease built-in library assembly size by 30%.

18 years ago Committing in .
Jouk Jansen [Tue, 21 Feb 2006 12:28:34 +0000 (12:28 +0000)]
 Committing in .

 Update OpenVMS makefiles

 Modified Files:
  Mesa/src/mesa/shader/slang/descrip.mms
  Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms
 ----------------------------------------------------------------------

18 years agoAdded xcb dri config file.
Jeremy Kolb [Sun, 19 Feb 2006 22:31:26 +0000 (22:31 +0000)]
Added xcb dri config file.

18 years agoRemove old linux-x86-xcb (didn't do anything).
Jeremy Kolb [Sun, 19 Feb 2006 22:30:46 +0000 (22:30 +0000)]
Remove old linux-x86-xcb (didn't do anything).
Removed reference to linux-x86-xcb and added linux-dri-xcb in Makefile.

18 years agoMore GLSL code.
Michal Krol [Sat, 18 Feb 2006 15:11:18 +0000 (15:11 +0000)]
More GLSL code.
- general constructors allowed;
- implement noise functions (from Stefan Gustavson - thanks!)
- cosmetic stuff.

18 years agoFix STENCIL_WRITE_MASK defn for bug 5902
Keith Whitwell [Fri, 17 Feb 2006 17:03:14 +0000 (17:03 +0000)]
Fix STENCIL_WRITE_MASK defn for bug 5902

18 years agoSkip ARL while we dont implement it. Fix broken nv vps but do it with software for...
Aapo Tahkola [Thu, 16 Feb 2006 19:50:40 +0000 (19:50 +0000)]
Skip ARL while we dont implement it. Fix broken nv vps but do it with software for now.

18 years agoReinstate vertex format after a rasterization fallback for both r200 and radeon drive...
Roland Scheidegger [Thu, 16 Feb 2006 17:16:33 +0000 (17:16 +0000)]
Reinstate vertex format after a rasterization fallback for both r200 and radeon driver when a tcl fallback is active, fixes a blender issue with non-tcl hw (bug #5601)

18 years agoInclude dix-config.h if HAVE_DIX_CONFIG_H is defined. This will be used by the
Eric Anholt [Wed, 15 Feb 2006 21:03:34 +0000 (21:03 +0000)]
Include dix-config.h if HAVE_DIX_CONFIG_H is defined.  This will be used by the
X Server to get things like _XSERVER64 (for X headers) and NO_LIBCWRAPPER
defined consistently when its builds Mesa internally.

18 years agoSet NumInstructions (bug 5864)
Brian Paul [Wed, 15 Feb 2006 15:59:37 +0000 (15:59 +0000)]
Set NumInstructions (bug 5864)

18 years agoFix a few warnings:
Brian Paul [Wed, 15 Feb 2006 15:51:01 +0000 (15:51 +0000)]
Fix a few warnings:
 - nested comments (use #if 0 / #endif instead)
 - missing default clause in switch statements
 - use of possibly undefined variables

18 years agoAdd support for forward function declarations.
Michal Krol [Wed, 15 Feb 2006 11:15:16 +0000 (11:15 +0000)]
Add support for forward function declarations.

18 years agoAdd fragment shader execute entry.
Michal Krol [Wed, 15 Feb 2006 11:12:47 +0000 (11:12 +0000)]
Add fragment shader execute entry.

18 years agoAdd s_arbshader.c, s_arbshader.h.
Michal Krol [Wed, 15 Feb 2006 11:09:26 +0000 (11:09 +0000)]
Add s_arbshader.c, s_arbshader.h.

18 years agoAdd swrast/s_arbshader.c.
Michal Krol [Wed, 15 Feb 2006 11:07:56 +0000 (11:07 +0000)]
Add swrast/s_arbshader.c.

18 years agoAdd arbshader stage.
Michal Krol [Wed, 15 Feb 2006 11:06:00 +0000 (11:06 +0000)]
Add arbshader stage.

18 years agoEnable texcoords when program object in use.
Michal Krol [Wed, 15 Feb 2006 11:03:57 +0000 (11:03 +0000)]
Enable texcoords when program object in use.

18 years agoGet arbfslight demo running.
Michal Krol [Wed, 15 Feb 2006 11:02:07 +0000 (11:02 +0000)]
Get arbfslight demo running.

18 years agoEnable GL_ARB_fragment_shader extension.
Michal Krol [Wed, 15 Feb 2006 11:00:15 +0000 (11:00 +0000)]
Enable GL_ARB_fragment_shader extension.

18 years agoDemonstrate GLSL fragment and vertex shaders.
Michal Krol [Wed, 15 Feb 2006 10:58:52 +0000 (10:58 +0000)]
Demonstrate GLSL fragment and vertex shaders.

18 years agoremove stray 'foo' line
Brian Paul [Wed, 15 Feb 2006 04:10:55 +0000 (04:10 +0000)]
remove stray 'foo' line

18 years agoreplace size_t * w/ unsigned int * (Jurg Billeter)
Brian Paul [Tue, 14 Feb 2006 15:04:45 +0000 (15:04 +0000)]
replace size_t * w/ unsigned int * (Jurg Billeter)

18 years agofix AIX issues (bug 5874)
Brian Paul [Tue, 14 Feb 2006 14:57:04 +0000 (14:57 +0000)]
fix AIX issues (bug 5874)

18 years ago Update OpenVMS compile support
Jouk Jansen [Mon, 13 Feb 2006 12:00:29 +0000 (12:00 +0000)]
   Update OpenVMS compile support

18 years agoMore glsl code.
Michal Krol [Mon, 13 Feb 2006 11:47:41 +0000 (11:47 +0000)]
More glsl code.

18 years agoREVISION 3.
Michal Krol [Mon, 13 Feb 2006 11:45:57 +0000 (11:45 +0000)]
REVISION 3.
Remove illegal operators for overloading.

18 years agoCosmetic changes.
Michal Krol [Mon, 13 Feb 2006 11:42:48 +0000 (11:42 +0000)]
Cosmetic changes.

18 years agoDelete most of the comments.
Michal Krol [Mon, 13 Feb 2006 11:40:32 +0000 (11:40 +0000)]
Delete most of the comments.
Minor tweaks with the functions.
Add experimental print functions.

18 years agoGet it running for ARB_vertex_shader.
Michal Krol [Mon, 13 Feb 2006 11:38:37 +0000 (11:38 +0000)]
Get it running for ARB_vertex_shader.
Add experimental print functions to builtin library.
Some functionality missing:
- automatic arrays;
- general constructors;
- local variable initialization;
- texture sampling and noise;
- semantic error checking;
- function prototypes.

18 years agoRename current_program to CurrentProgram.
Michal Krol [Mon, 13 Feb 2006 11:31:16 +0000 (11:31 +0000)]
Rename current_program to CurrentProgram.
Temporary vertex_shader execution code.

18 years agoAdd tnl\t_vb_arbshader.c.
Michal Krol [Mon, 13 Feb 2006 11:27:33 +0000 (11:27 +0000)]
Add tnl\t_vb_arbshader.c.

18 years agoAdd tnl/t_vb_arbshader.c.
Michal Krol [Mon, 13 Feb 2006 11:25:43 +0000 (11:25 +0000)]
Add tnl/t_vb_arbshader.c.

18 years agoAdd ARB_vertex_shader stage just before render stage.
Michal Krol [Mon, 13 Feb 2006 11:23:36 +0000 (11:23 +0000)]
Add ARB_vertex_shader stage just before render stage.
If enabled, all other stages, except render, are disabled.

18 years agoEnable GL_ARB_shader_objects, GL_ARB_shading_language_100 and
Michal Krol [Mon, 13 Feb 2006 11:04:27 +0000 (11:04 +0000)]
Enable GL_ARB_shader_objects, GL_ARB_shading_language_100 and
GL_ARB_vertex_shader extensions.

18 years agoRename current glsl program variable.
Michal Krol [Mon, 13 Feb 2006 10:56:54 +0000 (10:56 +0000)]
Rename current glsl program variable.

18 years agoAdd _mesa_atanf and _mesa_asinf functions.
Michal Krol [Mon, 13 Feb 2006 10:55:14 +0000 (10:55 +0000)]
Add _mesa_atanf and _mesa_asinf functions.

18 years agoAdd the ability to define NO_LIBCWRAPPER to avoid libcwrapper brain damage.
Eric Anholt [Sat, 11 Feb 2006 02:59:38 +0000 (02:59 +0000)]
Add the ability to define NO_LIBCWRAPPER to avoid libcwrapper brain damage.
If it's true that libcwrapper usage isn't necessary ever in the DllLoader world,
then this code should probbaly all go away.

18 years agocommit to fixup MGL namespacing for XGL
Dave Airlie [Fri, 10 Feb 2006 21:46:17 +0000 (21:46 +0000)]
commit to fixup MGL namespacing for XGL

18 years agoWorkaround problems with NWN. (Tilman Sauerbeck)
Aapo Tahkola [Fri, 10 Feb 2006 17:26:44 +0000 (17:26 +0000)]
Workaround problems with NWN. (Tilman Sauerbeck)

18 years agoremove the test for XFree86Server from prev patch (bug 5835)
Brian Paul [Thu, 9 Feb 2006 14:28:40 +0000 (14:28 +0000)]
remove the test for XFree86Server from prev patch (bug 5835)

18 years agoCheck DDX for 1.5.0
Alan Hourihane [Wed, 8 Feb 2006 22:05:42 +0000 (22:05 +0000)]
Check DDX for 1.5.0

18 years agoinclude dix-config.h (Mike Harris) (bug 5835)
Brian Paul [Wed, 8 Feb 2006 14:52:06 +0000 (14:52 +0000)]
include dix-config.h (Mike Harris) (bug 5835)

18 years agoDavid Reveman's GLX_EXT_texture_from_pixmap extension patch
Brian Paul [Tue, 7 Feb 2006 00:39:56 +0000 (00:39 +0000)]
David Reveman's GLX_EXT_texture_from_pixmap extension patch

18 years agoadd vblank support to i915 driver
Dave Airlie [Mon, 6 Feb 2006 00:09:58 +0000 (00:09 +0000)]
add vblank support to i915 driver

18 years agoEGL 1.2 tokens/functions/etc.
Brian Paul [Sun, 5 Feb 2006 16:39:19 +0000 (16:39 +0000)]
EGL 1.2 tokens/functions/etc.

18 years agofix typo
Brian Paul [Sun, 5 Feb 2006 16:38:33 +0000 (16:38 +0000)]
fix typo

18 years agobring in changes from 6.4 branch
Brian Paul [Fri, 3 Feb 2006 17:21:54 +0000 (17:21 +0000)]
bring in changes from 6.4 branch

18 years agoreplace the texture level hack used in radeon/r200 to allow larger textures with...
Roland Scheidegger [Fri, 3 Feb 2006 13:29:11 +0000 (13:29 +0000)]
replace the texture level hack used in radeon/r200 to allow larger textures with different methods to calculate the announced maximum texture sizes. Default is still the same (that is, radeon/r200 default to not announce anything which might not fit, i830/i915 default to 1 texture must fit). Bug #5785.

18 years agouse calloc instead of malloc so try_codegen field is initialized to zero (bug 5791)
Brian Paul [Thu, 2 Feb 2006 17:33:26 +0000 (17:33 +0000)]
use calloc instead of malloc so try_codegen field is initialized to zero (bug 5791)

18 years agoadd some assertions to check emit_func[] table validity
Brian Paul [Thu, 2 Feb 2006 14:30:16 +0000 (14:30 +0000)]
add some assertions to check emit_func[] table validity

18 years agofix texcoord unit assertion, the right one (bug 5780)
Roland Scheidegger [Wed, 1 Feb 2006 23:14:42 +0000 (23:14 +0000)]
fix texcoord unit assertion, the right one (bug 5780)

18 years agofix texcoord unit assertion (bug 5780)
Brian Paul [Wed, 1 Feb 2006 16:50:16 +0000 (16:50 +0000)]
fix texcoord unit assertion (bug 5780)

18 years agofix test for valid texunit in _mesa_ClientActiveTextureARB
Roland Scheidegger [Wed, 1 Feb 2006 01:05:40 +0000 (01:05 +0000)]
fix test for valid texunit in _mesa_ClientActiveTextureARB

18 years agos/malloc/calloc/, fix mem leak
Brian Paul [Tue, 31 Jan 2006 03:00:14 +0000 (03:00 +0000)]
s/malloc/calloc/, fix mem leak

18 years agofix broken assertions so dri drivers compile with -DDEBUG (replace GL_STENCIL_INDEX8...
Roland Scheidegger [Mon, 30 Jan 2006 23:49:31 +0000 (23:49 +0000)]
fix broken assertions so dri drivers compile with -DDEBUG (replace GL_STENCIL_INDEX8 with GL_STENCIL_INDEX8_EXT). Fix potential problem with drivers which use 32bit z buffers.

18 years agofix broken assertion to make radeon driver compile with -DDEBUG...
Roland Scheidegger [Mon, 30 Jan 2006 23:36:42 +0000 (23:36 +0000)]
fix broken assertion to make radeon driver compile with -DDEBUG...

18 years agoupdated comment
Brian Paul [Mon, 30 Jan 2006 17:13:19 +0000 (17:13 +0000)]
updated comment

18 years agosilence warning about duplicate M_PI definition
Brian Paul [Mon, 30 Jan 2006 17:12:10 +0000 (17:12 +0000)]
silence warning about duplicate M_PI definition

18 years agoadded more tests (Pedro Maia)
Brian Paul [Mon, 30 Jan 2006 17:11:47 +0000 (17:11 +0000)]
added more tests (Pedro Maia)

18 years agouse fmod() when incrementing CubeRot
Brian Paul [Mon, 30 Jan 2006 15:35:35 +0000 (15:35 +0000)]
use fmod() when incrementing CubeRot

18 years agoAdd shader/slang/slang_compile_*.* files.
Michal Krol [Mon, 30 Jan 2006 14:50:01 +0000 (14:50 +0000)]
Add shader/slang/slang_compile_*.* files.

18 years agoSplit slang_compile.c into several smaller files - it was just too big.
Michal Krol [Mon, 30 Jan 2006 14:48:42 +0000 (14:48 +0000)]
Split slang_compile.c into several smaller files - it was just too big.
Minor fixes and cosmetic changes.

18 years agosome initial EGL 1.2 work
Brian Paul [Mon, 30 Jan 2006 00:10:55 +0000 (00:10 +0000)]
some initial EGL 1.2 work

18 years agoTest glCopyTexSubImage2D by drawing gears as texture on sides of a box.
Brian Paul [Sat, 28 Jan 2006 00:30:07 +0000 (00:30 +0000)]
Test glCopyTexSubImage2D by drawing gears as texture on sides of a box.

18 years agomisc updates
Brian Paul [Fri, 27 Jan 2006 20:12:06 +0000 (20:12 +0000)]
misc updates

18 years agoDon't do swapbuffers if -nodraw specified. Get t0 after setup code.
Brian Paul [Fri, 27 Jan 2006 15:44:40 +0000 (15:44 +0000)]
Don't do swapbuffers if -nodraw specified.  Get t0 after setup code.

18 years agoremove broken non arb fp path
Aapo Tahkola [Fri, 27 Jan 2006 14:35:24 +0000 (14:35 +0000)]
remove broken non arb fp path

18 years agomissing link in the fallback chain
Aapo Tahkola [Fri, 27 Jan 2006 14:09:05 +0000 (14:09 +0000)]
missing link in the fallback chain

18 years agoenable hw vertex programs by default
Aapo Tahkola [Fri, 27 Jan 2006 14:03:22 +0000 (14:03 +0000)]
enable hw vertex programs by default

18 years agoper vp sw fallbacks
Aapo Tahkola [Fri, 27 Jan 2006 13:21:47 +0000 (13:21 +0000)]
per vp sw fallbacks

18 years agoradeon driver doesnt have this so i assume we shouldnt either.
Aapo Tahkola [Fri, 27 Jan 2006 13:09:59 +0000 (13:09 +0000)]
radeon driver doesnt have this so i assume we shouldnt either.

18 years agodrop all that (slow) locking stuff and make u_list per context.
Aapo Tahkola [Fri, 27 Jan 2006 13:05:56 +0000 (13:05 +0000)]
drop all that (slow) locking stuff and make u_list per context.

18 years agoR300_PFS_NODE_LAST_NODE -> R300_PFS_NODE_OUTPUT_COLOR
Aapo Tahkola [Fri, 27 Jan 2006 12:38:20 +0000 (12:38 +0000)]
R300_PFS_NODE_LAST_NODE -> R300_PFS_NODE_OUTPUT_COLOR

18 years agoWork around problems with t_vp_build.c
Aapo Tahkola [Fri, 27 Jan 2006 12:23:26 +0000 (12:23 +0000)]
Work around problems with t_vp_build.c

18 years agor300UpdateTextureEnv shouldnt be called.
Aapo Tahkola [Fri, 27 Jan 2006 12:18:58 +0000 (12:18 +0000)]
r300UpdateTextureEnv shouldnt be called.

18 years agoTest glTexSubImage and glCopyTexSubImage rate.
Brian Paul [Thu, 26 Jan 2006 17:35:31 +0000 (17:35 +0000)]
Test glTexSubImage and glCopyTexSubImage rate.
Run with -nodraw to skip rendering of test quad to get "pure" sub-tex rate.

18 years agocopypixrate.c - measure the speed of glCopyPixels.
Brian Paul [Thu, 26 Jan 2006 16:37:47 +0000 (16:37 +0000)]
copypixrate.c - measure the speed of glCopyPixels.

18 years agoremove some testing code
Aapo Tahkola [Thu, 26 Jan 2006 16:28:54 +0000 (16:28 +0000)]
remove some testing code

18 years agoFix a problem where offsets from disabled tmus reach drm
Aapo Tahkola [Thu, 26 Jan 2006 15:53:18 +0000 (15:53 +0000)]
Fix a problem where offsets from disabled tmus reach drm

18 years agoremove i830
Alan Hourihane [Thu, 26 Jan 2006 08:53:32 +0000 (08:53 +0000)]
remove i830

18 years agoNew comments, clean-up of fields related to point/line/triangle validation.
Brian Paul [Thu, 26 Jan 2006 01:32:47 +0000 (01:32 +0000)]
New comments, clean-up of fields related to point/line/triangle validation.

18 years agoremove unneeded init of swrast->invalidate_line/triangle
Brian Paul [Thu, 26 Jan 2006 01:28:00 +0000 (01:28 +0000)]
remove unneeded init of swrast->invalidate_line/triangle

18 years agoremove the GL_HP_occlusion_test code
Brian Paul [Thu, 26 Jan 2006 01:27:17 +0000 (01:27 +0000)]
remove the GL_HP_occlusion_test code

18 years agoWGL_ARB_extensions_string extension
Brian Paul [Wed, 25 Jan 2006 17:33:13 +0000 (17:33 +0000)]
WGL_ARB_extensions_string extension

18 years agoadded wglGetExtensionsStringARB
Brian Paul [Wed, 25 Jan 2006 15:05:36 +0000 (15:05 +0000)]
added wglGetExtensionsStringARB

18 years agoadd wglGetExtensionsStringARB
Karl Schultz [Wed, 25 Jan 2006 06:02:55 +0000 (06:02 +0000)]
add wglGetExtensionsStringARB

18 years agofix using a tmp without asking for one
Jerome Glisse [Tue, 24 Jan 2006 23:04:51 +0000 (23:04 +0000)]
fix using a tmp without asking for one

18 years agopull in fix from 6.4 branch for XFree86Server definition
Alan Hourihane [Tue, 24 Jan 2006 21:40:53 +0000 (21:40 +0000)]
pull in fix from 6.4 branch for XFree86Server definition

18 years agofix broken get_half & get_zero
Aapo Tahkola [Tue, 24 Jan 2006 20:24:06 +0000 (20:24 +0000)]
fix broken get_half & get_zero

18 years agoremove very old i830 code
Alan Hourihane [Tue, 24 Jan 2006 19:59:54 +0000 (19:59 +0000)]
remove very old i830 code

18 years agouse front.size instead of sPriv->fbSize
Alan Hourihane [Tue, 24 Jan 2006 19:40:26 +0000 (19:40 +0000)]
use front.size instead of sPriv->fbSize

18 years agouse screen->front.map instead of pFB from libdri
Alan Hourihane [Tue, 24 Jan 2006 19:28:49 +0000 (19:28 +0000)]
use screen->front.map instead of pFB from libdri

18 years agoAdd Intel 945GM support
Alan Hourihane [Mon, 23 Jan 2006 10:10:48 +0000 (10:10 +0000)]
Add Intel 945GM support
Add rotation support
(Tungsten Graphics)

18 years agoDo individual negetation in swizzling, thus we can
Jerome Glisse [Sat, 21 Jan 2006 15:16:53 +0000 (15:16 +0000)]
Do individual negetation in swizzling, thus we can
save one instruction in some case.

18 years agoIndent & wrap around 80
Jerome Glisse [Sat, 21 Jan 2006 13:08:46 +0000 (13:08 +0000)]
Indent & wrap around 80

18 years agoDoesnt apply anymore
Aapo Tahkola [Sat, 21 Jan 2006 12:48:09 +0000 (12:48 +0000)]
Doesnt apply anymore

18 years agoAdd individual component negation.
Jerome Glisse [Sat, 21 Jan 2006 11:43:37 +0000 (11:43 +0000)]
Add individual component negation.

18 years agoTry to tackle bug #5148
Aapo Tahkola [Fri, 20 Jan 2006 21:56:52 +0000 (21:56 +0000)]
Try to tackle bug #5148