History log of /external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3d100372f15c377bb1cff3d23621f1f5958f4c53 28-Feb-2015 Laura Ekstrand <laura@jlekstrand.net> main: Rename framebuffer renderbuffer software fallback.

Rename _mesa_framebuffer_renderbuffer to _mesa_FramebufferRenderbuffer_sw in
preparation for adding the ARB_direct_state_access backend function for
FramebufferRenderbuffer and NamedFramebufferRenderbuffer to share.

Reviewed-by: Fredrik Höglund <fredrik@kde.org>
Signed-off-by: Fredrik Höglund <fredrik@kde.org>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
e58071355e944138e01939df57f79affca24dec7 17-Mar-2014 Ilia Mirkin <imirkin@alum.mit.edu> nouveau: there may not have been a texture if the fbo was incomplete

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Cc: "10.0 10.1" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
eeed49f5f290793870c60b5b635b977a732a1eb4 27-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: Change many Type P MESA_FORMATs to meet naming spec

Conversion of Type P formats as follows (w/related comment fixes):
s/MESA_FORMAT_RGB565\b/MESA_FORMAT_B5G6R5_UNORM/g
s/MESA_FORMAT_RGB565_REV\b/MESA_FORMAT_R5G6B5_UNORM/g
s/MESA_FORMAT_ARGB4444\b/MESA_FORMAT_B4G4R4A4_UNORM/g
s/MESA_FORMAT_ARGB4444_REV\b/MESA_FORMAT_A4R4G4B4_UNORM/g
s/MESA_FORMAT_RGBA5551\b/MESA_FORMAT_A1B5G5R5_UNORM/g
s/MESA_FORMAT_XBGR8888_SNORM\b/MESA_FORMAT_R8G8B8X8_SNORM/g
s/MESA_FORMAT_XBGR8888_SRGB\b/MESA_FORMAT_R8G8B8X8_SRGB/g
s/MESA_FORMAT_ARGB1555\b/MESA_FORMAT_B5G5R5A1_UNORM/g
s/MESA_FORMAT_ARGB1555_REV\b/MESA_FORMAT_A1R5G5B5_UNORM/g
s/MESA_FORMAT_AL44\b/MESA_FORMAT_L4A4_UNORM/g
s/MESA_FORMAT_RGB332\b/MESA_FORMAT_B2G3R3_UNORM/g
s/MESA_FORMAT_ARGB2101010\b/MESA_FORMAT_B10G10R10A2_UNORM/g
s/MESA_FORMAT_Z24_S8\b/MESA_FORMAT_S8_UINT_Z24_UNORM/g
s/MESA_FORMAT_S8_Z24\b/MESA_FORMAT_Z24_UNORM_S8_UINT/g
s/MESA_FORMAT_X8_Z24\b/MESA_FORMAT_Z24_UNORM_X8_UINT/g
s/MESA_FORMAT_Z24_X8\b/MESA_FORMAT_X8Z24_UNORM/g
s/MESA_FORMAT_RGB9_E5_FLOAT\b/MESA_FORMAT_R9G9B9E5_FLOAT/g
s/MESA_FORMAT_R11_G11_B10_FLOAT\b/MESA_FORMAT_R11G11B10_FLOAT/g
s/MESA_FORMAT_Z32_FLOAT_X24S8\b/MESA_FORMAT_Z32_FLOAT_S8X24_UINT/g
s/MESA_FORMAT_ABGR2101010_UINT\b/MESA_FORMAT_R10G10B10A2_UINT/g
s/MESA_FORMAT_XRGB4444_UNORM\b/MESA_FORMAT_B4G4R4X4_UNORM/g
s/MESA_FORMAT_XRGB1555_UNORM\b/MESA_FORMAT_B5G5R5X1_UNORM/g
s/MESA_FORMAT_XRGB2101010_UNORM\b/MESA_FORMAT_B10G10R10X2_UNORM/g
s/MESA_FORMAT_AL88\b/MESA_FORMAT_L8A8_UNORM/g
s/MESA_FORMAT_AL88_REV\b/MESA_FORMAT_A8L8_UNORM/g
s/MESA_FORMAT_AL1616\b/MESA_FORMAT_L16A16_UNORM/g
s/MESA_FORMAT_AL1616_REV\b/MESA_FORMAT_A16L16_UNORM/g
s/MESA_FORMAT_RG88\b/MESA_FORMAT_G8R8_UNORM/g
s/MESA_FORMAT_GR88\b/MESA_FORMAT_R8G8_UNORM/g
s/MESA_FORMAT_GR1616\b/MESA_FORMAT_R16G16_UNORM/g
s/MESA_FORMAT_RG1616\b/MESA_FORMAT_G16R16_UNORM/g
s/MESA_FORMAT_SRGBA8\b/MESA_FORMAT_A8B8G8R8_SRGB/g
s/MESA_FORMAT_SARGB8\b/MESA_FORMAT_B8G8R8A8_SRGB/g
s/MESA_FORMAT_SLA8\b/MESA_FORMAT_L8A8_SRGB/g

