summaryrefslogtreecommitdiff
path: root/src/mesa/main/buffers.c
AgeCommit message (Collapse)Author
2006-10-17check if ctx->Driver.GetBufferSize==NULL and no-opBrian Paul
2006-10-15updated comments, mark GetBufferSize() and ResizeBuffers() as obsoleteBrian Paul
2006-09-22resize buffers in MakeCurrentKeith Whitwell
2006-06-02set per-context GL_DRAW_BUFFER state regardless of currently bound FBOBrian Paul
2006-04-05Silence minor compiler warnings (-Wextra).Brian Paul
2006-03-29minor clean-upBrian Paul
2006-03-25check for incomplete FBO in _mesa_Clear()Brian Paul
2006-03-20slightly improved error messageBrian Paul
2005-12-30properly notify driver on scissor change in MakeCurrentKeith Whitwell
2005-09-23Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex,Brian Paul
Streamline the _mesa_update_framebuffer() function a bit.
2005-09-19updated commentBrian Paul
2005-09-15Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul
with GLboolean in a few places.
2005-09-07minor tweaks to _mesa_ResizeBuffersMESA()Brian Paul
2005-09-06just changes/updates to commentsBrian Paul
2005-08-31Just additional comments.Brian Paul
2005-08-31remove dead code, update commentsBrian Paul
2005-07-01remove OLD_RENDERBUFFER stuffBrian 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-02-26Rename _mesa_update_buffers() to _mesa_update_draw_buffer_bounds() and doBrian Paul
additional checks. Replace _mesa_init_buffers() with _mesa_init_scissor() and _mesa_init_multisample().
2005-02-09initial support for GL_EXT_framebuffer_objectBrian Paul
2004-12-03silence a variety of warnings found with g++ 3.4.2Brian Paul
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-06-11s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/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-01-30more descriptive error stringsBrian Paul
2003-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-04comments regarding window sizingBrian Paul
2003-06-02s/DrawBuffer/ReadBuffer/ in _mesa_ResizeBuffersMESA (PHil Brown)Brian Paul
2003-04-29don't try to clear non-existant buffersBrian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
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-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-11undo previous check-in (check if ctx->Color.DrawBuffer == mode)Brian Paul
2002-10-11check mode for no change in _mesa_Read/DrawBuffer()Brian Paul
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-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-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-06-13New _mesa_debug() function to replace fprintf() calls.Brian Paul
Some source files updated to call _mesa_debug(), but not finished. Added __GLimports as a parameter to _mesa_create/init_context() and updated drivers accordingly. Fleshed-out more of the __GLimports and __GLexports functionality. Removed run-time config file support (config.c)
2002-04-19added some castsBrian Paul
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-02-15added a glClear() error checkBrian Paul
2001-09-14more warning fixes (Karl Schultz)Brian Paul
2001-06-18Consolidated source files. Since the re-org a number of source filesBrian Paul
only had one or two functions left in them.
2001-05-29infrastructure for GL_ARB_multisampleBrian Paul
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-01-29removed unused varsBrian Paul
2001-01-29Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell
functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
2001-01-24Lots of GLchan datatype changes.Brian Paul
Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11