summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2010-02-12intel: Remove unused variable.Vinson Lee
2010-02-12intel: Avoid dri_bo_flink() in intel_update_renderbuffers()Kristian Høgsberg
Now that we track the global name in struct intel_region, we can just look it up there.
2010-02-12intel: Track named regions and make sure we only have one region per named boKristian Høgsberg
2010-02-12dri: Store the loader private passed in at dri context creationKristian Høgsberg
We just threw it away before, but we haven't had a use for it yet.
2010-02-12Revert "r600c: substract vbo offset to vbo size"Jerome Glisse
This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things
2010-02-12r600c: substract vbo offset to vbo sizeJerome Glisse
To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size.
2010-02-12r600: be more exact in vb size calculationAndre Maasikas
to make kernel cs checker happier, last attribs don't need full stride of space. Calculate as count-1*stride + size of attrib
2010-02-12r600: support GL_SHORT attributesAndre Maasikas
normalized seems to work with this setting.
2010-02-11i915: Remove always-true irq_active struct intel_screen fieldKristian Høgsberg
2010-02-11i915: Remove a few DRI1 era struct intel_screen fieldsKristian Høgsberg
2010-02-11i915: Drop intelScreenPrivate typedef and just call it struct intel_screenKristian Høgsberg
2010-02-11i915: Remove unused intelRegion structKristian Høgsberg
Phew, sure is nice to only have one struct called intel region.
2010-02-11i915: Remove left-over drmUnmap()Kristian Høgsberg
2010-02-10ffb: Fix build.Vinson Lee
2010-02-10dri: Fix one last copy-and-paste brain damage from a previous commitIan Romanick
2010-02-10r300/compiler: r500-fs: Properly set HW register swizzles.Corbin Simpson
Fixes fallout from 9a1bf52c.
2010-02-10dri: Fix copy-and-paste brain damage in previous commitIan Romanick
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 <ian.d.romanick@intel.com>
2010-02-10intel: Don't expose GLX_SWAP_EXCHANGE_OMLIan Romanick
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 <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-10intel: Expose a minimal number of configs with accumulation bufferIan Romanick
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 <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-10dri: Allow selective generation of accum. buffer configsIan Romanick
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 <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-10intel: Stop exposing useless 24 depth/0 stencil configsIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-10intel: Remove redundant init of depth_bits / stencil_bits in intelInitScreen2Ian Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-10intel: Update comment in intelInitScreen2 to noting DRI2 protocol issuesIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-10r600: Fix typo in __DRI_TEXTURE_FORMAT_RGBA renameKristian Høgsberg
Oops, I n00bed it.
2010-02-10radeon: Fix printf formatings to match te values.Pauli Nieminen
2010-02-10radeon: Define EXT_framebuffer_object constants to match hw.Pauli Nieminen
This hides the assertion failure in glean/fbo test. Underlying problem when same texture is set twice to different attachments will cause assertion.
2010-02-09dri_interface: Introduce DRI tokens for the texBuffer texture formatsKristian Høgsberg
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.
2010-02-09radeon: Add some debug output for fbo supportPauli Nieminen
2010-02-09r200: Fix UMS notto emit stp.Pauli Nieminen
Polgon stipples are handled by kernel in UMS. Mark the state as never to be emited for UMS.
2010-02-08radeon: fix UMS since stp addition.Dave Airlie
UMS doesn't need the STP atom. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-07r200: Fix LOD min/max emit.Pauli Nieminen
Just emit minLod and maxLod to correct reisters. Fixes lodclamp and levelclamp test cases from piglit.
2010-02-07r100/r200/r300/r600: Set MaxCombinedTextureImageunits.Pauli Nieminen
Fixes glActiveTexture to set GL_INVALID_ENUM when trying to activate texture unit that is not available. piglit test case general/texunit passes now.
2010-02-07r200: Fix lod bias correction.Pauli Nieminen
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.
2010-02-06r200: Add some debug output to texture function.Pauli Nieminen
2010-02-06r300: Fix emit size prediction to know about primitive splitting.Pauli Nieminen
Fixes ut2004 warnings about overflowing command buffer.
2010-02-06radeon: Add some debug output to texture function.\nPauli Nieminen
2010-02-06radeon: Use _mesa_next_pow_two_32 instead of own implementation.Pauli Nieminen
2010-02-06radeon: Add some debug output to miptree code.Pauli Nieminen
2010-02-06radeon: Remove the loop from stride size calculation.Pauli Nieminen
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.
2010-02-06intel: Allow L8 PBO blit uploads.Damien Lespiau
Bug #32810
2010-02-06i965: Keep the CURBE BO mapped and memcpy instead of subdataing.Eric Anholt
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%.
2010-02-06i965: Reset the "need new CURBE BO" flag when we make a new CURBE bo.Eric Anholt
Improves cairo-gl gnome-terminal-vim times by 11%.
2010-02-06intel: Check aperture size when doing a blit glClear.Eric Anholt
Fixes failure in cairo-gl firefox-planet-gnome.
2010-02-06intel: Allow PBO acceleration for GL_RGBA8 MESA_FORMAT_ARGB8888.Eric Anholt
This improves firefox-talos-svg runtimes on cairo-gl by 14%.
2010-02-05r200: Optimize polygon stipple emit.Pauli Nieminen
Only emit polygon stipple when the state is enabled.
2010-02-05r200: Add trace logging to r200PointSize.Pauli Nieminen
2010-02-05Merge commit 'fj/mesa-next'Keith Whitwell
2010-02-05r100: Add the polygon stipple state to the state list.Pauli Nieminen
This fixes glean paths test case.
2010-02-04mesa: change ctx->Driver.ProgramStringNotify() to return GLbooleanBrian Paul
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.
2010-02-04r200: Add the polygon stipple state to the state list.Pauli Nieminen
This fixes glean paths test case.