mesa.git
17 years agoimplement acos(), asin(), atan()
Brian [Tue, 1 May 2007 20:02:49 +0000 (14:02 -0600)]
implement acos(), asin(), atan()

17 years agofog, mix() bug fixes
Brian [Tue, 1 May 2007 16:23:15 +0000 (10:23 -0600)]
fog, mix() bug fixes

17 years agoRewrite of slang_inline_asm_function() to do full parameter/argument substitution.
Brian [Tue, 1 May 2007 16:22:08 +0000 (10:22 -0600)]
Rewrite of slang_inline_asm_function() to do full parameter/argument substitution.

We had been taking a short-cut w/ asm inlines by just using parameters in order
rather than doing full formal parameter -> actual argument substitution like
ordinary inlined function calls.  This worked in all cases but one: mix() in
which the parameters were used in a different order.
This fixes bug 10821.

17 years agor300: Don't crash in radeonUpdatePageFlipping when !radeon->glCtx->DrawBuffer.
Michel Dänzer [Mon, 30 Apr 2007 16:28:24 +0000 (18:28 +0200)]
r300: Don't crash in radeonUpdatePageFlipping when !radeon->glCtx->DrawBuffer.

This feels like a kludge, maybe there's a better solution.

17 years agor300: Page flipping fixes.
Michel Dänzer [Thu, 29 Mar 2007 07:42:37 +0000 (09:42 +0200)]
r300: Page flipping fixes.

Mostly making sure the page flipping state is respected when necessary.

17 years agor300: radeonMakeCurrent cleanups.
Michel Dänzer [Sun, 29 Apr 2007 11:52:11 +0000 (13:52 +0200)]
r300: radeonMakeCurrent cleanups.

r300UpdateWindow is superfluous or even possibly wrong here; _mesa_make_current
will set the viewport when necessary. So the conditional _mesa_set_viewport call
can go as well.

17 years agoonly load front/back face attrib if using a shader (bug 10788)
Brian [Sat, 28 Apr 2007 14:51:23 +0000 (08:51 -0600)]
only load front/back face attrib if using a shader (bug 10788)

17 years agouse EMIT_1F or EMIT_4F for fog depending on fragment program (bug 10788)
Brian [Sat, 28 Apr 2007 14:50:07 +0000 (08:50 -0600)]
use EMIT_1F or EMIT_4F for fog depending on fragment program (bug 10788)

17 years agofix GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB bug (10787)
Brian [Sat, 28 Apr 2007 14:01:18 +0000 (08:01 -0600)]
fix GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB bug (10787)

17 years agoadditional checks that attr is a texcoord
Keith Packard [Sat, 28 Apr 2007 13:50:06 +0000 (07:50 -0600)]
additional checks that attr is a texcoord

17 years ago7.0 blurb
Brian [Fri, 27 Apr 2007 23:05:29 +0000 (17:05 -0600)]
7.0 blurb

17 years agoVersion bumps for 7.0
Brian [Fri, 27 Apr 2007 23:01:23 +0000 (17:01 -0600)]
Version bumps for 7.0

17 years agoupdates for 7.0
Brian [Fri, 27 Apr 2007 23:00:13 +0000 (17:00 -0600)]
updates for 7.0

17 years agoadded 7.0 relnotes link
Brian [Fri, 27 Apr 2007 22:54:05 +0000 (16:54 -0600)]
added 7.0 relnotes link

17 years agoadded 6.5.3 MD5 sums
Brian [Fri, 27 Apr 2007 22:53:42 +0000 (16:53 -0600)]
added 6.5.3 MD5 sums

17 years ago7.0 release notes (template)
Brian [Fri, 27 Apr 2007 22:53:26 +0000 (16:53 -0600)]
7.0 release notes (template)

17 years agoadded glGetActiveAttrib
Brian [Fri, 27 Apr 2007 22:27:36 +0000 (16:27 -0600)]
added glGetActiveAttrib

17 years ago"Fix" for bug 9170. May need more attention.
Brian [Fri, 27 Apr 2007 21:41:07 +0000 (15:41 -0600)]
"Fix" for bug 9170.  May need more attention.

17 years agodocument perspective correction issues
Brian [Fri, 27 Apr 2007 21:25:00 +0000 (15:25 -0600)]
document perspective correction issues

