profile/ivi/mesa.git
17 years agor300: Added the Linux Kernel indent script.
Oliver McFadden [Wed, 9 May 2007 03:12:22 +0000 (03:12 +0000)]
r300: Added the Linux Kernel indent script.

17 years agor300: Indented r300_state.[ch].
Oliver McFadden [Wed, 9 May 2007 02:59:11 +0000 (02:59 +0000)]
r300: Indented r300_state.[ch].

17 years agor300: Indented r300_emit.h.
Oliver McFadden [Wed, 9 May 2007 02:52:37 +0000 (02:52 +0000)]
r300: Indented r300_emit.h.

17 years agor300: Indented r300_cmdbuf.[ch].
Oliver McFadden [Wed, 9 May 2007 02:51:13 +0000 (02:51 +0000)]
r300: Indented r300_cmdbuf.[ch].

17 years agor300: Indented r300_shader.[ch].
Oliver McFadden [Wed, 9 May 2007 02:50:13 +0000 (02:50 +0000)]
r300: Indented r300_shader.[ch].

17 years agor300: Indented r300_maos.[ch].
Oliver McFadden [Wed, 9 May 2007 02:49:14 +0000 (02:49 +0000)]
r300: Indented r300_maos.[ch].

17 years agor300: Indented r300_ioctl.[ch].
Oliver McFadden [Wed, 9 May 2007 02:46:57 +0000 (02:46 +0000)]
r300: Indented r300_ioctl.[ch].

17 years agor300: Removed the obsolete pfs_reg_t type from r300_fragprog.h.
Oliver McFadden [Wed, 9 May 2007 02:41:38 +0000 (02:41 +0000)]
r300: Removed the obsolete pfs_reg_t type from r300_fragprog.h.

17 years agor300: Use an array for the vertex program sources and corrected an error from
Oliver McFadden [Wed, 9 May 2007 02:35:07 +0000 (02:35 +0000)]
r300: Use an array for the vertex program sources and corrected an error from
4960af08ad50a3a6ea039145de2698234c2cc892.

17 years agor300: Removed the ugly CARD32 type.
Oliver McFadden [Wed, 9 May 2007 02:27:08 +0000 (02:27 +0000)]
r300: Removed the ugly CARD32 type.

17 years agor300: Renamed vertex_shader.h to r300_vertprog.h
Oliver McFadden [Wed, 9 May 2007 02:24:59 +0000 (02:24 +0000)]
r300: Renamed vertex_shader.h to r300_vertprog.h

17 years agor300: Removed obsolete pixel_shader.h header file.
Oliver McFadden [Wed, 9 May 2007 02:18:29 +0000 (02:18 +0000)]
r300: Removed obsolete pixel_shader.h header file.

17 years agor300: Renamed the VBO functions to the R300 name format.
Oliver McFadden [Tue, 8 May 2007 21:04:57 +0000 (21:04 +0000)]
r300: Renamed the VBO functions to the R300 name format.

17 years agoremove some debug code
Brian [Tue, 8 May 2007 20:08:45 +0000 (14:08 -0600)]
remove some debug code

17 years agospecial case for -pthread (bug 10876)
Brian [Tue, 8 May 2007 20:03:04 +0000 (14:03 -0600)]
special case for -pthread (bug 10876)

17 years agoa somewhat nicer demo w/ command line options
Brian [Tue, 8 May 2007 19:48:52 +0000 (13:48 -0600)]
a somewhat nicer demo w/ command line options

17 years agor300: Removed some deprecated code from r300_context.c and corrected an unused
Oliver McFadden [Tue, 8 May 2007 19:46:25 +0000 (19:46 +0000)]
r300: Removed some deprecated code from r300_context.c and corrected an unused
variable warning in r300_render.c.

17 years agor300: Last few r300_render.c clean up.
Oliver McFadden [Tue, 8 May 2007 19:38:44 +0000 (19:38 +0000)]
r300: Last few r300_render.c clean up.

17 years agor300: Merged some comments into the Doxygen documentation.
Oliver McFadden [Tue, 8 May 2007 19:35:36 +0000 (19:35 +0000)]
r300: Merged some comments into the Doxygen documentation.

17 years agor300: Cleaned up r300_render.c using Indent with appropriate options.
Oliver McFadden [Tue, 8 May 2007 19:31:30 +0000 (19:31 +0000)]
r300: Cleaned up r300_render.c using Indent with appropriate options.

This corrects the mess of space and tab indenting that existed in this file, and
probably others. The diff is actually very small if you use an external diff
program and ignore whitespace.

