summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11/xm_dd.c
AgeCommit message (Collapse)Author
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
2004-04-09fix max buffer size test (Kyle Bateman, bug 912828)Brian Paul
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-03-04a bunch of assorted clean-ups, etc to fix warnings, etcBrian Paul
2004-02-19Refactored several variables out of XMesaVisual in favor of identicalIan Romanick
fields in __GLcontextModes (the base type). Removed the need to keep the XMesaVisualInfo pointer when building inside the X-server.
2004-01-20Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul
by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
2003-12-12check swrast->NewState in Draw/CopyPixels functionsBrian Paul
2003-12-05Fix a front/back CopyPixels glitch.Brian Paul
2003-12-04use _swrast_CopyPixels for XFree86Alan Hourihane
2003-12-04don't use new glDrawPixel routines in XserverBrian Paul
2003-12-04Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.Brian Paul
2003-11-29Use XPutImage() for glDrawPixels() and XCopyArea() for glCopyPixels() whenBrian Paul
possible (when pixel formats match and drawing to front buffer with no raster operations). Results in 10-100x speed-up when applicable.
2003-10-19Move initialization of default ctx->Driver.buffer-object-functions intoBrian Paul
bufferobj.c so all the drivers don't have to worry about them.
2003-10-15initialize GetBufferSubData pointerBrian Paul
2003-09-17GL_ARB_vertex_buffer_object working now, at least for non-indexedBrian Paul
vertex arrays.
2003-07-03Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).Brian Paul
2003-04-04Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, heightBrian Paul
and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows more flexiblity, like supporting larger, non-cubic 3D textures.
2003-04-01use structure containment to derive xmesa_context from GLcontextBrian Paul
2003-04-01New device driver hooks for texture object and texture image creation toBrian Paul
allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
2003-03-27fixed ColorMask problem for front-buffer renderingBrian Paul
2003-03-25remove some unfinished code accidently checked inBrian Paul
2003-03-25histogram code move, remove s_histogram.[ch] from MakefilesBrian Paul
2003-01-16fix for framebuffer width and height when window hasn't been realized.Alan Hourihane
2002-10-30use wrappers from imports.h rather than stdio, stdlib, etc functions.Brian Paul
2002-10-24Header file clean-up:Brian Paul
1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
2002-10-14context-related cleanups (ex: _mesa_notifySwapBuffers instead of ↵Brian Paul
_mesa_swapbuffers)
2002-10-11Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul
Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer. Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask. swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now. Added tokens and code for GL_AUX buffers, for completeness.
2002-10-04Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul
Also changed parameter types for some driver functions (like ctx->Driver.Clear- Color). Updated all the device drivers. Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
2002-09-27new texture compression infrastructureBrian Paul
2002-09-23fix bug in index_mask() (bug 609837)Brian Paul
2002-07-09Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul
indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
2002-06-19put XSync in get_buffer_size(), plus clean-upBrian Paul
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2002-03-19don't set plane mask for xm_buffer->gc, it causes an accum buffer ↵Brian Paul
conformance problem
2002-03-16Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul
instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*. The idea is that a window can be resized without it being bound to a rendering context. This makes for a nice clean-up in the XFree86 server-side GLX code. Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
2002-03-01silence gcc warnings (Marc La France)Brian Paul
2002-02-15use separate GC for SwapBuffers to avoid colormask problemBrian Paul
2002-02-14updated GL_VENDOR stringBrian Paul
2001-09-12minor re-orgBrian Paul