Thomas Hellström
5dbadd418c
Fix a FBO render offset bug.
...
The current code failed if the dri drawable was updated before the call to
intelFlush(), and typically rendered into an FBO using the back buffer
cliprects.
2006-09-13 15:10:09 +00:00
Keith Whitwell
71bce51324
update driver date and branch debug
2006-09-13 12:45:42 +00:00
Keith Whitwell
308d377ca8
Bring in writemask + TEX fix from trunk
2006-09-13 12:45:21 +00:00
Thomas Hellström
4f39d22c29
texmem_0_3_branch with adaptations to the drm-ttm-0-2 branch.
...
Indent the i915 driver directory.
2006-09-12 14:13:36 +00:00
Keith Whitwell
ec30116c9f
Must lock hardware around call to intelEmitCopyBlit()
2006-08-30 20:18:33 +00:00
Keith Whitwell
5ac3ad7722
implement zero-copy uploads for glTexImage from suitable pixel buffer objects
2006-08-30 19:55:32 +00:00
Keith Whitwell
137dcd4a46
remove orphan file
2006-08-29 12:11:22 +00:00
Keith Whitwell
0d7755fc73
remove i915_texprog.c as it is no longer needed
2006-08-29 11:58:23 +00:00
Keith Whitwell
c863e63549
remove hashing for bm buffers, use an opaque pointer instead of an integer
2006-08-29 11:45:13 +00:00
Keith Whitwell
bf0c1ca618
use mesa's texenvprogram in preference to i915 version. Enable tex_env_crossbar
2006-08-28 11:50:10 +00:00
Keith Whitwell
64bc9caa1c
various texture tweaks
2006-08-28 11:49:30 +00:00
Keith Whitwell
89a2ea6fd3
Add missing wait for busy buffers in bmMapBuffer()
2006-08-28 11:37:07 +00:00
Keith Whitwell
41123a85ec
Fixes for i945 texture layouts
2006-08-28 11:35:20 +00:00
Dave Airlie
c745394242
fix from i965 driver for compressed textures on texman
2006-08-16 03:33:00 +00:00
Keith Whitwell
f9f3de8c31
first pass at texture uploads from pbo's with the blitter
2006-08-03 15:41:10 +00:00
Keith Whitwell
219ee91fa8
Get basic texturing working again on i945
2006-08-03 11:22:09 +00:00
Keith Whitwell
632eae3fec
Correct pitch / cpp calculation
2006-08-03 10:31:47 +00:00
Keith Whitwell
f378bcd8bf
drmOpen/Close once
2006-08-02 10:24:01 +00:00
Keith Whitwell
ded29089f3
new files from merge of texmem driver
2006-08-02 10:08:58 +00:00
Keith Whitwell
527c05eb2a
Pull the texmem i915 driver onto a new branch closer to the current trunk.
...
Compiles but otherwise untested.
2006-08-02 10:01:03 +00:00
Michal Krol
365582dd6f
Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.
2006-08-01 20:07:31 +00:00
Brian Paul
e724324894
renderbuffer fixes (Sean D'Epagnier)
2006-08-01 14:33:05 +00:00
Claudio Ciccani
9a4f15ee59
Fixed warnings.
2006-08-01 14:32:02 +00:00
Aapo Tahkola
689df543db
fix #6991
2006-07-31 23:21:50 +00:00
Brian Paul
fe3242f00a
GLUT on fbdev driver. Sean D'Epagnier
2006-07-31 14:24:21 +00:00
Michal Krol
e8947a5fa0
Add support for GL_MESA_shader_debug.
2006-07-30 15:29:11 +00:00
Michal Krol
32bf274f78
Program to convert .syn file to .h headers.
2006-07-30 14:48:01 +00:00
Claudio Ciccani
fc434622b3
Clear window's event mask before enabling handled events.
2006-07-30 14:47:51 +00:00
Michal Krol
4cc87c7248
Add support for GL_MESA_shader_debug.
2006-07-30 14:45:25 +00:00
Eric Anholt
0e6ef1b1cd
Fix build failure in the savage driver.
2006-07-28 21:30:14 +00:00
Jerome Glisse
32d61d0616
r300_emit.h cleanup.
...
Remove unused macro
Replace LOCAL_VAR, PREFIX*
Indent code
Remove radeon redundant CP type 3 packet
2006-07-27 22:51:14 +00:00
Brian Paul
a7722cb794
load SLANG_FRAGMENT_FIXED_SECONDARYCOLOR
2006-07-21 20:52:43 +00:00
Brian Paul
c28399baa7
just reindent
2006-07-21 20:49:20 +00:00
Brian Paul
9d9d7b1dee
check for non-nill pwc in WMesaMakeCurrent(), bug 7585
2006-07-21 19:52:59 +00:00
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
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
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
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