summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11
AgeCommit message (Collapse)Author
2007-07-30added map/unmap() stubsBrian
2007-07-27Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa ↵michal
into softpipe_0_1_branch
2007-07-23fix GLX_STEREO handling (bug 11705)Brian
2007-07-13minor renameBrian
2007-07-11need to clamp floats to [0,1] in write functionsBrian
2007-07-10Checkpoint: stencil roughly working, some bugs to fix...Brian
2007-07-10remove debug printfBrian
2007-07-10Do depth testing with integer values.Brian
Using floats (and float->ushort->float conversion) introduces errors. Only GLushort depth buffers work for now...
2007-07-06Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa ↵michal
into softpipe_0_1_branch
2007-06-25code for functional Z buffer surfaceBrian
2007-06-20checkpoint: implement z/depth testingBrian
2007-06-20actually use new glClear codeBrian
2007-06-20plug in write_mono_row_ubBrian
2007-06-19Re-org of surface/framebuffer state.Brian
We should be able to render to any depth/format of X window now.
2007-06-14Rename directories again?!Keith Whitwell
Some git wierdness going on.
2007-06-12fix GLX_USE_TLS breakage, fix a warningBrian
2007-05-25remove #include "GL/glxtokens.h"Brian
2007-05-24Use the x11 driver as a test harness for the softpipe/state_tracker code.Keith Whitwell
This has some limitations as we currently require a mapped framebuffer, so it only really works with double-buffered ximage rgba8888 windows.
2007-05-22Fix xserver build after recent XMesa changes.Michel Dänzer
Only build tested.
2007-05-21return True for GLX_Y_INVERTED_EXT queryBrian
2007-05-20Overhaul/simplify SWvertex and SWspan attribute handling.Brian
Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
2007-05-19Implement GLX_EXT_texture_from_pixmap.Brian
Could be done more efficiently... but works.
2007-05-02fix some renderbuffer/wrapper bugsBrian
2007-04-20xmesa: call _glapi_set_dispatch() for all xserver DDXes.George Sapountzis
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.
2007-04-20xmesa: minor cosmeticGeorge Sapountzis
mainly drop 'client' argument from initialize_visual_and_buffer().
2007-04-20xmesa: split FX functions to separate file, part 2.George Sapountzis
2007-04-20xmesa: split FX functions to separate file, part 1.George Sapountzis
2007-04-20xmesa: spilt FX code to separate functions.George Sapountzis
2007-04-20Revert "xmesa: drop glide (FX) backend."George Sapountzis
This reverts commit 2a2f8d806f74619f0a7cf97fdc7f7b3ad1cad81b.
2007-04-19xmesa: drop glide (FX) backend.George Sapountzis
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.
2007-04-16use b->display instead of b->xm_visual->display to fix some problems ↵Brian
detected w/ valgrind
2007-04-13xmesa: drop unused XMesaPutImageHelper.George Sapountzis
It could only be called from XMesaCopySubBuffer but this function is not used by XFree86. It seems that XMesaPutImageHelper would handle sub-images but never got finished. Proper sub-image helpers should be written if need be.
2007-04-13xmesa: export xmesa functions used by xfree86.George Sapountzis
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.
2007-04-06xmesa: use newly added xm_image.[hc]George Sapountzis
Keep external includes to glxheader.h and xmesa includes to xmesaP.h. Drop the following from xm_image.h: - dix-config.h (comes from glheader.h) - xfree86 includes (come from GL/xmesa_xf86.h) - ifdef __CYGWIN__ (leftover ? xm_api.c has something similar)
2007-04-06xmesa: add xf86glx_util.[hc] from xserver as xm_image.[hc]George Sapountzis
2007-04-04remove debug printfBrian
2007-04-01Fix some bugs/issues related to alpha channel support. See bug 10483.Brian
2007-04-01If using PF_8A8B8G8R, be sure alpha is correctly handled.Brian
2007-04-01re-order tokens, fix commentsBrian
2007-03-30Clean and update XMesa/XFree86 interface.George Sapountzis
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.
2007-03-25Fix some renderbuffer reference counting issues. Also fixes a mem leak.Brian
2007-03-23Implement alpha buffer copy for SwapBuffers().Brian
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.
2007-03-16Assorted fixes for dealing with zero-size frame/renderbuffers.Brian
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.
2007-03-16added null xmctx check to XMesaResizeBuffers(), bug 7205Mathias Hopf
2007-03-14clear the b->frontxrb->drawable field in xmesa_free_buffer(), see bug 7205Brian
2007-03-14move CLIENT_ID code in xmesa_delete_framebuffer(), see bug 7205Brian
2007-03-06fix renderbuffer mem leakBrian
2007-03-06formatting fixBrian
2007-03-06Fix/improve framebuffer object reference counting.Brian
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.
2007-02-27fix commentBrian