History log of /external/mesa3d/src/mesa/main/framebuffer.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
284ad9c3b29a6d6f0bade050ea9e949d67967983 18-Jul-2012 Paul Berry <stereotype441@gmail.com> mesa: Make more consistent use of _mesa_is_{user,winsys}_fbo()

A lot of code was still differentiating between between winsys and
user fbos by testing the fbo's name against zero. This converts
everything in core mesa, the state tracker, and src/mesa/program over
to use _mesa_is_user_fbo() and _mesa_is_winsys_fbo().

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/framebuffer.c
48fdfbcb58929f1c20cb21190846faa388b1abba 10-Jul-2012 Paul Berry <stereotype441@gmail.com> msaa: Compute visual samples/sampleBuffers from all buffers.

This patch ensures that Visual.samples and Visual.sampleBuffers are
set correctly even in the case where there is no color buffer.
Previously, these values would retain their default value of 0 in this
circumstance, even if the depth or stencil buffer was multisampled.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/main/framebuffer.c
69c8f468ba93dc2999d4fde8909f8051e910929a 24-Jan-2012 Marek Olšák <maraeo@gmail.com> mesa: remove ctx->Const.sRGBCapable

It always had the same value as ctx->Extensions.EXT_framebuffer_sRGB.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/framebuffer.c
36ede89687fe2de213f2637ab7acfb80cfd856cd 12-Jan-2012 Brian Paul <brianp@vmware.com> mesa: use _mesa_is_user_fbo() and _mesa_is_winsys_fbo() functions

Rather than testing the fbo's name against zero.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/framebuffer.c
45a3b540639921c4b562f4e3bb32d1b2f2f47d39 09-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove obsolete comment on _mesa_dest_buffer_exists()
/external/mesa3d/src/mesa/main/framebuffer.c
c87247f6a8c5505fea3fa29dac372f9f5316a118 06-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove gl_framebuffer:_DepthBuffer, _StencilBuffer fields

These were used by swrast to make a combined depth+stencil buffer look
like separate depth and stencil buffers. But that's no longer needed
after rewriting the depth/stencil code in swrast.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/framebuffer.c
6596aeb4ffd344af56de646800dbec65b92397d8 10-Dec-2011 Brian Paul <brianp@vmware.com> mesa: remove _DepthBuffer, _StencilBuffer resize code

This is handled in swrast now when we validate the framebuffer state.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/framebuffer.c
6e1228976b6ff91492b2fc338282e21404870d26 10-Dec-2011 Brian Paul <brianp@vmware.com> mesa: move depth/stencil buffer validation to swrast

Since gl_framebuffer::_DepthBuffer and _StencilBuffer are only used
by swrast, do the validation of those fields in swrast too.
The main/depthstencil.[ch] code is no longer used and will be removed
next.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/framebuffer.c
c0a55cf68aa80cacbc709b25205705eee2e3bbdb 10-Dec-2011 Brian Paul <brianp@vmware.com> mesa: move update_depth/stencil_buffer() functions

These functions update the gl_framebuffer::_DepthBuffer and _StencilBuffer
fields, possibly creating renderbuffer wrappers that make a shared
depth+stencil accessible as depth-only or stencil only.
This stuff is only used by swrast now and will be moved there next.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/framebuffer.c
f767e96131ba69cf61aa9f848d5f24e4396ac920 04-Dec-2011 Dave Airlie <airlied@redhat.com> mesa: add missing RG_INTEGER and some RED_INTEGER_EXT checks.

This just adds the correct checks and asserts in the right places. This doesn't
fix all the tests that I've sent to piglit, need to add int paths to go alongside the uint paths that don't go via float to fix it up properly.

I'm not sure how much of that could be templated/shared will have a look
once I write it the long way.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/framebuffer.c
504d0add1257f63d72d320f99f182412358dc40f 13-Oct-2011 Brian Paul <brianp@vmware.com> mesa: check attachment Type field in renderbuffer_exists()

Instead of the renderbuffer pointer. In the future, attaching a texture
may not mean the renderbuffer pointer gets set too.
Plus, remove some commented-out assertions.
/external/mesa3d/src/mesa/main/framebuffer.c
e5fef34c2132e29b6cecfda525dfa956c4477d75 13-Oct-2011 Brian Paul <brianp@vmware.com> mesa: consolidate _mesa_source/dest_buffer_exists()

