summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-09-29Use the BATCH_SZ macro where appropriate.texmem_0_3_20060929Thomas Hellström2-2/+3
Bump driver date.
2006-09-29Merge vsync changes from trunk.Michel Dänzer17-151/+322
2006-09-28Do some extra checking to avoid segfaults when incorrect AGP is in use.Alan Hourihane2-1/+12
2006-09-28Add 'GL_RGBA8' as a supported internalFormat forKeith Whitwell1-4/+10
get_teximage_source(). Fixes subtexrate demo.
2006-09-28Update drm expected version.texmem_0_3_20060923Thomas Hellström1-1/+1
2006-09-28Driver date.Thomas Hellström1-1/+1
2006-09-27Fix mipmap posititioning for 2d ARB_npot textures.Keith Whitwell1-11/+28
Fix typo in 3D image layout for i915.
2006-09-27Fix another single-drawable-multiple-contexts error, that shows up now that theThomas Hellström1-4/+4
drm_lock_tranfer() function has been removed from drm. The error can cause the wrong context number to be used in the lock, but otherwise should've done no serious harm. We can probably throw away the i915 lock_mutex now.
2006-09-26Valgrind error fix.Thomas Hellström1-1/+2
2006-09-26Move get_dirty() call to after reserving space in the batchbuffer asKeith Whitwell1-1/+15
this may trigger a batchbuffer flush and raise new dirty state. Add assert_not_dirty() callback required by recent changes.
2006-09-26Add asserts to catch primitives being emitted with state still dirty,Keith Whitwell4-80/+76
or extended when there is no primitive to extend. Turn lock/unlock macros into proper functions and add a debug flag to print out their activity.
2006-09-26Move get_dirty() call to after reserving space in the batchbuffer asKeith Whitwell1-1/+6
this may trigger a batchbuffer flush and raise new dirty state.
2006-09-26Ensure that we don't wrap batchbuffers right at the beginning of aKeith Whitwell1-0/+10
primitive, otherwise vertices can be emitted without the full-state preamble. Fixes gears + texobj lockup.
2006-09-26Small COW break on destruction optimization.Thomas Hellström2-6/+4
Fix a comment.
2006-09-26Fix up buffer object and region refcountingThomas Hellström7-16/+19
Sinlence some compilation warnings.
2006-09-25Make regions screen-based instead of context based.Thomas Hellström22-218/+299
2006-09-25Import Brian's FBO bugfix from trunk.Keith Whitwell1-0/+2
2006-09-22Add some more buffer usage refcounting.Thomas Hellström1-4/+13
Otherwise these texture buffers will disappear under us.
2006-09-22Remove redundant 3d-state validation prior to blit copypixels. TheseKeith Whitwell1-2/+0
were causing some issues.
2006-09-22Fix a longstanding memory leak - intelObj->mt refcount was not deletedKeith Whitwell1-1/+19
when the texture was deleted.
2006-09-22Turn some printfs into DBG's.Keith Whitwell1-7/+8
Fix a little mess left by indent.
2006-09-22rationalize debugging flagsKeith Whitwell8-129/+86
2006-09-22Silence warningKeith Whitwell1-0/+1
2006-09-22intel_batch_ioctl() lost its return type somehowKeith Whitwell1-0/+1
2006-09-22Fix initialization of pfPitch - measured in pixels, not bytes.Keith Whitwell1-1/+1
2006-09-22Another obscure bug causing an infinite loop when multiple contexts areThomas Hellström1-2/+4
bound to a drawable.
2006-09-22bring in recent texture swizzle changes from trunkKeith Whitwell2-132/+606
2006-09-22- Make point_smooth, polygon_smooth fallbacks per-primitive rather than total.Keith Whitwell5-25/+63
- Also - disable those fallbacks unless INTEL_STRICT_CONFORMANCE is set. - Gate some FBO debugging on INTEL_DEBUG=fbo
2006-09-22Fix bug detecting overlapping regions in texture copypixels.Keith Whitwell1-17/+72
Import code from trunk to allow blit copypixels when scissor is active.
2006-09-22Check for FragmentProgram._Enabled rather than _Active. _Active isKeith Whitwell3-24/+18
set when a driver is using an internally generated fragment program to emulate fixed function behaviour. For the software rasterizer, we're better off using the fixed function code directly.
2006-09-22Flush driver, not just tnl module.Keith Whitwell1-0/+21
2006-09-22resize buffers in MakeCurrentKeith Whitwell3-10/+14
2006-09-22Fix intel texture image buffer leak.Thomas Hellström2-3/+3
2006-09-20Fix INTEL_DEBUG=fall.Michel Dänzer1-8/+15
2006-09-20Revert INTEL_FIREVERTICES to flush primitives instead of asserting none pending.Michel Dänzer5-22/+11
The assertion was triggered in some cases, e.g. by the xscreensaver hack stonerview.
2006-09-18Fix a fencing bug.Thomas Hellström1-4/+4
2006-09-18fix bzflag crashesKeith Whitwell2-0/+6
2006-09-18Check for NULL in intelSwapBuffers()Thomas Hellström1-1/+6
2006-09-18Fix fencing when submitting empty batchbuffers.Thomas Hellström9-30/+76
Add a proper buffer waitidle method.
2006-09-18Relax the requirement in pool_takedown in the intel batch buffer pool,Thomas Hellström3-1/+17
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-15Wait for buffer idle unlocked before mapping in some cases.Thomas Hellström6-8/+26
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-15Adapt to updated libdrm.Thomas Hellström8-18/+13
2006-09-14Turn back on zcopy uploads - my timings were incorrect.Keith Whitwell1-1/+1
2006-09-14Silence debug, cope with calling intel_region_cow() with lock already held.Keith Whitwell1-12/+25
2006-09-14Disable zero-copy texturing for now as it isn't such a win with theKeith Whitwell1-3/+5
newest memory manager code.
2006-09-13Fix a FBO render offset bug.Thomas Hellström2-10/+3
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-13update driver date and branch debugKeith Whitwell2-2/+2
2006-09-13Bring in writemask + TEX fix from trunkKeith Whitwell1-14/+36
2006-09-12texmem_0_3_branch with adaptations to the drm-ttm-0-2 branch.Thomas Hellström73-7067/+7965
Indent the i915 driver directory.
2006-08-30Must lock hardware around call to intelEmitCopyBlit()Keith Whitwell1-1/+6