summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11/xm_dd.c
AgeCommit message (Collapse)Author
2007-10-30Set _NEW_BUFFERS in glRead/DrawBuffer().Brian
Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively. That correponds to the GL attribute groups, but doesn't make much sense otherwise. This could improve validation efficiency in a few places too. It looks like all the drivers are already checking for _NEW_BUFFERS in the right places (since that's the bit for FBO state) so we can trim out _NEW_PIXEL and _NEW_COLOR at any time.
2007-10-22don't apply ColorMask to main gcBrian
2007-09-17update begin/end_query() functionsBrian
2007-08-17fix buffer clearing problemsBrian
2007-08-10return (softpipe) in GL_RENDERER string - temporarilyBrian
2007-08-09asst changes to get softpipe rendering again (no zbuf support for now)Brian
2007-08-02pipe->clear() now takes a surface, rather than color/depth/stencil flags.Brian
pipe->clear() only used to clear whole buffers (no scissor) w/out masking. Draw a colored quadrilateral in all other cases.
2007-08-02get rid of accum paramBrian
2007-08-01rearrange things in xmesa_clear() a bitBrian
2007-08-01Checkpoint: glClear changes - working, bug very rough.Brian
2007-06-20actually use new glClear codeBrian
2007-06-14Rename directories again?!Keith Whitwell
Some git wierdness going on.
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-02fix some renderbuffer/wrapper bugsBrian
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.
2006-11-02merge current trunk into vbo branchAlan Hourihane
2006-10-30switch several dri drivers overKeith Whitwell
2006-10-29switch over to vbo moduleKeith Whitwell
2006-10-18Don't use x/y/w/h params given to Clear().Brian Paul
2006-10-17Remove get_buffer_size()Brian Paul
Always check window size in XMesaMakeCurrent() in case glViewport is not called.
2006-10-14Big re-org of buffer size management.Brian Paul
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.
2006-10-11In xmesa_DrawPixels_8R8G8B() check if drawing into a window system buffer,Brian Paul
not a user-created FBO.
2006-09-10don't use xmesa_DrawPixels_8R8G8B() if there's a software alpha channelBrian Paul
2006-04-27assorted clean-ups, fixesBrian Paul
2006-04-26minor clean-upBrian Paul
2006-03-28a little code movement so we don't make invalid casts from gl_renderbuffers ↵Brian Paul
to xmesa_renderbuffers
2006-02-24need to check for _NEW_BUFFERS in xmesa_update_state()Brian Paul
2006-01-26New comments, clean-up of fields related to point/line/triangle validation.Brian Paul
2006-01-09only call xmesa_set_renderbuffer_funcs() when really necessaryBrian Paul
2006-01-09check XGetGeometry() return valueBrian Paul
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-10-21fix GLX server resize/crash when resizing windowsBrian Paul
2005-09-28Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul
glReadPixels done, glDrawPixels mostly done.
2005-09-26Added XMesaDrawable to xmesa_renderbuffer. Use it in a few places insteadBrian Paul
of the XMesaPixmap field to avoid some X server-side issues with casting.
2005-09-08 Committing in .Jouk Jansen
Define suseconds_t for OpenVMS Modified Files: Mesa/src/mesa/drivers/x11/xm_dd.c ----------------------------------------------------------------------
2005-09-07some clean-up and re-org for renderbuffersBrian Paul
2005-09-02Prototype implementation of new GL_EXT_timer_query extension (not finalized ↵Brian Paul
yet). Extends the query mechanism to query elapsed time while rendering.
2005-07-01Remove NEW_RENDERBUFFER stuff.Brian Paul
Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
2005-06-23Remove the xmesa_set_buffer() function. No longer needed since theBrian Paul
span functions pass in a gl_renderbuffer to indicate which color buffer should be drawn into. Optimized line/triangle routines are smart enough to know which buffer to draw into as well. The swrast->SetBuffer() routine should eventually be removed from all drivers.
2005-05-06remove bad assertion, added new ones in clear_pixmap()Brian Paul
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2005-04-18comments and clean-upBrian Paul
2004-11-27Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul
Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
2004-11-27Remove the redundant width, height fields in xmesa_buffer struct. Just useBrian Paul
the values in the contained GLframebuffer. Removed some other unneeded code.
2004-11-25Use __GLXextFuncPtr type instead of void * for generic functions toBrian Paul
avoid gcc 3.4 compiler warnings. Remove the unused/obsolete GLX_render_texture stuff.
2004-11-10GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul
and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions.
2004-11-09Removed _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead.Brian Paul
2004-10-31Removed _swrast_validate_pbo_access().Brian Paul
In x11 driver, map/unmap PBO as needed in DrawPixels functions.
2004-10-12SWTC trick (disabled for now)Daniel Borca
2004-10-02added support for GL_ARB_draw_buffersBrian Paul