17 years agodocument broken inverse trig functions
Brian [Fri, 27 Apr 2007 21:23:19 +0000 (15:23 -0600)]
document broken inverse trig functions

17 years agoasin(), acos(), atan() just return 0.5 for now to avoid crashing. Fix someday.
Brian [Fri, 27 Apr 2007 21:22:58 +0000 (15:22 -0600)]
asin(), acos(), atan() just return 0.5 for now to avoid crashing.  Fix someday.

17 years agoremove rc4 suffix
Brian [Fri, 27 Apr 2007 14:00:51 +0000 (08:00 -0600)]
remove rc4 suffix

17 years agoset 6.5.3 release date
Brian [Fri, 27 Apr 2007 14:00:37 +0000 (08:00 -0600)]
set 6.5.3 release date

17 years agoAdded error check that all varying vars needed by the fragment shader are produced...
Brian [Thu, 26 Apr 2007 18:20:53 +0000 (12:20 -0600)]
Added error check that all varying vars needed by the fragment shader are produced by vertex shader.

17 years agoUnconditionally update _TriangleCaps bits. Fixes software fallback bugs, such as...
Brian [Thu, 26 Apr 2007 16:45:44 +0000 (10:45 -0600)]
Unconditionally update _TriangleCaps bits.  Fixes software fallback bugs, such as #10687.

17 years agobump Windows to OpenGL 2.1, set release date
Brian [Thu, 26 Apr 2007 13:50:26 +0000 (07:50 -0600)]
bump Windows to OpenGL 2.1, set release date

17 years agoenable 2.1 extensions
Brian [Thu, 26 Apr 2007 13:49:33 +0000 (07:49 -0600)]
enable 2.1 extensions

17 years agoWindows updates
Brian [Thu, 26 Apr 2007 13:48:35 +0000 (07:48 -0600)]
Windows updates

17 years agomove #include <GL/glut.h> after other #includes for Windows
Brian [Thu, 26 Apr 2007 13:46:59 +0000 (07:46 -0600)]
move #include <GL/glut.h> after other #includes for Windows

17 years agouse sqrt(), not sqrtf() for Windows
Brian [Thu, 26 Apr 2007 13:46:38 +0000 (07:46 -0600)]
use sqrt(), not sqrtf() for Windows

17 years agoupdates for 6.5.3 w/ VC8
Karl Schultz [Wed, 25 Apr 2007 16:28:37 +0000 (10:28 -0600)]
updates for 6.5.3 w/ VC8

17 years agoRC4
Brian [Wed, 25 Apr 2007 16:01:30 +0000 (10:01 -0600)]
RC4

17 years agofix attribsMask (re-fixes depth peeling algorithm)
Brian [Wed, 25 Apr 2007 15:58:15 +0000 (09:58 -0600)]
fix attribsMask (re-fixes depth peeling algorithm)

17 years agos/fog/attrib[FRAG_ATTRIB_FOGC][0]/
Brian [Wed, 25 Apr 2007 04:32:41 +0000 (22:32 -0600)]
s/fog/attrib[FRAG_ATTRIB_FOGC][0]/

17 years agos/fog/attrib[FRAG_ATTRIB_FOGC][0]/
Brian [Wed, 25 Apr 2007 04:22:14 +0000 (22:22 -0600)]
s/fog/attrib[FRAG_ATTRIB_FOGC][0]/

17 years agos/DO_TEXVAR/DO_ATTRIBS/
Brian [Tue, 24 Apr 2007 22:57:38 +0000 (16:57 -0600)]
s/DO_TEXVAR/DO_ATTRIBS/

17 years agoget rid of an extra textured triangle function
Brian [Tue, 24 Apr 2007 22:47:33 +0000 (16:47 -0600)]
get rid of an extra textured triangle function

17 years agos/TEXTURE/ATTRIBS/
Brian [Tue, 24 Apr 2007 22:47:07 +0000 (16:47 -0600)]
s/TEXTURE/ATTRIBS/

17 years agotrim down the number of line drawing functions, special cases
Brian [Tue, 24 Apr 2007 22:40:54 +0000 (16:40 -0600)]
trim down the number of line drawing functions, special cases