v2: add a 'reading' parameter to distinguish between reading and writing
to the renderbuffer (we don't want to check if _ColorReadBuffer is null
when we're about to draw). Eric found this mistake.
/external/mesa3d/src/mesa/main/framebuffer.c
7aab0fbaa6ec41c720bed6cfcb53a50c2a646a26 11-Oct-2011 Brian Paul <brianp@vmware.com> mesa: make _mesa_update_depth/stencil_buffer() static

These functions were only called in framebuffer.c where they were defined.
Remove the unneeded attIndex parameter too.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/framebuffer.c
e174b5d4835c99d06fbffbacabe4ee1f467a09e0 29-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove GL_COLOR_INDEX from _mesa_{dest,source}_buffer_exists

Mesa hasn't supported color-index rendering for a long time.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/framebuffer.c
58c04435b12a104b1996fac4d3a3d345f31bd4e7 27-Jul-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> mesa: don't forget about sampleBuffers in framebuffer visual update

Otherwise multisample will never been enabled for multisample
renderbuffers.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/framebuffer.c
5db7723ada0be301b7f8eed754cb62f8a84d6768 14-Jul-2011 Brian Paul <brianp@vmware.com> mesa: use inline function wrapper for _mesa_reference_framebuffer()
/external/mesa3d/src/mesa/main/framebuffer.c
ba15e8260ef6697fcd8c1f6ab098469db6fe78ba 01-Jul-2011 Marek Olšák <maraeo@gmail.com> mesa: implement depth/stencil renderbuffer wrapper accessors for Z32F_X24S8

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/framebuffer.c
15f99d13626b42f517467fd884a379cc7475e5d1 16-Feb-2011 Marek Olšák <maraeo@gmail.com> mesa: finish up ARB_texture_float

Squashed commit of the following:

Author: Marek Olšák <maraeo@gmail.com>

mesa: handle floating-point formats in _mesa_base_fbo_format
mesa: add ARB/ATI_texture_float, remove MESAX_texture_float

commit 123bb110852739dffadcc81ad80b005b1c4f586d
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Wed Aug 25 01:35:42 2010 +0200

mesa: compute floatMode for FBOs and return it on RGBA_FLOAT_MODE
/external/mesa3d/src/mesa/main/framebuffer.c
db0f9e701d59dcfcd3b50f4d245897692f27fec9 05-Apr-2011 Brian Paul <brianp@vmware.com> mesa: added _mesa_get_attachment_teximage() helpers
/external/mesa3d/src/mesa/main/framebuffer.c
c0110d5450f2d4722652728a6b30bc9ae6b81c60 14-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: fix up assertion in _mesa_source_buffer_exists

This was probably missed when implementing luminance and luminance alpha
render targets.

_mesa_get_format_bits checks for both GL_*_BITS and GL_TEXTURE_*_SIZE.

This fixes:
main/framebuffer.c:892: _mesa_source_buffer_exists: Assertion `....' failed.
/external/mesa3d/src/mesa/main/framebuffer.c
5f4d0cc6bcfb34a68a72ebc4091f3ab0cf43f90c 02-Mar-2011 Brian Paul <brianp@vmware.com> Revert "mesa: reduce calls to _mesa_test_framebuffer_completeness()"

This reverts commit 1f9a0a4e6e5566c36c781add5f1e62af3efdfb58.

This caused trouble with Lightsmark w/ i965 driver and fbo/fbo-blit-d24s8
(see bug 34894). It's probably something simple but no time to debug now.
/external/mesa3d/src/mesa/main/framebuffer.c
fec26193fbc279985ba91740f654c82dbd8a7a67 01-Mar-2011 Brian Paul <brianp@vmware.com> mesa: remove some old do-nothing code
/external/mesa3d/src/mesa/main/framebuffer.c
1f9a0a4e6e5566c36c781add5f1e62af3efdfb58 01-Mar-2011 Brian Paul <brianp@vmware.com> mesa: reduce calls to _mesa_test_framebuffer_completeness()

when updating/validating framebuffer state. The _Status field is set
to zero when we need to recompute _Status. Otherwise, it's up to date.
/external/mesa3d/src/mesa/main/framebuffer.c
88ffa9ce5b8e5fe2b93238f8b9a7a888be28324e 28-Jan-2011 Dave Airlie <airlied@gmail.com> mesa/965: add support for GL_EXT_framebuffer_sRGB (v2)

This adds i965 support for GL_EXT_framebuffer_sRGB, it introduces a new
constant to say that the driver can support sRGB enabled FBOs since enabling
the extension doesn't mean the driver can actually support sRGB.

Also adds the suggested state flush in the core code suggested by Brian.

fix the ARB_fbo color encoding.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/framebuffer.c
059cca92a819e20e0d834605a3a7d277eaf88d9f 03-Jan-2011 Eric Anholt <eric@anholt.net> mesa: Use the common logic for "is this baseformat a color format?"

When figuring out whether a renderbuffer should be used to set the
visual bits of an FBO, we were missing important baseformats like
GL_RED, GL_RG, and GL_LUMINANCE.
/external/mesa3d/src/mesa/main/framebuffer.c
7a60512f849f052a7abc2ad0aa42a0c152e5c5e6 23-Oct-2010 Brian Paul <brianp@vmware.com> mesa: added cases for GL_EXT_texture_integer formats
/external/mesa3d/src/mesa/main/framebuffer.c
d4c1bcce44add7642e857237dfe69bf1fc4511d9 22-Oct-2010 Brian Paul <brianp@vmware.com> mesa: add GL_RG case to _mesa_source_buffer_exists()

Fixes failure with glReadPixels(format=GL_RG)
/external/mesa3d/src/mesa/main/framebuffer.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/framebuffer.c
31aca27c08d6a385c595d34fe4ee06390bf5b0e8 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLframebuffer typedef and just use struct gl_framebuffer
/external/mesa3d/src/mesa/main/framebuffer.c
d3491e775fb07f891463b2185d74bbad62f3ed24 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Rename GLvisual and __GLcontextModes to struct gl_config
/external/mesa3d/src/mesa/main/framebuffer.c
7b07674667e8e34c936c417ab6f1c2e33093205b 26-Aug-2010 Brian Paul <brianp@vmware.com> mesa: fix mixed-up function call name
/external/mesa3d/src/mesa/main/framebuffer.c
e71a9042cb5e046072d2ea8fbd22a01de625bf8a 26-Aug-2010 Nick Bowler <nbowler@draconx.ca> mesa: Identify packed depth/stencil buffers using the Format field.

Intel sometimes uses packed depth/stencil buffers even when only a depth
buffer or only a stencil buffer was requested. Common code currently
uses the _BaseFormat field to determine whether a depth/stencil wrapper
is necessary. But unless the user explicitly requested a packed
depth/stencil buffer, the _BaseFormat field does not encode this
information, and the required wrappers are not created.

The problem was introduced by commit 45e76d2665b38b ("mesa: remove a
bunch of gl_renderbuffer fields"), which killed off the _ActualFormat
field upon which the decision to create a wrapper used to be made. This
patch changes the logic to use the Format field instead, which is more
like the old code.

Fixes fdo bug 27590.

Signed-off-by: Nick Bowler <nbowler@draconx.ca>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/framebuffer.c
9456e22c7a8803bed1146a89e7581badf0ae8064 04-Jun-2010 Kristian Høgsberg <krh@bitplanet.net> intel: Implement EGL_KHR_surfaceless extension
/external/mesa3d/src/mesa/main/framebuffer.c
cbd33e7d3a940e4e7a7bc435f2256714115f3040 23-Jun-2010 Marek Olšák <maraeo@gmail.com> mesa: fix assertion failure for GL_ALPHA FBOs
/external/mesa3d/src/mesa/main/framebuffer.c
262cdbd957b68878adf1fb3edcf478604ed9f171 25-May-2010 Eric Anholt <eric@anholt.net> mesa: Allow GL_ALPHA FBOs with ARB_framebuffer_object.

Drivers still reject them today, but cairo would like to use these.
/external/mesa3d/src/mesa/main/framebuffer.c
421e9aa71c9dc1c1462e55338dc5ceafb773e201 29-Apr-2010 Brian Paul <brianp@vmware.com> mesa: added _mesa_print_framebuffer() for debugging
/external/mesa3d/src/mesa/main/framebuffer.c
b318039e9a790d9d90bd524c79af2d9a444d0093 10-Mar-2010 Brian Paul <brianp@vmware.com> mesa: added new function comments
/external/mesa3d/src/mesa/main/framebuffer.c
22a96f305898b5d1aa26809c7156a01686eb9bf0 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove checks of Visual.rgbMode

This must always be true now, so there is no reason to check it. Ever.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/framebuffer.c
7da9da190f44f504db13570c0cec05dffa240cae 21-Feb-2010 Vinson Lee <vlee@vmware.com> mesa: Add assert to check for null pointer dereference.
/external/mesa3d/src/mesa/main/framebuffer.c
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
/external/mesa3d/src/mesa/main/framebuffer.c
6bf1ea897fa470af58fe8916dff45e2da79634a3 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: replace _mesa_bzero() with memset()
/external/mesa3d/src/mesa/main/framebuffer.c
2ec50d256d49ff3b987459ed42a5dc66f02a6b9d 03-Feb-2010 Francisco Jerez <currojerez@riseup.net> mesa: Factor out the fb initialization details from _mesa_new_framebuffer.

This should make things easier for drivers wanting to work with a
"subclass" of gl_framebuffer.

The complementary "_mesa_initialize_framebuffer" function is now
called "_mesa_initialize_window_framebuffer" for the sake of
symmetry.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/framebuffer.c
cd6b8dd9e82fedc55d033131fbc0f8ee950567c8 09-Dec-2009 Eric Anholt <eric@anholt.net> mesa: Move OES_read_format support from drivers into the core.

The assertion is that the correct read type to be using is the native
type of the underlying read renderbuffer. For some fallback paths, this
may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets
all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or
GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work.

This fixes the intel (and other) DRI drivers to report read formats that
should hit blit PBO readpixels paths.
/external/mesa3d/src/mesa/main/framebuffer.c
45e76d2665b38ba3787548310efc59e969124c01 09-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove a bunch of gl_renderbuffer fields

_ActualFormat is replaced by Format (MESA_FORMAT_x).
ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are
all replaced by MESA_FORMAT_x queries.
/external/mesa3d/src/mesa/main/framebuffer.c
483a7916d1c93d1edf125dc671dcfbff42a9fc5e 07-Aug-2009 Brian Paul <brianp@vmware.com> mesa: update framebuffer status as needed in _mesa_source/dest_buffer_exists()
/external/mesa3d/src/mesa/main/framebuffer.c
94504be63a9a70263a0eb2872295867c989be2b1 07-Aug-2009 Brian Paul <brianp@vmware.com> mesa: test DrawBuffer, not ReadBuffer in _mesa_dest_buffer_exists()

Also, update comments.
/external/mesa3d/src/mesa/main/framebuffer.c
81569c2f697586daab01486ec1da28f0a03b5c6a 12-Mar-2009 Keith Whitwell <keithw@vmware.com> mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()
/external/mesa3d/src/mesa/main/framebuffer.c
0f04a1d3f8989b0a391e6dad80abf06ce151d1f1 07-Mar-2009 Brian Paul <brianp@vmware.com> mesa: remove last of _mesa_unreference_framebuffer() calls
/external/mesa3d/src/mesa/main/framebuffer.c
49002698193784dacffcbf993de26fcdd42c523e 09-Feb-2009 Brian Paul <brianp@vmware.com> mesa: rework _mesa_reference_framebuffer() to look like _mesa_reference_renderbuffer()

_mesa_unreference_framebuffer() is deprecated since _mesa_reference_framebuffer(ptr, NULL)
can be used instead.
/external/mesa3d/src/mesa/main/framebuffer.c
38768dbc76f4963587a90823f73a1a2d981f63e6 27-Jan-2009 Brian Paul <brianp@vmware.com> mesa: move call to _mesa_update_framebuffer_visual()

Update the visual info in the _mesa_test_framebuffer_completeness()
function when we've determined the FBO to be "complete".

Fixes regression seen in progs/demos/shadowtex.c
/external/mesa3d/src/mesa/main/framebuffer.c
7296636ad03f58c7b7f673109515c1659a36a899 22-Jan-2009 Brian Paul <brianp@vmware.com> mesa: avoid calling _mesa_test_framebuffer_completeness() more than needed

When we change a FBO's attachments, set _Status=0.
Before using an FBO, check if status != GL_FRAMEBUFFER_COMPLETE.
Also, fix missing GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE status.
/external/mesa3d/src/mesa/main/framebuffer.c
23524e87339b25be75580a2dd2ea296b1741bffb 21-Jan-2009 Brian Paul <brianp@vmware.com> mesa: update Visual.samples field in _mesa_update_framebuffer_visual()
/external/mesa3d/src/mesa/main/framebuffer.c
283edbe31177522d006ab37ebaf33a6e31f0a34e 22-Jan-2009 Brian Paul <brianp@vmware.com> mesa: update update_framebuffer_size() for ARB_fbo and mixed renderbuffer sizes
/external/mesa3d/src/mesa/main/framebuffer.c
452a592ca4b1bac78eee53fb9f2f1deac7832840 31-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> mesa: Apply MSVC portability fixes from Alan Hourihane.
/external/mesa3d/src/mesa/main/framebuffer.c
e48defc98045f419e71ca13e4f45470b2336ecaf 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to framebuffer.c
(cherry picked from commit 9091015a9782ad15e58540a8fd61df83ea2bfe31)
/external/mesa3d/src/mesa/main/framebuffer.c
0fd1a8c4a1201f3508cb6a98dc1c66ab9ebd919f 03-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> fix BUFFER_DEPTH/BUFFER_ACCUM mix-up
/external/mesa3d/src/mesa/main/framebuffer.c
2a077500a84819d1e6ac62e84ded130aa655c5e9 23-Jan-2008 Brian <brian.paul@tungstengraphics.com> Fix some issues with glDrawBuffer(GL_NONE), bug 14198

Set _ColorDrawBuffers[0] = NULL if no renderbuffers enabled.
Check that _ColorDrawBuffers[0] is non-null before dereferencing in a few places.
/external/mesa3d/src/mesa/main/framebuffer.c
601a6b872c33bfe3cb4ea03a5a8ba5ebe92dedaf 07-Jan-2008 Brian <brian.paul@tungstengraphics.com> Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexes

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.
/external/mesa3d/src/mesa/main/framebuffer.c
ff73c783cc47361ff0dd819c82d067b4b85870dd 06-Jan-2008 Brian <brian.paul@tungstengraphics.com> Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.

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...
/external/mesa3d/src/mesa/main/framebuffer.c
32d86eb28aedd01a03ceab746214a8db2a4cbbab 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland 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.
/external/mesa3d/src/mesa/main/framebuffer.c
c033ccc36d08c669dcdfbfc1cf89e472e8211c5f 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> update comments, etc related to Read/DrawBuffer state
/external/mesa3d/src/mesa/main/framebuffer.c
9e01b915f1243a3f551cb795b7124bd1e52ca15f 13-Aug-2007 Brian <brian.paul@tungstengraphics.com> Implement mutex/locking around texture object reference counting.

Use new _mesa_reference_texobj() function for referencing/unreferencing
textures. Add new assertions/tests to try to detect invalid usage of
deleted textures.
/external/mesa3d/src/mesa/main/framebuffer.c
a1bc0d0f51c2aa248a349283c3b86ae2c72af4aa 18-Jul-2007 Roland Scheidegger <sroland@tungstengraphics.com> fix mesa's handling of fbo's / window fb (again)

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.
/external/mesa3d/src/mesa/main/framebuffer.c
f9ac01eac511aa9ea0b8b48774022a08d0fc2f3b 19-Jul-2007 Roland Scheidegger <sroland@tungstengraphics.com> fix up mesa's probably bogus framebuffer updates with different read/write fbs

Conflicts:

src/mesa/main/framebuffer.c
/external/mesa3d/src/mesa/main/framebuffer.c
b755a2d9de5b7977c410a904a8adb7c07c88f82a 12-Jul-2007 Brian <brian.paul@tungstengraphics.com> Minor clean-up of polygon offset logic. Properly compute _MRD field.
/external/mesa3d/src/mesa/main/framebuffer.c
42aaa548a1020be5d40b3dce9448d8004b1ef947 25-Mar-2007 Brian <brian@nostromo.localnet.net> Fix some renderbuffer reference counting issues. Also fixes a mem leak.
/external/mesa3d/src/mesa/main/framebuffer.c
e5070bc3ca75dee31034cc543f3d2ee04e5dc032 16-Mar-2007 Brian <brian@yutani.localnet.net> Assorted fixes for dealing with zero-size frame/renderbuffers.

In xmesa_check_and_update_buffer_size() handle xmctx==NULL correctly: still
call _mesa_resize_framebufer(). If we don't we can wind up in a situation
where the framebuffer size is non-zero but an attached renderbuffer size
is still initialized to zero. This inconsistancy can later cause problems.
Check for zero-size renderbuffers in update_color_draw_buffers() and
update_color_read_buffer().
See bug 7205.
/external/mesa3d/src/mesa/main/framebuffer.c
1a6baf092b4c31d5fd30c934f1a17d69c9689f12 07-Mar-2007 Brian <brian@yutani.localnet.net> unreference old framebuffer, if needed, in _mesa_reference_framebuffer()
/external/mesa3d/src/mesa/main/framebuffer.c
a510bc3ee1a696da120c09ee4ec33dc033f671ac 06-Mar-2007 Brian <brian@yutani.localnet.net> Fix/improve framebuffer object reference counting.

Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions
to be sure reference counting is done correctly. Additional assertions are
done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as
that's more accurate.
/external/mesa3d/src/mesa/main/framebuffer.c
593802c0b0f451299ac2598c6de61e884fb44830 06-Mar-2007 Brian <brian@yutani.localnet.net> Take care of texObj reference in _mesa_free_framebuffer_data()
/external/mesa3d/src/mesa/main/framebuffer.c
f30e31276304696558abffdd9a6e3df21d41c0f5 27-Feb-2007 Brian <brian@yutani.localnet.net> assert that fb->RefCount==0 in _mesa_free_framebuffer_data()
/external/mesa3d/src/mesa/main/framebuffer.c
e6a9381f78605072cab52447fce35eaa98c1e75c 26-Feb-2007 Brian <brian@yutani.localnet.net> Do proper framebuffer refcounting in _mesa_make_current().

Also, added DeletePending field to gl_framebuffer used when a window has been
deleted, but there still may be rendering contexts attached to the
gl_framebuffer object.
/external/mesa3d/src/mesa/main/framebuffer.c
041d64812e4fa7a0444aa35c59d14ce85240b5de 16-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Set _NEW_BUFFERS in _mesa_resize_framebuffer(). This makes sure the swrast
module updates its state (CLIP_BIT) upon resizes. The driver could do this
instead, but doing it here is safer.
/external/mesa3d/src/mesa/main/framebuffer.c
02aa5fba0375a6013cc7cbaeb4883cc1263bbef4 11-Sep-2006 Brian Paul <brian.paul@tungstengraphics.com> init accum buffer fields in _mesa_update_framebuffer_visual()
/external/mesa3d/src/mesa/main/framebuffer.c
feb0ff11e5d429e1444f9987137c929adfb09bc8 21-Jun-2006 Alan Hourihane <alanh@tungstengraphics.com> Check for a valid context
/external/mesa3d/src/mesa/main/framebuffer.c
161de10ce885e73ca07a0c851d63bf1a732c1ea8 19-Jun-2006 Alan Hourihane <alanh@tungstengraphics.com> If DrawBuffer isn't set, return immediately
/external/mesa3d/src/mesa/main/framebuffer.c
2eb88c1752f3c2f2f858415a89fdfc96e6669fc8 20-May-2006 Brian Paul <brian.paul@tungstengraphics.com> Added _mesa_dereference_framebuffer() to encapsulate reference count
decrement, delete and locking.
/external/mesa3d/src/mesa/main/framebuffer.c
20e11b233277da7091ef5052f04208e344b05334 19-May-2006 Brian Paul <brian.paul@tungstengraphics.com> remove an assertion
/external/mesa3d/src/mesa/main/framebuffer.c
34b3b40af97d2db6d46dcce46c4c49c198621fce 20-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> some tentative code for _mesa_update_framebuffer_visual()
/external/mesa3d/src/mesa/main/framebuffer.c
5722338ea5376cea562f27cad3bce29276930f37 06-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> do additional checking for setting up depth/stencil wrappers
/external/mesa3d/src/mesa/main/framebuffer.c
28b014ee256290eb0494b967e40c475c0c895f57 05-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> Silence minor compiler warnings (-Wextra).
/external/mesa3d/src/mesa/main/framebuffer.c
84c5d0a789d40f625932e4006cdde19eca2f5558 30-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> comments regarding assertions
/external/mesa3d/src/mesa/main/framebuffer.c
ea4fe661d7f3a95d9db17e1475076f1badf8e1a6 26-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> merge from texman branch
/external/mesa3d/src/mesa/main/framebuffer.c
753af3a206e3976be9a0954578d866218fdbf30a 25-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> fix issue in _mesa_free_framebuffer_data()
/external/mesa3d/src/mesa/main/framebuffer.c
590cd26006959ba390d5ebe337cb363827087941 24-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> added some missing formats in _mesa_source/dest_buffer_exists()
/external/mesa3d/src/mesa/main/framebuffer.c
7275d4d097f97a2154dfe8fa573dc193cb5b4bf1 20-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> added _mesa_source/dest_buffer_exists() function to easily test if particular renderbuffers are present
/external/mesa3d/src/mesa/main/framebuffer.c
0f29ef6092b77a5047c92520bb8e773ef44bca7c 16-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> additional comments about GL_DEPTH_STENCIL buffers
/external/mesa3d/src/mesa/main/framebuffer.c
847160466cb7d1af55f294578c328b01fb3fd3d3 16-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).
depthstencil.c provides wrappers for treating depth/stencil buffers either
as regular depth or stencil renderbuffers.
/external/mesa3d/src/mesa/main/framebuffer.c
7edf68e08178106a37094e1aed2df1898f3027cd 15-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> check for ctx==NULL, bug 4087
/external/mesa3d/src/mesa/main/framebuffer.c
52f686c48080cec9a26aa23d16bc14bd3d302d70 21-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> fix GLX server resize/crash when resizing windows
/external/mesa3d/src/mesa/main/framebuffer.c
474f28e57ca750ca39d7f684904a3c0e69a03f62 08-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,
etc. after calling glRenderBufferStorageEXT gave undefined results.
/external/mesa3d/src/mesa/main/framebuffer.c
eb063cfa386ccf64e01be2fc6e6a44f702d19da5 04-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> change initialization of renderbuffer DepthBits
/external/mesa3d/src/mesa/main/framebuffer.c
a6296dd2c3cd40fc58fb1cd52b299fdf6c37f8c2 03-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> disable a warning
/external/mesa3d/src/mesa/main/framebuffer.c
d95000da2fdad78f25618fe9703f23806587b65a 28-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> check for framebuffer completeness, code clean-up
/external/mesa3d/src/mesa/main/framebuffer.c
79b4dbc4961a80e6a88235ae7455ffdcec23e982 23-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> remove printf
/external/mesa3d/src/mesa/main/framebuffer.c
048b13df65f222b10564091df3dfa2b6cab77631 23-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex,
Streamline the _mesa_update_framebuffer() function a bit.
/external/mesa3d/src/mesa/main/framebuffer.c
676d0accf5cc43e86057b14cfb8bba9316932582 22-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,
BlueBits, etc fields.
/external/mesa3d/src/mesa/main/framebuffer.c
e00ac11d4dd05c56584622dc2707bbdcfe4b2707 15-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace GLuint with GLbitfield where appropriate. Also replace GLuint
with GLboolean in a few places.
/external/mesa3d/src/mesa/main/framebuffer.c
f084f60f8bdba23b3f6125549045c0791d3fe138 14-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Move _mesa_add_soft_renderbuffers() from framebuffer.c to renderbuffer.c
Update some comments, code, etc.
/external/mesa3d/src/mesa/main/framebuffer.c
acafeeb6dce74382fb3a48b83ab72bf67b7581ea 03-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove last remnants of pre-renderbuffer code.
/external/mesa3d/src/mesa/main/framebuffer.c
527835977a3f22d7a01f8d835d73ced5b13d0991 31-Aug-2005 Brian Paul <brian.paul@tungstengraphics.com> Just additional comments.
/external/mesa3d/src/mesa/main/framebuffer.c
e4b2356c07d31fbeeabb13b2fb47db703b473080 04-May-2005 Brian Paul <brian.paul@tungstengraphics.com> Major check-in of changes for GL_EXT_framebuffer_object extension.
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
/external/mesa3d/src/mesa/main/framebuffer.c