17 years agor300: General render clean up; added some Doxygen documentation, too.
Oliver McFadden [Tue, 8 May 2007 19:22:15 +0000 (19:22 +0000)]
r300: General render clean up; added some Doxygen documentation, too.

17 years agor300: Moved the pipeline stages together for readability.
Oliver McFadden [Tue, 8 May 2007 18:47:26 +0000 (18:47 +0000)]
r300: Moved the pipeline stages together for readability.

17 years agor300: Print the OpenGL define instead of a 2-digit char code in the warning.
Oliver McFadden [Tue, 8 May 2007 18:43:56 +0000 (18:43 +0000)]
r300: Print the OpenGL define instead of a 2-digit char code in the warning.

17 years agor300: Clean up the vertex buffer emission code and reduced code duplication.
Oliver McFadden [Tue, 8 May 2007 18:28:04 +0000 (18:28 +0000)]
r300: Clean up the vertex buffer emission code and reduced code duplication.

I tested both the unoptimized and optimized versions with Quake 3 Arena; there
are no problems.

17 years agor300: Cleaned up a lot of cruft in r300_render.c.
Oliver McFadden [Tue, 8 May 2007 18:05:10 +0000 (18:05 +0000)]
r300: Cleaned up a lot of cruft in r300_render.c.

17 years agoi915/miniglx: remove unused code
Dave Airlie [Tue, 8 May 2007 00:53:43 +0000 (10:53 +1000)]
i915/miniglx: remove unused code

17 years agominiglx: fixup use of create windows x and y coordinates
Dave Airlie [Tue, 8 May 2007 00:51:44 +0000 (10:51 +1000)]
miniglx: fixup use of create windows x and y coordinates

This makes miniglx take not of the x and y from XCreateWindow

17 years agominiglx/glut: should use the x/y pos to create window
Dave Airlie [Tue, 8 May 2007 00:49:31 +0000 (10:49 +1000)]
miniglx/glut: should use the x/y pos to create window

This allows moving miniglx glut windows around the framebuffer

17 years agobetter comments for _mesa_debug(), _mesa_warning(), etc
Brian [Mon, 7 May 2007 20:13:23 +0000 (14:13 -0600)]
better comments for _mesa_debug(), _mesa_warning(), etc

17 years agoradeon: enable xpress chipsets
Dave Airlie [Sun, 6 May 2007 21:06:08 +0000 (07:06 +1000)]
radeon: enable xpress chipsets

glxgears and googleearth now run so that seems like a good start

Thanks to Aapo Tahkola for doing the 3D work on this so far, I got lost
after the GART changes.

17 years agors480: fix secondary color for real this time
Aapo Tahkola [Sun, 6 May 2007 16:25:45 +0000 (19:25 +0300)]
rs480: fix secondary color for real this time

17 years agoMerge branch 'master' of git+ssh://aapot@git.freedesktop.org/git/mesa/mesa
Aapo Tahkola [Sun, 6 May 2007 16:19:16 +0000 (19:19 +0300)]
Merge branch 'master' of git+ssh://aapot@git.freedesktop.org/git/mesa/mesa

17 years agors480: fix textures and secondary color(?). clipping is still busted. tested on r480
Aapo Tahkola [Sun, 6 May 2007 16:18:10 +0000 (19:18 +0300)]
rs480: fix textures and secondary color(?). clipping is still busted. tested on r480

17 years agor300: fix broken vbos
Aapo Tahkola [Sun, 6 May 2007 16:10:39 +0000 (19:10 +0300)]
r300: fix broken vbos

17 years agor300: Added R300_AA_DISABLE for R300_GB_AA_CONFIG.
Oliver McFadden [Sun, 6 May 2007 12:09:42 +0000 (12:09 +0000)]
r300: Added R300_AA_DISABLE for R300_GB_AA_CONFIG.

17 years agor300: Removed more deprecated state code that is now set in separate functions.
Oliver McFadden [Sun, 6 May 2007 11:56:36 +0000 (11:56 +0000)]
r300: Removed more deprecated state code that is now set in separate functions.

17 years agor300: R300_ZS_... is now set in separate functions; removed the deprecated code.
Oliver McFadden [Sun, 6 May 2007 11:54:00 +0000 (11:54 +0000)]
r300: R300_ZS_... is now set in separate functions; removed the deprecated code.

17 years agor300: Point size is now set in a separate function; removed the deprecated code.
Oliver McFadden [Sun, 6 May 2007 11:52:03 +0000 (11:52 +0000)]
r300: Point size is now set in a separate function; removed the deprecated code.

