aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-1913-29/+25
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_atoi in favor of plain atoi.Kenneth Graunke2010-02-191-2/+2
|
* Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke2010-02-195-11/+9
|
* Remove _mesa_strncpy in favor of plain strncpy.Kenneth Graunke2010-02-191-1/+1
|
* gamma: s#colormac.h#main/colormac.h#Vinson Lee2010-02-196-6/+6
|
* gamma: s/gammacontext.h/gamma_context.h/Vinson Lee2010-02-1914-14/+14
|
* i915: update render buffers at prepare_render timeJesse Barnes2010-02-181-0/+1
| | | | | We need to do this before we emit any state dependent on the current render buffers.
* intel: Include main/hash.h using "" instead of <>Kristian Høgsberg2010-02-181-1/+1
|
* intel: Implement the DRI2 invalidate function properlyKristian Høgsberg2010-02-1716-48/+79
| | | | | | | | | | | | | | | | | | | This uses a stamp mechanisms to mark the DRI drawable as invalid. Instead of immediately updating the buffers we just bump the drawable stamp and call out to DRI2GetBuffers "later". "Later" used to be at LOCK_HARDWARE time, and this patch brings back callouts at the points where we used to call LOCK_HARDWARE. A new function, intel_prepare_render(), is called where we used to call LOCK_HARDWARE, and if the buffers are invalid, we call out to DRI2GetBuffers there. This lets us invalidate buffers only when notified instead of on every glViewport() call. If the loader calls the DRI invalidate entrypoint, we disable viewport triggered buffer invalidation. Additionally, we can clean up the old viewport mechanism a bit, since we can just invalidate the buffers and not worry about reentrancy and whatnot.
* dri/nouveau: Some multithreaded rendering fixes.Francisco Jerez2010-02-1718-1278/+1124
|
* 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.