aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xm_api.c
Commit message (Collapse)AuthorAgeFilesLines
* xlib: code to force fixed function -> shader translation (for debug, disabled)Brian Paul2009-03-031-0/+8
|
* mesa: remove unused AUX buffersBrian Paul2009-03-021-3/+0
| | | | | | Remove all references to aux buffers 1..3. Keep AUX0 around for now just in case, but it'll probably go too someday. I don't know of any OpenGL drivers since the IRIX days that support aux color buffers.
* mesa: use an array for current texture objectsBrian Paul2009-02-211-3/+3
| | | | Use loops to consolidate lots of texture object code.
* mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()Brian Paul2009-02-091-1/+1
|
* Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatoryIan Romanick2009-01-281-2/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* xmesa: deprecate the "XMesa" interfaceBrian Paul2009-01-101-1/+0
| | | | | Move the include/GL/xmesa*.h files to src/mesa/drivers/x11/ so they're no longer considered public.
* mesa: prefix more #includes with "main/"Brian Paul2008-09-181-1/+1
|
* prefix some includes with mesa/ or glapi/Brian Paul2008-06-051-8/+8
|
* glcore: tree sharing for DRI and XMesaGeorge Sapountzis2008-04-231-1/+70
|
* added some missing calls to _mesa_enable_x_y_extensions()Brian2008-04-011-0/+1
|
* remove #include "GL/glxtokens.h"Brian2007-05-251-1/+0
|
* Fix xserver build after recent XMesa changes.Michel Dänzer2007-05-221-10/+10
| | | | Only build tested.
* Implement GLX_EXT_texture_from_pixmap.Brian2007-05-191-12/+235
| | | | Could be done more efficiently... but works.
* xmesa: call _glapi_set_dispatch() for all xserver DDXes.George Sapountzis2007-04-201-2/+0
| | | | | | This is to unify the xmesa code across xserver DDX'es. The call is intented for XGL, but it does not hurt to call for other DDX'es. In fact it was not guarded against XGL when it was first added in xserver.
* xmesa: minor cosmeticGeorge Sapountzis2007-04-201-29/+25
| | | | mainly drop 'client' argument from initialize_visual_and_buffer().
* xmesa: split FX functions to separate file, part 2.George Sapountzis2007-04-201-13/+8
|
* xmesa: split FX functions to separate file, part 1.George Sapountzis2007-04-201-233/+6
|
* xmesa: spilt FX code to separate functions.George Sapountzis2007-04-201-20/+16
|
* Revert "xmesa: drop glide (FX) backend."George Sapountzis2007-04-201-2/+256
| | | | This reverts commit 2a2f8d806f74619f0a7cf97fdc7f7b3ad1cad81b.
* xmesa: drop glide (FX) backend.George Sapountzis2007-04-191-256/+2
| | | | | | glide is no longer compiled with stand-alone libGL, so this will not link. There are still the glide config files. some code in demos and the GLX_MESA_set_3dfx_mode code which could be removed.
* xmesa: export xmesa functions used by xfree86.George Sapountzis2007-04-131-4/+15
| | | | | | | | | This uses xmesa.h as the GLcore interface and avoids adding an explicit GLcore inteface which would not be a proper interface anyway. It puts the declarations of the three functions specific for XMesa/XFree86 in xmesa.h, we can push them down to xmesa_xf86.h if hiding behind XFree86Server ifdef's is not enough.
* Fix some bugs/issues related to alpha channel support. See bug 10483.Brian2007-04-011-31/+23
|
* Clean and update XMesa/XFree86 interface.George Sapountzis2007-03-301-27/+12
| | | | | | | | | | | | | | | | Drop XMesaSetVisualDisplay(), XMesaReset(), no longer used. Add XMesaCopyContext() and move the GlxSetRenderTables() call for XGL within XMesaForceCurrent(). This is to make xserver/GL/mesa/X/xf86glx.c unaware of Mesa internals. Also, clean some ifdef's to make it clear that USE_XSHM and XFree86Server are mutually exclusive. Lastly, - move gcstruct.h from glxheader.h up to xmesa_xf86.h since it calls *gc->ops - drop GL/glxtokens.h from xm_api|dd.c, GLX tokens come from glcore.h and are used irrelevant of XFree86.
* Implement alpha buffer copy for SwapBuffers().Brian2007-03-231-5/+7
| | | | | | | | | | | | | Nicolai writes: When the pixmap pixel format has no alpha channel, the x11 driver (software rendering) adds a wrapped alpha channel on request. During SwapBuffers, this alpha channel is not copied from back to front, which means that the front buffer doesn't really contain the contents that the back buffer previously contained. A subsequent glReadPixels from the front buffer will return an incorrect result. The following patch attempts to fix this.
* Assorted fixes for dealing with zero-size frame/renderbuffers.Brian2007-03-161-6/+8
| | | | | | | | | | In xmesa_check_and_update_buffer_size() handle xmctx==NULL correctly: still call _mesa_resize_framebufer(). If we don't we can wind up in a situation where the framebuffer size is non-zero but an attached renderbuffer size is still initialized to zero. This inconsistancy can later cause problems. Check for zero-size renderbuffers in update_color_draw_buffers() and update_color_read_buffer(). See bug 7205.
* added null xmctx check to XMesaResizeBuffers(), bug 7205Mathias Hopf2007-03-161-0/+2
|
* clear the b->frontxrb->drawable field in xmesa_free_buffer(), see bug 7205Brian2007-03-141-0/+6
|
* formatting fixBrian2007-03-061-4/+2
|
* Fix/improve framebuffer object reference counting.Brian2007-03-061-2/+2
| | | | | | | Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate.
* Rewrite code related to buffer destruction.Brian2007-02-261-74/+26
| | | | | Do proper reference counting so that we don't wind up with dangling references to deleted windows/framebuffers. Should help with bug 7205.
* Merge branch 'vbo-0.2'Keith Whitwell2007-02-021-3/+3
|\ | | | | | | | | | | | | Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
| * switch several dri drivers overKeith Whitwell2006-10-301-1/+1
| |
| * switch over to vbo moduleKeith Whitwell2006-10-291-3/+3
| |
* | Override Const.CheckArrayBounds for Xserver in XMesaCreateContext().George Sapountzis2007-01-261-0/+7
|/ | | | | | | | | | This leaves one last XFree86Server ifdef in Mesa core. --- Bug 9285: misc glcore, xmesa cleanups ACKed by Ian Romanick.
* Remove get_buffer_size()Brian Paul2006-10-171-5/+3
| | | | | Always check window size in XMesaMakeCurrent() in case glViewport is not called.
* Big re-org of buffer size management.Brian Paul2006-10-141-354/+228
| | | | | | | All buffer resizes now handled by xmesa_check_and_update_buffer_size() which uses the _mesa_resize_framebuffer() function. Moved all low-level XImage/Pixmap resizing into xm_buffers.c file. Also, update lots of comments for Doxygen.
* assorted clean-upsBrian Paul2006-10-141-56/+38
|
* Use XAddExtension() to register an XCloseDisplay() callback function.Brian Paul2006-08-301-1/+15
| | | | | | When the callback is called, free all Mesa's private visual and buffer data structures which are tied to the display. Fixes problems reported by Kitware.
* When creating front/back renderbuffers, init the Red/Green/Blue/AlphaBits fieldsBrian Paul2006-03-301-3/+2
|
* Moved _glapi_check_multithread() call into drivers, instead of inBrian Paul2006-03-161-1/+6
| | | | | _mesa_make_current(). This removes an ugly #if !defined(IN_DRI_DRIVER) from core Mesa.
* added a couple new assertions to help debug XGL problemBrian Paul2006-01-101-0/+2
|
* Fix two failures encountered when running out of memory during XImageBrian Paul2005-12-021-13/+15
| | | | | allocation. Append \n to _mesa_warning() strings.
* Added XMesaDrawable to xmesa_renderbuffer. Use it in a few places insteadBrian Paul2005-09-261-36/+50
| | | | of the XMesaPixmap field to avoid some X server-side issues with casting.
* improve the test for using software alpha bufferBrian Paul2005-09-231-1/+16
|
* added a return upon out-of-memory, remove a needless assignmentBrian Paul2005-09-121-2/+2
|
* restore brace lost in previous check-inBrian Paul2005-09-121-0/+1
|
* some clean-up and re-org for renderbuffersBrian Paul2005-09-071-65/+52
|
* Prototype implementation of new GL_EXT_timer_query extension (not finalized ↵Brian Paul2005-09-021-1/+4
| | | | | | yet). Extends the query mechanism to query elapsed time while rendering.
* _mesa_free_framebuffer_data() call frees the renderbuffers, no need to call ↵Brian Paul2005-08-091-4/+0
| | | | the Delete methods after
* include driverfuncs.hBrian Paul2005-07-191-2/+0
|