profile/ivi/mesa.git
18 years agoremove an assertion
Brian Paul [Fri, 19 May 2006 17:27:33 +0000 (17:27 +0000)]
remove an assertion

18 years agoprint 2D vs 3D in window
Brian Paul [Fri, 19 May 2006 16:48:42 +0000 (16:48 +0000)]
print 2D vs 3D in window

18 years agoalso test 3D textures (press '2'/'3' to toggle)
Brian Paul [Fri, 19 May 2006 16:42:01 +0000 (16:42 +0000)]
also test 3D textures (press '2'/'3' to toggle)

18 years agoadded some CHAN_BITS tests
Brian Paul [Fri, 19 May 2006 03:49:13 +0000 (03:49 +0000)]
added some CHAN_BITS tests

18 years agoreplace FORMAT var with RB_TYPE
Brian Paul [Fri, 19 May 2006 03:47:16 +0000 (03:47 +0000)]
replace FORMAT var with RB_TYPE

18 years agoDemonstrate rendering 8, 16 and 32-bit/channel images all in one program.
Brian Paul [Fri, 19 May 2006 03:43:39 +0000 (03:43 +0000)]
Demonstrate rendering 8, 16 and 32-bit/channel images all in one program.
Like older osdemo.c program, but test more OpenGL features like texturing,
blending, lines.

18 years agoupdated docs for off-screen rendering
Brian Paul [Fri, 19 May 2006 03:42:16 +0000 (03:42 +0000)]
updated docs for off-screen rendering

18 years agoAllow rendering 8, 16 and 32-bit/channel images without recompiling.
Brian Paul [Fri, 19 May 2006 03:41:37 +0000 (03:41 +0000)]
Allow rendering 8, 16 and 32-bit/channel images without recompiling.
Uses new renderbuffer adaptors.

18 years agoinstall renderbuffer adaptors when color channel sizes need to be reduced
Brian Paul [Fri, 19 May 2006 03:40:29 +0000 (03:40 +0000)]
install renderbuffer adaptors when color channel sizes need to be reduced

18 years agoadded rbadaptors.[ch] files
Brian Paul [Fri, 19 May 2006 03:37:41 +0000 (03:37 +0000)]
added rbadaptors.[ch] files

18 years agoadded rbadaptors.c
Brian Paul [Fri, 19 May 2006 03:35:38 +0000 (03:35 +0000)]
added rbadaptors.c

18 years agoRenderbuffer adaptors.
Brian Paul [Fri, 19 May 2006 03:33:50 +0000 (03:33 +0000)]
Renderbuffer adaptors.
When compiling Mesa with CHAN_BITS=16 or 32, these adaptors allow rendering
into color buffers with smaller channel sizes.

18 years agominor simplification
Brian Paul [Thu, 18 May 2006 22:31:19 +0000 (22:31 +0000)]
minor simplification

18 years agotexture EnvColor needs to be converted to GLchan, not GLint
Brian Paul [Thu, 18 May 2006 22:11:09 +0000 (22:11 +0000)]
texture EnvColor needs to be converted to GLchan, not GLint

18 years agoDont allow 16 tex units to be used at all.
Aapo Tahkola [Thu, 18 May 2006 21:15:26 +0000 (21:15 +0000)]
Dont allow 16 tex units to be used at all.

18 years agouse -march=i486 instead of -m486 (bug 6954)
Brian Paul [Thu, 18 May 2006 17:04:13 +0000 (17:04 +0000)]
use -march=i486 instead of -m486 (bug 6954)

18 years agochange initialization of texcoords - not all C compilers support non-constant array...
Brian Paul [Thu, 18 May 2006 14:16:43 +0000 (14:16 +0000)]
change initialization of texcoords - not all C compilers support non-constant array initializers

18 years agoadd extra APP_LIB_DEPS (bug 6954)
Brian Paul [Thu, 18 May 2006 13:55:31 +0000 (13:55 +0000)]
add extra APP_LIB_DEPS (bug 6954)

18 years agoadded solaris-x86-gcc-static
Brian Paul [Wed, 17 May 2006 22:51:44 +0000 (22:51 +0000)]
added solaris-x86-gcc-static

18 years agogenerate shared lib, not static
Brian Paul [Wed, 17 May 2006 22:51:23 +0000 (22:51 +0000)]
generate shared lib, not static

