6694a68d890a9aa491b5c3e8a576318bb6124e21 |
|
30-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium/util: add util_bit_last - finds the last bit set in a word
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
63e0e4b8f5a37f5f6a1b9a783f201d748eb312e8 |
|
02-Jul-2012 |
José Fonseca <jfonseca@vmware.com> |
gallium/util: Add ULL suffix to large constants. As suggested by Andy Furniss: it looks like some old gcc versions require it.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
d069d8ef3835c65d1fac755b26080f284f7b7b49 |
|
22-May-2012 |
James Benton <jbenton@vmware.com> |
util: Added functions for checking NaN / Inf for double and half-floats. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
eab036a6eaebd532f88c49bd26550c6225f96005 |
|
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa/gallium: add FFS_DEFINED to protect ffs() from multiple definitions We include both imports.h and u_math.h in the state tracker. This leads to multiple, conflicting definitions of ffs() with MSVC. Use FFS_DEFINED to skip the ffs() in u_math.h. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
c83fb4d45f2a47042f395271efe6e5489b2c4aee |
|
09-Dec-2011 |
José Fonseca <jfonseca@vmware.com> |
util: Add strings.h include on unices Fixes -Wimplicit-function-declaration for ffs with GCC. Spotted/tested by Kai Wasserbäch.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
10b07665be5cff9fa9f03b0f7db459f3b380570d |
|
09-Nov-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
Remove windows kernel support code. Not actively used. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
a69da5c0ce3c932b310bca7cd5cce78961f9946b |
|
06-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
util: add log2f for Android It is needed for nv50's new shader backend. With this change, both u_math.h and imports.h in core mesa define the same function. I have to #undef log2f here to avoid the conflict. Not sure if there is a better way to deal with the situation. Acked-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
4a3be16fd2d126a84ff2f087f2a2900afa19d235 |
|
02-Nov-2011 |
Michel Dänzer <michel.daenzer@amd.com> |
gallium/util: Add macros for converting from little endian to CPU byte order. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
553930424dec0cb1a83d2c928c260de6626b0d11 |
|
21-Sep-2011 |
Keith Whitwell <keithw@vmware.com> |
util: add u_bit_scan helper
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
cd893ccba9b7e4bafbdbbb71f79d1b40bcef01a8 |
|
04-Aug-2011 |
Chia-I Wu <olvaffe@gmail.com> |
gallium: add PIPE_OS_ANDROID support Android uses Linux kernel and its own C runtime. It resembles PIPE_OS_LINUX a lot with some minor exceptions. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
b3d5822e932767a572f392ae2b3ca1dfee5f6b03 |
|
08-Jun-2011 |
Roland Scheidegger <sroland@vmware.com> |
util: add gcc version check for builtins Looks like only next_power_of_two, logbase2 and bitcount use builtins requiring gcc 3.4, so maybe everything else compiles with older gcc.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
894db40f122175ed85e0d32d42296f2d56cf748e |
|
08-Jun-2011 |
Benjamin Bellec <b.bellec@gmail.com> |
util: better logbase2/next_power_of_two implementations Use __builtin_clz when available for logbase/next_power_of_two, and replace next_power_of_two with faster implementation otherwise.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
f62e1f41b4d6047e72222aebbb0b55a508269b0c |
|
02-Jun-2011 |
Brian Paul <brianp@vmware.com> |
util: faster logbase2
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
c5ac8a8aa2a9fe751453c1fcc8539b7dae5d473c |
|
09-May-2011 |
Matt Turner <mattst88@gmail.com> |
Remove redundant util_unsigned_logbase2 util_logbase2 is exactly the same function. Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
48a0a096f878d1e627226eae520847063473b17f |
|
09-May-2011 |
Matt Turner <mattst88@gmail.com> |
u_math.h: Remove redundant mingw32 ffs definition Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
b8de75d53760fb359d10d6f4794f28097210cef4 |
|
27-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
util: make macros MIN3, MAX3, MIN4, MAX4 little more efficient
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
8d62b2aca99ba67f794dd682ed1ec49dc8826390 |
|
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
gallium: add RGTC UNORM support to u_format. SNORM needs a bit of work in the state tracker in order for mipmap generation to work I believe. I'm also not sure that having unorm fetches for an snorm format is sane.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
151faa2258be40abbce017b65d95c52003053d2b |
|
11-Feb-2011 |
José Fonseca <jfonseca@vmware.com> |
util: Define round and roundf on MSVC.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
52427f0ba703f933b70d669ae565c7aeb733236d |
|
09-Oct-2010 |
José Fonseca <jfonseca@vmware.com> |
util: Defined M_SQRT2 when not available.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
89b2897220acfacdc431f138377fbcec9f0ea812 |
|
29-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
util: remove util_is_pot in favor of util_is_power_of_two The function was duplicated.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
04f8560dd826b62e96da5deed43910f767953707 |
|
27-Aug-2010 |
Keith Whitwell <keithw@vmware.com> |
util: fix typo in MAX4 Thanks to Michal for spotting it.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
e826d0e8170028da553d2018b833af7c26b8dc1b |
|
26-Aug-2010 |
Keith Whitwell <keithw@vmware.com> |
util: add MIN4, MAX4
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
ed3d17e14c1edbbb114e1490bca5e998cd108e86 |
|
13-Jun-2010 |
Jakob Bornecrantz <wallbraker@gmail.com> |
u_math: Add align function npot alignments
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
a2f311530790d7499cec3ee22132d7f391c850f3 |
|
31-May-2010 |
Chia-I Wu <olv@lunarg.com> |
gallium/util: Define isfinite and isnan for MSVC. Define isfinite and isnan to _finite and _isnan respectively for MSVC. Those macros are needed by st/vega.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
b57e18c35cf651addecdfb2339768fbb29c257f5 |
|
27-May-2010 |
José Fonseca <jfonseca@vmware.com> |
util: Add inline function for approximate floating point comparison.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
fda9a19b3465e3eb6ef74611a85021055eb78a64 |
|
26-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
util: Add util_bswap16.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
c852e960ccb5d2727ccaaf2829e89596a6be3128 |
|
01-Jan-2010 |
José Fonseca <jfonseca@vmware.com> |
util: Silent potential loss of precision warnings. Also ensure multiplication doesn't happen for negative numbers.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
aa02683e45f1eaf61bba2ba7eeda7686efeed2ca |
|
22-Dec-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge branch 'i965g-restart' Conflicts: configure.ac
|
a5585cb533af3d4e5d5324d5f526447b98597402 |
|
21-Dec-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/master' into i965g-restart Conflicts: SConstruct configs/default configs/linux-dri
|
144afacc6fc67d37780cbb29ccd298de9959b436 |
|
02-Dec-2009 |
Brian Paul <brianp@vmware.com> |
gallium/util: __builtin_bswap32() is in only gcc 4.3 or later
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
287bdd8e75aa3b2c20f50de359711158981dfa09 |
|
28-Nov-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
util: Fix bad code. Uf. How embarrassing.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
c93dcbfea7b8e1cd0f14a96bc466419bdce7eb30 |
|
28-Nov-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
util: Improve bitcount. Sorry for not pushing this before, it got lost in stashes.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
e65258abf52bd1923a547f76bd7346bf5ed1c5c6 |
|
26-Nov-2009 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
gallium/util: added util_bswap32()
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
c95cbd45c657ac47e908a4d99d118737034bde43 |
|
27-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'width0' Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
|
15740eb03ca8fb7eda585c612c1b36ec9df4474a |
|
24-Nov-2009 |
Brian Paul <brianp@vmware.com> |
gallium/util: added util_bitcount()
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
37ba97421c5cf351e2e3c7c1e41ffd72fb73f7e9 |
|
20-Nov-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
util: Add MAX3 and MIN3.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
683e35f726a182ed9fc6b6d5cb07146eebe14dea |
|
19-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: don't use arrays for texture width,height,depth
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
e7b76000826ff4faf8bf6a834d55b50a2784c9f2 |
|
31-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
i965g: more work on compilation
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
da793b743462e84e3bca7a0ed7f24b4c942e0834 |
|
27-Sep-2009 |
Younes Manton <younes.m@gmail.com> |
util: Add util_next_power_of_two() for rounding a uint up to a POT.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
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
|
88b88bba68af2f5d3243ebc77f32e47aa747d5f7 |
|
01-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
util: Add _BitScanForward intrinsic's declaration. It is missing in some Microsoft DDKs.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
6b129a82223c674d3e11472aa8abe07fd741764a |
|
07-Sep-2009 |
José Fonseca <jfonseca@vmware.com> |
util: Utility function to check if a number is a power of two.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
848ab8be8c34b00b2afe6120882f8c29f047ced5 |
|
03-Sep-2009 |
Keith Whitwell <keithw@vmware.com> |
aux/tgsi: pull back ureg work from 0.1 branch Manual merge of ureg changes on the branch. Too much unrelated stuff for a proper merge.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
fdb3e75f7e796d88c8e3cd478e2830754116baf0 |
|
29-Aug-2009 |
José Fonseca <jfonseca@vmware.com> |
util: Add util_unsigned_logbase2. Cherry picked from Keith's commit f911c3b9897b90132c8621a72bfeb824eb3b01e5.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
b1cc196e6d18494348c2974aad5d85d1b8281ce0 |
|
21-Aug-2009 |
Keith Whitwell <keithw@vmware.com> |
util: add util_is_power_of_two function
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
847fcb645c1d0c69617f0cafe8e6410e13f08fa6 |
|
08-Aug-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
gallium: Move minify() to u_math. minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
2e9bf100143c45ed169cc2d9875dc1b528a94ba5 |
|
31-Jul-2009 |
Brian Paul <brianp@vmware.com> |
gallium: comments, reformatting
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
c1785c19ca0716a7e85777242949a0c33e28988f |
|
01-Aug-2009 |
Patrice Mandin <patmandin@gmail.com> |
mesa st: Move logbase2 function to util/u_math.h
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
f911c3b9897b90132c8621a72bfeb824eb3b01e5 |
|
22-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
softpipe: shortcircuit repeated lookups of the same tile The sp_tile_cache is often called repeatedly to look up the same tile. Add a cache (to the cache) of the single tile most recently retreived and make a quick inline check to see if this matches the subsequent request. Add a tile_address bitfield struct to make this check easier.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
3705d03b0fbe349dee0221d982965a0590bc7cb0 |
|
01-Apr-2009 |
Brian Paul <brianp@vmware.com> |
gallium: added util_is_inf_or_nan() function to u_math.h
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
8c4bd92b68cf79ff94dc431f78a970bbab7e0d00 |
|
25-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
util: Don't use x86 asm on x86_64.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
ea4bf267e4b023b08043f91ac44592fed1736e7f |
|
18-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
util: Move p_debug.h into util module. The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
462f09487efac27173c231b09861b4f5316eb11d |
|
30-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
util: Define ffs for MinGW.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
205e0e3e38b99c2fb0298755d99a38f111f0b96f |
|
19-Nov-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2
|
228afbc8e012769983c5504d60c0772c84359bb1 |
|
17-Nov-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Use costum log2 for all windows builds.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
5e1454a036be6da2c48e2e20bf6f8047ee1a94d3 |
|
15-Nov-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/mesa/drivers/dri/common/dri_util.c
|
7e584a70c492698be18bf4d6372b50d1a1c38385 |
|
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: increase table size for fast log/pow functions The various conformance tests pass now.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
0d8637451b7bf1aac164dba6d269d1a665160ea3 |
|
12-Nov-2008 |
Michal Krol <michal@tungstengraphics.com> |
util: Optimise log2().
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
c5ba8ba9182a6946ee489241738457b1370b3c77 |
|
12-Nov-2008 |
Michal Krol <michal@tungstengraphics.com> |
util: Optimise log2().
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
50357ad35181b7b170abe8413d4ef772978aa5f5 |
|
12-Nov-2008 |
Michal Krol <michal@tungstengraphics.com> |
util: Add log2() definition for MSC.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
f447eea4de9cab5de295c717d35824cf92b9f322 |
|
12-Nov-2008 |
Michal Krol <michal@tungstengraphics.com> |
util: Add log2() definition for MSC.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
325cbeb29a63e3d71da00baeab864970fe3aa595 |
|
09-Nov-2008 |
Brian <brian.paul@tungstengraphics.com> |
util: Fix util_fast_pow/exp2/log2. - Use a lookup table for log2. - Compute (float) (1 << ipart) by tweaking with the exponent directly to avoid integer overflow and float conversion. - Also table negative exponents to avoid float division and branching. - Implement util_fast_exp as function of util_fast_exp2. -------- Cherry-picked from gallium-0.2: 8415d06d90a197e16554dab98d160334fd9f9f93 This fixes some pow() glitches seen in fslight.c, spectex.c, etc. Conflicts: src/gallium/auxiliary/util/u_math.h
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
bdf24007cae9ce485ef123e935eb87c7cba4e0e5 |
|
03-Nov-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: WinCE portability fixes.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
8415d06d90a197e16554dab98d160334fd9f9f93 |
|
30-Sep-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
util: Fix util_fast_pow/exp2/log2. - Use a lookup table for log2. - Compute (float) (1 << ipart) by tweaking with the exponent directly to avoid integer overflow and float conversion. - Also table negative exponents to avoid float division and branching. - Implement util_fast_exp as function of util_fast_exp2.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
9f3e37de17a5636625f0275ca639fdc25ef1e95b |
|
23-Sep-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
util: Update fast_log2 article url.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
451888ee8f9d9749a2d52351374a14525c07ef2b |
|
18-Sep-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
util: Add missing p_debug.h include.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
75c19eb5a1caf0c36e04270174579d0d7fec9ccb |
|
13-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: add another value check to util_fast_pow() Fixes glitches seen in morph3d demo.
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
4f25420bdd834e81a3e22733304efc5261c2998a |
|
25-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h Also, rename p_tile.[ch] to u_tile.[ch]
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
f9c04d55d045b3cf3ffef24f805166e3995096e2 |
|
22-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: insert __cplusplus/extern wrappings
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
a22bdd42d77bc858814f37d657fa940a520dbe56 |
|
22-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: move math macros from p_util.h to u_math.h More can be done...
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|
9e2b867b3f2e9afc9e9f9178788ae07f6be1f3c0 |
|
22-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: new u_math.[ch] files for math functions So far, optimized/low-precision versions of exp(), exp2(), log2(), pow().
/external/mesa3d/src/gallium/auxiliary/util/u_math.h
|