17 years agoonly need one CI-mode triangle function
Brian [Tue, 24 Apr 2007 22:20:50 +0000 (16:20 -0600)]
only need one CI-mode triangle function

17 years agos/INTERP_TEX/INTERP_ATTRIBS/
Brian [Tue, 24 Apr 2007 22:16:25 +0000 (16:16 -0600)]
s/INTERP_TEX/INTERP_ATTRIBS/

17 years agofix typo
Brian [Tue, 24 Apr 2007 16:21:10 +0000 (10:21 -0600)]
fix typo

17 years agoadded missing VC8 .sln files
Brian [Tue, 24 Apr 2007 16:19:19 +0000 (10:19 -0600)]
added missing VC8 .sln files

17 years agoadded new VC* files, bump version to rc3
Brian [Tue, 24 Apr 2007 14:58:12 +0000 (08:58 -0600)]
added new VC* files, bump version to rc3

17 years agoassorted fixes for Windows/VC8
Karl Schultz [Tue, 24 Apr 2007 14:53:28 +0000 (08:53 -0600)]
assorted fixes for Windows/VC8

17 years agonew VC8 project files
Brian [Tue, 24 Apr 2007 14:52:34 +0000 (08:52 -0600)]
new VC8 project files

17 years agofix double const, move an assertion
Karl Schultze [Tue, 24 Apr 2007 14:19:07 +0000 (08:19 -0600)]
fix double const, move an assertion

17 years agoadd missing semicolon
Matthias Hopf [Tue, 24 Apr 2007 13:48:35 +0000 (07:48 -0600)]
add missing semicolon

17 years agoAdded proper cleanup code
Sean D'Epagnier [Tue, 24 Apr 2007 04:17:30 +0000 (21:17 -0700)]
Added proper cleanup code

17 years agodisable some errant code
Brian [Tue, 24 Apr 2007 04:04:03 +0000 (22:04 -0600)]
disable some errant code

17 years agoremove SWvertex->fog field, use attrib field
Brian [Tue, 24 Apr 2007 04:03:11 +0000 (22:03 -0600)]
remove SWvertex->fog field, use attrib field

17 years agoremove SWvertex->fog field, use attrib field
Brian [Tue, 24 Apr 2007 04:01:34 +0000 (22:01 -0600)]
remove SWvertex->fog field, use attrib field

17 years agosome re-org, clean-up
Brian [Tue, 24 Apr 2007 03:27:13 +0000 (21:27 -0600)]
some re-org, clean-up

17 years agoImprove the code for interpolating fragment attributes a little. More to come...
Brian [Tue, 24 Apr 2007 03:21:52 +0000 (21:21 -0600)]
Improve the code for interpolating fragment attributes a little.  More to come...

17 years agoimport glxext.h version 19
Brian [Sun, 22 Apr 2007 21:32:10 +0000 (15:32 -0600)]
import glxext.h version 19

17 years agoFixed fallout, glfbdev driver was calling a nop function that was removed.
Sean D'Epagnier [Sun, 22 Apr 2007 03:18:42 +0000 (20:18 -0700)]
Fixed fallout, glfbdev driver was calling a nop function that was removed.

17 years agoFix color sum bug 10688.
Brian [Sat, 21 Apr 2007 21:58:37 +0000 (15:58 -0600)]
Fix color sum bug 10688.

17 years agospecularColor.alpha should default to 1, not 0
Brian [Sat, 21 Apr 2007 21:56:10 +0000 (15:56 -0600)]
specularColor.alpha should default to 1, not 0

17 years agofix SkipPixels bugs in _mesa_pack_bitmap(), bug 10690
Brian [Sat, 21 Apr 2007 20:12:57 +0000 (14:12 -0600)]
fix SkipPixels bugs in _mesa_pack_bitmap(), bug 10690

17 years agoRemove the !rb->Data check that was added a few months ago.
Brian [Sat, 21 Apr 2007 19:18:06 +0000 (13:18 -0600)]
Remove the !rb->Data check that was added a few months ago.

Was changed while debugging #7205.  Broke the shadowtext demo.  Revisit this
if the problem w/ bug 7205 returns...

