Thomas Hellström
5db0e131ef
Fix intel texture image buffer leak.
2006-09-22 10:55:05 +00:00
Michel Dänzer
b249ff8a86
Fix INTEL_DEBUG=fall.
2006-09-20 16:07:39 +00:00
Michel Dänzer
9d6e0f5d64
Revert INTEL_FIREVERTICES to flush primitives instead of asserting none pending.
...
The assertion was triggered in some cases, e.g. by the xscreensaver hack
stonerview.
2006-09-20 15:29:36 +00:00
Thomas Hellström
4f8549634e
Fix a fencing bug.
2006-09-18 18:55:29 +00:00
Keith Whitwell
3345ab8ccf
fix bzflag crashes
2006-09-18 18:11:42 +00:00
Thomas Hellström
cd3c9febda
Check for NULL in intelSwapBuffers()
2006-09-18 14:18:14 +00:00
Thomas Hellström
8c58a32360
Fix fencing when submitting empty batchbuffers.
...
Add a proper buffer waitidle method.
2006-09-18 14:11:00 +00:00
Thomas Hellström
0d646ea3a8
Relax the requirement in pool_takedown in the intel batch buffer pool,
...
that all allocated buffes should've been handed back before releasing the
pool.
This is to account for the case where whe app calls DestroyScreen() without
first destroying all contexts.
2006-09-18 08:41:22 +00:00
Thomas Hellström
6a33e6d221
Wait for buffer idle unlocked before mapping in some cases.
...
Greatly improves responsiveness.
Add an MI_FLUSH after each batchbuffer and tell the kernel we're doing so with
the new DRM_I915_FENCE_FLAG_FLUSHED (Requires drm update).
This can be done on a per-batchbuffer basis.
The DRM handles all fence accounting and signals earlier fences that also needs
a flush.
2006-09-15 14:52:31 +00:00
Thomas Hellström
fc4bc6fc97
Adapt to updated libdrm.
2006-09-15 09:22:08 +00:00
Keith Whitwell
4239cfd534
Turn back on zcopy uploads - my timings were incorrect.
2006-09-14 14:48:34 +00:00
Keith Whitwell
b0902a4158
Silence debug, cope with calling intel_region_cow() with lock already held.
2006-09-14 14:48:09 +00:00
Keith Whitwell
269219dc05
Disable zero-copy texturing for now as it isn't such a win with the
...
newest memory manager code.
2006-09-14 12:11:46 +00:00
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