Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i965: fix vb aperture space check | Dave Airlie | 2008-04-18 | 1 | -4/+8 |
| | |||||
* | 965: fix vb upload size check | Dave Airlie | 2008-04-18 | 1 | -3/+5 |
| | |||||
* | i965: fix gs_prog aperture check | Dave Airlie | 2008-04-18 | 1 | -2/+4 |
| | |||||
* | i915: check for depth region before accounting its buffer size | Dave Airlie | 2008-04-18 | 1 | -1/+2 |
| | | | | fd.o bz #15573 | ||||
* | i965: initial attempt at fixing the aperture overflow | Dave Airlie | 2008-04-18 | 26 | -161/+385 |
| | | | | | | | | | Makes state emission into a 2 phase, prepare sets things up and accounts the size of all referenced buffer objects. The emit stage then actually does the batchbuffer touching for emitting the objects. There is an assert in dri_emit_reloc if a reloc occurs for a buffer that hasn't been accounted yet. | ||||
* | Revert "[i965] renable regative rhw test" | Xiang, Haihao | 2008-04-17 | 3 | -12/+16 |
| | | | | | This reverts commit 3158e981f5f37768e9b04765704b9eaece8b899b. rhw issue has gone away on IGD. | ||||
* | r200: accept PROGRAM_CONSTANT inputs due to mesa changes | Andrew Randrianasulu | 2008-04-17 | 1 | -0/+1 |
| | |||||
* | bufmgr_fake: disable debugging again | Dave Airlie | 2008-04-16 | 1 | -1/+1 |
| | |||||
* | intel: fix _mesa_error ctx I introduced at lsat minute | Dave Airlie | 2008-04-16 | 2 | -1/+34 |
| | |||||
* | intel/fake_bufmgr: Attempt to restrict references to objects in a ↵ | Dave Airlie | 2008-04-16 | 7 | -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 regression | Brian | 2008-04-14 | 1 | -2/+1 |
| | |||||
* | only use __x86_64__, not __amd64__ (bug 15503) | Brian Paul | 2008-04-14 | 3 | -3/+3 |
| | |||||
* | fix GL_ARB_texture_rectangle breakage | Brian Paul | 2008-04-14 | 1 | -3/+3 |
| | |||||
* | define #extension GL_ARB_texture_rectangle | David Flynn | 2008-04-14 | 1 | -0/+4 |
| | |||||
* | r200: fix XPD vertex program instruction when using temps as inputs | Roland Scheidegger | 2008-04-12 | 1 | -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 Paul | 2008-04-11 | 1 | -0/+1 |
| | |||||
* | comments | Brian Paul | 2008-04-11 | 1 | -2/+7 |
| | |||||
* | r300: Fix r300VAPInputRoute{0,1} for big endian platforms. | Michel Dänzer | 2008-04-07 | 1 | -11/+19 |
| | |||||
* | rewrite some of the mat*mat, mat*vec intrinsics | Brian | 2008-04-03 | 3 | -567/+336 |
| | | | | Also, remove obsolete matrix codegen code. | ||||
* | Initialize GLX_EXT_texture_from_pixmap attributes correctly. | Kristian Høgsberg | 2008-04-02 | 2 | -10/+10 |
| | |||||
* | fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269) | Roland Scheidegger | 2008-04-01 | 1 | -1/+1 |
| | |||||
* | added some missing calls to _mesa_enable_x_y_extensions() | Brian | 2008-04-01 | 3 | -0/+8 |
| | |||||
* | fix parsing bug involving comments at the end of ARB v/f programs | Markus Amsler | 2008-03-31 | 2 | -6/+6 |
| | |||||
* | DRI interface changes and DRI2 direct rendering support. | Kristian Høgsberg | 2008-03-31 | 23 | -1200/+983 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 all | Xiang, Haihao | 2008-03-31 | 2 | -0/+18 |
| | | | | shader/shader program objects to avoid memory access error. | ||||
* | Revert "mesa: separate shader program object from shader object." (bug#15244) | Xiang, Haihao | 2008-03-31 | 3 | -21/+13 |
| | | | | This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb. | ||||
* | i915: texture object's lod bias. fix bug #15192 | Xiang, Haihao | 2008-03-31 | 4 | -5/+25 |
| | |||||
* | r300: Copy-and-paste error from the vertex program branch. | Markus Amsler | 2008-03-30 | 1 | -1/+2 |
| | |||||
* | r300: Take PROGRAM_CONSTANT into account. | Markus Amsler | 2008-03-30 | 2 | -0/+2 |
| | | | | This bug was introduced by commit 978145a075255ae153ee05c2a037400e61558079. | ||||
* | Merge branch 'r300-vertprog-branch' of ssh://people.freedesktop.org/~z3ro/mesa | Oliver McFadden | 2008-03-29 | 7 | -978/+821 |
|\ | |||||
| * | r300: Indented the vertex program code... | Oliver McFadden | 2008-03-26 | 1 | -344/+474 |
| | | |||||
| * | r300: Cleaned up the default vertex program code with longer lines. | Oliver McFadden | 2008-03-26 | 1 | -28/+4 |
| | | |||||
| * | r300: Removed the last of the duplicate vertex program macros. | Oliver McFadden | 2008-03-26 | 2 | -51/+8 |
| | | |||||
| * | r300: Added Copyright lines to the vertex program code. | Oliver McFadden | 2008-03-26 | 1 | -14/+3 |
| | | |||||
| * | r300: Renamed the Mesa opcode translation functions. | Oliver McFadden | 2008-03-26 | 1 | -54/+54 |
| | | |||||
| * | r300: Renamed the destination-and-opcode/source macros to more appropriate ↵ | Oliver McFadden | 2008-03-26 | 3 | -104/+104 |
| | | | | | | | | names. | ||||
| * | r300: Merged the constant zero/one source macros. | Oliver McFadden | 2008-03-24 | 1 | -72/+55 |
| | | |||||
| * | r300: Merged the Vector and Math Engine opcode macros. | Oliver McFadden | 2008-03-24 | 3 | -153/+225 |
| | | |||||
| * | r300: Corrected a bug with the SUB instruction. | Oliver McFadden | 2008-03-02 | 1 | -0/+16 |
| | | |||||
| * | r300: Corrected a bug with the MAD instruction. | Oliver McFadden | 2008-03-02 | 2 | -4/+12 |
| | | | | | | | | | | The PVS_VECTOR_OPCODE macro should be modified to support macro instructions, too. | ||||
| * | r300: Added the PVS_SRC_OPERAND documentation from AMD. | Oliver McFadden | 2008-03-01 | 2 | -38/+56 |
| | | |||||
| * | r300: Added the PVS_OP_DST_OPERAND documentation from AMD. | Oliver McFadden | 2008-03-01 | 2 | -22/+56 |
| | | |||||
| * | r300: Added a TODO comment for registers missing from AMD's documentation. | Oliver McFadden | 2008-03-01 | 1 | -0/+2 |
| | | |||||
| * | r300: Moved the vertex program shift/mask defines into the appropriate file. | Oliver McFadden | 2008-03-01 | 2 | -27/+23 |
| | | |||||
| * | r300: Indented the vertex program code with longer lines. | Oliver McFadden | 2008-03-01 | 1 | -462/+304 |
| | | |||||
| * | r300: Moved the PREFER_DP4 define near the position invariant function. | Oliver McFadden | 2008-03-01 | 1 | -3/+3 |
| | | |||||
| * | r300: Added a TODO comment for the MAD opcodes. | Oliver McFadden | 2008-03-01 | 1 | -0/+4 |
| | | |||||
| * | r300: Use the VE_ADD hardware opcode for the SUB opcode. | Oliver McFadden | 2008-03-01 | 1 | -19/+1 |
| | | |||||
| * | r300: Use the VE_MULTIPLY hardware opcode for the MUL opcode. | Oliver McFadden | 2008-03-01 | 1 | -1/+1 |
| | | |||||
| * | r300: Cleaned up the XPD opcode temporary register usage. | Oliver McFadden | 2008-03-01 | 1 | -2/+3 |
| | |