summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: fix legacy dri driver buildJohannes Obermayr2010-02-173-8/+6
|
* dri/nouveau: Use event driven buffer validation.Francisco Jerez2010-02-162-4/+41
|
* dri2: Event driven buffer validation.Francisco Jerez2010-02-165-12/+20
| | | | | | | | | | | | | | | | | | When a buffer invalidation event is received from the X server, the "invalidate" hook of the DRI2 flush extension is executed: A generic implementation (dri2InvalidateDrawable) is provided that just bumps the "pStamp" sequence number in __DRIdrawableRec. For old servers not supporting buffer invalidation events, the invalidate hook will be called before flushing the fake front/back buffer (that's typically once per frame -- not a lot worse than the situation we were in before). No effort has been made on preserving backwards compatibility with version 2 of the flush extension, but I think it's acceptable because AFAIK no released stack is making use of it. Signed-off-by: Kristian Høgsberg <[email protected]>
* dri2: Allocate cliprect as part of the __DRIdrawableRecKristian Høgsberg2010-02-162-4/+8
|
* r600: use new program cloning functionsBrian Paul2010-02-141-1/+1
|
* r300: use new program cloning functionsBrian Paul2010-02-141-1/+1
|
* r600: Silence uninitialized variable warnings.Vinson Lee2010-02-141-0/+4
|
* r300: Silence uninitialized variable warning.Vinson Lee2010-02-141-1/+1
|
* r600: Silence uninitialized variable warning.Vinson Lee2010-02-141-1/+1
|
* i965: Remove unnecessary headers.Vinson Lee2010-02-121-8/+0
|
* dri: Remove unnecessary headers.Vinson Lee2010-02-123-16/+0
|
* mesa: Remove unnecessary headers.Vinson Lee2010-02-122-3/+0
|
* intel: Remove unused variable.Vinson Lee2010-02-121-1/+0
|
* intel: Avoid dri_bo_flink() in intel_update_renderbuffers()Kristian Høgsberg2010-02-121-8/+2
| | | | | Now that we track the global name in struct intel_region, we can just look it up there.
* intel: Track named regions and make sure we only have one region per named boKristian Høgsberg2010-02-124-1/+41
|
* dri: Store the loader private passed in at dri context creationKristian Høgsberg2010-02-122-1/+7
| | | | We just threw it away before, but we haven't had a use for it yet.
* Revert "r600c: substract vbo offset to vbo size"Jerome Glisse2010-02-121-1/+1
| | | | | This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things
* r600c: substract vbo offset to vbo sizeJerome Glisse2010-02-121-1/+1
| | | | | To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size.
* r600: be more exact in vb size calculationAndre Maasikas2010-02-121-1/+2
| | | | | to make kernel cs checker happier, last attribs don't need full stride of space. Calculate as count-1*stride + size of attrib
* r600: support GL_SHORT attributesAndre Maasikas2010-02-121-5/+5
| | | | normalized seems to work with this setting.
* i915: Remove always-true irq_active struct intel_screen fieldKristian Høgsberg2010-02-113-8/+0
|
* i915: Remove a few DRI1 era struct intel_screen fieldsKristian Høgsberg2010-02-112-9/+0
|
* i915: Drop intelScreenPrivate typedef and just call it struct intel_screenKristian Høgsberg2010-02-114-15/+9
|
* i915: Remove unused intelRegion structKristian Høgsberg2010-02-111-23/+0
| | | | Phew, sure is nice to only have one struct called intel region.
* i915: Remove left-over drmUnmap()Kristian Høgsberg2010-02-112-7/+1
|
* ffb: Fix build.Vinson Lee2010-02-101-1/+1
|
* dri: Fix one last copy-and-paste brain damage from a previous commitIan Romanick2010-02-101-1/+1
|
* r300/compiler: r500-fs: Properly set HW register swizzles.Corbin Simpson2010-02-102-3/+14
| | | | Fixes fallout from 9a1bf52c.
* dri: Fix copy-and-paste brain damage in previous commitIan Romanick2010-02-107-9/+9
| | | | | | | | | | A number of places in 3cce4a1e10361458630511543b7a8a6438544775 use TRUE instead of GL_TRUE. This causes build failures in all of the drivers that I don't typically build. Win. Reported by sungami on IRC. Signed-off-by: Ian Romanick <[email protected]>
* intel: Don't expose GLX_SWAP_EXCHANGE_OMLIan Romanick2010-02-101-2/+1
| | | | | | | | | We can't always guarantee that the swap will happen by exchange, so we can't expose this mode. GLX_SWAP_UNDEFINED_OML already covers the case where the swap *might be* by exchange. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* intel: Expose a minimal number of configs with accumulation bufferIan Romanick2010-02-101-0/+28
| | | | | | | | | | Expose one config per color depth that includes accumulation buffer. We could probably expose only one config with accumulation buffer, but that would require figuring out the actual color depth. This is easier and only exposes 2 useless configs. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* dri: Allow selective generation of accum. buffer configsIan Romanick2010-02-1015-19/+26
| | | | | | | | | | | Modify the interface to driCreateConfigs allowing drivers to not expose configs with an accumuation buffer. All of the drivers calling function have been updated to pass true for the accumulation selector. This maintains the current behavior. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> Reviewed-by: Corbin Simpson <[email protected]>
* intel: Stop exposing useless 24 depth/0 stencil configsIan Romanick2010-02-101-7/+4
| | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* intel: Remove redundant init of depth_bits / stencil_bits in intelInitScreen2Ian Romanick2010-02-101-9/+0
| | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* intel: Update comment in intelInitScreen2 to noting DRI2 protocol issuesIan Romanick2010-02-101-3/+3
| | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* Add new symbol to exports listunknown2010-02-101-0/+1
|
* r600: Fix typo in __DRI_TEXTURE_FORMAT_RGBA renameKristian Høgsberg2010-02-101-1/+1
| | | | Oops, I n00bed it.
* radeon: Fix printf formatings to match te values.Pauli Nieminen2010-02-102-2/+2
|
* radeon: Define EXT_framebuffer_object constants to match hw.Pauli Nieminen2010-02-104-0/+9
| | | | | | This hides the assertion failure in glean/fbo test. Underlying problem when same texture is set twice to different attachments will cause assertion.
* dri_interface: Introduce DRI tokens for the texBuffer texture formatsKristian Høgsberg2010-02-095-19/+19
| | | | | | This used to take GLX tokens, but the DRI interface can't depend on GLX defines. We fix this by introducing DRI tokens that have the same value as the GLX texture format tokens.
* radeon: Add some debug output for fbo supportPauli Nieminen2010-02-094-0/+80
|
* r200: Fix UMS notto emit stp.Pauli Nieminen2010-02-091-1/+4
| | | | | Polgon stipples are handled by kernel in UMS. Mark the state as never to be emited for UMS.
* radeon: fix UMS since stp addition.Dave Airlie2010-02-081-1/+2
| | | | | | UMS doesn't need the STP atom. Signed-off-by: Dave Airlie <[email protected]>
* r200: Fix LOD min/max emit.Pauli Nieminen2010-02-072-7/+30
| | | | | | Just emit minLod and maxLod to correct reisters. Fixes lodclamp and levelclamp test cases from piglit.
* r100/r200/r300/r600: Set MaxCombinedTextureImageunits.Pauli Nieminen2010-02-074-0/+11
| | | | | | | Fixes glActiveTexture to set GL_INVALID_ENUM when trying to activate texture unit that is not available. piglit test case general/texunit passes now.
* r200: Fix lod bias correction.Pauli Nieminen2010-02-073-4/+7
| | | | | | glean/pointSprite shows that rv280 is trying to read from better quality mipmap level. We have to correct default lod bias to match required texture selection.
* r200: Add some debug output to texture function.Pauli Nieminen2010-02-061-15/+30
|
* r300: Fix emit size prediction to know about primitive splitting.Pauli Nieminen2010-02-061-2/+12
| | | | Fixes ut2004 warnings about overflowing command buffer.
* radeon: Add some debug output to texture function.\nPauli Nieminen2010-02-061-26/+84
|
* radeon: Use _mesa_next_pow_two_32 instead of own implementation.Pauli Nieminen2010-02-061-14/+1
|