Brian Paul
122629f279
Some structure renaming. Prefix vertex/fragment-related structs with
...
"gl_" to match other structs.
2006-07-20 16:49:57 +00:00
Brian Paul
459db7bd72
bump MESA_TINY to 1
2006-07-20 04:34:36 +00:00
Brian Paul
a623e008c6
move/update comments
2006-07-20 04:24:42 +00:00
Brian Paul
2f12458fb3
use ctx->Light.ShadeModel instead of ctx->_TriangleCaps
2006-07-20 04:17:11 +00:00
Brian Paul
a1a6ac4af4
Instead of testing ctx->_TriangleCaps for flat/smooth shading, just use ctx->Light.ShadeModel
2006-07-20 04:16:26 +00:00
Brian Paul
4e2de9531e
remove unused NEED_TWO_SIDED_LIGHTING() macro
2006-07-20 03:56:16 +00:00
Brian Paul
ad15866ef0
For glGetTexImage(), move the _mesa_validate_pbo_access() error check into
...
_mesa_GetTexImage() so it's not needed in the fallback or driver functions.
2006-07-19 16:13:15 +00:00
Brian Paul
0749e2723b
Several loops over the map1/2 evaluator arrays were incorrect.
...
There's only 16 evaluator maps. Define new _TNL_NUM_EVAL constant for
those loops.
Also, fix priority of GL_NV_vertex_program generic maps - they override the
conventional maps.
See bug 7564.
2006-07-19 15:28:29 +00:00
Brian Paul
69ddf6cc41
more 6.5.1 additions
2006-07-19 15:09:42 +00:00
Brian Paul
114ecb9d67
indentation fix
2006-07-18 22:33:14 +00:00
Brian Paul
df926955be
add missing 'return' after a few _mesa_error() calls in _mesa_GetTexImage()
2006-07-18 22:27:02 +00:00
Brian Paul
813e56db51
Compute ctx->Color._LogicOpEnabled in one place instead of four places!
2006-07-18 19:15:40 +00:00
Tilman Sauerbeck
f81b1dbe37
fix a memleak (that code block has been commented out for years for unknown reasons)
2006-07-15 12:09:27 +00:00
Rune Petersen
416ac254c2
A small logic error.
...
We need to call do_swizzle() when the scaler _or_ vector unit have a
swizzle other 000/ZERO/111/ONE.
This ensures that the gloss on banners in ut2004 is not angel-dependent
(since when was banners glossy?).
2006-07-15 10:44:25 +00:00
Brian Paul
f4e46e1a46
define FLT_MAX_EXP to 128 if undefined
2006-07-13 20:21:44 +00:00
Ian Romanick
7ef4a07165
Move initialization of server_support from __glXProcessServerString to
...
__glXCalcualteUsableExtensions. By having both callers of
__glXProcessServerString initialize the bit-fields passed in, we guarantee
that the correct amount of data is initialized:
This fixes bugzilla #7353 .
2006-07-13 15:27:37 +00:00
Brian Paul
883f9891cb
LIB_DIR is now just 'lib' or 'lib64'
...
Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets.
Patch by Hanno Böck.
2006-07-13 02:50:27 +00:00
Brian Paul
d9eff8ba19
download/install updates
2006-07-12 20:14:43 +00:00
Brian Paul
b8528ea55e
New config var DRI_DRIVER_SEARCH_DIR to specify where libGL should search
...
(at runtime) for the DRI drivers.
See bug 2372.
2006-07-12 19:40:59 +00:00
Tilman Sauerbeck
e5c28321b2
fix another memleak
2006-07-12 17:06:49 +00:00
Tilman Sauerbeck
e77875dcbe
fix a memleak
2006-07-12 16:49:07 +00:00
Brian Paul
59cfd3cd3f
destroy window upon exit, remove CVS log comment
2006-07-12 02:34:43 +00:00
Brian Paul
d8bb5ea967
call glutDestroyWindow() to allow checking for mem leaks upon exit
2006-07-12 02:32:21 +00:00
Brian Paul
c04bb519e1
free array objects properly (bug 7493)
2006-07-11 21:56:43 +00:00
Tilman Sauerbeck
c60bcc8966
free GL2Objects unconditionally
2006-07-11 20:13:28 +00:00
Tilman Sauerbeck
c0eb777cd8
free the ArrayObjects hash table
2006-07-11 19:36:27 +00:00
Tilman Sauerbeck
17b5063c6f
only access ss->BufferObjects if it's declared
2006-07-11 19:03:21 +00:00
Tilman Sauerbeck
aead688e7f
_mesa_destroy_context() frees radeon->glCtx so we must not access it afterwards
2006-07-11 18:35:24 +00:00
Thomas Hellström
bbe197ec1d
Revert the SiS and Unichrome DRM version check changes.
2006-07-11 14:56:20 +00:00
Thomas Hellström
85b4ae0654
The SiS and Unichrome drivers assume that the handle to the
...
AGP map is equivalent to the AGP physical address. Fix this.
2006-07-10 12:20:24 +00:00
Aapo Tahkola
b9920ba7b7
Fix #7195
2006-07-09 00:04:06 +00:00
Brian Paul
27908d2bcb
update comment, APP_LIB_DEPS
2006-07-07 14:32:47 +00:00
Brian Paul
04f43226a8
fixup OSMESA_LIBS and make clean target
2006-07-07 14:32:02 +00:00
Brian Paul
8c140c9c37
remove GLUT dependency
2006-07-07 14:31:28 +00:00
Brian Paul
3ae1905744
remove dependency on GLUT
2006-07-07 14:12:04 +00:00
Kristian Høgsberg
218ba1ff54
Don't include unused header files.
2006-07-06 07:28:25 +00:00
Aapo Tahkola
5906acad08
R300_RR_ROUTE_1 still needs to be initialized.
2006-07-05 13:28:01 +00:00
Brian Paul
1ff8daf21e
New animated engine demo.
2006-07-04 21:43:21 +00:00
Jerome Glisse
1ad914575a
Add R300_VAP_CNTL 0x2140 and cosmetic cleanup.
2006-07-04 20:50:49 +00:00
Brian Paul
525eb0b621
added linux-osmesa
2006-07-04 16:49:58 +00:00
Brian Paul
f385cf115a
simple libOSMesa.so-only config, no X
2006-07-04 16:49:41 +00:00
Brian Paul
c6e1784062
enable hw antialiasing (Martijn van Oosterhout)
2006-07-04 13:37:19 +00:00
Brian Paul
2922aa236f
fix linking bug (bug 7405)
2006-07-03 23:12:16 +00:00
Brian Paul
77afb43519
additional clipping/viewport fixes (Martijn van Oosterhout)
2006-07-03 23:08:33 +00:00
Roland Scheidegger
46c1419c93
some minor simplifications (same as in r300 driver) since mesa's internally used swizzle and writemask flags are identical to the bits used on the hardware, use a macro to error out if these assumptions are no longer true.
2006-07-03 22:14:54 +00:00
Roland Scheidegger
bf35d70635
check if radeon_drm.h from libdrm is new enough, otherwise print an error to make it easier to figure out why it won't compile...
2006-07-03 22:11:44 +00:00
Jerome Glisse
69f31f5475
Add copyright header and minor cleanup.
2006-07-03 21:35:07 +00:00
Brian Paul
bfb2729f9e
disable a new mem leak check until we're sure it's valid
2006-07-03 13:20:32 +00:00
Brian Paul
a6c72b67f6
fix clipping bug on context change (Martijn van Oosterhout)
2006-07-03 13:17:00 +00:00
Tilman Sauerbeck
527cd2544f
initialize offset to avoid bogus warnings from valgrind
2006-07-01 21:27:34 +00:00