18 years agoformerly known as solaris-x86-gcc
Brian Paul [Wed, 17 May 2006 22:51:08 +0000 (22:51 +0000)]
formerly known as solaris-x86-gcc

18 years agocall reshape() after init() to set initial projection/viewing transform (see bug...
Brian Paul [Wed, 17 May 2006 22:44:18 +0000 (22:44 +0000)]
call reshape() after init() to set initial projection/viewing transform (see bug 6941)

18 years agounbreak the build
Tilman Sauerbeck [Wed, 17 May 2006 16:39:40 +0000 (16:39 +0000)]
unbreak the build

18 years agoadd texture rectangle support for i815, I wrote the original patch about
Dave Airlie [Wed, 17 May 2006 06:26:25 +0000 (06:26 +0000)]
add texture rectangle support for i815, I wrote the original patch about
2 years ago, I finally dug out an i815 and got it working

18 years agobug 6941: fixed initial rendering problems in glxgears
Tilman Sauerbeck [Tue, 16 May 2006 16:27:54 +0000 (16:27 +0000)]
bug 6941: fixed initial rendering problems in glxgears

18 years agoFix typo.
Michal Krol [Tue, 16 May 2006 10:37:16 +0000 (10:37 +0000)]
Fix typo.

18 years agoAdd functions.
Michal Krol [Tue, 16 May 2006 10:11:29 +0000 (10:11 +0000)]
Add functions.

18 years agoWrite attribs to slang machine.
Michal Krol [Tue, 16 May 2006 10:10:56 +0000 (10:10 +0000)]
Write attribs to slang machine.

18 years agoChange error message wording.
Michal Krol [Tue, 16 May 2006 10:10:10 +0000 (10:10 +0000)]
Change error message wording.

18 years agoRename print() to printMESA().
Michal Krol [Tue, 16 May 2006 10:09:32 +0000 (10:09 +0000)]
Rename print() to printMESA().

18 years agoFix attrib handling.
Michal Krol [Tue, 16 May 2006 10:08:30 +0000 (10:08 +0000)]
Fix attrib handling.

18 years agoExtend printMESA function to output also to shader's info log.
Michal Krol [Tue, 16 May 2006 10:04:24 +0000 (10:04 +0000)]
Extend printMESA function to output also to shader's info log.
Fix float-to-int conversion for x86 back-end.

18 years agoCleanup code. Change constructor prototype.
Michal Krol [Tue, 16 May 2006 10:01:07 +0000 (10:01 +0000)]
Cleanup code. Change constructor prototype.

18 years agoCleanup code.
Michal Krol [Tue, 16 May 2006 09:53:42 +0000 (09:53 +0000)]
Cleanup code.

18 years agoChange constructor prototype.
Michal Krol [Tue, 16 May 2006 09:52:02 +0000 (09:52 +0000)]
Change constructor prototype.
Fix struct field accessing.

18 years agoRemove carriage returns.
Michal Krol [Tue, 16 May 2006 09:44:08 +0000 (09:44 +0000)]
Remove carriage returns.

18 years agoAdd GetInfoLogLength and WriteAttrib functions.
Michal Krol [Tue, 16 May 2006 09:43:09 +0000 (09:43 +0000)]
Add GetInfoLogLength and WriteAttrib functions.
GetInfoLog for shaders if different - it is a concatenation
of compiler output and executor output produced by printMESA.
Fix bugs.

18 years agoCleanup GLhandle-to-object translation macros.
Michal Krol [Tue, 16 May 2006 09:40:30 +0000 (09:40 +0000)]
Cleanup GLhandle-to-object translation macros.
Fix minor bugs.

18 years agoGLSL regression test suite.
Michal Krol [Tue, 16 May 2006 09:32:30 +0000 (09:32 +0000)]
GLSL regression test suite.

18 years agoadded a few extension #ifdef tests
Brian Paul [Mon, 15 May 2006 15:35:38 +0000 (15:35 +0000)]
added a few extension #ifdef tests

18 years agoAdded a check_context_limits() function that checks that the ctx->Const.*
Brian Paul [Mon, 15 May 2006 15:26:04 +0000 (15:26 +0000)]
Added a check_context_limits() function that checks that the ctx->Const.*
fields are legal.  May catch some driver development bugs.
Called the first time a context is bound.

18 years agousage() function
Brian Paul [Mon, 15 May 2006 15:14:37 +0000 (15:14 +0000)]
usage() function

18 years agoremove some unused macros
Brian Paul [Sun, 14 May 2006 16:42:20 +0000 (16:42 +0000)]
remove some unused macros

18 years agos/GLbyte/GLubyte/
Brian Paul [Sun, 14 May 2006 16:27:10 +0000 (16:27 +0000)]
s/GLbyte/GLubyte/

18 years agofix typo, remove dead code
Brian Paul [Sun, 14 May 2006 15:56:07 +0000 (15:56 +0000)]
fix typo, remove dead code

18 years agoExpanded output with -l option: vertex/fragment program and vertex/fragment
Brian Paul [Sat, 13 May 2006 00:18:12 +0000 (00:18 +0000)]
Expanded output with -l option: vertex/fragment program and vertex/fragment
shader limits.
Misc sync-ups with x.org copy of glxinfo.

18 years agothe r300 should only use 8 until Mesa can deal with this
Dave Airlie [Fri, 12 May 2006 06:03:27 +0000 (06:03 +0000)]
the r300 should only use 8 until Mesa can deal with this

18 years agothis should use the configured number not the MAX, this has no effect until
Dave Airlie [Fri, 12 May 2006 03:50:10 +0000 (03:50 +0000)]
this should use the configured number not the MAX, this has no effect until
the core mesa swrast number is fixed, just spotted this on the way past

18 years agoIn __glXPushArrayState() we weren't pushing the index field.
Brian Paul [Thu, 11 May 2006 16:27:39 +0000 (16:27 +0000)]
In __glXPushArrayState() we weren't pushing the index field.
But later, in __glXPopArrayState(), we were using that field to set
the active_texture_unit.  The value was garbage and could lead to
things blowing up.
See bug 6863.

18 years agosimplify image setup code, added LOD Bias control (l/L keys)
Brian Paul [Thu, 11 May 2006 01:15:48 +0000 (01:15 +0000)]
simplify image setup code, added LOD Bias control (l/L keys)

18 years agosimple texture compression test
Brian Paul [Wed, 10 May 2006 22:47:06 +0000 (22:47 +0000)]
simple texture compression test

18 years agonew test image - Delicate Arch, Utah
Brian Paul [Wed, 10 May 2006 22:44:26 +0000 (22:44 +0000)]
new test image - Delicate Arch, Utah

18 years agoTest program for exercising GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MAX_LEVEL.
Brian Paul [Wed, 10 May 2006 22:37:56 +0000 (22:37 +0000)]
Test program for exercising GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MAX_LEVEL.

18 years agomove check for event.xbutton.button <= GLUT_MAX_MENUS (see sf bug 1484284)
Brian Paul [Wed, 10 May 2006 19:21:39 +0000 (19:21 +0000)]
move check for event.xbutton.button <= GLUT_MAX_MENUS (see sf bug 1484284)

18 years agocheck if button >= GLUT_MAX_MENUS in glutAttacheMenu()
Brian Paul [Wed, 10 May 2006 19:21:16 +0000 (19:21 +0000)]
check if button >= GLUT_MAX_MENUS in glutAttacheMenu()

18 years agoClean up previous change slightly
Keith Whitwell [Wed, 10 May 2006 09:00:16 +0000 (09:00 +0000)]
Clean up previous change slightly

18 years agoUse a (much!) larger executable memory heap so that the glsl x86
Keith Whitwell [Wed, 10 May 2006 08:57:34 +0000 (08:57 +0000)]
Use a (much!) larger executable memory heap so that the glsl x86
allocations succeed.  I'm not sure this is really necessary...

18 years agocheck event button against GLUT_MAX_MENUS (bug 1484284)
Brian Paul [Tue, 9 May 2006 14:51:57 +0000 (14:51 +0000)]
check event button against GLUT_MAX_MENUS (bug 1484284)

18 years ago16/32-bit chan fixes, texture compression fixes
Brian Paul [Tue, 9 May 2006 14:41:08 +0000 (14:41 +0000)]
16/32-bit chan fixes, texture compression fixes

18 years agoWhen error-checking 'unit' against num_texture_units, need to use >=, not >.
Brian Paul [Tue, 9 May 2006 14:36:58 +0000 (14:36 +0000)]
When error-checking 'unit' against num_texture_units, need to use >=, not >.
See bug 6863.

18 years agoAdd a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether
Brian Paul [Tue, 9 May 2006 13:51:17 +0000 (13:51 +0000)]
Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether
all formats or just those without restrictions/limitations should be returned.
We want all when validating the internalFormat parameter to
glCompressedTexImage2D but only want unrestricted formats when handling the
GL_COMPRESSED_TEXTURE_FORMATS query.

18 years agouse _mesa_compressed_texture_size() for GL_TEXTURE_COMPRESSED_IMAGE_SIZE query
Brian Paul [Tue, 9 May 2006 00:00:46 +0000 (00:00 +0000)]
use _mesa_compressed_texture_size() for GL_TEXTURE_COMPRESSED_IMAGE_SIZE query

18 years agotwo more texture compression fixes
Brian Paul [Mon, 8 May 2006 23:59:38 +0000 (23:59 +0000)]
two more texture compression fixes

18 years agoMore updates for texture compression.
Brian Paul [Mon, 8 May 2006 23:52:32 +0000 (23:52 +0000)]
More updates for texture compression.
Added _mesa_compressed_texture_size_glenum() for validating the imageSize
parameter to glCompressedTex[Sub]Image1/2/3() which does _not_ call
ctx->Driver.CompressedTextureSize() - since that could return a padded size.

18 years agoFix a number of texture compression issues.
Brian Paul [Mon, 8 May 2006 19:14:38 +0000 (19:14 +0000)]
Fix a number of texture compression issues.
Pass the MESA_FORMAT_* token to the _mesa_compressed_row_stride(),
_mesa_compressed_texture_size() and _mesa_compressed_image_address()
functions since we want to use the driver-chosen format, not the user's
internalFormat hint.
Consolidate code related to choosing the texture format in texstoree.c

18 years agofix warning
Brian Paul [Mon, 8 May 2006 19:11:21 +0000 (19:11 +0000)]
fix warning

18 years agoupdates to dri drivers for recent stencil changes
Keith Whitwell [Mon, 8 May 2006 09:03:35 +0000 (09:03 +0000)]
updates to dri drivers for recent stencil changes

18 years agoadded CHAN_BITS != 8 test
Brian Paul [Sun, 7 May 2006 16:16:23 +0000 (16:16 +0000)]
added CHAN_BITS != 8 test

18 years agomisc clean-ups
Brian Paul [Sun, 7 May 2006 16:14:58 +0000 (16:14 +0000)]
misc clean-ups

18 years agominor clean-ups around DepthScale/Bias
Brian Paul [Sun, 7 May 2006 16:14:13 +0000 (16:14 +0000)]
minor clean-ups around DepthScale/Bias

18 years agorestore -O flag (bug 6814)
Brian Paul [Sat, 6 May 2006 22:39:33 +0000 (22:39 +0000)]
restore -O flag (bug 6814)

18 years agoCheck for overflow when converting floating pt Z values to 32-bit GLuint.
Brian Paul [Sat, 6 May 2006 22:30:33 +0000 (22:30 +0000)]
Check for overflow when converting floating pt Z values to 32-bit GLuint.

18 years agoupdated GLX_EXT_texture_from_pixmap tokens (Dave Reveman)
Brian Paul [Fri, 5 May 2006 18:19:54 +0000 (18:19 +0000)]
updated GLX_EXT_texture_from_pixmap tokens (Dave Reveman)

18 years agocheck for float->uint overflow in _mesa_unpack_depth_span()
Brian Paul [Fri, 5 May 2006 14:49:38 +0000 (14:49 +0000)]
check for float->uint overflow in _mesa_unpack_depth_span()

18 years agoDefine VERT_RESULT_EDGE
Keith Whitwell [Fri, 5 May 2006 09:26:40 +0000 (09:26 +0000)]
Define VERT_RESULT_EDGE

18 years agoremove temporary code from keithw, this in theory isn't used at the moment
Dave Airlie [Fri, 5 May 2006 06:53:11 +0000 (06:53 +0000)]
remove temporary code from keithw, this in theory isn't used at the moment
anyways unless INTEL_BATCH is turned on

18 years agoFix i915 driver after stencil changes in Mesa 6.5
Dave Airlie [Fri, 5 May 2006 06:52:32 +0000 (06:52 +0000)]
Fix i915 driver after stencil changes in Mesa 6.5

18 years agoRelease temporary
Keith Whitwell [Fri, 5 May 2006 00:00:46 +0000 (00:00 +0000)]
Release temporary

18 years agoFix some silly spelling errors.
Ian Romanick [Wed, 3 May 2006 17:12:12 +0000 (17:12 +0000)]
Fix some silly spelling errors.

18 years agoremove some unneeded includes
Dave Airlie [Tue, 2 May 2006 08:58:42 +0000 (08:58 +0000)]
remove some unneeded includes

18 years agoUpdate to final EXT_tfp tokens
David Reveman [Tue, 2 May 2006 08:54:39 +0000 (08:54 +0000)]
Update to final EXT_tfp tokens

18 years agomove the pkg config flags for libdrm to the bottom
Dave Airlie [Tue, 2 May 2006 08:32:46 +0000 (08:32 +0000)]
move the pkg config flags for libdrm to the bottom

18 years agoUpdate function signatures for EXT_tfp entrypoints.
Adam Jackson [Mon, 1 May 2006 22:25:18 +0000 (22:25 +0000)]
Update function signatures for EXT_tfp entrypoints.

18 years agonew, faster version of __gluInvertMatrixd(), bug 6748
Brian Paul [Mon, 1 May 2006 16:01:17 +0000 (16:01 +0000)]
new, faster version of __gluInvertMatrixd(), bug 6748

18 years agoBumped support for xcb 0.9
Jeremy Kolb [Sat, 29 Apr 2006 16:13:02 +0000 (16:13 +0000)]
Bumped support for xcb 0.9

18 years agoadded a trailing newline to pacify gcc
Tilman Sauerbeck [Fri, 28 Apr 2006 21:57:32 +0000 (21:57 +0000)]
added a trailing newline to pacify gcc

18 years agofptest1 requires GL_NV_fragment_program
Tilman Sauerbeck [Fri, 28 Apr 2006 21:50:41 +0000 (21:50 +0000)]
fptest1 requires GL_NV_fragment_program

18 years agofix second memory leak (bug 5557)
Brian Paul [Fri, 28 Apr 2006 15:42:15 +0000 (15:42 +0000)]
fix second memory leak (bug 5557)

18 years agofix first memory leak (bug 5557)
Brian Paul [Fri, 28 Apr 2006 15:40:11 +0000 (15:40 +0000)]
fix first memory leak (bug 5557)

18 years agofixes for CHAN_BITS!=8
Brian Paul [Thu, 27 Apr 2006 02:50:31 +0000 (02:50 +0000)]
fixes for CHAN_BITS!=8

18 years agoassorted clean-ups, fixes
Brian Paul [Thu, 27 Apr 2006 02:47:50 +0000 (02:47 +0000)]
assorted clean-ups, fixes

18 years agoreplace a bunch of casts with GET_XRB macro
Brian Paul [Thu, 27 Apr 2006 02:46:20 +0000 (02:46 +0000)]
replace a bunch of casts with GET_XRB macro

18 years agofix a few stride computations in _mesa_texstore_rgba()
Brian Paul [Wed, 26 Apr 2006 18:43:22 +0000 (18:43 +0000)]
fix a few stride computations in _mesa_texstore_rgba()

18 years agofix warnings.
Aapo Tahkola [Wed, 26 Apr 2006 12:00:53 +0000 (12:00 +0000)]
fix warnings.

18 years agoR300_SPAN_DISABLE_LOCKING env var
Aapo Tahkola [Wed, 26 Apr 2006 11:36:27 +0000 (11:36 +0000)]
R300_SPAN_DISABLE_LOCKING env var

18 years agoremove _glthread_INIT_MUTEX() call
Brian Paul [Wed, 26 Apr 2006 03:31:59 +0000 (03:31 +0000)]
remove _glthread_INIT_MUTEX() call

18 years agofix an assertion
Brian Paul [Wed, 26 Apr 2006 03:29:30 +0000 (03:29 +0000)]
fix an assertion

18 years agominor clean-up
Brian Paul [Wed, 26 Apr 2006 03:19:54 +0000 (03:19 +0000)]
minor clean-up

18 years agoremove old XFree86 tag
Brian Paul [Wed, 26 Apr 2006 03:19:37 +0000 (03:19 +0000)]
remove old XFree86 tag

18 years agoupdate some tests for visual bit depths to use renderbuffers
Brian Paul [Tue, 25 Apr 2006 22:55:19 +0000 (22:55 +0000)]
update some tests for visual bit depths to use renderbuffers