Conflicts:
src/mesa/drivers/dri/i965/brw_surface_formats.c
src/mesa/main/format_pack.c
src/mesa/main/format_unpack.c
src/mesa/main/formats.c
src/mesa/main/texformat.c
src/mesa/main/texstore.c
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
50a01d2acafb2a937e62b24258e2e777c0cd1489 21-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: Change many Type A MESA_FORMATs to meet naming standard

Update comments. Conversion of the following Type A formats:
s/MESA_FORMAT_RGB888\b/MESA_FORMAT_BGR_UNORM8/g
s/MESA_FORMAT_BGR888\b/MESA_FORMAT_RGB_UNORM8/g
s/MESA_FORMAT_A8\b/MESA_FORMAT_A_UNORM8/g
s/MESA_FORMAT_A16\b/MESA_FORMAT_A_UNORM16/g
s/MESA_FORMAT_L8\b/MESA_FORMAT_L_UNORM8/g
s/MESA_FORMAT_L16\b/MESA_FORMAT_L_UNORM16/g
s/MESA_FORMAT_I8\b/MESA_FORMAT_I_UNORM8/g
s/MESA_FORMAT_I16\b/MESA_FORMAT_I_UNORM16/g
s/MESA_FORMAT_R8\b/MESA_FORMAT_R_UNORM8/g
s/MESA_FORMAT_R16\b/MESA_FORMAT_R_UNORM16/g
s/MESA_FORMAT_Z16\b/MESA_FORMAT_Z_UNORM16/g
s/MESA_FORMAT_Z32\b/MESA_FORMAT_Z_UNORM32/g
s/MESA_FORMAT_S8\b/MESA_FORMAT_S_UINT8/g
s/MESA_FORMAT_SRGB8\b/MESA_FORMAT_BGR_SRGB8/g
s/MESA_FORMAT_RGBA_16\b/MESA_FORMAT_RGBA_UNORM16/g
s/MESA_FORMAT_SL8\b/MESA_FORMAT_L_SRGB8/g
s/MESA_FORMAT_Z32_FLOAT\b/MESA_FORMAT_Z_FLOAT32/g
s/MESA_FORMAT_XBGR16161616_UNORM\b/MESA_FORMAT_RGBX_UNORM16/g
s/MESA_FORMAT_XBGR16161616_SNORM\b/MESA_FORMAT_RGBX_SNORM16/g
s/MESA_FORMAT_XBGR16161616_FLOAT\b/MESA_FORMAT_RGBX_FLOAT16/g
s/MESA_FORMAT_XBGR16161616_UINT\b/MESA_FORMAT_RGBX_UINT16/g
s/MESA_FORMAT_XBGR16161616_SINT\b/MESA_FORMAT_RGBX_SINT16/g
s/MESA_FORMAT_XBGR32323232_FLOAT\b/MESA_FORMAT_RGBX_FLOAT32/g
s/MESA_FORMAT_XBGR32323232_UINT\b/MESA_FORMAT_RGBX_UINT32/g
s/MESA_FORMAT_XBGR32323232_SINT\b/MESA_FORMAT_RGBX_SINT32/g
s/MESA_FORMAT_XBGR8888_UINT\b/MESA_FORMAT_RGBX_UINT8/g
s/MESA_FORMAT_XBGR8888_SINT\b/MESA_FORMAT_RGBX_SINT8/g
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
ef145ba4ded6aafb28e3bda02fb348e6b8bff12a 20-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: Rename 4 color component unsigned byte MESA_FORMATs