17 years agor300: Use the defined values for R300_VAP_CNTL_STATUS.
Oliver McFadden [Sun, 6 May 2007 11:36:24 +0000 (11:36 +0000)]
r300: Use the defined values for R300_VAP_CNTL_STATUS.

17 years agor300: fix primary color on rs480
Aapo Tahkola [Sun, 6 May 2007 11:28:23 +0000 (14:28 +0300)]
r300: fix primary color on rs480

17 years agodon't use hw to perform vertex transform etc. when using swtcl. This for compatibilit...
Aapo Tahkola [Sat, 5 May 2007 14:07:46 +0000 (17:07 +0300)]
don't use hw to perform vertex transform etc. when using swtcl. This for compatibility with vertex programs and the fact that swtcl very rarely gets hit with tcl capable hw.

17 years agonouveau: disable nouveau build by default
Dave Airlie [Sat, 5 May 2007 05:43:01 +0000 (15:43 +1000)]
nouveau: disable nouveau build by default

Until this is API/ABI stable building it by default isn't a good idea.

17 years agoadd </ol> tag
Brian [Sat, 5 May 2007 00:32:02 +0000 (18:32 -0600)]
add </ol> tag

17 years agoMakefile clean-ups for miniglx.
Brian [Sat, 5 May 2007 00:27:12 +0000 (18:27 -0600)]
Makefile clean-ups for miniglx.

17 years agoAssorted miniglx updates.
Brian [Sat, 5 May 2007 00:26:41 +0000 (18:26 -0600)]
Assorted miniglx updates.

17 years agodocument R300 bug fix 10848
Brian [Thu, 3 May 2007 19:52:33 +0000 (13:52 -0600)]
document R300 bug fix 10848

17 years agofix some matrix/state token indexing bugs (see bug 10848)
Brian [Thu, 3 May 2007 18:33:25 +0000 (12:33 -0600)]
fix some matrix/state token indexing bugs (see bug 10848)

17 years agoadd some #includes to silence warnings
Brian [Thu, 3 May 2007 15:50:08 +0000 (09:50 -0600)]
add some #includes to silence warnings

17 years agoget rid of normal vector
Brian [Thu, 3 May 2007 00:55:45 +0000 (18:55 -0600)]
get rid of normal vector

17 years agoget rid of OSMESA stuff
Brian [Thu, 3 May 2007 00:54:57 +0000 (18:54 -0600)]
get rid of OSMESA stuff

17 years agoNew test of the dFdx(), dFdy() functions.
Brian [Thu, 3 May 2007 00:48:51 +0000 (18:48 -0600)]
New test of the dFdx(), dFdy() functions.

17 years agodocument recent GLSL, R300 fixes
Brian [Thu, 3 May 2007 00:46:45 +0000 (18:46 -0600)]
document recent GLSL, R300 fixes

17 years agochanges to get DDX/DDY working again
Brian [Thu, 3 May 2007 00:45:44 +0000 (18:45 -0600)]
changes to get DDX/DDY working again

17 years agoResuscitate some of the DDX,DDY code.
Brian [Thu, 3 May 2007 00:44:34 +0000 (18:44 -0600)]
Resuscitate some of the DDX,DDY code.

Only works for program input registers at this time.
Good enough for the common case of texcoords, though.

17 years agofix some DDX,DDY mix-ups
Brian [Thu, 3 May 2007 00:42:57 +0000 (18:42 -0600)]
fix some DDX,DDY mix-ups

17 years agoDocument a deficiency in the _swrast_Translate() function with regard to point size.
Brian [Wed, 2 May 2007 18:06:43 +0000 (12:06 -0600)]
Document a deficiency in the _swrast_Translate() function with regard to point size.

17 years agofix some renderbuffer/wrapper bugs
Brian [Wed, 2 May 2007 14:48:43 +0000 (08:48 -0600)]
fix some renderbuffer/wrapper bugs

17 years agofix some StepX/StepY mix-ups in alpha interpolation
Brian [Wed, 2 May 2007 14:48:20 +0000 (08:48 -0600)]
fix some StepX/StepY mix-ups in alpha interpolation

17 years agoadd *gc, *syn files to tarballs
Brian [Wed, 2 May 2007 14:29:14 +0000 (08:29 -0600)]
add *gc, *syn files to tarballs

17 years agoregenerated
Brian [Tue, 1 May 2007 20:03:16 +0000 (14:03 -0600)]
regenerated

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