summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* radeon: Add some debug output to miptree code.Pauli Nieminen2010-02-061-23/+62
|
* radeon: Remove the loop from stride size calculation.Pauli Nieminen2010-02-061-8/+14
| | | | | | Changed stride size calculation to do the math by rounding the value instead of loop. r600 minimum stride is 256 which might might cause up to about 60 rounds of the loop.
* intel: Allow L8 PBO blit uploads.Damien Lespiau2010-02-061-0/+5
| | | | Bug #32810
* i965: Keep the CURBE BO mapped and memcpy instead of subdataing.Eric Anholt2010-02-063-11/+13
| | | | | | For the tiny bis of data we generally upload through the CURBEs, the overhead of the kernel's pagetable trickery is actually rather high. This improves cairo-gl gnome-terminal-vim performance by 3.8%.
* i965: Reset the "need new CURBE BO" flag when we make a new CURBE bo.Eric Anholt2010-02-061-0/+1
| | | | Improves cairo-gl gnome-terminal-vim times by 11%.
* intel: Check aperture size when doing a blit glClear.Eric Anholt2010-02-061-0/+10
| | | | Fixes failure in cairo-gl firefox-planet-gnome.
* intel: Allow PBO acceleration for GL_RGBA8 MESA_FORMAT_ARGB8888.Eric Anholt2010-02-061-0/+1
| | | | This improves firefox-talos-svg runtimes on cairo-gl by 14%.
* osmesa: Add OSMesaColorClamp and OSMesaGetProcAddress to symbol defs.Brian Paul2010-02-051-0/+2
| | | | | | | | | Without this patch, the two symbols get an underscore prepended and an "@4" appended when compiling with VC8. Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit e65029e9b32ddabea0ec583c04484345b40f1557)
* r200: Optimize polygon stipple emit.Pauli Nieminen2010-02-051-1/+10
| | | | Only emit polygon stipple when the state is enabled.
* r200: Add trace logging to r200PointSize.Pauli Nieminen2010-02-051-0/+7
|
* Merge commit 'fj/mesa-next'Keith Whitwell2010-02-0555-0/+11114
|\
| * Import a classic DRI driver for nv0x-nv2x.Francisco Jerez2010-02-0455-0/+11114
| |
* | r100: Add the polygon stipple state to the state list.Pauli Nieminen2010-02-051-0/+1
| | | | | | | | This fixes glean paths test case.
* | mesa: change ctx->Driver.ProgramStringNotify() to return GLbooleanBrian Paul2010-02-045-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | GL_TRUE indicates that the driver accepts the program. GL_FALSE indicates the program can't be compiled/translated by the driver for some reason (too many resources used, etc). Propogate this result up to the GL API: set GL_INVALID_OPERATION error if glProgramString() was called. Set shader program link status to GL_FALSE if glLinkProgram() was called. At this point, drivers still don't do any program checking and always return GL_TRUE.
* | r200: Add the polygon stipple state to the state list.Pauli Nieminen2010-02-041-0/+1
| | | | | | | | This fixes glean paths test case.
* | r200: Add logging for glPolygonStripple.Pauli Nieminen2010-02-041-0/+6
| |
* | radeon: Make debugging automaticaly increase logging verbosity for debug build.Pauli Nieminen2010-02-041-1/+5
|/ | | | | | | DEBUG preprocessor macro is set by configure script when --enable-debug is passed for configure. Radeon then just increase debugging verbosity if DEBUG is set in compile time.
* r600: reduce number of cache flushesAlex Deucher2010-02-042-3/+3
| | | | | | | We don't need to flush so often. Next step would be to move the flushing to the drm and only flush after each command buffer rather than each draw.
* mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez2010-02-037-7/+7
| | | | | | | | | | | This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <[email protected]>
* r300: fix compiler bugs introduced with MRT changes.Dave Airlie2010-02-032-2/+3
| | | | | | | the first looks like a definite bug, the second I'm not so confident of but it works. Signed-off-by: Dave Airlie <[email protected]>
* Track frag shader changes introduced by commit ↵Scott Moreau2010-02-021-1/+1
| | | | | | 4769566500be1a53dd9b4cc1a613aef439a0e3d8 Signed-off-by: Corbin Simpson <[email protected]>
* r300compiler: Add MRT number to debugging output.Corbin Simpson2010-02-022-4/+4
|