17 years agos/occlude.h/queryobj.h/
Brian [Sat, 21 Apr 2007 18:54:23 +0000 (12:54 -0600)]
s/occlude.h/queryobj.h/

17 years agoRename occlude.[ch] to queryobj.[ch]
Brian [Sat, 21 Apr 2007 18:42:54 +0000 (12:42 -0600)]
Rename occlude.[ch] to queryobj.[ch]

17 years agoRename occlude.[ch] to queryobj.[ch] to better reflect contents.
Brian [Sat, 21 Apr 2007 18:36:39 +0000 (12:36 -0600)]
Rename occlude.[ch] to queryobj.[ch] to better reflect contents.

17 years agoprep for 6.5.3 rc2
Brian [Sat, 21 Apr 2007 18:31:51 +0000 (12:31 -0600)]
prep for 6.5.3 rc2

17 years agomemory leaks fixed
Brian [Sat, 21 Apr 2007 18:30:54 +0000 (12:30 -0600)]
memory leaks fixed

17 years agoRemove all the USE_MEMPOOL debug code.
Brian [Sat, 21 Apr 2007 18:29:46 +0000 (12:29 -0600)]
Remove all the USE_MEMPOOL debug code.

17 years agoUse new memory pool allocator. Lots of debug code still in place...
Brian [Sat, 21 Apr 2007 18:08:56 +0000 (12:08 -0600)]
Use new memory pool allocator. Lots of debug code still in place...

17 years agoFix FBO completeness bug in shadowtex.
Ian Romanick [Sat, 21 Apr 2007 17:47:54 +0000 (10:47 -0700)]
Fix FBO completeness bug in shadowtex.

17 years agoadded MemPool field
Brian [Sat, 21 Apr 2007 16:18:49 +0000 (10:18 -0600)]
added MemPool field

17 years agocall grammar_alloc_free() to fix memleaks
Brian [Fri, 20 Apr 2007 18:59:26 +0000 (12:59 -0600)]
call grammar_alloc_free() to fix memleaks

17 years agodestroy window upon exit
Brian [Fri, 20 Apr 2007 17:59:18 +0000 (11:59 -0600)]
destroy window upon exit

17 years agoremove more unused vars, assertions
Brian [Fri, 20 Apr 2007 17:54:30 +0000 (11:54 -0600)]
remove more unused vars, assertions

17 years agoremove unused vars, assertions
Brian [Fri, 20 Apr 2007 17:53:48 +0000 (11:53 -0600)]
remove unused vars, assertions

17 years agoadded slang_mem.c
Brian [Fri, 20 Apr 2007 14:30:42 +0000 (08:30 -0600)]
added slang_mem.c

17 years agoMemory pool manager.
Brian [Fri, 20 Apr 2007 14:30:24 +0000 (08:30 -0600)]
Memory pool manager.

Instead of doing intricate malloc/free tracking during compiling, allocate
everything (which would be discarded after compiling) from a pool that can
be freed en masse when done.

17 years agoundo a test/debug change
Brian [Fri, 20 Apr 2007 14:21:49 +0000 (08:21 -0600)]
undo a test/debug change

17 years agofix instruction comment code
Brian [Fri, 20 Apr 2007 14:12:17 +0000 (08:12 -0600)]
fix instruction comment code

17 years agoanother bit of debug code
Brian [Fri, 20 Apr 2007 14:11:51 +0000 (08:11 -0600)]
another bit of debug code

17 years agofree subroutine array (fix mem leak)
Brian [Thu, 19 Apr 2007 21:37:24 +0000 (15:37 -0600)]
free subroutine array (fix mem leak)

17 years agonew varnames in slang_operation_insert()
Brian [Thu, 19 Apr 2007 21:30:11 +0000 (15:30 -0600)]
new varnames in slang_operation_insert()

17 years agofix memleak in slang_operation_insert()
Brian [Thu, 19 Apr 2007 21:28:42 +0000 (15:28 -0600)]
fix memleak in slang_operation_insert()

17 years agofree shProg->Attributes in _mesa_free_shader_program_data()
Brian [Thu, 19 Apr 2007 21:23:34 +0000 (15:23 -0600)]
free shProg->Attributes in _mesa_free_shader_program_data()

