summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* svga: Add a missing dependency from the prescale state.José Fonseca2009-12-111-1/+2
| | | | | | Thanks for Keith to finding this. Fixes Jedi Knight 2 menus.
* svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC.José Fonseca2009-12-111-0/+9
| | | | | | | | | Since we're reusing buffers we're effectively transforming all of them into dynamic buffers. It would be nice to not cache long lived static buffers. But there is no way to detect the long lived from short lived ones yet. A good heuristic would be buffer size.
* svga: Keep tight control of texture handle ownership.José Fonseca2009-12-112-17/+27
| | | | | | | | | | The texture owns the surface handle. All derivatives need to keep a reference to texture. This fixes several assertions failures starting up Jedi Knight 2. Should cause no change for DRM surface sharing -- reference count still done as before there.
* svga: Fix mixed signed comparisons.José Fonseca2009-12-111-1/+1
|
* scons: Pass -fno-strict-aliasing to gcc.José Fonseca2009-12-111-0/+1
| | | | | | | Strict aliasing tule violations were fixed on master, but they're still causing problem in this branch, so disable this assumptions. Do not apply this fix to master (revert when you merge).
* scons: Make it work with MinGW build of LLVM 2.6.José Fonseca2009-12-111-25/+27
| | | | LLVM 2.5 is no longer supported on windows.
* intel: Remove ARGB internal_format == GL_RGB hacksIan Romanick2009-12-104-52/+17
| | | | | Now that XRGB is supported, we don't need to hack around cases of an RGBA format buffer with an internal format of GL_RGB.
* intel: Make RGB textures use XRGB8888Ian Romanick2009-12-101-4/+2
|
* intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.Ian Romanick2009-12-101-5/+1
|
* i965: Fix handling of drawing to MESA_FORMAT_XRGB8888Ian Romanick2009-12-102-3/+48
| | | | | | | It turns out that 965 and friends cannot actually render to an xRGB surfaces. Instead, the surface has to be RGBA with writes to alpha disabled and the blend function modified to always use 1.0 for destination alpha.
* intel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888Ian Romanick2009-12-101-1/+1
|
* spantmp2: Add support for GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REVIan Romanick2009-12-101-0/+57
| | | | | This is really for MESA_FORMAT_XRGB8888. Clearly spantmp2.h needs some re-work. Any volunteers?
* intel: name in intel_create_renderbuffer was always 0, removeIan Romanick2009-12-101-2/+1
|
* intel: Use texformat accessor to get bytes-per-pixelIan Romanick2009-12-101-7/+1
|
* intel: softwareBuffer in intel_alloc_renderbuffer_storage was always false, ↵Ian Romanick2009-12-101-22/+15
| | | | remove
* intel: Axe intel_renderbuffer::texformatIan Romanick2009-12-107-24/+13
| | | | | Since the texformat branch merge, the value of intel_renderbuffer::texformat is just a copy of gl_renderbuffer::Format.
* intel: Flush the render/texture cache when finishing render to texture.Eric Anholt2009-12-101-1/+9
| | | | | | | | | | Back when we were flushing the entire batch at BindFramebuffer, the kernel would notice the domain transition when someone went to texture from it and flush for us. We no longer do the batch flushing every time, so we get to do aggressive flushing until we move batchbuffer handling to libdrm. Fixes piglit fbo-flushing. Bug #25377. No noticeable performance loss on cairo-gl (so this is better than batch flushing).
* st/xorg: fix yv12 plus some cleanups in the upload codeZack Rusin2009-12-101-57/+70
|
* st/xorg: enable yv12 for xvZack Rusin2009-12-101-1/+4
|
* mesa: Fix SCons build.Vinson Lee2009-12-091-1/+0
| | | | | Commit cd6b8dd9e82fedc55d033131fbc0f8ee950567c8 deleted src/mesa/state_tracker/st_cb_get.c.
* vmware/xorg: Properly detect overlay supportJakob Bornecrantz2009-12-093-0/+38
|
* vmware/core: Update vmwgfx_drm.hJakob Bornecrantz2009-12-091-2/+4
|
* meta: Bind texture to unit 0 for mipmap generationIan Romanick2009-12-091-0/+4
| | | | | | | If the active texture unit on entry to mipmap generation is not zero, bind the texture to unit zero. Fixes bug #24219.
* mesa: Move OES_read_format support from drivers into the core.Eric Anholt2009-12-0910-154/+43
| | | | | | | | | | | The assertion is that the correct read type to be using is the native type of the underlying read renderbuffer. For some fallback paths, this may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work. This fixes the intel (and other) DRI drivers to report read formats that should hit blit PBO readpixels paths.
* i965: Enable the accelerated ReadPixels path on gen4 along with pre-gen4.Eric Anholt2009-12-081-1/+1
| | | | Passes piglit pbo-read-argb8888, and doesn't otherwise regress quick.tests.
* vmware/xorg: Also stop ports on closeJakob Bornecrantz2009-12-041-1/+2
|
* vmware/xorg: Stop video ports on leave vtJakob Bornecrantz2009-12-043-0/+56
|
* st/xorg: Add enter/leave vt hooks for winsysJakob Bornecrantz2009-12-042-0/+8
|
* st/xorg: Fix leave enter vt cycle in crtc codeJakob Bornecrantz2009-12-041-4/+3
|
* st/xorg: New libkms destroy apiJakob Bornecrantz2009-12-042-7/+5
|
* vmware/xorg: Fix SCons build.Michel Dänzer2009-12-082-0/+4
| | | | Not sure how vmw_screen.c could build at all though...
* vmware/xorg: Avoid warning about HAVE_STDINT_H being redefined.Michel Dänzer2009-12-081-1/+3
|
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchAndre Maasikas2009-12-084-21/+18
|\
| * r600: add support for TXB instructionAndre Maasikas2009-12-081-17/+9
| | | | | | | | | | makes testing other things easier - does not hang the card TODO: enable TEX dependency tracking in vertex programs
| * r600: reorder state for render_target and blendAndre Maasikas2009-12-081-1/+1
| | | | | | | | | | | | | | First time around render targets are not enabled yet (done in r700SendRenderTargetState) so blend state is not emitted for any targets. Affects first glClear in some mesa tests. As a quick fix reorder state emit so that target is set first
| * llvmpipe: Initialize variables in emit_instruction.Vinson Lee2009-12-071-3/+3
| |
| * progs/test: Initialize variable in prog_parameter.Vinson Lee2009-12-071-0/+5
| | | | | | | | Silences uninitialized variable compiler warning.
* | mesa: set version string to 7.7-rc1mesa_7_7_rc2Ian Romanick2009-12-072-2/+2
| | | | | | | | Also modify the Makefile to use the correct version for the tarballs.
* | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-12-0714-39/+58
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: progs/demos/projtex.c progs/xdemos/glxinfo.c src/mesa/main/version.h To fix the confilicts in projtex.c and glxinfo.c I just took the code from mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from mesa_7_7_branch to mesa_7_6_branch followed by commmits just to mesa_7_6_branch.
| * mesa: set version string to 7.6.1-rc3mesa_7_6_1_rc3Ian Romanick2009-12-071-1/+1
| |
| * progs/demos: Fix memory leak in projtex.c.Vinson Lee2009-12-071-0/+1
| |
| * st/egl: Fix memory leak in egl_tracker.c.Vinson Lee2009-12-061-1/+1
| | | | | | | | (cherry picked from commit 052b127842af3372fd768eae8e29b240a696a12a)
| * dri: Fix potential null pointer dereference in driBindContext.Vinson Lee2009-12-061-1/+2
| | | | | | | | (cherry picked from commit 919898e92fa23ff71a59d86a46ff0886a6f34e4d)
| * dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee2009-12-061-4/+4
| | | | | | | | (cherry picked from commit 364070b1f2b08d43fb205ec198894a35bec6b2f3)
| * glx: Prevent potential null pointer deference in driCreateContext.Vinson Lee2009-12-061-1/+3
| | | | | | | | (cherry picked from commit 4b0b250aae6ae7d48cd24f9d91d05ab58086c4b2)
| * progs/tests: Add tests to Makefile.Vinson Lee2009-12-051-0/+7
| | | | | | | | (cherry picked from commit 76d2ec3a0a047a65ffca70f53848241a3225dad3)
| * draw: Initialize variable in draw_pt.c.Vinson Lee2009-12-051-1/+2
| | | | | | | | (cherry picked from commit ea98e9820d7117f7a187f355445796b1ef5d9e0c)
| * mesa: Fix array out-of-bounds access by _mesa_TexGenf.Vinson Lee2009-12-051-1/+4
| | | | | | | | | | | | _mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument as an array. (cherry picked from commit ca5a7aadb4361e7d053aea8687372cd44cbd8795)
| * mesa: Fix array out-of-bounds access by _mesa_TexGeni.Vinson Lee2009-12-051-1/+4
| | | | | | | | | | | | _mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument as an array. (cherry picked from commit d55fb7c835b56951f05a058083e7eda264ba192e)
| * mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee2009-12-051-2/+7
| | | | | | | | | | | | _mesa_TexParameterf calls set_tex_parameterf, which uses the params argument as an array. (cherry picked from commit 270d36da146b899d39e08f830fe34b63833a3731)