summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2008-04-02Initialize GLX_EXT_texture_from_pixmap attributes correctly.Kristian Høgsberg
2008-04-01fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269)Roland Scheidegger
2008-04-01added some missing calls to _mesa_enable_x_y_extensions()Brian
2008-03-31fix parsing bug involving comments at the end of ARB v/f programsMarkus Amsler
2008-03-31DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg
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.
2008-03-31mesa: Free all shader program data before deleting allXiang, Haihao
shader/shader program objects to avoid memory access error.
2008-03-31Revert "mesa: separate shader program object from shader object." (bug#15244)Xiang, Haihao
This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb.
2008-03-31i915: texture object's lod bias. fix bug #15192Xiang, Haihao
2008-03-30r300: Copy-and-paste error from the vertex program branch.Markus Amsler
2008-03-30r300: Take PROGRAM_CONSTANT into account.Markus Amsler
This bug was introduced by commit 978145a075255ae153ee05c2a037400e61558079.
2008-03-29Merge branch 'r300-vertprog-branch' of ssh://people.freedesktop.org/~z3ro/mesaOliver McFadden
2008-03-28fix texture/renderbuffer mix-up in test_attachment_completeness()Brian
2008-03-28i965: depth offset on glPolygonMode(GL_LINE/GL_POINT)Xiang, Haihao
2008-03-28r300: finish conversion of RS_INST regsDave Airlie
2008-03-28r300: move to using RS_INST namesDave Airlie
2008-03-27consolidate some parsing functions that were pretty much identical for ↵Brian
vertex/fragment programs
2008-03-27when negating scalar src args, use NEGATE_XYZW, not NEGATE_XBrian
This makes things easier on the back-end when generating GPU code. cherry-picked from gallium-0.1
2008-03-27Set param_var->param_binding_type = PROGRAM_CONSTANTBrian
cherry-picked from gallium-0.1
2008-03-26[965] Fix massively broken state cache dirty flagging.Michal Wajdeczko
It was flagging a last_bo update even when last_bo didn't change, but another part was failing to update last_bo when it should have.
2008-03-26[intel] Use mesa texmemory functions to allocate teximage Data.Michal Wajdeczko
Failure to consistently do so resulted in mismatched aligned versus unaligned alloc/free.
2008-03-26[965] Don't let the negate flags of src0 affect 1 constants in precalc_dst/litEric Anholt
This patch is a variant of a submission by Michal Wajdeczko to fix oglconform fpalu failures.
2008-03-26[965] Correctly set read mask for OPCODE_SWZ in pass1.Michal Wajdeczko
While OPCODE_SWZ has usually been optimized away in pass0, it may still exist if a SWZ with dst saturate was emitted in pass_fp. Fixes an error in oglconform fpalu.c.
2008-03-26[965] Clean up whitespace and dead code from do_unfilled change.Eric Anholt
2008-03-26r300: Indented the vertex program code...Oliver McFadden
2008-03-26r300: Cleaned up the default vertex program code with longer lines.Oliver McFadden
2008-03-26r300: Removed the last of the duplicate vertex program macros.Oliver McFadden
2008-03-26r300: Added Copyright lines to the vertex program code.Oliver McFadden
2008-03-26[i915] don't use 4x4 filter for 1D shadowmapZou Nan hai
2008-03-26r300: Renamed the Mesa opcode translation functions.Oliver McFadden
2008-03-26r300: Renamed the destination-and-opcode/source macros to more appropriate ↵Oliver McFadden
names.
2008-03-25implement glGet/BindAttribLocationARB() for display listsBrian
More such shader functions are needed...
2008-03-25intel: fix the issue "VBO: Cannot allocate memory for a BO" onXiang, Haihao
965 after merging intel_context.c from i915 and i965. fix bug# 15152.
2008-03-24add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c fileBrian
2008-03-24R300: fix typo r300 fog regAlex Deucher
Noticed by pzad on IRC
2008-03-24r300: Merged the constant zero/one source macros.Oliver McFadden
2008-03-24r300: Merged the Vector and Math Engine opcode macros.Oliver McFadden
2008-03-22use ctx->Driver.DeleteProgram() in a few more placesBrian
2008-03-22delete default programs with ctx->Driver.DeleteProgram()Brian
2008-03-21[965] Avoid emitting dead code for DPx/math instructions.Michal Wajdeczko
The pass1 optimization stage clears out writemasks and registers, but the instructions themselves are still being processed at this stage, and could have resulted in them still being emitted.
2008-03-21[965] Improve pinterp performance by delaying reads of just-written regs.Michal Wajdeczko
2008-03-21[965] Fix negating of unsigned value in emit_wpos_xy.Michal Wajdeczko
2008-03-21[965] Add MVP code for position invariant vertex programs.Michal Wajdeczko
This fixes the arbvptorus demo.
2008-03-21[win32] Use native aligned memory allocation functions.Michal Wajdeczko
2008-03-21[965] Shuffle state flags to match the order we initialize them in.Michal Wajdeczko
2008-03-21intel: Use _mesa_ffs wrapper, and fix a use-after-free with INTEL_DEBUG=buf.Michal Wajdeczko
2008-03-21Refactor PBO validate/map code.Brian
We always need to do PBO validation, so do that in core Mesa before calling driver routine.
2008-03-21include varray.h to silence warningBrian
2008-03-21add a number of PBO validate/map/unmap functionsBrian
Helper functions for (some) drivers, including swrast.
2008-03-21Fix some PBO breakage.Brian
In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage.
2008-03-21 [i965] multiple rendering target fixZou Nan hai