summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common
AgeCommit message (Collapse)Author
2006-11-02merge current trunk into vbo branchAlan Hourihane
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.
2005-09-22Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,Brian Paul
BlueBits, etc fields.
2005-09-14added driUpdateFramebufferSize()Brian Paul
2005-09-08use an explicit reserved field, rather than magic number in boundKeith Whitwell
2005-09-08Fix the comment for the 'bound' field: it's a bitmask, not an index.Brian Paul
In driTexturesGone(), set bound = 0, not 99.
2005-09-04just formatting clean-upsBrian Paul
2005-09-04Add new void *addr and __DRIdrawablePrivate parameters toBrian Paul
driNewRenderbuffer().
2005-09-04Combine GET_DST_PTR and GET_SRC_PTR into just GET_PTR.Brian Paul
2005-09-04Added InitPointers helper functionBrian Paul
2005-09-04replace assertion with a conditional returnBrian Paul