summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common
AgeCommit message (Collapse)Author
2007-01-27Bug 9628: no entry for GetVertexAttribPointervGeorge Sapountzis
This is because (in glX_API.xml) GetVertexAttribPointerv is aliased to GetVertexAttribPointervARB which is then aliased to GetVertexAttribPointervNV. Make GetVertexAttribPointerv alias GetVertexAttribPointervNV directly. Patch by Ian Romanick <idr@us.ibm.com> and regenerate.
2007-01-05Add reporting of damage by DRI drivers when the extension support is available.Eric Anholt
With this, tools like ximagesrc in gstreamer correctly see updates from GL rendering. Support requires that the Xdamage library be current (but will be disabled if not present) plus a new X Server with support for the new XDamagePost request. libGL now has a new interface version, and also links against libXdamage and libXfixes to support it, but backwards compatibility is retained. Currently, all drivers report damage at SwapBuffers time through common code -- front buffer rendering doesn't result in damage being reported. Also, the damage is against the root window, as our drivers don't yet render to backing store when they should (composited environments).
2006-12-06Make git ignore files only generated at build time.Michel Dänzer
2006-12-06Re-generate options.h with Swedish translations.Michel Dänzer
2006-12-06Swedish translation of driconf options.Daniel Nylander
2006-12-01Fix an infinite loop error that may occur when many contexts are boundThomas Hellström
to the same drawable in a multithreading environment. This one slipped out of the texman merge.
2006-11-14Enable GLX_SGI_make_current_read for tdfx.Ian Romanick
Implement GLX_SGI_make_current_read for tdfx. Remove annoying debug printf in tdfxSwapBuffers. Updated a comment in drirenderbuffer.h to note that the tdfx driver uses a flag that was previously only used by s3v. This code was tested with glxgears, wincopy, and manywin.
2006-11-03Added OpenGL 2.1 entrypoints.Brian Paul
2006-11-02Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.Brian Paul
2006-11-01Merge texmem-0-3-branch.Keith Whitwell
2006-10-16Track the currently bound read drawable and make sure its info is upIan Romanick
to date.
2006-10-15allow >10 mipmap levels (patch by Benno Schulenberg) (bug 3130)Brian Paul
2006-10-15regenerated to get DRI_CONF_EXCESS_MIPMAP()Brian Paul
2006-10-11Fix bug #4681.Ian Romanick
glDeleteTextures and glDeleteTexturesEXT were erroneously listed as aliases of each other. For anything /except/ GLX protocol they are aliases. This set of changes allows functions that are functionally identical but have different GLX protocol to be listed as aliases. When building with GLX_INDIRECT_RENDERING set, different static functions are used. These functions determine whether the current context is direct rendering or not. If the context is direct rendering, the aliased function (e.g., glDeleteTextures in the case of glDeleteTexturesEXT) is called. If the context is not direct rendering, the correct GLX protocol is sent. For a deeper explanation of what is changed, please see: http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
2006-09-28Add helper function that returns the current vblank sequence of a drawable.Michel Dänzer
2006-09-28Add helper function to calculate the area of the intersection of two rectangles.Michel Dänzer
2006-09-28Add driGetVBlankInterval() helper function.Michel Dänzer
This can be used by drivers to determine the current swap interval of a drawable.
2006-09-28driWaitForVBlank: Add support for secondary vertical blank.Michel Dänzer
2006-09-28Some restructuring of the driWaitForVBlank() code.Michel Dänzer
Also some minor fixes for detecting when the deadline is met or missed, in particular wrt wraparounds of the sequence number.
2006-09-28Make driDrawableInitVBlank() initialize the sequence number.Michel Dänzer
This prevents the first wait for vertical blank from timing out when the X server has been running for a long time.
2006-08-25Add a couple of the missing GL 2.0 functions. Enable GLX protocol forIan Romanick
glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic.
2006-08-24GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick
The functions for GL_EXT_paletted_texture that do not share GLX protocol with GL_ARB_imaging are supposed to alias the similar functions from GL_SGI_color_table. They didn't. This patch corrects this problem and enables GLX protocol for both extensions. Since this removes 3 entries from the dispatch table, this change creates a lot of changes in the generated files.
2006-08-15Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
2006-08-11Fix long standing bug that prevented newer drivers from working withIan Romanick
older libGL. The data in extension_helper.h erroneous instructed drivers to expect all functions with establised offsets, even those not in the ABI, to have a specific offset allocated. This is just wrong. A function is either in the ABI and has a set offset or a function is not in the ABI and has a re-map offset.
2006-07-30Add support for GL_MESA_shader_debug.Michal Krol
2006-07-12fix another memleakTilman Sauerbeck
2006-06-12Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick
and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
2006-04-11FBConfig support for EXT_tfpDavid Reveman
2006-04-03if DDX is -1 don't do DDX checkDave Airlie
2006-04-03Coverity #459: Silly off-by-one error.Adam Jackson
2006-04-02Coverity #567: Fix a memory leak on a failure path.Adam Jackson
2006-04-01These messages really should be printed all the time, users want toDave Airlie
know this not have to set debug for it
2006-03-31Dave Reveman's patch for GLX_MESA_copy_sub_buffer supportBrian Paul
2006-03-30Init the Red/Green/Blue/Alpha/Depth/StencilBits fields in driNewRenderbuffer()Brian Paul
2006-03-28Revert merge of new/experimental code from texmem branch.Keith Whitwell
2006-03-26merge from texman branchBrian Paul
2006-03-23fix coverity 926: use before NULL checkDave Airlie
2006-03-17Don't use glx_ansic.h functions (__glXMemset).Kristian Høgsberg
2006-03-01Added glBlitFramebufferEXT function.Brian Paul
2006-02-09remove the test for XFree86Server from prev patch (bug 5835)Brian Paul
2006-02-08include dix-config.h (Mike Harris) (bug 5835)Brian Paul
2006-02-03replace the texture level hack used in radeon/r200 to allow larger textures ↵Roland Scheidegger
with different methods to calculate the announced maximum texture sizes. Default is still the same (that is, radeon/r200 default to not announce anything which might not fit, i830/i915 default to 1 texture must fit). Bug #5785.
2006-01-30fix broken assertions so dri drivers compile with -DDEBUG (replace ↵Roland Scheidegger
GL_STENCIL_INDEX8 with GL_STENCIL_INDEX8_EXT). Fix potential problem with drivers which use 32bit z buffers.
2005-12-07Updates for GL_EXT_timer_query:Brian Paul
New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
2005-11-29assorted fixes for server-side direct rendering (bug 5199)Brian Paul
2005-11-28Remove the many aliases for 'struct mem_block' in mm.hKeith Whitwell
2005-10-28Silence gcc-4 warnings.Aapo Tahkola
2005-10-27Add support for HW stencil spans, mirroring the depth spans support. Used forEric Anholt
Rage 128 stencil support.
2005-10-18Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell
executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.
2005-10-15fix two bugs wrt calculating max possible texture sizes for texture ↵Roland Scheidegger
rectangles/cube maps.