9d4ab9a663d4088ec553edaae0eeafb746d2490d |
|
11-Feb-2013 |
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> (cherry picked from commit c73245882c7ff1277b190b97f093f7b423a22f10) Conflicts: src/mesa/swrast/s_renderbuffer.c
/external/mesa3d/src/mesa/main/fbobject.c
|
cb3bcb73e5646d25e9a313b478671c71a3440bf7 |
|
02-Nov-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Generate invalid operation in glGenerateMipMap for integer textures Khronos has reached a conclusion and disallowed following texture formats in glGenerateMipMap(): (a) ASTC textures (b) integer internal formats (e.g., RGBA8UI, RG16I) (c) textures with stencil formats (e.g., STENCIL_INDEX8) (d) textures with packed depth/stencil formats (e.g, DEPTH24_STENCIL8) https://cvs.khronos.org/bugzilla/show_bug.cgi?id=9471 Note: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit c0a78d7d7b51e125d143e693fdfc78b90f2d68cf)
/external/mesa3d/src/mesa/main/fbobject.c
|
e1cb624a43cf3ef1c928bf03c26c0cf2f236a1a1 |
|
23-Nov-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix BlitFramebuffer between linear and sRGB formats NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 91ca053714957aca5205122e8478002c62cc4344)
/external/mesa3d/src/mesa/main/fbobject.c
|
82a08e2f469d7f7a09006aaf28290ece26dd979d |
|
04-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Ignore SRGB when determining compatible resolve formats. MSAA resolves and other blit-like operations ignore SRGB state anyway, so we should be able to safely allow resolves between compatible SRGB/linear formats like SRGBA8 and RGBA8888. This matches the behavior of the nVidia and AMD binary drivers. Fixes completely black rendering when using multisampling in L4D2. NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit c96828ecb46b5aee3121a018be365b738c35cbdc)
/external/mesa3d/src/mesa/main/fbobject.c
|
1f4d074f75055fd9591c5b5506727000e4a5526d |
|
06-Sep-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa/msaa: Allow X and Y flips in multisampled blits. From the GL 4.3 spec, section 18.3.1 "Blitting Pixel Rectangles": If SAMPLE_BUFFERS for either the read framebuffer or draw framebuffer is greater than zero, no copy is performed and an INVALID_OPERATION error is generated if the dimensions of the source and destination rectangles provided to BlitFramebuffer are not identical, or if the formats of the read and draw framebuffers are not identical. It is not clear from the spec whether "dimensions" should mean both sign and magnitude, or just magnitude. Previously, Mesa interpreted "dimensions" as meaning both sign and magnitude, so any multisampled blit that attempted to flip the image in the X and/or Y direction would fail. However, Y flips are likely to be commonplace in OpenGL applications that have been ported from DirectX applications, as a result of the fact that DirectX and OpenGL differ in their orientation of the Y axis. Furthermore, at least one commercial driver (nVidia) permits Y filps, and L4D2 relies on them being permitted. So it seems prudent for Mesa to permit them. This patch changes Mesa to allow both X and Y flips, since there is no language in the spec to indicate that X and Y flips should be treated differently. NOTE: This is a candidate for stable release branches. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (cherry picked from commit 5d5f0f349135786cdd76b6004f38b12e50d7f8f9)
/external/mesa3d/src/mesa/main/fbobject.c
|
f0c99d0a6a897189dd4b66f508385eb2ecf3f76f |
|
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glRenderbufferStorage internalFormat in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. v3: Allow GL_RGB10_A2UI in GLES3 based on review feedback from Eric Anholt. v4: Arg. Reject unsized RED and RG enums on GLES. More feedback from Eric. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
ae86ebfcc9fb3e89744c3ee38766a505857b3e7a |
|
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetRenderbufferParameter pname in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/fbobject.c
|
0cdaa471ecb7ce6442b5ed4a54314de0ffeab614 |
|
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetFramebufferAttachmentParameter pname in Mesa code rather than the ES wrapper v2: Add proper core-profile, GLES1, and GLES3 filtering. v3: Fix the GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME query when the attachment type is GL_NONE on GLES3. Other cleanups. Based on review feedback from Eric Anholt. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
5b44a77428863292d49aeed2960afbde5ee8f509 |
|
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGenerateMipmap target in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. v3: Fix a typo in GL_TEXTURE_2D_ARRAY checking. v4: Change !_mesa_is_desktop_gl tests to _mesa_is_gles test. The test around GL_TEXTURE_2D_ARRAY got some other changes because that enum is also available with GLES3 (which uses API_OPENGLES2). Based on review feedback from Eric Anholt. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
7f991d26ad189bc3c08c04dc248a5b2df5ce9f68 |
|
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glFramebufferTexture2D textarget in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. v3: Change !_mesa_is_desktop_gl tests to _mesa_is_gles test. The test around GL_TEXTURE_2D_ARRAY got some other changes because that enum is also available with GLES3 (which uses API_OPENGLES2). Based on review feedback from Eric Anholt. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
f6b7157550205a0633b4c2cb49a807d581176e21 |
|
10-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: raise GL_INVALID_OPERATION in glGenerateMipmap for missing base image This seems to be expected by the WebGL texture-mips test. The error makes sense, but I haven't found (yet) any OpenGL documentation specifying this error condition. See http://bugs.freedesktop.org/show_bug.cgi?id=44912 Note: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
e06d6168cb4367728fac68264757a700932c2f73 |
|
04-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: flush vertices in test_framebuffer_completeness
/external/mesa3d/src/mesa/main/fbobject.c
|
342be8aa88819446220bba680d8e0b628078156f |
|
13-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add skeleton implementations of glInvalidate{Sub,}Framebuffer These are part of GL_ARB_invalidate_subdata and OpenGL ES 3.0. v2: Reject aux buffers in core context, and use _mesa_is_desktop_gl and _mesa_is_gles3. Both suggested by Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/fbobject.c
|
9c1b41879aab2ff7386c547a2ccce7686c018cf5 |
|
26-Jul-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Replace VersionMajor/VersionMinor with a Version field. As we get into supporting GL 3.x core, we come across more and more features of the API that depend on the version number as opposed to just the extension list. This will let us more sanely do version checks than "(VersionMajor == 3 && VersionMinor >= 2) || VersionMajor >= 4". v2: Fix a bad <= 30 check. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/fbobject.c
|
09714c09a40501d82823e42f7461d7b8d7bf11c0 |
|
19-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add support for using API_OPENGL_CORE Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
a1287f549a3e6527b8cf3bf5b5f563ba63c6f48c |
|
22-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move more format helper functions to glformats.c
/external/mesa3d/src/mesa/main/fbobject.c
|
592722757648efc723663d6c9dbe874c7475e95c |
|
21-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix format checking when doing a multisample resolve v2: make it more bullet-proof Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
1a06e8454ec714e950bc88882cd985534a18bf1f |
|
12-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa,st/mesa: implement GL_RGB565 from ARB_ES2_compatibility This was not implemented, because the spec was changed just recently. Everything has been in place already. Gallium has PIPE_FORMAT_B5G6R5_UNORM, while Mesa has MESA_FORMAT_RGB565. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/fbobject.c
|
a82227ce4a60155cb16c47d7315f2efe2e87b0c2 |
|
15-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: if AllocStorage doesn't choose a format, report FRAMEBUFFER_UNSUPPORTED This allows drivers not to do any allocation in AllocStorage if the storage cannot be allocated because of an unsupported internalformat + samples combo. The little ugliness is that AllocStorage is expected to return TRUE in this case. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/fbobject.c
|
93bcf7825d023d3d7108bc47a7a0929338bba6b9 |
|
09-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add DEBUG_INCOMPLETE_TEXTURE, DEBUG_INCOMPLETE_FBO flags Instead of having to hack the code to enable these debugging options, set them through the MESA_DEBUG env var. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/fbobject.c
|
b9819a027d08b38abb380526bed9f2908ffeb507 |
|
14-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
fbo: Only reuse depth/stencil attachments if the parameters match. When the user attaches a texture to one of the depth/stencil attachment points (GL_STENCIL_ATTACHMENT or GL_DEPTH_ATTACHMENT), we check to see if the same texture is also attached to the other attachment point, and if so, we re-use the existing texture attachment. This is necessary to ensure that if the user later queries what is attached to GL_DEPTH_STENCIL_ATTACHMENT, they will not receive an error. If, however, the user attaches buffers to the two different attachment points using different parameters (e.g. a different miplevel), then we can't re-use the existing texture attachment, because it is pointing to the wrong part of the texture. This might occur as a transitory condition if, for example, if the user attached miplevel zero of a texture to GL_STENCIL_ATTACHMENT and GL_DEPTH_ATTACHMENT, rendered to it, and then later attempted to attach miplevel one of the same texture to GL_STENCIL_ATTACHMENT and GL_DEPTH_ATTACHMENT. This patch causes Mesa to check that GL_STENCIL_ATTACHMENT and GL_DEPTH_ATTACHMENT use the same attachment parameters before attempting to share the texture attachment. On i965 Gen6, fixes piglit tests "texturing/depthstencil-render-miplevels 1024 depth_stencil_shared" and "texturing/depthstencil-render-miplevels 1024 stencil_depth_shared". Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
cc5b0ffae048824a6bdcaf43e0c8c2dd4a7ff14b |
|
12-Mar-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Fix the cause of piglit test fbo-array failure Handle the special case of glFramebufferTextureLayer() for which we pass teximage = 0 internally in framebuffer_texture(). This patch makes failing piglit test fbo-array, fbo-depth-array to pass. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47126 V4: Removed the duplicated code. Note: This is a candidate for the stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
534cbbe65867d61258b0704a81908c39b8f7dfb4 |
|
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add more comments about textarget in framebuffer_texture()
/external/mesa3d/src/mesa/main/fbobject.c
|
a9523af0e88017d683c19ff238bfc5eb7cb88fd0 |
|
02-Mar-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Fix valid texture target test in _mesa_GetTexLevelParameteriv() _mesa_max_texture_levels() is also used to test valid texture target in _mesa_GetTexLevelParameteriv(). GL_TEXTURE_CUBE_MAP is not allowed as texture target in glGetTexLevelParameter(). So, this should throw GL_INVALID_ENUM error. Few other functions which use _mesa_max_texture_levels() like getcompressedteximage_error_check() and getteximage_error_check() also don't accept GL_TEXTURE_CUBE_MAP. Above fix makes piglit fbo-cubemap test to fail. This is because of incorrect texture target passed to _mesa_max_texture_levels() in framebuffer_texture(). Fixing that as well Note: This is a candidate for the stable branches Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
a1fd13fff18f95b83fabf3428689ff47abb5c5f8 |
|
10-Feb-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Only end render-to-texture at bind time for drawbuffers. If we're only starting for new draw buffers, why would we end for old read buffers along with draw buffers?
/external/mesa3d/src/mesa/main/fbobject.c
|
dbe88515c55bd067bc2036345b30e65686a49cf2 |
|
11-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment typos in fbobject.c
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
3363e87d7d5b3f19294fc770dc7c506c26646010 |
|
22-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: allow exposing GL3 without EXT_texture_integer Strictly speaking, it's not legal to expose EXT_texture_integer without EXT_gpu_shader4. It might be even dangerous (apps can assume EXT_gpu_shader4 is available without checking for it). The check in compute_version is removed as well, because that's already covered by GLSLVersion >= 130. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
636802f615bb1ef192e3c4c3b9ab0d1c83c5ebe0 |
|
22-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add missing integer alpha formats to _mesa_base_fbo_format Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
f74d8aacbf2f6d140381e272d17c31162a3481b3 |
|
17-Jan-2012 |
Chad Versace <chad.versace@linux.intel.com> |
mesa: Loosen glBlitFramebuffer restrictions on depthstencil buffers (v2) This loosens the format validation in glBlitFramebuffer. When blitting depth bits, don't require an exact match between the depth formats; only require that the two formats have the same number of depth bits and the same depth datatype (float vs uint). Ditto for stencil. Between S8_Z24 buffers, the EXT_framebuffer_blit spec allows glBlitFramebuffer to blit the depth and stencil bits separately. So I see no reason to prevent blitting the depth bits between X8_Z24 and S8_Z24 or the stencil bits between S8 and S8_Z24. However, we of course don't want to allow blitting from Z32 to Z32_FLOAT. Fixes Piglit fbo/fbo-blit-d24s8 on Intel drivers with separate stencil enabled. The problem was that, on Intel drivers with separate stencil, the default framebuffer has separate depth and stencil buffers with formats X8_Z24 and S8. The test attempts to blit the depth bits from a S8_Z24 buffer into the default framebuffer. v2: Check that depth datatypes match. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44665 Note: This is a candidate for the 8.0 branch. Reported-by: Xunx Fang <xunx.fang@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
0e8d156c3cd70a67c99a82e42e7875f69b6a5b94 |
|
11-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Avoid short-circuiting realloc of renderbuffers to new sample count. Fixes piglit EXT_framebuffer_multisample/renderbuffer-samples. Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
9b1117095a78bbcbf22fef077f001d0fce969a0e |
|
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add missing color buffer datatype check for glBlitFramebuffer() Reviewed-By: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
b87b857d90008d045175a6673cabbf9e448d21bc |
|
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix error message in _mesa_BlitFramebufferEXT()
/external/mesa3d/src/mesa/main/fbobject.c
|
3f1fab06844f696de44d9a56e83ff62e8ea576bd |
|
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: check depth, stencil formats (not depths) in glBlitFramebuffer We were only comparing the number of depth and stencil bits but the extension spec actually says the formats must match: The error INVALID_OPERATION is generated if BlitFramebufferEXT is called and <mask> includes DEPTH_BUFFER_BIT or STENCIL_BUFFER_BIT and the source and destination depth or stencil buffer formats do not match. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/fbobject.c
|
84c38c739e9faae86509eeec2bab4710813f9cc2 |
|
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add missing error check for linear blit of integer colors Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/fbobject.c
|
45bd5c43ca1f19772f7e1d7abe1c9101ba0f6965 |
|
16-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace and comment fixes in fbobject.c
/external/mesa3d/src/mesa/main/fbobject.c
|
d1240928641f5073865cc2f3ef87bd3b0cd64b04 |
|
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: stop using _Depth, _StencilBuffer fields in _mesa_BlitFramebufferEXT() We're just looking at the depth/stencil renderbuffers to do error checking. We don't need to look at the depth/stencil wrappers to do that. Also, remove pointless readRb = depthRb = NULL assignments. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/fbobject.c
|
37bf720da4a165c3fbf22d8ebb87c5c42e02f98e |
|
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_base_format_has_channel() into image.c This is where other format-related functions live. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/fbobject.c
|
f0b6e9a729d14740fc607c1148032d688f3c5c2c |
|
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_base_format_has_channel() in fbobject.c queries Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/fbobject.c
|
f449be660e70aac2aefd2ce84581e137de25520b |
|
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/format: add mesa MESA_FORMAT_ARGB2101010_UINT support. This format is used in the ARB_texture_rgb10_a2ui spec. It adds core mesa support, texformat + texstore support, format_unpack and fbobject.c (all patches from list merged + fixed up). also fixes some whitespace issues. Parts were: Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
2efa3d4f9fd1e1683c5366d402d8740ecfb688e5 |
|
19-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: define, use _mesa_is_cube_face() in several places Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/fbobject.c
|
bf8ad170c5af58fe9f49b3ce0f92c4eda9e5d845 |
|
10-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
mesa: Fix glFramebufferTexture*() for depth and stencil attachments This patch solves three bugs. 1. When a texture was attached to the GL_DEPTH_STENCIL_ATTACHMENT point, Mesa attached the texture only to the depth attachment point gl_framebuffer::Attachment[BUFFER_DEPTH] and failed to attach it to the stencil attachment point gl_framebuffer::Attachment[BUFFER_STENCIL] 2. When a texture was attached to the GL_DEPTH_ATTACHMENT point and then later attached to the GL_STENCIL_ATTACHMENT point, Mesa created two separate renderbuffer wrappers. This caused a GL error in glGetFramebufferAttachmentParameteriv(). 3. Same as 2, but with depth and stencil juxtaposed. Fixes Piglit test ARB_framebuffer_object/same-attachment-glFramebufferTexture2D-GL_DEPTH_STENCIL Note: This is a candidate for the stable branches. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
d8ba30af11f1894fcdd9138a8bc71ff054932bb6 |
|
22-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: fix a logic error in glFramebufferTexture2D Unrecognized texture target should give an error. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
49f8447acc430944504c658c2d2b4a2ccb3af0bc |
|
25-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix the low limit of width and height for glRenderbufferStorage glRenderbufferStorage man page says: GL_INVALID_VALUE is generated if either of width or height is negative, or greater than the value of GL_MAX_RENDERBUFFER_SIZE. NOTE: this is a candidate for the 7.11 branch Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
f80e1e7d1de80fd919f376368d1cfc9416dabdc3 |
|
18-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Round the argument to PixelStoref instead of truncating. From the GL 2.1 specification, page 114 (page 128 of the PDF): "The version of PixelStore that takes a floating-point value may be used to set any type of parameter; if the parameter is boolean, then it is set to FALSE if the passed value is 0.0 and TRUE otherwise, while if the parameter is an integer, then the passed value is rounded to the nearest integer." Fixes piglit roundmode-pixelstore. Note: This is a candidate for the 7.11 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
da2e41cd88dd68b658534390ed69dd422172d07b |
|
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Only allow queries of window system FBO on desktop GL w/ARB_fbo Neither OES_framebuffer_object nor EXT_framebuffer_object allow querying the window system FBO. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
a8328cc132e9edd55141e8e7822909a85bda12d6 |
|
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Accept GL_DEPTH and GL_STENCIL for window system FBO only Previously GL_DEPTH_BUFFER and GL_STENCIL_BUFFER were (incorrectly) allowed for both. Those enums don't even really exist! Now GL_DEPTH and GL_STENCIL are only allowed for the window system FBO. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
9c697a9d004da4aa7a26d3bda17cc473f50345ea |
|
04-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: update fbo format tablet for integer types. This updates the fbo format table for the integer types. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
2e3a4ab818a798b592210f7ae7ec149b3b3c0a05 |
|
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Allow other color attachments in OpenGL ES 2.0 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
6dd8e7686955e9fdb56f13a1511133d9ed2d7604 |
|
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate FBO target enum in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
7e4cb32d05cdf948a60632270e75b5513e780b28 |
|
02-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate FBO attachment enum in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
9520f483b8f1e45fa474674b415554988de5d8d3 |
|
01-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/INLINE/inline/ INLINE is still seen in some files (some generated files, etc) but this is a good start. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/fbobject.c
|
55d232a81566cf7ab8855c42e2ef1a280276a04c |
|
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove all mention of MESA_FORMAT_CI8 Nothing in Mesa supports color-index textures, and most of the other infrastructure that could allow such support has already been removed. This puts the final nail in the coffin. Also clean out some GL_COLOR_INDEX comments in formats.c. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/fbobject.c
|
3e9dc51f82276e57ecfb4e2725d88d83dbedcd85 |
|
18-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: handle array textures in GenerateMipmap(), FramebufferTexture1/2D() This was an unfinished to-do item before. With this patch and the two preceeding patches, piglit's fbo-generatemipmap-array test runs and passes instead of generating a GL error and dying on an assertion. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
352cab498a6210e1fdd57d6be2a30d33024ef37f |
|
18-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: restructure error checking in _mesa_FramebufferTexture1D/2DEXT() In anticipation of adding more texture targets. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
ccecc08f79afc020c8c0acface04a8e53e3a7c32 |
|
18-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect error code in _mesa_FramebufferTexture1D/3DEXT() The spec says GL_INVALID_OPERATION is generated when texture!=0 and textarget is not a legal value. We had this right for the 2D function.
/external/mesa3d/src/mesa/main/fbobject.c
|
000896c0bb99f356e52854608a29476d3ade387c |
|
19-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: GLES2 should return different error enums for invalid fbo queries ES 2.0.25 page 127 says: If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is NONE, then querying any other pname will generate INVALID_ENUM. See also: b9e9df78a03edb35472c2e231aef4747e09db792 NOTE: This is a candidate for the 7.10 and 7.11 branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
83478e5d5944e1fc320e8cfb10ba75055bbea3fd |
|
10-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: return early if mask is cleared to zero in BlitFramebuffer From ARB_framebuffer_object: If a buffer is specified in <mask> and does not exist in both the read and draw framebuffers, the corresponding bit is silently ignored.
/external/mesa3d/src/mesa/main/fbobject.c
|
1165280cbd37dee1e499358633478ab869de21df |
|
01-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: initial ARB_depth_buffer_float support Using GL_NONE as DataType of Z32_FLOAT_X24S8, not sure what I should put there. The spec says the type is n/a. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/fbobject.c
|
6f998b58bc61f2507cd53204d7567299379c42ca |
|
19-Jun-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix render-to-texture regression. Accidentally introduced in fc8c4a3a7b92a1134cd3a9312063abba9e14b0fe. Fixes fbo-drawbuffers-maxtargets and friends.
/external/mesa3d/src/mesa/main/fbobject.c
|
fc8c4a3a7b92a1134cd3a9312063abba9e14b0fe |
|
16-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use helper functions to distinguish between user/winsys FBOs And replace IS_CUBE_FACE() macro w/ inline function.
/external/mesa3d/src/mesa/main/fbobject.c
|
bb4758669c82f8979a56524db1c04ce662c783d8 |
|
07-Jun-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Ignore blits to/from missing buffers The EXT_framebuffer_object spec (and later specs) say: "If a buffer is specified in <mask> and does not exist in both the read and draw framebuffers, the corresponding bit is silently ignored." Check for color, depth, and stencil that the source and destination FBOs have the specified buffers. If the buffer is missing, remove the bit from the blit request mask and continue. Fixes the crash in piglit test 'fbo-missing-attachment-blit from', and fixes 'fbo-missing-attachment-blit es2 from'. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37739 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> NOTE: This is a candidate for the stable branches.
/external/mesa3d/src/mesa/main/fbobject.c
|
b9e9df78a03edb35472c2e231aef4747e09db792 |
|
31-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: queries of non-existent FBO attachments should return INVALID_OPERATION OpenGL 4.0 Compatibility, page 449: If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is NONE, no framebuffer is bound to target. In this case querying pname FRAMEBUFFER_- ATTACHMENT_OBJECT_NAME will return zero, and all other queries will generate an INVALID_OPERATION error. Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/main/fbobject.c
|
d3451f7f9c095204105259bb989428709fc1fdf0 |
|
25-May-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Allow NULL read/draw in complete FBOs in ARB_ES2_compatibility. From the ARB_ES2_compatibility spec: "(8) How should we handle draw buffer completeness? RESOLVED: Remove draw/readbuffer completeness checks, and treat drawbuffers referring to missing attachments as if they were NONE." Fixes arb_es2_compatibility-drawbuffers when the short-circuit for ARB_ES2_compatibility in the previous commit is dropped. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
a3ac28a736c56cbdee0daa6e30c7a8b984a90ec6 |
|
14-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: make RGB9_E5 non-renderable on swrast again _BaseFormat for RGB9_E5 is GL_RGBA due to the previous revert.
/external/mesa3d/src/mesa/main/fbobject.c
|
631d23daa91c569bf268a2191bd466df73a64263 |
|
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement EXT_packed_float Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/fbobject.c
|
9d7698c468f4ea7da8bb4ec00520c98f11cca0fa |
|
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement EXT_texture_shared_exponent swrast support done. There is no renderbuffer support in swrast, because it's not required by the extension. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
c7339d42c603048c0f89276da6576647c4421ba0 |
|
05-Apr-2011 |
Fabian Bieler <der.fabe@gmx.net> |
mesa: Guard against null pointer deref in fbo validation This matches the behaviour below when numSamples is compared. At least with the gallium state tracker this can actually occur if st_render_texture fails. Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
db0f9e701d59dcfcd3b50f4d245897692f27fec9 |
|
05-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_get_attachment_teximage() helpers
/external/mesa3d/src/mesa/main/fbobject.c
|
0be369975fdfa79bcb702d0c13aa0a221055f61b |
|
18-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: initial EXT_texture_snorm support The component ordering of some formats has been been reversed to match Gallium types.
/external/mesa3d/src/mesa/main/fbobject.c
|
4f94e0b76ab75a5f0d629431395754b6339d3a98 |
|
29-Mar-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing parentheses in glBlitFramebufferEXT error strings.
/external/mesa3d/src/mesa/main/fbobject.c
|
a674ef7814ea16622b6002009ffe27a55cb500bf |
|
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: return after invalidating renderbuffer
/external/mesa3d/src/mesa/main/fbobject.c
|
df818d572e4ddb1ceccd22a538bf98ce01caffee |
|
06-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: invalidate framebuffer if internal format of renderbuffer is changed RenderTexture doesn't have to be called in invalidate_rb, I guess.
/external/mesa3d/src/mesa/main/fbobject.c
|
c6991433ef343a8cbaf3f4cfacb74ddcd049c6a4 |
|
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate framebuffer target lookup code
/external/mesa3d/src/mesa/main/fbobject.c
|
ca1b5515621d4ab9e90e27533fbc0fafa5cf641b |
|
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/mesaFormat/attFormat/
/external/mesa3d/src/mesa/main/fbobject.c
|
6364d75008b4fa580c1cb47c59ba1cf3e0caa6cd |
|
18-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: MESA_VERBOSE logging for glRead/Draw/CopyPixels, glBlitFramebuffer
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
b3cfcdf92327184513635db8312e698e22664714 |
|
29-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix typo, wrap long line
/external/mesa3d/src/mesa/main/fbobject.c
|
d30156525f869d11445575767298900fb6121c6a |
|
25-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add red, red/green formats in _mesa_base_fbo_format()
/external/mesa3d/src/mesa/main/fbobject.c
|
62c66b34303303e6786652efa611a100ae64439a |
|
25-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug in fallback function for ctx->Driver.ValidateFramebuffer() The software renderer doesn't support GL_ALPHA, GL_LUMINANCE, etc so we should report GL_FRAMEBUFFER_UNSUPPORTED during FBO validation.
/external/mesa3d/src/mesa/main/fbobject.c
|
976ea9d76b44b6e654bd38e3d00f20517be518e0 |
|
25-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new cases in _mesa_base_fbo_format() The set of internalFormat parameters accepted by glRenderBufferStorage depends on the EXT vs. ARB version of framebuffer_object. The later added support for GL_ALPHA, GL_LUMINANCE, etc. formats. Note that these formats might be legal but might not be supported. That should be checked with glCheckFramebufferStatus().
/external/mesa3d/src/mesa/main/fbobject.c
|
f41bbc7c44565c7f3949340a4e2fdf78a8cebf3f |
|
25-Jan-2011 |
Brian Paul <brianp@vmware.com> |
Revert "mesa: Simplify _mesa_base_fbo_format by making it exceptions to teximages." This reverts commit 65c41d55a06137115f0b4c67f9a3fd2708f0b625. There really are quite a few differences in the set of internal formats allowed by glTexImage and glRenderbufferStorage.
/external/mesa3d/src/mesa/main/fbobject.c
|
81ae8c6313adbe7681a73636dee4d5d34334d4d7 |
|
23-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: return GL_LINEAR for ..COLOR_ENCODING if framebuffer_sRGB is unsupported Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
65c41d55a06137115f0b4c67f9a3fd2708f0b625 |
|
13-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Simplify _mesa_base_fbo_format by making it exceptions to teximages. The comment of "this is just like teximages except for..." is a pretty good clue that we're handling this wrong. By just using the teximage code, we catch a bunch of cases we'd missed, like GL_RED and GL_RG.
/external/mesa3d/src/mesa/main/fbobject.c
|
7f652fc523b56a3c13a90b417f8d32e7a702ed3d |
|
14-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
srgb: fix fbo base format picking. Pointed out by Brian.
/external/mesa3d/src/mesa/main/fbobject.c
|
8c8e26d66ae41e900cc88521da9c0dc02803d7d2 |
|
13-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
mesa/fbo: prevent assert trigger on i965 with piglit fbo-srgb test.
/external/mesa3d/src/mesa/main/fbobject.c
|
dd973cd9e81abf1c0bc1880c7905f3277d4361a0 |
|
13-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: check for dummy renderbuffer in _mesa_FramebufferRenderbufferEXT() Fixes a failed assertion when a renderbuffer ID that was gen'd but not previously bound was passed to glFramebufferRenderbuffer(). Generate the same error that NVIDIA does. NOTE: This is a candidate for the 7.9 and 7.10 branches.
/external/mesa3d/src/mesa/main/fbobject.c
|
db61b9ce39bccc43140357652ceb78baaf2aea44 |
|
07-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Directly include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/main/fbobject.c
|
0117da40cd7edd3d165bb28569c289b37eca12b9 |
|
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mtypes.h in files that use gl_context struct. Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
/external/mesa3d/src/mesa/main/fbobject.c
|
5f13c39484859393cec11b3aa24e541bea8e220d |
|
03-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Also report the number of renderbuffer alpha bits for GL_LUMINANCE_ALPHA. Noticed by code inspection.
/external/mesa3d/src/mesa/main/fbobject.c
|
f45aea0ec912159eb6aa4ef2ba2bdcd022bc8aca |
|
03-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Also report renderbuffer red/green size for GL_RED and GL_RG. Noticed by code inspection.
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
beac6ee62aea196d6e670abd4b198190e33e6cb1 |
|
03-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Allow color renderbuffers besides just RGB and RGBA. We did so already for textures to do ARB_fbo's GL_ALPHA/GL_LUMINANCE/etc. support and for ARB_texture_rg's GL_RED and GL_RG, but this path was missed.
/external/mesa3d/src/mesa/main/fbobject.c
|
ecb7cc3319a74bda1edc226a1103f0e1a86d92a9 |
|
06-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: test for cube map completeness in glGenerateMipmap() The texture is not cube complete if the base level images aren't of the same size and format. NOTE: This is a candidate for the 7.9 branch.
/external/mesa3d/src/mesa/main/fbobject.c
|
6d13ec7dc082aea9a8ce04dd8e045e77e5921d8a |
|
03-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: return GL_FRAMEBUFFER_DEFAULT as FBO attachment type If querying the default/window-system FBO's attachment type, return GL_FRAMEBUFFER_DEFAULT (per the GL_ARB_framebuffer_object spec). See http://bugs.freedesktop.org/show_bug.cgi?id=31947 NOTE: This is a candidate for the 7.9 branch.
/external/mesa3d/src/mesa/main/fbobject.c
|
20cf1851d82d6135b92c20323266156eb6ad5ffe |
|
03-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME query Return 0 instead of generating an error. See http://bugs.freedesktop.org/show_bug.cgi?id=30993 Note that piglit fbo-getframebufferattachmentparameter-01 still does not pass. But Mesa behaves the same as the NVIDIA driver in this case. Perhaps the test is incorrect. NOTE: This is a candidate for the 7.9 branch.
/external/mesa3d/src/mesa/main/fbobject.c
|
412b9608838b872bc294569b3ee913343a7e66f6 |
|
27-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename function to _mesa_is_format_integer_color() Be a bit more clear about its operation.
/external/mesa3d/src/mesa/main/fbobject.c
|
6e618535901ac71a74ffb80d3da7c841a82eec02 |
|
02-Oct-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: allow FBO attachments of formats LUMINANCE, LUMINANCE_ALPHA, and INTENSITY As per the GL_ARB_framebuffer_object specification. Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
c7d18374dd97ee78e80d1e65c7b97f7611ebd2c8 |
|
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: compute _IntegerColor field in _mesa_test_framebuffer_completeness()
/external/mesa3d/src/mesa/main/fbobject.c
|
e67f6ee96e1aaeaba70e24d057c21172fa36f165 |
|
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: simplify fbo format checking code
/external/mesa3d/src/mesa/main/fbobject.c
|
f9288540ecdc896a330f6ce7b7d3b16ee99c3474 |
|
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
421f4d8dc1e324067534719fc096e82fd9ef3017 |
|
01-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_texture_rg: Allow RED and RG textures as FBO color buffer attachments
/external/mesa3d/src/mesa/main/fbobject.c
|
144356f9925fa9d892faa64fa7264ef9f1d7e2b4 |
|
09-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Don't reuse DummyFramebuffer as the incomplete framebuffer Binding framebuffer 0 on a context that doesn't have a winsys drawable will try to bind the incomplete framebuffer. That fails when that's also the dummy framebuffer.
/external/mesa3d/src/mesa/main/fbobject.c
|
50a3349bee04088bee3491622d6ef3c032d01eac |
|
07-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Set the base format of GL_ALPHA FBOs and teach swrast about it. Fixes assertion failures in fbo-alpha with a debug build of Mesa. Bug #29781.
/external/mesa3d/src/mesa/main/fbobject.c
|
c5dde53f4e42612518cd927bb58f08c0e22db17a |
|
03-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix printf-like warnings.
/external/mesa3d/src/mesa/main/fbobject.c
|
07317012369c7b2662a8357fa4ea15453c4e277b |
|
01-Sep-2010 |
Vladimir Vukicevic <vladimir@pobox.com> |
mesa: initialize dummy framebuffer and renderbuffer mutexes See fd.o bug 29909. Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
9456e22c7a8803bed1146a89e7581badf0ae8064 |
|
04-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Implement EGL_KHR_surfaceless extension
/external/mesa3d/src/mesa/main/fbobject.c
|
da7bd6a90e1fee5c16327338fd251c0f6be34e36 |
|
28-Jun-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: initial support for ARB_geometry_shader4 laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
/external/mesa3d/src/mesa/main/fbobject.c
|
61ec20581696004acad516b14ca4a8a5ae9e6f1d |
|
22-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix attachment error checking for glGetFramebufferAttachmentParameteriv() This is a follow-on to commit 80dfec3e53fd5b5c8c31fb16376c9910258c91b0. The valid attachments for glGetFramebufferAttachmentParameteriv() depends on whether we're querying the default FBO or a user-created FBO.
/external/mesa3d/src/mesa/main/fbobject.c
|
80dfec3e53fd5b5c8c31fb16376c9910258c91b0 |
|
15-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Allow querying the system FBO in GetFramebufferAttachmentParameteriv If the default framebuffer is bound to <target>, then <attachment> must be one of FRONT_LEFT, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, AUXi, DEPTH_BUFFER, or STENCIL_BUFFER, identifying a color buffer, the depth buffer, or the stencil buffer, and <pname> may be FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE or FRAMEBUFFER_ATTACHMENT_OBJECT_NAME. as well as these <pname> values FRAMEBUFFER_ATTACHMENT_RED_SIZE, FRAMEBUFFER_ATTACHMENT_GREEN_SIZE, FRAMEBUFFER_ATTACHMENT_BLUE_SIZE, FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE, FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE, FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE, FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE, or FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING. https://bugs.freedesktop.org/show_bug.cgi?id=28551
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
23c5b21c1601ba6c62d360d585a4a7fd6b64caa8 |
|
28-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace and 80 column wrapping
/external/mesa3d/src/mesa/main/fbobject.c
|
a504f2387e2bb47025c7406d9a466a042dc09e61 |
|
27-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect GL_DEPTH_STENCIL_ATTACHMENT format check We want to check the incoming renderbuffer format, not the (potentially non-existant) current attachment. Fixes segfault w/ fbotexture -ds2. NOTE: this will be applied to the 7.8 branch too.
/external/mesa3d/src/mesa/main/fbobject.c
|
e88cef3c9d5de2a5dccd9ad770952a9d2347ba0d |
|
24-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT The check was disabled when FEATURE_OES_framebuffer_object was enabled, since that used to mean we weren't implementing regular OpenGL semantics. Now that we can compile in support for multiple APIs, change the #ifdef to compile the check in when FEATURE_GL is enabled and enable the check for contexts that implement OpenGL at runtime.
/external/mesa3d/src/mesa/main/fbobject.c
|
8ea614832d62554ada44d0a0ef7dc96ec9a8f154 |
|
10-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use GL_RGBA16_SNORM for accum buffer
/external/mesa3d/src/mesa/main/fbobject.c
|
61d94dd207459e0c42d98c9d6eb7df5eabdfd8a4 |
|
23-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move GL_RGB565 workaround into fbobject.c
/external/mesa3d/src/mesa/main/fbobject.c
|
2002e4d06e2627241cd4af88f65b54d2101ef151 |
|
06-Apr-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add OES_EGL_image to extension list.
/external/mesa3d/src/mesa/main/fbobject.c
|
066477ab226c6bf9598511ebe9134cb360fb54a2 |
|
30-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add missing features. Add features tested in the code but missing from mfeatures.h. This also fixes some tests of features. They should be tested with "#if", not "#ifdef".
/external/mesa3d/src/mesa/main/fbobject.c
|
8829e063aa87ade63c49d3df27a7edd0c63cf160 |
|
20-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added GL3 buffer attachment aliases
/external/mesa3d/src/mesa/main/fbobject.c
|
7a2e32d68494b82813ea6a07bb62d1c21202cad1 |
|
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: raise an error when trying to bind non-existant texture to FBO If the user calls glRenderBufferTexture(texture=N) but texture N doesn't name an existing texture, raise GL_INVALID_ENUM. Plus, add a comment about some questionable error checking code in framebuffer_texture(). Ian?
/external/mesa3d/src/mesa/main/fbobject.c
|
a8dafe713f4b45fd09c678e1ca9fbe4eab16f8be |
|
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant call to _mesa_base_fbo_format()
/external/mesa3d/src/mesa/main/fbobject.c
|
51b799288a405be3f4cdbfc7221221399512992a |
|
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: put declaration before code
/external/mesa3d/src/mesa/main/fbobject.c
|
d1dc5b124e133379be5bb57b68733c09c0e04f71 |
|
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
core: Implement GL_OES_EGL_image entry points
/external/mesa3d/src/mesa/main/fbobject.c
|
298be2b028263b2c343a707662c6fbfa18293cb2 |
|
19-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Replace the _mesa_*printf() wrappers with the plain libc versions
/external/mesa3d/src/mesa/main/fbobject.c
|
ca0d048e4e0cc5885cd309cdf9057cfe6044924e |
|
28-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix int/uint comparison warnings Reported by Karl Schultz.
/external/mesa3d/src/mesa/main/fbobject.c
|
43867acb6afc7fad26cdc2f22b2a3bb6eeefb2da |
|
26-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Merging was easier than cherry picking in this instance.
|
68ca19afd7299fa9c686f95d53b7e14df37aba4c |
|
26-Jan-2010 |
Erik Wien <wien@start.no> |
mesa: Don't bind DRAW/READ_FRAMEBUFFER separately without FBO blit support If GL_EXT_framebuffer_blit was not supported _mesa_DeleteFramebuffersEXT would raise an error when deleting the currently bound framebuffer. This because it tried to bind the default DRAW- and READ_FRAMEBUFFER separately. This patch binds the default FRAMEBUFFER instead in that case. Encountered in the fbo/fbo-copyteximage piglit test on R600. Patch cleaned up a bit by Brian Paul.
/external/mesa3d/src/mesa/main/fbobject.c
|
cd8614b0287dc5a69725ec4ee0208fad61f7789e |
|
22-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
|
031f23ac3a3a9219f93268fb4517ab0f80d9be42 |
|
20-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added comment about future FBO formats
/external/mesa3d/src/mesa/main/fbobject.c
|
536e3c9168c315651210ca853eb8cb4423f9f71c |
|
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from fbobject.c.
/external/mesa3d/src/mesa/main/fbobject.c
|
652828ec0efd1a7d7a8b497e0324a7bd9f66fd17 |
|
16-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: check BaseLevel, MaxLevel in _mesa_GenerateMipmapEXT()
/external/mesa3d/src/mesa/main/fbobject.c
|
a719395b458ef59efe4e8746e390b006a0b8792b |
|
16-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_object()
/external/mesa3d/src/mesa/main/fbobject.c
|
a65b84d9554815af891d793012eba17de80cbfa3 |
|
11-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: fix some begin/end render-to-texture logic Before, we weren't aggressive enough in checking for the start or end of render-to-texture. In particular, if only the ctx->ReadBuffer had texture attachments, we were treating that as a render-to-texture case. This fixes a regression from commit 75bdbdd90b15c8704d87ca195a364ff6a42edbb1 "intel: Don't validate in a texture image used as a render target."
/external/mesa3d/src/mesa/main/fbobject.c
|
bc569cd6bee0550c7f83412476b6b39e89c51ac3 |
|
11-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: move check_begin/end_texture_render() calls
/external/mesa3d/src/mesa/main/fbobject.c
|
d96e55fa7bbbc033f47dbeb942b872c6d21eb42d |
|
10-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: new vars: oldDrawFb, oldReadFb in _mesa_BindFramebufferEXT()
/external/mesa3d/src/mesa/main/fbobject.c
|
e6f60d30375c637c0823a9aade8098a45f70d6a7 |
|
10-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: rename vars in _mesa_BindFramebufferEXT()
/external/mesa3d/src/mesa/main/fbobject.c
|
a492ab765a9e36c5f224f0d58e172ca6ecf25a1c |
|
10-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: added comment for check_begin_texture_render()
/external/mesa3d/src/mesa/main/fbobject.c
|
6b68482e6869bdc03339ef5380d7273e14a61a56 |
|
04-Nov-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Attempt to pair up Driver.RenderTexture and FinishRenderTexture() This is probably not 100% complete (bind vs unbind may still not pair up exactly), but it should help out drivers which are relying on FinishRenderTexture to be called when we're done rendering to a particular texture level, not just when we're done rendering to the object at all. This is the case for the one consumer of FinishRenderTexture() so far: the gallium state tracker. Noticed when trying to make use of FRT() in the intel driver.
/external/mesa3d/src/mesa/main/fbobject.c
|
800e553e7a1703e33e54f45d0638b67001665fc5 |
|
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up, remove some flushing in FBO functions Remove some unneeded flushes. Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places.
/external/mesa3d/src/mesa/main/fbobject.c
|
4de18fb093e700ee33ed49035ab77f4a9453329a |
|
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix indentation
/external/mesa3d/src/mesa/main/fbobject.c
|
18af75e5011cc31b52d62befba2cacfd353ce638 |
|
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT()
/external/mesa3d/src/mesa/main/fbobject.c
|
9927d7f31c5c46c7b061cf8e13324ac4a837c4b7 |
|
02-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa: Fix compilation errors and warnings when features are disabled. Some of the fixes are cherry-picked from opengl-es branch. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/fbobject.c
|
1f196b786d6bd0c6a5dbdc638574ff716cc3d4de |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'texformat-rework' Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
|
21f8d31cfd9612fdf2bd39901472a6f3f11ddfda |
|
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: debug code for glBlitFramebuffer()
/external/mesa3d/src/mesa/main/fbobject.c
|
46a784b7fd2dcab97c26d5ca02fb8f74945ba157 |
|
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
26f1ad65b988fe55ae12a99994e4c63aaab899a0 |
|
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify att->CubeMapFace assignment
/external/mesa3d/src/mesa/main/fbobject.c
|
9b50ceac03975e75940713313363df1bdd5c19dc |
|
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more detailed error messages in fbo code
/external/mesa3d/src/mesa/main/fbobject.c
|
dc8b139aa23899b00baa919fd7f46c74bf4ef205 |
|
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove FBO texture depth/stencil test The texture format should not be checked until validation time since the format might be changed by a subsequent glTexImage() call.
/external/mesa3d/src/mesa/main/fbobject.c
|
b5d6a8e88fb970bce596adc10a8b22f6758591f0 |
|
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean up in check_begin_texture_render()
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
6d0fc3cfde3dd730de17e925c5594a8b317ba200 |
|
02-Oct-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Remove another unexplained Flush call, this time from BindFramebuffer. Combined with the previous fix, it takes cairo-gl firefox-talos-gfx time from 120 seconds to 90 seconds on my GM45.
/external/mesa3d/src/mesa/main/fbobject.c
|
f019577f0c2ff83e20bd198a467ddb03579ddae3 |
|
02-Oct-2009 |
Eric Anholt <eric@anholt.net> |
Revert "Flush driver, not just tnl module." This reverts commit df058298e1570eea8712f9bb051f674fab2eaf24. It didn't explain why it was required, doesnt appear to be required, and is a significant performance penalty for cairo-gl firefox. Conflicts: src/mesa/main/fbobject.c
/external/mesa3d/src/mesa/main/fbobject.c
|
1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace gl_texture_format with gl_format Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
/external/mesa3d/src/mesa/main/fbobject.c
|
eb82373abb08171d7fcb15b5f4f229fc9ca9aa91 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_unit() helper
/external/mesa3d/src/mesa/main/fbobject.c
|
5cf5d4be21bdac203dc244e9b773a852ddb1baf1 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use more format helper functions
/external/mesa3d/src/mesa/main/fbobject.c
|
ef6ee07fc7b356109897fdc311be74d5c6640bf9 |
|
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean-up
/external/mesa3d/src/mesa/main/fbobject.c
|
c26c2006df6035fccd6103961524fd15bf000840 |
|
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up fbo debug code
/external/mesa3d/src/mesa/main/fbobject.c
|
3ffaa11f888ced2ae5da7e794a57f20dcc7a3dfc |
|
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move assertions in test_attachment_completeness() Put the assertions after the error checks.
/external/mesa3d/src/mesa/main/fbobject.c
|
dcebe220f430221821a10944fbdb639a9252bfef |
|
05-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: generate GL_INVALID_OPERATION for missing z/stencil when blitting If glBlitFramebuffer() is called with GL_DEPTH_BUFFER_BIT or GL_STENCIL_BUFFER_BIT and the src/dst depth/stencil buffers are absent, report an error.
/external/mesa3d/src/mesa/main/fbobject.c
|
957f3c8c3d3b6a48bbcc24e9db2c110a7fde177b |
|
16-May-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Mark FBOs with compressed color attachments as FBO-incomplete. Both EXT_fbo and ARB_fbo agree on this. Fixes a segfault in the metaops mipmap generation in Intel for SGIS_generate_mipmap of S3TC textures in Regnum Online. Bug #21654. (cherry picked from commit 0307e609aa3e707eeb40051bd664d36f2340ba9b)
/external/mesa3d/src/mesa/main/fbobject.c
|
042d9a513213b1fa356c0d80abc62b9327e0bcc2 |
|
19-May-2009 |
Mathias Fröhlich <frohlich8@users.sourceforge.net> |
mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT See sourceforge bug #2793846.
/external/mesa3d/src/mesa/main/fbobject.c
|
009749b4a8c3ec54f47f3f85552e5ae275ab6ae6 |
|
21-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: protect driver.flush() with FLUSH_CURRENT Need to do this to ensure vbo code unmaps its buffers before calling the driver, which may be sitting on top of a memory manager which objects to firing commands from a mapped buffer.
/external/mesa3d/src/mesa/main/fbobject.c
|
16144632354cb310f090c8713a11d3c65696969e |
|
26-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: avoid extraneous calls to ctx->Driver.BindFramebuffer() Only call this driver function when we really need to bind different buffers.
/external/mesa3d/src/mesa/main/fbobject.c
|
9f731c8962e536965a04635ef8aa135691b32a35 |
|
18-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add some debug code to help diagnose incomplete FBO attachments (disabled)
/external/mesa3d/src/mesa/main/fbobject.c
|
5340b6dff73a0a23531ce2a5f28fba8303adab6e |
|
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/gallium-master-merge' This is the big merge of the gallium-0.2 branch into master. gallium-master-merge was just the staging area for it. Both gallium-0.2 and gallium-master-merge are considered closed now. Conflicts: progs/demos/Makefile src/mesa/main/state.c src/mesa/main/texenvprogram.c
|
d52294439c80c99a4bfa2c7ecc65efa67f095a3f |
|
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()
/external/mesa3d/src/mesa/main/fbobject.c
|
e97681c7f551a2a2a6bd5eff0f4192a870c816c0 |
|
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: merge gallium-0.2 into gallium-master-merge Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c
|
5fec84ad0446d4d6d842f5cf740f9787678113be |
|
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: allow glFramebufferTexture1/2/3D(target = GL_READ/DRAW_FRAMEBUFFER) This is part of GL_EXT_framebuffer_blit and GL_ARB_framebuffer_obbject.
/external/mesa3d/src/mesa/main/fbobject.c
|
2897cee99fb877e1f3cd9a881a61418c9c31867f |
|
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix a render to texture FBO validation bug When glTexImage() is called we need to re-validate any FBOs that point to the texture (i.e. render-to-texture) since changing the texture's size/format will effect FBO completeness. We don't keep a list of all FBOs rendering into each texture (which would be a bit messy) so we check all FBOs in existance. To optimize this, the gl_texture_object->_RenderToTexture flag is used to avoid checking textures that have never been used as renderbuffers. So, we only walk over all FBOs (there's usually only a few) when glTexImage() modifies a RTT texture. Fixes a bug seen in shadowtex.c when toggling packed depth/stencil mode.
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.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/fbobject.c
|
d0f13fa7d70c57e698cce9fbde399e80f7afcf47 |
|
21-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix some renderbuffer/framebuffer delete semantics Need to unbind buffers if referenced by the current read/draw pointers when being deleted.
/external/mesa3d/src/mesa/main/fbobject.c
|
3059007f0c2e91f4ef207677cdcb6dc42be7ecb2 |
|
21-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add support for GL_DEPTH_STENCIL_ATTACHMENT point. Used to set both the depth and stencil attachment points to one renderbuffer of texture.
/external/mesa3d/src/mesa/main/fbobject.c
|
722d976283f402b1edeb5ed67ad9747d322a262e |
|
21-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: additional FBO error checking for multisample-related things Plus some new comments.
/external/mesa3d/src/mesa/main/fbobject.c
|
4f3514e410c7b743a99f509c176f75b2a3182948 |
|
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor glRenderbufferStorage(), glRenderbufferStorageMultisample() code Use a common helper routine for both functions.
/external/mesa3d/src/mesa/main/fbobject.c
|
777a2efc7768de659fbc2e9a7541c9cbb3fc1d8b |
|
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: stub for _mesa_RenderbufferStorageMultisample()
/external/mesa3d/src/mesa/main/fbobject.c
|
1f32c410dd06d73e2ad007a6ce755437884e92c3 |
|
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: call fbo_incomplete() if driver marks FBO as incomplete (debug only)
/external/mesa3d/src/mesa/main/fbobject.c
|
3528f69ce4ba9098ff4d372d7d411b24cf161d61 |
|
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added ctx->Driver.ValidateFramebuffer() callback Called from the _mesa_test_framebuffer_completeness() function to give the driver the chance to make a framebuffer as incomplete if it doesn't meet some specific hardware restriction.
/external/mesa3d/src/mesa/main/fbobject.c
|
1bc59bf4f85d1649e6c273cca82785965ea94ac9 |
|
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add new ARB_fbo queries, fix some error tests
/external/mesa3d/src/mesa/main/fbobject.c
|
06f3b2e6799ebd66a813ce9345c2ca6bbd0abe7d |
|
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: additional FBO/RB id error checking for ARB_fbo It's illegal to bind a FBO/RB id that didn't come from glGenRender/Framebuffer().
/external/mesa3d/src/mesa/main/fbobject.c
|
989edea40913de9347908488db8978eb2efaba63 |
|
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: for ARB_fbo, lift restriction that all FBO attachments are same size and color format
/external/mesa3d/src/mesa/main/fbobject.c
|
608e14c5b265d331f89959b8e477796ac21c297c |
|
09-Dec-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
f849d364c22e702e3dda664fa65601d4cf2b55a5 |
|
07-Dec-2008 |
Eric Anholt <eric@anholt.net> |
mesa: Fix GenerateMipmapEXT(GL_TEXTURE_CUBE_MAP_ARB). The ctx->Driver.GenerateMipmap() hook only expects cubemap face enums, not CUBE_MAP_ARB, so walk all faces when we encounter that. Fixes oglconform fbo.c segfault with both swrast and i965 drivers.
/external/mesa3d/src/mesa/main/fbobject.c
|
868c09a267f3c25591075f5a9e5d54535958632f |
|
08-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some feature tests (cherry picked from commit 74b14fe6ddbece8bc662aac4d3b2b18d8d853486)
/external/mesa3d/src/mesa/main/fbobject.c
|
0397b2bb41b0f337af2949a15bcd7d0e7e8a7dc1 |
|
11-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-0.2 A first attempt at moving gallium onto a branch directly off master... It will be interesting to see how much work this takes to get running. Have resolved the conflicts semi-arbitarily, not compiled or tested. Conflicts: .gitignore Makefile configs/config.mgw configs/darwin configs/darwin-x86ppc configs/default configs/freebsd-dri configs/linux-dri configs/linux-dri-xcb configs/linux-fbdev configs/linux-static configs/linux-x86-64-static configs/linux-x86-static doxygen/Makefile include/GL/gl.h progs/demos/Makefile progs/demos/descrip.mms progs/demos/texenv.c progs/egl/.gitignore progs/egl/Makefile progs/glsl/.gitignore progs/glsl/Makefile progs/glsl/convolutions.c progs/samples/Makefile.mgw progs/tests/.gitignore progs/trivial/.gitignore progs/trivial/point-param.c progs/trivial/tri.c progs/xdemos/.gitignore progs/xdemos/glthreads.c src/egl/drivers/demo/Makefile src/egl/drivers/dri/Makefile src/egl/main/Makefile src/glu/Makefile src/glu/sgi/Makefile src/glu/sgi/Makefile.mgw src/glut/glx/Makefile.mgw src/glut/os2/WarpWin.cpp src/glut/os2/glut_cindex.cpp src/glut/os2/glut_gamemode.cpp src/glut/os2/glut_win.cpp src/glut/os2/glut_winmisc.cpp src/glut/os2/os2_glx.cpp src/glut/os2/os2_menu.cpp src/glut/os2/os2_winproc.cpp src/glw/Makefile src/glx/x11/dri_glx.c src/glx/x11/glxext.c src/mesa/Makefile src/mesa/Makefile.mgw src/mesa/descrip.mms src/mesa/drivers/beos/Makefile src/mesa/drivers/common/descrip.mms src/mesa/drivers/common/driverfuncs.c src/mesa/drivers/directfb/Makefile src/mesa/drivers/dri/Makefile.template src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_bufmgr.h src/mesa/drivers/dri/common/dri_util.c src/mesa/drivers/dri/common/extension_helper.h src/mesa/drivers/dri/common/mmio.h src/mesa/drivers/dri/common/utils.c src/mesa/drivers/dri/common/utils.h src/mesa/drivers/dri/glcore/Makefile src/mesa/drivers/dri/i810/i810screen.c src/mesa/drivers/dri/i915/intel_ioctl.c src/mesa/drivers/dri/i915/intel_ioctl.h src/mesa/drivers/dri/i915/intel_screen.c src/mesa/drivers/dri/i915/server/i830_common.h src/mesa/drivers/dri/i915/server/i830_dri.h src/mesa/drivers/dri/i965/intel_screen.c src/mesa/drivers/dri/i965/server/i830_common.h src/mesa/drivers/dri/i965/server/i830_dri.h src/mesa/drivers/dri/mach64/mach64_screen.c src/mesa/drivers/dri/nouveau/nouveau_context.h src/mesa/drivers/dri/nouveau/nouveau_fifo.c src/mesa/drivers/dri/nouveau/nouveau_fifo.h src/mesa/drivers/dri/nouveau/nouveau_screen.c src/mesa/drivers/dri/nouveau/nouveau_screen.h src/mesa/drivers/dri/r128/r128_tex.h src/mesa/drivers/dri/savage/savageioctl.h src/mesa/drivers/fbdev/Makefile src/mesa/drivers/osmesa/Makefile src/mesa/drivers/osmesa/descrip.mms src/mesa/drivers/x11/Makefile src/mesa/drivers/x11/descrip.mms src/mesa/drivers/x11/xm_dd.c src/mesa/glapi/glapi.c src/mesa/glapi/glthread.c src/mesa/main/api_validate.c src/mesa/main/attrib.c src/mesa/main/bufferobj.c src/mesa/main/bufferobj.h src/mesa/main/buffers.c src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/descrip.mms src/mesa/main/drawpix.c src/mesa/main/enums.c src/mesa/main/fbobject.c src/mesa/main/glheader.h src/mesa/main/imports.c src/mesa/main/mipmap.c src/mesa/main/mm.c src/mesa/main/mm.h src/mesa/main/mtypes.h src/mesa/main/points.c src/mesa/main/sources src/mesa/main/state.c src/mesa/main/texcompress_fxt1.c src/mesa/main/texenvprogram.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c src/mesa/math/descrip.mms src/mesa/shader/arbprogram.c src/mesa/shader/descrip.mms src/mesa/shader/prog_execute.c src/mesa/shader/prog_statevars.c src/mesa/shader/prog_statevars.h src/mesa/shader/prog_uniform.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/shader_api.c src/mesa/shader/slang/descrip.mms src/mesa/shader/slang/library/slang_vertex_builtin_gc.h src/mesa/sources src/mesa/swrast/descrip.mms src/mesa/swrast/s_drawpix.c src/mesa/swrast/s_fragprog.c src/mesa/swrast/s_readpix.c src/mesa/swrast/s_span.c src/mesa/swrast_setup/descrip.mms src/mesa/tnl/descrip.mms src/mesa/tnl/t_context.h src/mesa/tnl/t_vp_build.c src/mesa/tnl/tnl.h src/mesa/vbo/descrip.mms src/mesa/vbo/vbo_context.c src/mesa/vbo/vbo_exec_array.c src/mesa/x86-64/xform4.S src/mesa/x86/rtasm/x86sse.c src/mesa/x86/rtasm/x86sse.h windows/VC6/progs/glut/glut.dsp windows/VC7/mesa/gdi/gdi.vcproj windows/VC7/mesa/glu/glu.vcproj windows/VC7/mesa/mesa.sln windows/VC7/mesa/mesa/mesa.vcproj windows/VC7/mesa/osmesa/osmesa.vcproj windows/VC7/progs/glut/glut.vcproj windows/VC8/mesa/gdi/gdi.vcproj windows/VC8/mesa/glu/glu.vcproj windows/VC8/mesa/mesa.sln windows/VC8/mesa/mesa/mesa.vcproj windows/VC8/progs/glut/glut.vcproj
|
74b14fe6ddbece8bc662aac4d3b2b18d8d853486 |
|
08-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some feature tests
/external/mesa3d/src/mesa/main/fbobject.c
|
d23b54a423b537fc08543299f9df086e831686fc |
|
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some FBO/texture queries (bug 15296)
/external/mesa3d/src/mesa/main/fbobject.c
|
f1e4ca776f1c1f86beb8872d32009d902cf64e88 |
|
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some FBO/texture queries (bug 15296)
/external/mesa3d/src/mesa/main/fbobject.c
|
2fa7b3f78639114aec42fcbbfc29d3645832708b |
|
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: 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. cherry-picked from master (9e01b915f1243a3f551cb795b7124bd1e52ca15f)
/external/mesa3d/src/mesa/main/fbobject.c
|
b931a0c1d9128b7fb402915089e1fd2496f65349 |
|
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove incorrect assertion
/external/mesa3d/src/mesa/main/fbobject.c
|
c4b6941e62f5e30a7c479b7b8d6521cc4dd92e3e |
|
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move assertion
/external/mesa3d/src/mesa/main/fbobject.c
|
d015ffa6ea20f00f23513e63b5c27e5e6d0d3627 |
|
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix problem freeing framebuffer/renderbuffer objects Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj
/external/mesa3d/src/mesa/main/fbobject.c
|
3dc6591a7c85b6a05551ce91b69e57d23148bf57 |
|
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix problem freeing framebuffer/renderbuffer objects Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer objects.
/external/mesa3d/src/mesa/main/fbobject.c
|
0449bab2f8722f277213e44da13de6a0b5ae7b5b |
|
09-May-2008 |
Dave Airlie <airlied@linux.ie> |
Revert "mesa/intel: map/unmap texture objects around mipmap generation function." This reverts commit c50ffc4cb89b67ae59208eb72cdb664c846ba987. I'll fix this using the mipmap hooks I just picked from gallium-0.1
/external/mesa3d/src/mesa/main/fbobject.c
|
d4e1d85dba8ec4a37f68a284b5a2be15b4f2987a |
|
08-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Remove unused texunit parameter to ctx->Driver.GenerateMipmap() (cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7)
/external/mesa3d/src/mesa/main/fbobject.c
|
a638676473bd7bf2d47275ed2fd708e5b9d47e0b |
|
09-May-2008 |
Dave Airlie <airlied@linux.ie> |
Added ctx->Driver.GenerateMipmap() driver hook (cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031) Conflicts: src/mesa/drivers/common/driverfuncs.c
/external/mesa3d/src/mesa/main/fbobject.c
|
c50ffc4cb89b67ae59208eb72cdb664c846ba987 |
|
09-May-2008 |
Dave Airlie <airlied@redhat.com> |
mesa/intel: map/unmap texture objects around mipmap generation function. This at least stops the compiz brain explosion we were seeing, I do wonder though if we should somehow be calling intel_generate_mipmap somehow.
/external/mesa3d/src/mesa/main/fbobject.c
|
635e96471218d5ada3fa7930fc1a746ec2aa4423 |
|
28-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix texture/renderbuffer mix-up in test_attachment_completeness()
/external/mesa3d/src/mesa/main/fbobject.c
|
13041da714106ae61b4184b79e847c2b382e07ad |
|
28-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix texture/renderbuffer mix-up in test_attachment_completeness()
/external/mesa3d/src/mesa/main/fbobject.c
|
c3395f4473c8fdf75d04c0dd72e687bc8d8127a7 |
|
08-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Remove unused texunit parameter to ctx->Driver.GenerateMipmap()
/external/mesa3d/src/mesa/main/fbobject.c
|
4c2f3dbca940f289e67248682b84a3516d5a3031 |
|
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Added ctx->Driver.GenerateMipmap() driver hook
/external/mesa3d/src/mesa/main/fbobject.c
|
8b36166d295beb472ed7cedf1989894665233b98 |
|
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for texture and renderbuffer in check_end_texture_render()
/external/mesa3d/src/mesa/main/fbobject.c
|
98c539d337fec8b4e21d9788b52ff551462e90d6 |
|
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
in check_end_texture_render(), test for presence of a renderbuffer and texobj
/external/mesa3d/src/mesa/main/fbobject.c
|
95e84a09ce3f35f59465be28026e83c1bc40ae8a |
|
18-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code left over after fixing GL_READ/DRAW_BUFFER state issues
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.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/fbobject.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/fbobject.c
|
6075df53b5435ddada989d776d989132def363a6 |
|
18-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
more fixes for mesa's fbo handling (fixes tests/fbotest1/2)
/external/mesa3d/src/mesa/main/fbobject.c
|
dbfb375805d94cb80262b8816c67a8adc778bec5 |
|
17-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix mesa fb binding Make sure that we bind the right buffer (draw or read) when rebinding the window framebuffer (the api doesn't allow binding different draw and read buffers at the same time, but the default window framebuffer is basically 2 fb objects, one for read, one for write, which can be different). Pass both of these two down the driver api (no driver uses this right now).
/external/mesa3d/src/mesa/main/fbobject.c
|
bb372f1c9bc08e8b0dca983cb4ba36b2f2f039fb |
|
17-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Initial implementation of MESA_texture_array Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
/external/mesa3d/src/mesa/main/fbobject.c
|
b0fe0d8a550c5182b4cd964f8745a104343b7654 |
|
15-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Bring framebuffer_texture's error checking more in-line with the spec.
/external/mesa3d/src/mesa/main/fbobject.c
|
dccd9c4f4d3eb4fd31002eb13e32ea78a5d0905c |
|
02-Apr-2007 |
Brian <brian@yutani.localnet.net> |
use _mesa_reference_renderbuffer() in a few more places
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
e69da9d02ecdf47d930276783f8b8df1a3cd99dd |
|
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
explicit calls to _mesa_unreference_framebuffer() not always needed now
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
a8ba888a351ceb4242fa334f3c41ef76d7f25bc8 |
|
01-Mar-2007 |
Brian <brian@yutani.localnet.net> |
move oldFb decl into tighter scopes
/external/mesa3d/src/mesa/main/fbobject.c
|
5ac93f86210eb5c2a8dee74ec19b0ecd54376863 |
|
01-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge texmem-0-3-branch.
/external/mesa3d/src/mesa/main/fbobject.c
|
24edd9015951dd41898902b6c3973fe605e5871a |
|
29-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move mipmap generation functions, texture scaling functions into new mipmap.c file.
/external/mesa3d/src/mesa/main/fbobject.c
|
df058298e1570eea8712f9bb051f674fab2eaf24 |
|
22-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Flush driver, not just tnl module.
/external/mesa3d/src/mesa/main/fbobject.c
|
7ac5b7b934544c27d87b4852c95efb379889f1dc |
|
20-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new _mesa_dereference_frame/renderbuffer() functions
/external/mesa3d/src/mesa/main/fbobject.c
|
13abf91b42b00c7eb64c373aff3a4c1bb3d8fb7f |
|
13-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
casts to fix some -pedantic warnings
/external/mesa3d/src/mesa/main/fbobject.c
|
f08f233d6f0d78bb5f5b27e97351754329845149 |
|
05-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove the code that checks for duplicated framebuffer attachments (which generated the error GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT). This was removed in version 117 of the GL_EXT_framebuffer_object spec.
/external/mesa3d/src/mesa/main/fbobject.c
|
28b014ee256290eb0494b967e40c475c0c895f57 |
|
05-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Silence minor compiler warnings (-Wextra).
/external/mesa3d/src/mesa/main/fbobject.c
|
9f6ff49650646fcac29289ebabd7269c1795deed |
|
28-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
update conditional for render to GL_DEPTH_STENCIL texture, check for valid teximage before calling ctx->Driver.RenderTexture()
/external/mesa3d/src/mesa/main/fbobject.c
|
ea4fe661d7f3a95d9db17e1475076f1badf8e1a6 |
|
26-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
merge from texman branch
/external/mesa3d/src/mesa/main/fbobject.c
|
519b23b21f9cd6945fd17cdb26e7a6f531cdeec0 |
|
20-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of changes/fixes for rendering to framebuffer objects. - When deleting texture objects, unbind from FBOs if necessary. - Changed driver hooks for starting/ending render to texture. - Now properly handle case where gl[Copy]TexImage() is called after glFramebufferTexture[123]D(). That didn't work before.
/external/mesa3d/src/mesa/main/fbobject.c
|
4991888fa0ea8e31e3cd2a0d87bb7e205ad1dccd |
|
20-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional assertions and debug code for testing FBO completeness
/external/mesa3d/src/mesa/main/fbobject.c
|
59e0faaa5c601ace51608c6d03c57d17498f796b |
|
15-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
sync with texmem branch
/external/mesa3d/src/mesa/main/fbobject.c
|
2e01918b553ad50f6df788bb762f487d618ad37e |
|
07-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
call _mesa_update_framebuffer_visual() in _mesa_FramebufferRenderbufferEXT() to fix some minor glitches
/external/mesa3d/src/mesa/main/fbobject.c
|
9974540c73e0c6e03f2da46483e38363d62a2e7b |
|
01-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove temporary tokens, more error checks for blit function
/external/mesa3d/src/mesa/main/fbobject.c
|
0e31e02aef4fe44b1196d0bf6e351250d9d8f68c |
|
01-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added FinishRenderTexture() device driver function to indicate when rendering to a texture has likely completed. Fixed refcount issue in texture renderbuffer wrapper.
/external/mesa3d/src/mesa/main/fbobject.c
|
311bcf5090f8ba0cc09c66f2507dccdf6546ac3c |
|
18-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation. Simplify _mesa_GetRenderbufferParameterivEXT() queries.
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
0bffb1192a599b11af11604ad590f6a50c054bf1 |
|
08-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
some initial work on upcoming GL_EXT_framebuffer_blit extension
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
a9fc8ba756dd25a07dc19058fe60f65bda82a055 |
|
05-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
In gl_texture_image replace IntFormat with InternalFormat and Format with _BaseFormat to be consistant with gl_renderbuffer.
/external/mesa3d/src/mesa/main/fbobject.c
|
91802fdf730451aaa0246f514f6778ffaef92c50 |
|
04-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check if deleting currently bound frame/renderbuffer object
/external/mesa3d/src/mesa/main/fbobject.c
|
bc6cced479b0ea854acff9f5fec253d462774290 |
|
04-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix behaviour of glIsFrame/Renderbuffer()
/external/mesa3d/src/mesa/main/fbobject.c
|
071b30aba139aca90c920d6d9b502630c94355d7 |
|
03-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a few calls to _mesa_update_framebuffer_visual()
/external/mesa3d/src/mesa/main/fbobject.c
|
1ad7b99925e044f82e635f746c1ef2df77f69ac9 |
|
28-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for GL_EXT_packed_depth_stencil extension. glReadPixels done, glDrawPixels mostly done.
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
ab8ef280ec1c435cd04a481f50cbc3cb6b024744 |
|
08-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comment
/external/mesa3d/src/mesa/main/fbobject.c
|
eba4ff6e0a101a86fc9634b33ce63c02fda896d6 |
|
06-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor formatting fix
/external/mesa3d/src/mesa/main/fbobject.c
|
ed7f3aead819dfe089228363698b4860614e62e8 |
|
07-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GL_ALPHA render-to-texture problem (Jon Smirl)
/external/mesa3d/src/mesa/main/fbobject.c
|
c7264415b662225a5bdbad3157ecae6b2a3183e2 |
|
01-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added code to detect GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT error
/external/mesa3d/src/mesa/main/fbobject.c
|
1b93953fbcbeb3c88dc50004a989a3d44d7fd99b |
|
01-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
add support for GL_RENDERBUFFER_RED/GREEN/BLUE/etc_SIZE_EXT querie
/external/mesa3d/src/mesa/main/fbobject.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/fbobject.c
|
6c0c91714c17da75d0386a48f7de7b558b3ec1a9 |
|
27-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warnings
/external/mesa3d/src/mesa/main/fbobject.c
|
2c6f911e10761c0946261d494bf149b19072821d |
|
24-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
More GL_EXT_framebuffer_object: rename some things, added device driver hooks.
/external/mesa3d/src/mesa/main/fbobject.c
|
d9468c94052c4e99b4121deb231c81388722c37f |
|
10-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comments, fix zoffset error test
/external/mesa3d/src/mesa/main/fbobject.c
|
f0bbbf66b8ab846ae55adf2f66941f05b5500071 |
|
09-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
implement the 'completeness' tests
/external/mesa3d/src/mesa/main/fbobject.c
|
923b6fc4d96d342cdc7b33b660a8d3d193c9165e |
|
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
just some comments
/external/mesa3d/src/mesa/main/fbobject.c
|
1864c7d79a0ef0bda54c503bad15977b62e0ed57 |
|
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
a bunch of assorted fixes
/external/mesa3d/src/mesa/main/fbobject.c
|
463642c0be7a6b8c0552bb32b5bc8e86ee352d67 |
|
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
checkpoint latest work
/external/mesa3d/src/mesa/main/fbobject.c
|
3deaa01c2bd576ae81fc6d3ea67c583cb3c22159 |
|
07-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional work on GL_EXT_framebuffer_object
/external/mesa3d/src/mesa/main/fbobject.c
|
ddc82eefca591f0ee93d3a77e1268571629a6d5c |
|
05-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some initial work on GL_EXT_framebuffer_object.
/external/mesa3d/src/mesa/main/fbobject.c
|