Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: fix issues around multisample enable | Roland Scheidegger | 2008-07-02 | 1 | -1/+1 |
| | | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer. | ||||
* | fix bug 13978: glDrawBuffersARB() didn't set all necessary state | Brian | 2008-01-09 | 1 | -0/+2 |
| | |||||
* | Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexes | Brian | 2008-01-06 | 1 | -45/+44 |
| | | | | | | | Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers. | ||||
* | Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835. | Brian | 2008-01-06 | 1 | -2/+3 |
| | | | | | | | | | | | These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this... | ||||
* | additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767) | Brian | 2008-01-02 | 1 | -0/+8 |
| | |||||
* | additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767) | Brian | 2008-01-01 | 1 | -0/+8 |
| | |||||
* | Don't call the driver clear hook when the effective scissor rectangle is empty. | Michel Dänzer | 2007-10-17 | 1 | -1/+3 |
| | |||||
* | remove dead code left over after fixing GL_READ/DRAW_BUFFER state issues | Brian | 2007-08-18 | 1 | -47/+0 |
| | |||||
* | Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland ↵ | Brian | 2007-08-16 | 1 | -5/+81 |
| | | | | | | | | | previously did. Basically, in update_framebuffer() (which should be called after an FBO is bound with MakeCurrent or BindFramebuffer) we check if the FBO is a window-system FBO. If it is, update the FBO's GL_READ/DRAW_BUFFER state according to the context state. Old code still in place but disabled with #if 0 / #endif. | ||||
* | update comments, etc related to Read/DrawBuffer state | Brian | 2007-08-16 | 1 | -2/+5 |
| | |||||
* | fix bogus recently introduced function param comments | Roland Scheidegger | 2007-07-20 | 1 | -2/+0 |
| | |||||
* | fix mesa's handling of fbo's / window fb (again) | Roland Scheidegger | 2007-07-19 | 1 | -23/+49 |
| | | | | | | | | Make sure the relevant fields in window fbs get updated at appropriate time (those are NOT the same as fbos!!!), and fix up related code accordingly. This is a bit ugly, but there's a reason the issues section in EXT_fbo is a couple hundred pages long... Hopefully correct now. | ||||
* | more fixes for mesa's fbo handling (fixes tests/fbotest1/2) | Roland Scheidegger | 2007-07-19 | 1 | -3/+2 |
| | |||||
* | In supported_buffer_bitmask(), use framebuffer's visual, not context's visual | Brian | 2007-06-08 | 1 | -28/+23 |
| | |||||
* | no-op clear if buffer width or height is zero (bug 7205) | Brian | 2007-03-15 | 1 | -0/+3 |
| | |||||
* | minor change in _mesa_ResizeBuffersMESA() | Brian Paul | 2006-11-02 | 1 | -1/+2 |
| | |||||
* | Remove x/y/width/height parameters from Clear functions. | Brian Paul | 2006-11-01 | 1 | -6/+1 |
| | |||||
* | check if ctx->Driver.GetBufferSize==NULL and no-op | Brian Paul | 2006-10-17 | 1 | -0/+4 |
| | |||||
* | updated comments, mark GetBufferSize() and ResizeBuffers() as obsolete | Brian Paul | 2006-10-15 | 1 | -6/+15 |
| | |||||
* | resize buffers in MakeCurrent | Keith Whitwell | 2006-09-22 | 1 | -4/+10 |
| | |||||
* | set per-context GL_DRAW_BUFFER state regardless of currently bound FBO | Brian Paul | 2006-06-02 | 1 | -6/+4 |
| | |||||
* | Silence minor compiler warnings (-Wextra). | Brian Paul | 2006-04-05 | 1 | -3/+4 |
| | |||||
* | minor clean-up | Brian Paul | 2006-03-29 | 1 | -2/+3 |
| | |||||
* | check for incomplete FBO in _mesa_Clear() | Brian Paul | 2006-03-25 | 1 | -1/+7 |
| | |||||
* | slightly improved error message | Brian Paul | 2006-03-20 | 1 | -2/+2 |
| | |||||
* | properly notify driver on scissor change in MakeCurrent | Keith Whitwell | 2005-12-30 | 1 | -13/+20 |
| | |||||
* | Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex, | Brian Paul | 2005-09-23 | 1 | -29/+31 |
| | | | | Streamline the _mesa_update_framebuffer() function a bit. | ||||
* | updated comment | Brian Paul | 2005-09-19 | 1 | -2/+2 |
| | |||||
* | Replace GLuint with GLbitfield where appropriate. Also replace GLuint | Brian Paul | 2005-09-15 | 1 | -13/+14 |
| | | | | with GLboolean in a few places. | ||||
* | minor tweaks to _mesa_ResizeBuffersMESA() | Brian Paul | 2005-09-07 | 1 | -5/+9 |
| | |||||
* | just changes/updates to comments | Brian Paul | 2005-09-06 | 1 | -10/+11 |
| | |||||
* | Just additional comments. | Brian Paul | 2005-08-31 | 1 | -0/+13 |
| | |||||
* | remove dead code, update comments | Brian Paul | 2005-08-31 | 1 | -10/+5 |
| | |||||
* | remove OLD_RENDERBUFFER stuff | Brian Paul | 2005-07-01 | 1 | -6/+2 |
| | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -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 do | Brian Paul | 2005-02-26 | 1 | -30/+48 |
| | | | | | additional checks. Replace _mesa_init_buffers() with _mesa_init_scissor() and _mesa_init_multisample(). | ||||
* | initial support for GL_EXT_framebuffer_object | Brian Paul | 2005-02-09 | 1 | -55/+139 |
| | |||||
* | silence a variety of warnings found with g++ 3.4.2 | Brian Paul | 2004-12-03 | 1 | -5/+5 |
| | |||||
* | added support for GL_ARB_draw_buffers | Brian Paul | 2004-10-02 | 1 | -193/+200 |
| | |||||
* | s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/ | Brian Paul | 2004-06-11 | 1 | -2/+2 |
| | |||||
* | Implemented support for software-based AUX color buffers. | Brian Paul | 2004-03-21 | 1 | -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 strings | Brian Paul | 2004-01-30 | 1 | -9/+9 |
| | |||||
* | Added GLAPIENTRY decorations for all first level OpenGL API function entry | Kendall Bennett | 2003-10-21 | 1 | -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 branch | Keith Whitwell | 2003-07-17 | 1 | -40/+178 |
| | |||||
* | comments regarding window sizing | Brian Paul | 2003-06-04 | 1 | -4/+7 |
| | |||||
* | s/DrawBuffer/ReadBuffer/ in _mesa_ResizeBuffersMESA (PHil Brown) | Brian Paul | 2003-06-02 | 1 | -2/+2 |
| | |||||
* | don't try to clear non-existant buffers | Brian Paul | 2003-04-29 | 1 | -8/+12 |
| | |||||
* | Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] | Brian Paul | 2003-03-01 | 1 | -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 Paul | 2002-10-24 | 1 | -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 Paul | 2002-10-11 | 1 | -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. |