summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11
AgeCommit message (Collapse)Author
2009-11-05xmesa: pass pixmap to clip_for_xgetimage()Brian Paul
The code was assuming ctx->DrawBuffer == ctx->ReadBuffer. Passing the pixmap is simpler and better. Fixes a potential segfault.
2009-10-07mesa/xlib: call XQueryExtension() in glXQueryExtension()Brian Paul
See bug 24321.
2009-10-07mesa/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul
2009-10-07mesa/xlib: return 0 for errorBase, eventBase in glXQueryExtension()Brian Paul
A little better than leaving the values undefined, I think. See bug 24321.
2009-10-02xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul
The parameter is a bitmask.
2009-09-29mesa/xlib: fix GLX_RENDER_TYPE queryBrian Paul
Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
2009-09-03Add ARB_sync to the xorg sw dri driver.Eric Anholt
2009-08-31xlib: plug in more meta functions, if TEST_META_FUNCS is setBrian Paul
2009-08-31xlib: option to enable/test meta functions (disabled)Brian Paul
2009-06-24Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
2009-06-17mesa: added null ptr check in Fake_glXCreatePixmap()Brian Paul
Fixes segfault in progs/xdemos/glxgears_pixmap.c
2009-05-01mesa: in glReadBufer() set _NEW_BUFFERS, not _NEW_PIXELBrian Paul
Since GL_READ_BUFFER is historically part of the gl_pixel_attrib group it made sense to signal changes with _NEW_PIXEL. But now with FBOs it's also part of the framebuffer state. Now _NEW_PIXEL strictly indicates pixels transfer state changes. This change avoids framebuffer state validation when any random bit of pixel-transfer state is set. DRI drivers updated too: don't check _NEW_COLOR when updating framebuffer state. I think that was just copied from the Xlib driver because we care about dither enable/disable state there.
2009-03-18Use the specified X11 headers for xlib mesaDan Nicholson
The xlib build was using the system's Xlib headers or bombing if they weren't available.
2009-03-09xmesa: set back-buffer's drawable fieldBrian Paul
Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap
2009-03-03xlib: code to force fixed function -> shader translation (for debug, disabled)Brian Paul
2009-03-02mesa: comments and code documenting a bug with depth 32 TrueColor ↵Brian Paul
drawing/reading It seems that XGetImage() from a depth 32 TrueColor window is flakey. Drawing with XPutImage() instead of XPutPixel() seems to work better, but still not perfectly. Keep using the original code for now until more is learned.
2009-03-02mesa: remove unused AUX buffersBrian Paul
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.
2009-02-23mesa: fix _glxapi_get_proc_address() for mangled namesTom Fogal
2009-02-22mesa: move a bunch of compiler-related stuff into new compiler.h headerBrian Paul
This trims down and cleans up imports.h and glheader.h quite a bit.
2009-02-21mesa: use an array for current texture objectsBrian Paul
Use loops to consolidate lots of texture object code.
2009-02-09mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()Brian Paul
2009-02-04mesa: make Xlib glXIsDirect() always return TrueBrian Paul
2009-02-03xlib: use MESA_GLX_FORCE_DIRECT to make glXIsDirect() always return TrueBrian Paul
Some apps won't run w/ indirect rendering contexts. Also, consolidate some context-init code in new init_glx_context() function.
2009-01-28Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-10mesa: deprecate the GL/fxmesa.h headerBrian Paul
2009-01-10xmesa: deprecate the "XMesa" interfaceBrian Paul
Move the include/GL/xmesa*.h files to src/mesa/drivers/x11/ so they're no longer considered public.
2008-09-21mesa: improved driver query interfaceKeith Whitwell
Brought over from gallium-0.2 branch.
2008-09-18mesa: prefix more #includes with "main/"Brian Paul
2008-08-11Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston
2008-07-15mesa: extra bracesBlair Sadewitz
2008-07-12Always pass -linker and -ldflags to mklib for shared librariesDan Nicholson
This just makes the use of mklib more consistent throughout Mesa where we always want to pass the linker and LDFLAGS when we might be making a shared library.
2008-07-12Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson
Respect the user's choice of shell when running mklib rather than always using /bin/sh.
2008-06-21remove old commentsBrian Paul
2008-06-17assorted glide driver fixesWilfried Holzke
2008-06-09fix Xlib libGL.so build problem.Brian Paul
Also, build driverfuncs.c into libmesa.a since it's always needed.
2008-06-08remove realglx.[ch] from buildBrian
2008-06-05added dependenciesBrian Paul
2008-06-05new Makefile for building "stand-alone", Xlib-based libGLBrian Paul
2008-06-05prefix some includes with mesa/ or glapi/Brian Paul
2008-05-27allow GLX_SAMPLES_ARB==0 (bug 16073)Brian Paul
2008-04-23glcore: drop outdated sources files intented for xorgGeorge Sapountzis
2008-04-23glcore: tree sharing for DRI and XMesaGeorge Sapountzis
2008-04-23glcore: build from mesaGeorge Sapountzis
2008-04-01added some missing calls to _mesa_enable_x_y_extensions()Brian
2008-02-16Fix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915)Brian
Also, general clean-up of the Xlib-optimized glDraw/CopyPixels code.
2008-01-22Fix some issues with glDrawBuffer(GL_NONE), bug 14198Brian
Set _ColorDrawBuffers[0] = NULL if no renderbuffers enabled. Check that _ColorDrawBuffers[0] is non-null before dereferencing in a few places.
2008-01-06Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian
Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
2008-01-06Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian
These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this...
2007-11-30Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesajoukj
2007-11-03fix typoBrian