Change all 4 color component unsigned byte formats to meet spec for P
Type formats:
s/MESA_FORMAT_RGBA8888\b/MESA_FORMAT_A8B8G8R8_UNORM/g
s/MESA_FORMAT_RGBA8888_REV\b/MESA_FORMAT_R8G8B8A8_UNORM/g
s/MESA_FORMAT_ARGB8888\b/MESA_FORMAT_B8G8R8A8_UNORM/g
s/MESA_FORMAT_ARGB8888_REV\b/MESA_FORMAT_A8R8G8B8_UNORM/g
s/MESA_FORMAT_RGBX8888\b/MESA_FORMAT_X8B8G8R8_UNORM/g
s/MESA_FORMAT_RGBX8888_REV\b/MESA_FORMAT_R8G8B8X8_UNORM/g
s/MESA_FORMAT_XRGB8888\b/MESA_FORMAT_B8G8R8X8_UNORM/g
s/MESA_FORMAT_XRGB8888_REV\b/MESA_FORMAT_X8R8G8B8_UNORM/g
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
71fe9437169cfdafda8814aa814bb85429fb6cfc 04-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: change gl_format to mesa_format

s/\bgl_format\b/mesa_format/g. Use better name for Mesa Formats enum
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
716b512dcf1d28eb9cafb31773aec68c4fd58122 15-Jan-2014 Ilia Mirkin <imirkin@alum.mit.edu> nouveau: add framebuffer validation callback

Fixes assertions when trying to attach textures to fbs with formats not
supported by the render engines.

See https://bugs.freedesktop.org/show_bug.cgi?id=73459

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
a5b0452400dd6c2fd2a0921584f6fcee915a8b62 10-May-2013 Eric Anholt <eric@anholt.net> mesa: Make FinishRenderTexture just take the renderbuffer being finished.

Now that the rb has a reference to the teximage, we didn't need anything
else out of the attachment.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
e98c39c109f9b38d6bb97e3890382fdf66c25176 10-May-2013 Eric Anholt <eric@anholt.net> mesa: Track the TexImage being rendered to in the gl_renderbuffer.

We keep having to pass the attachments around with our gl_renderbuffers
because that's the only way to find what the gl_renderbuffer actually
refers to. This is a step toward removing that (though drivers still need
the Zoffset as well).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
77a405dba7f70f8a47655e90774a5ecf5c88a6ed 22-Apr-2013 Eric Anholt <eric@anholt.net> mesa: Make Mesa core set up wrapped texture renderbuffer state.

Everyone was doing effectively the same thing, except for some funky code
reuse in Intel, and swrast mistakenly recomputing _BaseFormat instead of
using the texture's _BaseFormat. swrast's sRGB handling is left in place,
though it should be done by using _mesa_get_render_format() at render time
instead (as-is, it will miss updates to GL_FRAMEBUFFER_SRGB).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
749a92786d378ee55cf9ebbbe8596c217fbae0f9 22-Apr-2013 Eric Anholt <eric@anholt.net> mesa: Make core Mesa allocate the texture renderbuffer wrapper.

Every driver did the same thing.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
b76f6d9557ff27140e18cf8aa2b57db8876d5d4d 17-Apr-2013 Brian Paul <brianp@vmware.com> mesa: remove #include "mfeatures.h" from numerous source files

None of the remaining FEATURE_x symbols in mfeatures.h are used anymore.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
a17750b6884939a36947c76a30d3077f1488f943 01-Dec-2012 Brian Paul <brian.e.paul@gmail.com> nouveau: Fix build.

Fixes nouveau build failure introduced at
c73245882c7ff1277b190b97f093f7b423a22f10.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57746
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
c73245882c7ff1277b190b97f093f7b423a22f10 30-Nov-2012 Brian Paul <brianp@vmware.com> mesa: pass context parameter to gl_renderbuffer::Delete()

We sometimes need a rendering context when deleting renderbuffers.
Pass it explicitly instead of trying to grab a current context
(which might be NULL). The next patch will make use of this.

