summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/buffers.c
Commit message (Collapse)AuthorAgeFilesLines
* In supported_buffer_bitmask(), use framebuffer's visual, not context's visualBrian2007-06-081-28/+23
|
* no-op clear if buffer width or height is zero (bug 7205)Brian2007-03-151-0/+3
|
* minor change in _mesa_ResizeBuffersMESA()Brian Paul2006-11-021-1/+2
|
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-011-6/+1
|
* check if ctx->Driver.GetBufferSize==NULL and no-opBrian Paul2006-10-171-0/+4
|
* updated comments, mark GetBufferSize() and ResizeBuffers() as obsoleteBrian Paul2006-10-151-6/+15
|
* resize buffers in MakeCurrentKeith Whitwell2006-09-221-4/+10
|
* set per-context GL_DRAW_BUFFER state regardless of currently bound FBOBrian Paul2006-06-021-6/+4
|
* Silence minor compiler warnings (-Wextra).Brian Paul2006-04-051-3/+4
|
* minor clean-upBrian Paul2006-03-291-2/+3
|
* check for incomplete FBO in _mesa_Clear()Brian Paul2006-03-251-1/+7
|
* slightly improved error messageBrian Paul2006-03-201-2/+2
|
* properly notify driver on scissor change in MakeCurrentKeith Whitwell2005-12-301-13/+20
|
* Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex,Brian Paul2005-09-231-29/+31
| | | | Streamline the _mesa_update_framebuffer() function a bit.
* updated commentBrian Paul2005-09-191-2/+2
|
* Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul2005-09-151-13/+14
| | | | with GLboolean in a few places.
* minor tweaks to _mesa_ResizeBuffersMESA()Brian Paul2005-09-071-5/+9
|
* just changes/updates to commentsBrian Paul2005-09-061-10/+11
|
* Just additional comments.Brian Paul2005-08-311-0/+13
|
* remove dead code, update commentsBrian Paul2005-08-311-10/+5
|
* remove OLD_RENDERBUFFER stuffBrian Paul2005-07-011-6/+2
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-275/+273
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Rename _mesa_update_buffers() to _mesa_update_draw_buffer_bounds() and doBrian Paul2005-02-261-30/+48
| | | | | additional checks. Replace _mesa_init_buffers() with _mesa_init_scissor() and _mesa_init_multisample().
* initial support for GL_EXT_framebuffer_objectBrian Paul2005-02-091-55/+139
|
* silence a variety of warnings found with g++ 3.4.2Brian Paul2004-12-031-5/+5
|
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-193/+200
|
* s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/Brian Paul2004-06-111-2/+2
|
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-36/+36
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* more descriptive error stringsBrian Paul2004-01-301-9/+9
|
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-8/+8
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-40/+178
|
* comments regarding window sizingBrian Paul2003-06-041-4/+7
|
* s/DrawBuffer/ReadBuffer/ in _mesa_ResizeBuffersMESA (PHil Brown)Brian Paul2003-06-021-2/+2
|
* don't try to clear non-existant buffersBrian Paul2003-04-291-8/+12
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-4/+3
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* Header file clean-up:Brian Paul2002-10-241-6/+2
| | | | | | | | 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.
* Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul2002-10-111-27/+81
| | | | | | | 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.
* undo previous check-in (check if ctx->Color.DrawBuffer == mode)Brian Paul2002-10-111-4/+1
|
* check mode for no change in _mesa_Read/DrawBuffer()Brian Paul2002-10-111-2/+7
|
* Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul2002-10-041-8/+8
| | | | | | 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.
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-56/+36
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-21/+9
| | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
* New _mesa_debug() function to replace fprintf() calls.Brian Paul2002-06-131-6/+6
| | | | | | | | 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)
* added some castsBrian Paul2002-04-191-5/+3
|
* Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul2002-03-161-15/+41
| | | | | | | 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().
* added a glClear() error checkBrian Paul2002-02-151-3/+12
|
* more warning fixes (Karl Schultz)Brian Paul2001-09-141-3/+3
|
* Consolidated source files. Since the re-org a number of source filesBrian Paul2001-06-181-2/+32
| | | | only had one or two functions left in them.
* infrastructure for GL_ARB_multisampleBrian Paul2001-05-291-1/+22
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-2/+2
|