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/swrast/s_texrender.c
|
0c1862851f27c428a18ba5509636efcc2f0084f8 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: use swrast_renderbuffer instead of gl_renderbuffer
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
f2479530b8be3866c234ac759a7fa84e634dd1aa |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: allocate swrast_renderbuffers instead of gl_renderbuffers
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
ab331140c68d1c157e69ea8e53b44729355fa43c |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: rewrite, simplify the the render-to-texture code
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
7a36345f70a0b8ac2d480bb52eb2c74c2be5a978 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rename gl_renderbuffer::Data to Buffer To better indicate that this pointer to the malloc'd memory.
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
f9874feef4d8952df5054bd8e8f4e0deda4ef44f |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer::DataType
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
1e1b5cb01a10e39d01923e3c7e989c44210950cd |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer:RowStride field
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
d65bbfa947b9e2c5353bda857470a01d5398b3fa |
|
13-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove Get/PutRow()-related code
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
7a7b521ff255f5511b6f42becf603c6893f8a51e |
|
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer::PutRowRGB() No longer used anywhere. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
fc41473b9f7d1171a2921a825807889b8fcbcaaf |
|
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbufer::PutMonoRow() and PutMonoValues() The former was only used for clearing buffers. The later wasn't used anywhere! Remove them and all implementations of those functions. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
6dbf2bac5043564f32cdad08e8d6220618a02080 |
|
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
swrast: fix glReadPixels from texture attachment Fixes https://bugs.freedesktop.org/show_bug.cgi?id=42635
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
76d1275474d7b5ac2f0edf5856ae1c5fc234f0d9 |
|
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
Add MapRenderbuffer implementations for software drivers. Mesa core's is generic for things like osmesa. For swrast_dri.so, we have to do Y flipping. The front-buffer path isn't actually tested, though, because both before and after it fails with a BadMatch in XGetImage. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
68da4b50e9b6aa72a9b155f650952620063e1b94 |
|
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add swrast_texture_image::Buffer In the past, swrast_texture_image::Data has been overloaded. It could either point to malloc'd memory storing texture data, or it could point to a current mapping of GPU memory. Now, Buffer always points to malloc'd memory (if we're not using GPU memory) and Data always points to mapped memory. The next step would be to rename Data -> Map. This change also involves adding swrast functions for mapping textures and renderbuffers prior to rendering to setup the Data pointer. Plus, corresponding functions to unmap texures and renderbuffers. This is very much like similar code in the dri drivers.
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
6e0f9001fe3fb191c2928bd09aa9e9d05ddf4ea9 |
|
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::Data, RowStride, ImageOffsets to swrast Only swrast and the drivers that fall back to swrast need these fields now. This removes the last of the fields related to software rendering from gl_texture_image.
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
5ac96033c52eb2185b9b30bcbb40846d2216d0d3 |
|
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: s/FetchTexelf/FetchTexel/
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
a1661dc8957a35899d653e9fffd97f166c56be56 |
|
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::FetchTexel fields to swrast This also involves passing swrast_texture_image instead of gl_texture_image into all the fetch functions.
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
baeefef2c0445bfd717a3086fdd9b5bd5d9cb675 |
|
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move software texel fetch code into swrast It's only used by swrast now so move it out of core Mesa.
/external/mesa3d/src/mesa/swrast/s_texrender.c
|
755f2e2ae597df9208523b0996bbdabf3db463b0 |
|
13-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move texrender.c to swrast This stuff is really for software rendering, it's not core Mesa. A small step toward pushing the FetchTexel() stuff down into swrast. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_texrender.c
|