Age | Commit message (Collapse) | Author |
|
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.
|
|
Do proper reference counting so that we don't wind up with dangling
references to deleted windows/framebuffers. Should help with bug 7205.
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
New GLint64EXT and GLuint64EXT types (use C99's long long types).
New glGetQueryObject[u]i64vEXT() functions.
|
|
of the XMesaPixmap field to avoid some X server-side issues with casting.
|
|
|
|
yet).
Extends the query mechanism to query elapsed time while rendering.
|
|
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.
|
|
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
|
|
|
|
the values in the contained GLframebuffer.
Removed some other unneeded code.
|
|
|
|
|
|
fields in __GLcontextModes (the base type). Removed the need to keep
the XMesaVisualInfo pointer when building inside the X-server.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indicates the read AND draw color buffer for all software rasterization.
Lots of related clean-ups. See RELNOTES-4.1 for details.
|
|
|
|
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().
|
|
from rendering into one window in parallel and wasn't really needed anyway.
|
|
|
|
|
|
|
|
|
|
and GLframebuffer structs instead of pointers
|
|
|
|
(ie a 'struct __GLcontextRec *') instead of an 'XMesaContext'.
This is to fix conflicts in XFree86 where both the indirect XMesaContext
and the GLcontext were calling themselves __GLcontextRec's.
|
|
New array_cache module
Support 8 texture units in core mesa (now support 8 everywhere)
Rework core mesa statechange operations to avoid flushing on many
noop statechanges.
|
|
Mesa/src/Allegro/amesa.c Mesa/src/DOS/dosmesa.c
Mesa/src/FX/fxdd.c Mesa/src/FX/fxdrv.h
Mesa/src/FX/fxfastpath.c
Mesa/src/GGI/include/ggi/mesa/ggimesa.h
Mesa/src/OSmesa/osmesa.c Mesa/src/SVGA/svgamesa.c
Mesa/src/Trace/tr_control.c Mesa/src/Windows/wgl.c
Mesa/src/X/xmesaP.h Mesa/src/X86/3dnow.c Mesa/src/X86/katmai.c
Mesa/src/X86/x86.c
Removed Files:
Mesa/src/mms_depend
Oops,... all files containing Caps in directory name or file name were
missing in my types->mtypes commit.
----------------------------------------------------------------------
|
|
* Added missing #includes all over the place
* Added GGI-style debugging harness to GGIMesa
|
|
Pass color or color index directly to WriteMono*() span functions.
Updated current s/w drivers accordingly.
Clean-up of X gc handling in XMesa driver.
|
|
functions to fit into the framework provided for extending the
software rasterizer.
|
|
Renamed struct gl_context to struct __GLcontextRec.
Include glcore.h, setup GL imports/exports.
Replaced gl_ prefix with _mesa_ prefix in context.[ch] functions.
GLcontext's Visual field is no longer a pointer.
|
|
|
|
|
|
|