summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bufmgr_fake: disable debugging againDave Airlie2008-04-161-1/+1
|
* intel: fix _mesa_error ctx I introduced at lsat minuteDave Airlie2008-04-162-1/+34
|
* intel/fake_bufmgr: Attempt to restrict references to objects in a ↵Dave Airlie2008-04-167-18/+187
| | | | | | | | | | | | | | | | | | | | | | | | batchbuffer > aperture size. So with compiz on Intel hw with fake bufmgr, opening 4 firefox windows at 1680x1050 and hitting alt-tab, could cause the batchbuffer to try and reference more than the 32MB of RAM allocated. Fix 1: Fix 1 is to pre-verify the list of buffers against the current batchbuffer and if it can't possibly fit in the aperture to flush the batchbuffer to the hardware and try again. If the buffers still can't fit well then you are hosed as I'm not sure there is a nice way to tell anyone. Fix 2: Next problem was that even with a simple check for total < aperture, we ran into fragmentation issues, this meant that half way down a set of buffers, we would fail as no blocks were available. Fix this by nuking the memory manager from orbit and letting it start again and relayout the blocks in a manner that fits. Fix 3: Finally the initial problem we were seeing was a memcpy to a NULL backing store. We seem to end up with a texture at some point that never gets mapped but ends up with data in it. compiz al-tab icons have this property. So I created a card dirty bit that memcpy's any buffer that is !static and is written to back to memory. This probably is wrong but it makes compiz work for now. Caveats: 965 support is still fail.
* fix multi-draw buffer regressionBrian2008-04-141-2/+1
|
* only use __x86_64__, not __amd64__ (bug 15503)Brian Paul2008-04-143-3/+3
|
* fix GL_ARB_texture_rectangle breakageBrian Paul2008-04-141-3/+3
|
* check for _WIN32 and __WIN32__Brian Paul2008-04-141-2/+2
|
* define #extension GL_ARB_texture_rectangleDavid Flynn2008-04-141-0/+4
|
* r200: fix XPD vertex program instruction when using temps as inputsRoland Scheidegger2008-04-121-3/+13
| | | | | | | due to the two read ports limit into temp memory may need the MAD_2 instruction for the second instruction of the decomposed XPD. While here, also try to avoid MAD_2 for MAD if all 3 inputs are temps but the temps aren't actually distinct.
* fix failed assertion (parameter can be a PROGRAM_CONSTANT)Brian Paul2008-04-111-0/+1
|
* add missing glViewport callsBrian Paul2008-04-111-0/+6
|
* commentsBrian Paul2008-04-111-2/+7
|
* Get the default GLXPixmap texture target from the server when appropriate.Michel Dänzer2008-04-101-27/+37
| | | | | | | Fixes compiz with direct rendering when both GLX_TEXTURE_2D_EXT and GLX_TEXTURE_RECTANGLE_EXT are supported for a GLXPixmap and the application didn't specify the texture target as a GLX drawable attribute when creating the GLX drawable.
* more make clean itemsBrian2008-04-091-0/+1
|
* use InitUniforms()Brian2008-04-091-24/+1
|
* Replace duplicated code with new shaderutil.c functionsBrian2008-04-0912-1075/+200
|
* shader utility functionsBrian2008-04-092-0/+193
|
* Add support for dfbsd to mklib script.Hasso Tepper2008-04-091-1/+4
|
* Add $(X11_INCLUDES) to shut makedepend up.Hasso Tepper2008-04-092-2/+2
|
* autoconf: Add dfbsd support.Hasso Tepper2008-04-091-2/+2
|
* Handle fbconfig comparison correctly for attributes the X server didn't send.Jie Luo2008-04-082-5/+6
|
* Only convert configs if screen creation was successful.Kristian Høgsberg2008-04-082-9/+11
| | | | Thanks to Adam Jackson for pointing it out.
* r300: Fix r300VAPInputRoute{0,1} for big endian platforms.Michel Dänzer2008-04-071-11/+19
|
* 7.0.3 updatesBrian2008-04-042-1/+4
|
* updated w/ 7.0.3 releaseBrian2008-04-041-0/+7
|
* import 7.0.3 relnotes from 7.0 branchBrian2008-04-041-0/+84
|
* added glGetActiveUniform_funcBrian2008-04-041-0/+2
|
* mesa: add missing glPush/PopMatrix() callsBrian2008-04-041-0/+2
|
* mesa: add missing glPush/PopMatrix() callsBrian2008-04-041-0/+2
|
* rewrite some of the mat*mat, mat*vec intrinsicsBrian2008-04-033-567/+336
| | | | Also, remove obsolete matrix codegen code.
* silence warningBrian2008-04-031-1/+1
|
* Pick up dri2proto from the standard proto header include path.Kristian Høgsberg2008-04-022-2/+2
|
* Initialize GLX_EXT_texture_from_pixmap attributes correctly.Kristian Høgsberg2008-04-023-14/+11
|
* fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269)Roland Scheidegger2008-04-011-1/+1
|
* added some missing calls to _mesa_enable_x_y_extensions()Brian2008-04-013-0/+8
|
* Use AC_CHECK_PROGS to find alternate make programsDan Nicholson2008-03-311-6/+2
| | | | | | | | The autoconf macro AC_PATH_PROGS handles the case of searching for multiple program names already, so we don't need to open code it. Also changed the search to AC_CHECK_PROGS so that it doesn't set the full path unless the user specified. Finally, report back the found value at the end for what the user should run.
* fix parsing bug involving comments at the end of ARB v/f programsMarkus Amsler2008-03-312-6/+6
|
* DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg2008-03-3138-1661/+2505
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
* mesa: Free all shader program data before deleting allXiang, Haihao2008-03-312-0/+18
| | | | shader/shader program objects to avoid memory access error.
* Revert "mesa: separate shader program object from shader object." (bug#15244)Xiang, Haihao2008-03-313-21/+13
| | | | This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb.
* i915: texture object's lod bias. fix bug #15192Xiang, Haihao2008-03-314-5/+25
|
* r300: Copy-and-paste error from the vertex program branch.Markus Amsler2008-03-301-1/+2
|
* r300: Take PROGRAM_CONSTANT into account.Markus Amsler2008-03-302-0/+2
| | | | This bug was introduced by commit 978145a075255ae153ee05c2a037400e61558079.
* Merge branch 'r300-vertprog-branch' of ssh://people.freedesktop.org/~z3ro/mesaOliver McFadden2008-03-297-978/+821
|\
| * r300: Indented the vertex program code...Oliver McFadden2008-03-261-344/+474
| |
| * r300: Cleaned up the default vertex program code with longer lines.Oliver McFadden2008-03-261-28/+4
| |
| * r300: Removed the last of the duplicate vertex program macros.Oliver McFadden2008-03-262-51/+8
| |
| * r300: Added Copyright lines to the vertex program code.Oliver McFadden2008-03-261-14/+3
| |
| * r300: Renamed the Mesa opcode translation functions.Oliver McFadden2008-03-261-54/+54
| |
| * r300: Renamed the destination-and-opcode/source macros to more appropriate ↵Oliver McFadden2008-03-263-104/+104
| | | | | | | | names.