Note: this is a candidate for the stable branches.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
0c1ff721e1cc5729ef66b089fd776bf2bfd957ae 11-Sep-2012 Oliver McFadden <oliver.mcfadden@linux.intel.com> mesa: remove FEATURE_EXT_framebuffer_object define.

Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
8472bb4508515cf0f717344ef5cc863b6e97e56a 30-Aug-2012 Brian Paul <brianp@vmware.com> mesa: fix-up and use _mesa_delete_renderbuffer()

_mesa_delete_renderbuffer() should free the mutex (though that may be a
no-op) and then free the renderbuffer object itself. Subclasses of
gl_renderbuffer can use this function too.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
2e47d01c9e5325906cf3bb979279599991c6328e 23-Dec-2011 Ben Skeggs <bskeggs@redhat.com> nouveau/vieux: switch to libdrm_nouveau-2.0
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
f9874feef4d8952df5054bd8e8f4e0deda4ef44f 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove gl_renderbuffer::DataType
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
4b8f4e7ce17aeaa7fba1140897ab66f74d715b0a 17-Oct-2011 Eric Anholt <eric@anholt.net> nouveau: Add implementation of MapRenderbuffer.

Perhaps the easiest implementation, nouveau can directly map buffers
even if tiled, and uses separate surfaces for its texture
renderbuffers so we don't have to worry about that offset.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
1933e97034a1774e37268035f67ca5973220e8c6 09-Jan-2011 Vinson Lee <vlee@vmware.com> dri/nouveau: Include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
d3491e775fb07f891463b2185d74bbad62f3ed24 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Rename GLvisual and __GLcontextModes to struct gl_config
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
bfc7518ab993b006dffaad5f605137e94ff9d7bc 14-Sep-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Don't request a fake front unnecessarily.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
39658f32eaf1acc9603a9a5a2242fba8fd49e08f 15-Sep-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Fix glRenderbufferStorage with DEPTH_COMPONENT as internal format.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
70f9f5f7d4f1daadfcddc0fb0fea324c38353004 13-Jul-2010 nobled <nobled2@nobled2-karmic.(none)> dri/nouveau: test for FEATURE defines

'struct dd_function_table' only conditionally contains
the function pointer NewFramebuffer and friends based on
FEATURE_EXT_framebuffer_* defines. (See src/mesa/main/dd.h)

Fixes the build when the features are disabled and the vfuncs
don't exist.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
e96a52e9933eea7264a42983db1428368bcb4962 28-Jul-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Fix up software mipmap generation.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
bfdea90f251c1bc3cf4f8096f8c62a37b9ac78c1 22-Mar-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Some render to texture fixes.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
9c21c1e865ad3008eb6f4d6d4e4a48c2ed94472d 04-Mar-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Fix rb->DataType for z24s8 renderbuffers.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
949587d1692f4e528f54b598ffc22a1906e4baf3 01-Mar-2010 Andrew Randrianasulu <randrianasulu@gmail.com> dri/nouveau: Allow to render to XRGB8888 textures.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
4a7e9b5df453055ed6eedce1ea5c1d4a2f810fa7 21-Feb-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Implement EXT_texture_from_pixmap.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
9a8e374c46079d40ef577842cbf917af1c131dc0 21-Feb-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Set _BaseFormat correctly for z24s8 renderbuffers.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
bfb5dc68fcc9f5dee71f66d9499b8bdcde9627ea 01-Feb-2010 Francisco Jerez <currojerez@riseup.net> Import a classic DRI driver for nv0x-nv2x.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
93115c4b235896df097b91edec7458a8a4488c4e 14-Jul-2008 Stephane Marchesin <marchesin@icps.u-strasbg.fr> nouveau: say goodbye to the old DRI driver...
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.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/drivers/dri/nouveau/nouveau_fbo.c
fef3dcbee60b041df64a12511c8aa3c304a04652 13-Aug-2007 Ben Skeggs <skeggsb@gmail.com> nouveau: Always render offscreen, emulate front buffer rendering.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
b7c93de6d798d7ccfc7bfa12b9c8f474de955d55 13-Aug-2007 Ben Skeggs <skeggsb@gmail.com> nouveau: Split nouveau_buffers into nouveau_mem and nouveau_fbo
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_fbo.c