17 years agomove allocation of shProg->Attributes earlier in function
Brian [Thu, 19 Apr 2007 21:22:04 +0000 (15:22 -0600)]
move allocation of shProg->Attributes earlier in function

17 years agoCall _mesa_warning() instead of _mesa_problem() when external s3tc lib not found.
Brian [Sat, 21 Apr 2007 15:47:03 +0000 (09:47 -0600)]
Call _mesa_warning() instead of _mesa_problem() when external s3tc lib not found.

The later incorrectly encourages filing a bug (10703, for example).

17 years agoMake xcb backend compile.
Jeremy Kolb [Sat, 21 Apr 2007 01:53:38 +0000 (21:53 -0400)]
Make xcb backend compile.
Add nouveau to match linux-dri config.

17 years agoRemove unused Imakefiles.
Brian [Sat, 21 Apr 2007 01:18:13 +0000 (19:18 -0600)]
Remove unused Imakefiles.

17 years agoLong obsolete.
Brian [Sat, 21 Apr 2007 01:01:21 +0000 (19:01 -0600)]
Long obsolete.

17 years agoadded new xm_glide.c file
Brian [Sat, 21 Apr 2007 00:55:13 +0000 (18:55 -0600)]
added new xm_glide.c file

17 years agoxmesa: call _glapi_set_dispatch() for all xserver DDXes.
George Sapountzis [Fri, 20 Apr 2007 15:51:20 +0000 (18:51 +0300)]
xmesa: call _glapi_set_dispatch() for all xserver DDXes.

This is to unify the xmesa code across xserver DDX'es. The call is intented for
XGL, but it does not hurt to call for other DDX'es. In fact it was not guarded
against XGL when it was first added in xserver.

17 years agoxmesa: minor cosmetic
George Sapountzis [Wed, 18 Apr 2007 20:44:01 +0000 (23:44 +0300)]
xmesa: minor cosmetic

mainly drop 'client' argument from initialize_visual_and_buffer().

17 years agoxmesa: split FX functions to separate file, part 2.
George Sapountzis [Fri, 20 Apr 2007 15:25:42 +0000 (18:25 +0300)]
xmesa: split FX functions to separate file, part 2.

17 years agoxmesa: split FX functions to separate file, part 1.
George Sapountzis [Fri, 20 Apr 2007 15:12:38 +0000 (18:12 +0300)]
xmesa: split FX functions to separate file, part 1.

17 years agoxmesa: spilt FX code to separate functions.
George Sapountzis [Fri, 20 Apr 2007 14:51:55 +0000 (17:51 +0300)]
xmesa: spilt FX code to separate functions.

17 years agoRevert "xmesa: drop glide (FX) backend."
George Sapountzis [Fri, 20 Apr 2007 14:35:01 +0000 (17:35 +0300)]
Revert "xmesa: drop glide (FX) backend."

This reverts commit 2a2f8d806f74619f0a7cf97fdc7f7b3ad1cad81b.

17 years agoNotes about shared lib version. Document depth-peel fixes.
Brian [Thu, 19 Apr 2007 20:24:58 +0000 (14:24 -0600)]
Notes about shared lib version.  Document depth-peel fixes.

17 years agodFdx(), etc. don't work yet
Brian [Thu, 19 Apr 2007 20:24:29 +0000 (14:24 -0600)]
dFdx(), etc. don't work yet

17 years agoPut gl_program_machine into swrast structure rather than using a local variable.
Brian [Thu, 19 Apr 2007 20:24:10 +0000 (14:24 -0600)]
Put gl_program_machine into swrast structure rather than using a local variable.

Basically an easy way to make sure the memory gets initialized once (to zero)
to avoid lots of valgrind warnings.

17 years agoFix valgrind problem caused by reading text[-1].
Brian [Thu, 19 Apr 2007 20:15:11 +0000 (14:15 -0600)]
Fix valgrind problem caused by reading text[-1].

17 years agoremove invalid assertion (span->facing may be set because of polygonmode)
Brian [Thu, 19 Apr 2007 20:07:16 +0000 (14:07 -0600)]
remove invalid assertion (span->facing may be set because of polygonmode)

17 years agoremove invalid assertion
Brian [Thu, 19 Apr 2007 20:06:43 +0000 (14:06 -0600)]
remove invalid assertion