04aa8b58a09e3b415916fa569111c1f76d07a8d5 |
|
13-Jul-2015 |
Matt Turner <mattst88@gmail.com> |
swrast: Avoid double promotion. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
7fccebf9803973c7403318da20afe23e80b5b59f |
|
22-Jul-2015 |
Brian Paul <brianp@vmware.com> |
swrast: remove unneeded & operators in _swrast_choose_texture_sample_func() Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
8ac9407a835ee892d96f326b0c56967046cbb982 |
|
01-Apr-2015 |
Brian Paul <brianp@vmware.com> |
swrast: remove unneeded #include of colormac.h Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Mark Janes <mark.a.janes@intel.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
bd7f7aac56d3703f3d0fd55cd20f86f6c431b030 |
|
24-Feb-2015 |
Brian Paul <brianp@vmware.com> |
mesa: replace FABSF with fabsf Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
bfcdb843830bba0190e00e35e3c5c18c4bdb5de1 |
|
21-Feb-2015 |
Matt Turner <mattst88@gmail.com> |
mesa: Use assert() instead of ASSERT wrapper. Acked-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
934e41c0b31cffa4efc08f61cff2389e3149b3f3 |
|
03-Jan-2015 |
Brian Paul <brianp@vmware.com> |
mesa: create, use new _mesa_texture_base_format() function Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
05279fa5636bc1354c34ef043183d56f730b7f8e |
|
03-Jan-2015 |
Brian Paul <brianp@vmware.com> |
swrast: use new _mesa_base_tex_image() helper Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
811a1836c8f37ea7adbac3a62eea4b0fef1ca3cc |
|
04-Dec-2014 |
Matt Turner <mattst88@gmail.com> |
swrast: Remove 'inline' from tex filter functions. Reduces .text size of mesa_dri_drivers.so (i965-only) by 62k, or 1.4%. Note that we don't remove inline from lerp_2d(), which has a comment above it saying it definitely should be inlined. Though, removing the inline keyword from it doesn't actually change the compiled code for me. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
e69b4abc43d8b5ef72716eb6409e76e98f0df28f |
|
04-Sep-2014 |
Brian Paul <brianp@vmware.com> |
swrast: s/INLINE/inline/ Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
50a01d2acafb2a937e62b24258e2e777c0cd1489 |
|
21-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: Change many Type A MESA_FORMATs to meet naming standard Update comments. Conversion of the following Type A formats: s/MESA_FORMAT_RGB888\b/MESA_FORMAT_BGR_UNORM8/g s/MESA_FORMAT_BGR888\b/MESA_FORMAT_RGB_UNORM8/g s/MESA_FORMAT_A8\b/MESA_FORMAT_A_UNORM8/g s/MESA_FORMAT_A16\b/MESA_FORMAT_A_UNORM16/g s/MESA_FORMAT_L8\b/MESA_FORMAT_L_UNORM8/g s/MESA_FORMAT_L16\b/MESA_FORMAT_L_UNORM16/g s/MESA_FORMAT_I8\b/MESA_FORMAT_I_UNORM8/g s/MESA_FORMAT_I16\b/MESA_FORMAT_I_UNORM16/g s/MESA_FORMAT_R8\b/MESA_FORMAT_R_UNORM8/g s/MESA_FORMAT_R16\b/MESA_FORMAT_R_UNORM16/g s/MESA_FORMAT_Z16\b/MESA_FORMAT_Z_UNORM16/g s/MESA_FORMAT_Z32\b/MESA_FORMAT_Z_UNORM32/g s/MESA_FORMAT_S8\b/MESA_FORMAT_S_UINT8/g s/MESA_FORMAT_SRGB8\b/MESA_FORMAT_BGR_SRGB8/g s/MESA_FORMAT_RGBA_16\b/MESA_FORMAT_RGBA_UNORM16/g s/MESA_FORMAT_SL8\b/MESA_FORMAT_L_SRGB8/g s/MESA_FORMAT_Z32_FLOAT\b/MESA_FORMAT_Z_FLOAT32/g s/MESA_FORMAT_XBGR16161616_UNORM\b/MESA_FORMAT_RGBX_UNORM16/g s/MESA_FORMAT_XBGR16161616_SNORM\b/MESA_FORMAT_RGBX_SNORM16/g s/MESA_FORMAT_XBGR16161616_FLOAT\b/MESA_FORMAT_RGBX_FLOAT16/g s/MESA_FORMAT_XBGR16161616_UINT\b/MESA_FORMAT_RGBX_UINT16/g s/MESA_FORMAT_XBGR16161616_SINT\b/MESA_FORMAT_RGBX_SINT16/g s/MESA_FORMAT_XBGR32323232_FLOAT\b/MESA_FORMAT_RGBX_FLOAT32/g s/MESA_FORMAT_XBGR32323232_UINT\b/MESA_FORMAT_RGBX_UINT32/g s/MESA_FORMAT_XBGR32323232_SINT\b/MESA_FORMAT_RGBX_SINT32/g s/MESA_FORMAT_XBGR8888_UINT\b/MESA_FORMAT_RGBX_UINT8/g s/MESA_FORMAT_XBGR8888_SINT\b/MESA_FORMAT_RGBX_SINT8/g
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
ef145ba4ded6aafb28e3bda02fb348e6b8bff12a |
|
20-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: Rename 4 color component unsigned byte MESA_FORMATs Change all 4 color component unsigned byte formats to meet spec for P Type formats: s/MESA_FORMAT_RGBA8888\b/MESA_FORMAT_A8B8G8R8_UNORM/g s/MESA_FORMAT_RGBA8888_REV\b/MESA_FORMAT_R8G8B8A8_UNORM/g s/MESA_FORMAT_ARGB8888\b/MESA_FORMAT_B8G8R8A8_UNORM/g s/MESA_FORMAT_ARGB8888_REV\b/MESA_FORMAT_A8R8G8B8_UNORM/g s/MESA_FORMAT_RGBX8888\b/MESA_FORMAT_X8B8G8R8_UNORM/g s/MESA_FORMAT_RGBX8888_REV\b/MESA_FORMAT_R8G8B8X8_UNORM/g s/MESA_FORMAT_XRGB8888\b/MESA_FORMAT_B8G8R8X8_UNORM/g s/MESA_FORMAT_XRGB8888_REV\b/MESA_FORMAT_X8R8G8B8_UNORM/g
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
5e7ac28ebfd309782185d44813f0f86659a680cf |
|
23-Aug-2013 |
Brian Paul <brianp@vmware.com> |
swrast: init i0, i1 values to silence warnings Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
3998cfa933dcd9134b75d9f0ae2c9cfcd6f2ee45 |
|
05-Jun-2013 |
Rico Schüller <kgbricola@web.de> |
mesa: remove outdated version lines in comments Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
236ea7900ff263fdb3d01e1a904c43c600e2654d |
|
30-Apr-2013 |
Brian Paul <brianp@vmware.com> |
swrast: add casts for ImageSlices pointer arithmetic MSVC doesn't like pointer arithmetic with void * so use GLubyte *. Reviewed-by: Jose Fonseca<jfonseca@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
f91823f026fc5996f9b2ffa1dc48573810f1e4fd |
|
19-Apr-2013 |
Eric Anholt <eric@anholt.net> |
swrast: Make a teximage's stored RowStride be in terms of bytes per row. For hardware drivers with pitch alignment requirements, a non-power-of-two-sized texture format won't end up being an integer number of pixels per row. Also, avoids having to change our units between MapTextureImage's rowStride and swrast's RowStride. This doesn't fully convert the compressed texel fetch path, but does make sure we don't drop any bits (not that we'd expect to). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
35e179b18c6f266f8ec3ebb9352ad0cd3552c2a3 |
|
19-Apr-2013 |
Eric Anholt <eric@anholt.net> |
swrast: Replace use of teximage Map in 1D/2D paths with ImageSlices[0]. This gets us ready for the Map field to die. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
3d8d5b298a268b119d840bc9bae0ee9e0c9244a9 |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Restore 78-column wrapping of license text in C-style comments. The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
96ff2edc73ccf11d4d198ba3665507f73ae4a9f7 |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability. This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
dd404bc94f78a1766527becee03f8ef6ae3a799b |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text. Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
eed6baf7621fa94e7888f8079b155fc67a08540c |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Replace gl_frag_attrib enum with gl_varying_slot. This patch makes the following search-and-replace changes: gl_frag_attrib -> gl_varying_slot FRAG_ATTRIB_* -> VARYING_SLOT_* FRAG_BIT_* -> VARYING_BIT_* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
eee762258e7b026b33888d8661f3c2095f61307a |
|
23-Jan-2013 |
Brian Paul <brianp@vmware.com> |
swrast: silence a bunch of MSVC warnings Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
2b7a972e3f36bfcdc6fbe2b59d7ffdcde49c9405 |
|
04-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
Don't cast the return value of malloc/realloc This patch has been generated by the following Coccinelle semantic patch: // Don't cast the return value of malloc/realloc. // // Casting the return value of malloc/realloc only stands to hide // errors. @@ type T; expression E1, E2; @@ - (T) ( _mesa_align_calloc(E1, E2) | _mesa_align_malloc(E1, E2) | calloc(E1, E2) | malloc(E1) | realloc(E1, E2) )
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
56ccdf7e30f5bc1bc6b71d49bad2a9049ae170c4 |
|
03-Sep-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove SQRTF, use sqrtf. Convert INV_SQRT() to inline function. We were already defining sqrtf where we don't have the C99 version. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
9282ebbaa5fdb4bc1d6234d746acac525660185d |
|
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
swrast: implement cubical depth texture sampling Fixes a few more failures in the piglit copyteximage test. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
707f0679157f83ac45127e41647b96ed924d45c9 |
|
11-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Kill GL_ARB_shadow_ambient with fire No driver supports this extension, and it seems unlikely than any driver ever will. I think r300c may have supported it at one time, but that driver has already been removed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
cbdc1d53542b3ecca0085399c4bb3b3371f94809 |
|
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
swrast: Support sampler object for texture fetching state swrast needs to pass sampler object into all texture fetching functions to use correct sampling state when sampler object is bound to the unit. The changes were made using half manual regular expression replace. v2: Fix NULL deref in _swrast_choose_triangle(), because the _Current values aren't set yet, so we need to look at our texObj2D. (anholt) Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
c37efbfe4c415b6fd2d4f968220d7c9b62f11ecf |
|
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Move DepthMode to texture object GL_DEPTH_TEXTURE_MODE isn't meant to be part of sampler state based on compatibility profile specifications. OpenGL specification 4.1 compatibility 20100725 3.9.2: "... The values accepted in the pname parameter are TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_WRAP_R, TEXTURE_MIN_- FILTER, TEXTURE_MAG_FILTER, TEXTURE_BORDER_COLOR, TEXTURE_MIN_- LOD, TEXTURE_MAX_LOD, TEXTURE_LOD_BIAS, TEXTURE_COMPARE_MODE, and TEXTURE_COMPARE_FUNC. Texture state listed in table 6.25 but not listed here and in the sampler state in table 6.26 is not part of the sampler state, and remains in the texture object." The list of states is in Table 6.24 "Textures (state per texture object)" instead of 6.25 mentioned in the specification text. Same can be found from 3.3 compatibility specification. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
f4a93e0665881dd58a95abb6525676bd1cc2e6af |
|
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rework texture completeness testing Instead of gl_texture_object::_Complete there are now two fields: _BaseComplete and _MipmapComplete. The former indicates whether the base texture level is valid. The later indicates whether the whole mipmap is valid. With sampler objects, a single texture can appear to be both complete and incomplete at the same time. See the GL_ARB_sampler_objects spec for more details. To implement this we now check if the texture is complete with respect to a sampler state. Another benefit of this is we no longer need to invalidate a texture's completeness state when we change the minification/magnification filters with glTexParameter(). Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
bd3c10c0f0c60ab3421c2da2eab814edc2296cb0 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: s/Data/Map/ in swrast_texture_image To indicate that it points to mapped texture memory.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
c3aae7745a648d5d8f8386e09cd6d965f919c7d9 |
|
30-Nov-2011 |
Anuj Phogat <anuj.phogat@gmail.com> |
swrast: Add depth cube map support. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
03bbcd447cbaa28b52465ae1045013f1aff420c2 |
|
28-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
swrast: Fix some static analysis warnings To each switch statement in s_texfilter.c, add a break statement to the default case. Eliminates the Eclipse static analysis warning: No break at the end of this case. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
9f7b6a39f6ebc070ff5020578cea2d299b21d476 |
|
02-Nov-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
swrast: simplify the condition test for _swrast_choose_texture_sample_func remove another long if condition test. I don't feel a strong need of this patch. But for it make the code a little simpler(I do think so), I send it out. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.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_texfilter.c
|
5ac96033c52eb2185b9b30bcbb40846d2216d0d3 |
|
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: s/FetchTexelf/FetchTexel/
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
26b8dfc8cadf0f1a8604fc77b226cc7de005f9ca |
|
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: silence unused var warnings in non-debug builds
/external/mesa3d/src/mesa/swrast/s_texfilter.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/swrast/s_texfilter.c
|
980f6f1b37ca88529b3e000235156eab93254fac |
|
22-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast These fields were only used for swrast so move them into swrast_texture_image. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
eaf376ba354db11f7729452060570b48a029c9a0 |
|
22-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::_IsPowerOfTwo into swrast It's only used by swrast. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.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_texfilter.c
|
ede7d9fff504db3a4790b0e55d247f85ef22d045 |
|
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove GL_COLOR_INDEX from assertions These sampling functions don't work on color-index textures, but there is no such thing as a color-index texture anymore. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
8a98aabe0bcea42cfdc982001ae4876e3d9b1214 |
|
18-May-2011 |
Andreas Faenger <a.faenger@e-sign.com> |
swrast: anisotropic filtering extension Anisotropic filtering extension for swrast intended to be used by osmesa to create high quality renderings. Based on Higher Quality Elliptical Weighted Avarage Filter (EWA). A 2nd implementation using footprint assembly is also provided. Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
ecfaab88b2577bd0395bc05d75a036126806a9c4 |
|
10-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move sampler state into new gl_sampler_object type gl_texture_object contains an instance of this type for the regular texture object sampling state. glGenSamplers() generates new instances of gl_sampler_object which can override that state with glBindSampler().
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
4a802738b08b1dbddef6c59d0a1324f864b987b0 |
|
08-Mar-2011 |
Brian Paul <brianp@vmware.com> |
swrast: flip the conditionals in shadow_compare4() for readability
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
d9f584e663c7447e638acca2c164b16626a5271a |
|
08-Mar-2011 |
Philip Taylor <excors@gmail.com> |
swrast: add coord clamping, fix comparisons for shadow testing This fixes https://bugs.freedesktop.org/show_bug.cgi?id=31159 for swrast and piglit depth-tex-compare. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
d5435b3f0c53e964abcd76daf296d11465bcc64e |
|
05-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary headers.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
6a0255122a7d7c0aa09bceacda90a5cea67d5ee2 |
|
22-Nov-2010 |
Brian Paul <brianp@vmware.com> |
swrast: init alpha value to 1.0 in opt_sample_rgb_2d()
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
fb5e6f88fc426e53af26e98d1c336222a8952cc5 |
|
05-Oct-2010 |
Brian Paul <brianp@vmware.com> |
swrast: fix choose_depth_texture_level() to respect mipmap filtering state NOTE: this is a candidate for the 7.9 branch.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
cd5dea640144b45ba2e88c2451f1f01ee08c1c4a |
|
28-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_texture_rg: Add GL_RED as a valid GL_DEPTH_TEXTURE_MODE
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
5ba62cd4139e95c752453a1591eb3e47b6b18238 |
|
25-Sep-2010 |
Brian Paul <brianp@vmware.com> |
swrast: update comments for REMAINDER() macro
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
2b5de09b3ea8754fb004d4f216bca29303f99490 |
|
24-Mar-2010 |
Brian Paul <brianp@vmware.com> |
swrast: improve depth texture mipmap selection We still don't do proper min/mag filtering but this is better than just sampling the base mipmap level all the time. Fixes piglit depth-level-clamp test. Fixes fd.o bug 27256.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
bdbb5f8170f48713b741ad68c26464231a01ca7a |
|
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
swrast: add 0.5 bias in tex_array_slice() per the spec
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
58ab56d32308e36f331294047e11c3e0b4b73cde |
|
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
swrast: the only wrap mode for selecting texture array slices is clamp
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
880411c72aee7c0ec81366bdf6ab8cf25bebb9d5 |
|
28-Jan-2010 |
Brian Paul <brianp@vmware.com> |
swrast: silence double->float assignment warnings Reported by Karl Schultz.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
f6c2d1f94ffa8f87b22ed1ff5c465d0e9aa1489e |
|
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make texture BorderColor a union of float/int/uint When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
1e7517f059b1f3601502a199b05453eabfe56cdb |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix texel decoding in opt_sample_rgba_2d()
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
8c36ca707ca8879d6f888de7733ffb6b04ddc48a |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix some texformat regressions Need to be careful with component ordering for MESA_FORMAT_RGB888 and MESA_FORMAT_RGBA8888.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
3fa7dbf368bb060220e9f78e666b00d6827166a6 |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
/external/mesa3d/src/mesa/swrast/s_texfilter.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/swrast/s_texfilter.c
|
890679d4322e7ba4f12f32532a3fdd277edff886 |
|
23-Sep-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge branch 'softpipe-opt' Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
|
d504a7669d7b71229c2d15503a095d71ee1584e6 |
|
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix cube face selection If arx and ary are equal, we still want to choose from one of them, and not arz. This is the same as Michal's softpipe fix.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
67d4a5b15cfd8583c19a5776b0ec1564b60239eb |
|
24-Aug-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/swrast: use one fewer divide in swrast's choose_cube_face also Same change as for softpipe
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
8d482227915552c414e13743652e6794c4313ae2 |
|
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/main/api_validate.c
|
ed7f4b42307bff4633689d6781cd3643f10041e5 |
|
16-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix REMAINDER() macro The results were incorrect for some negative values of A. See bug 21872.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
6d63dec41f5399dbe5561175c1652d2ac5ffd4bb |
|
12-May-2009 |
Brian Paul <brianp@vmware.com> |
swrast: update/restore the opt_sample_rgb/rgba_2d() functions
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
dcf571aff9de1a4298c4d2c4148d84cdc4daf02e |
|
28-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: add missing break in clamp_rect_coord_linear() See bug 21461.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
b48eb05f1f547e2b03a22056f3e82ee7b9065337 |
|
06-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix texture border color interpretation The texture border color must be interpreted according to the texture's base format. For example, for a GL_ALPHA texture, sampling the border color should return (0,0,0,borderAlpha). This wasn't an issue here until I removed the legacy texenv code (we always use the combiner path now).
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
bd32640f77c72e79fb5dda0e5fd077e564b33b02 |
|
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove unused integer lerp functions
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
a35ad020f9449849f7616788aa6bd9e439d6c518 |
|
08-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: refactor depth/shadow sampling code
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
de2afd8688ceb45013d15be7c6e0995199b80e5a |
|
08-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: do texture sampling/combining in floating point The code's cleaner and a step toward supporting float-valued texture sampling. Some optimizations for common cases can be added and re-enabled...
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
590f6fe05030cb274067a9e58af9d8306d97d0b9 |
|
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_texture_object::_Function field and associated code It was only used in one place in swrast.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
26da28c995557c8b913e5ccfe31b31dc32e6c735 |
|
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_texture Everyone should be using the newer/better ARB versions of these extensions.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
9d216be8cfe57f88cd2d890c2334df8ff5c30436 |
|
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: silence uninitialized var warnings
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
6e0f8b174dddeb743b4bdc0d831eb1121f62ff50 |
|
30-Nov-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: assorted clean-ups, updated comments, etc.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
249e1e4d30759cd3c55cef0dba75f531cc7c6269 |
|
30-Nov-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: replace large macros with inline functions
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
baaf9779f1d892083238eb1af34cddc0c7541e22 |
|
29-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing break statements
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
bbd287103dad776d8a45c87c4e51fbc26d9b80d5 |
|
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: prefix a bunch of #include lines with "main/". This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
11a889db8f182fb1d11c998e5156deac8ca9f91d |
|
13-Sep-2008 |
Guillaume Melquiond <guillaume.melquiond@gmail.com> |
mesa: return after _mesa_problem() calls
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
21177c8764638e1d4b3b29fed64adec62a14e936 |
|
19-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: tweak mipmap level selection for cube maps This is just a hack. After we convert the 3D texcoord into a face plus 2D texcoord we need to recompute the partial derivatives and mipmap LOD. But we don't have the info to do that. Adjusting the original mipmap level by -1 seems to give somewhat better results than before though.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
c14d969a69d7b9a060c6701d3f18c51eabc56635 |
|
23-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
need to check border width in sample_linear_2d() - fixes failed assertion in texwrap.c test
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
87373e30729b29d949ee71cf76d3cb9213ff1333 |
|
19-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix some texture format assertions, etc
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
ad053d90f01852ee27e36a21402543562bf46ad6 |
|
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace repeat_remainder() with a simpler macro that just casts args to unsigned.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
227315278dea9095cee6e508d03b28720b2e7880 |
|
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace texobj->Complete with texobj->_Complete since it's a derived field.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
84d1b24647c0719551e8bcd5fa4601fbd3b1d555 |
|
07-Jun-2007 |
Ian Romanick <idr@us.ibm.com> |
Fix ARB_fp spec conformance bug WRT shadow sampling. The ARB_fp (and other assembly-level fragment program specs) say that the depth comparison function is always GL_NONE in fragment program mode.
/external/mesa3d/src/mesa/swrast/s_texfilter.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/swrast/s_texfilter.c
|
fde15a2bae2f2ca552763705f12d53e4606feabf |
|
14-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Fix sample_depth_texture() to handle texture rectangle coords.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
1e2b46963595e02172b4d651cc8a219e9f5c8176 |
|
14-Feb-2007 |
Etienne Clement <etienne.clement@autodesk.com> |
test for POT before using sample_2d_linear_repeat()
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
876b41bc03c9a92263b824378fc2191f85e0a403 |
|
18-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for n <= 1 in compute_min_mag_ranges(), bug 8320
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
9ebe3b6d369c946e41b5f6a684a4ac4e3509b67c |
|
05-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Check/use texture border color when sampling depth textures. (bug 6498) Silence some warnings.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
06f606ce5761e673fca3f6b1f7dd40dace8a9906 |
|
05-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove _IsPowerOfTwo from gl_texture_object, not really needed.
/external/mesa3d/src/mesa/swrast/s_texfilter.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/swrast/s_texfilter.c
|
b0a0ca8bd9edc13e495a39709cc28953dd3fbd9c |
|
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_EXT_packed_depth_stencil changes
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
5bfb9356d6df4c8b1e177ebda01631d99355ba25 |
|
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/programss/programs/
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
b3aefd1cfb6aacd1695c52911dd39da50d893ece |
|
19-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional wrapper updates, bug 4468
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
aa8abf8081023c00469b6c88760ed0291033eb6e |
|
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rework the texture filtering functions a bit. No need to pass the texture unit number as an argument.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
792a1bcbe4c4b4f5f96d6ac017fcb5376900ea75 |
|
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace a couple macros with inlined functions
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
0f540f4b0468f581f63fb0b6347fe66251fa545a |
|
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Code clean-ups, reorg.
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|
2cd8791cad11ea3961533c0cd8f9c1bbf50ef6cc |
|
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Split the s_texture.c file into two new files: s_texcombine.c - for texture combining/application s_texfilter.c - for texture sampling/filtering
/external/mesa3d/src/mesa/swrast/s_texfilter.c
|