History log of /external/mesa3d/src/gallium/auxiliary/util/u_memory.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
54010cf8b6da71a1b14c0dc586bb7e6be27052de 21-Oct-2016 Axel Davy <axel.davy@ens.fr> gallium/util: Add align_calloc

Add implementation for align_calloc,
which is align_malloc + memset.

v2: add if (ptr) before memset.
Fix indentation.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
47b390fe45e5e6f982c60b58985892438959cd8e 17-May-2016 Jan Vesely <jano.vesely@gmail.com> Treewide: Remove Elements() macro

Signed-off-by: Jan Vesely <jano.vesely@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
a2a1a5805fd617e7f3cc8be44dd79b50da07ebb9 21-Jul-2015 Ilia Mirkin <imirkin@alum.mit.edu> gallium: replace INLINE with inline

Generated by running:
git grep -l INLINE src/gallium/ | xargs sed -i 's/\bINLINE\b/inline/g'
git grep -l INLINE src/mesa/state_tracker/ | xargs sed -i 's/\bINLINE\b/inline/g'
git checkout src/gallium/state_trackers/clover/Doxyfile

and manual edits to
src/gallium/include/pipe/p_compiler.h
src/gallium/README.portability

to remove mentions of the inline define.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
877128505431adaf817dc8069172ebe4a1cdf5d8 17-Jan-2014 José Fonseca <jfonseca@vmware.com> s/Tungsten Graphics/VMware/

Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the
old copyright name is creating unnecessary confusion, hence this change.

This was the sed script I used:

$ cat tg2vmw.sed
# Run as:
#
# git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed
#

# Rename copyrights
s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g
/Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./
s/TUNGSTEN GRAPHICS/VMWARE/g

# Rename emails
s/alanh@tungstengraphics.com/alanh@vmware.com/
s/jens@tungstengraphics.com/jowen@vmware.com/g
s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/
s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g
s/keithw\?@tungstengraphics.com/keithw@vmware.com/g
s/michel@tungstengraphics.com/daenzer@vmware.com/g
s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/
s/zack@tungstengraphics.com/zackr@vmware.com/

# Remove dead links
s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g

# C string src/gallium/state_trackers/vega/api_misc.c
s/"Tungsten Graphics, Inc"/"VMware, Inc"/

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
9fcf2b87b35240efe8dd8ebe7d2f40268e647902 17-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Silence pointer to integer size mismatch errors.
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
6b424a0550a5196818641857974f4cb04d61b933 03-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Reimplement all utility functions in terms of the new OS abstraction.
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
120e76866b4b0d136ae4ed377c6ff96454e39b95 13-Aug-2009 Keith Whitwell <keithw@vmware.com> util: silence warnings for third REALLOC argument

Our fallback realloc path requires an old_size argument, but the posix
varient doesn't need this. Add some code to avoid gcc unused variable
warnings for this extra argument.
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
ca640ca9598c22970b15bf16acf74409d860a30a 05-Mar-2009 Brian Paul <brianp@vmware.com> gallium: added null ptr check in align_free()
/external/mesa3d/src/gallium/auxiliary/util/u_memory.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_memory.h
06cd416d7cd2ccd2aca9f8522d4d7654eb2930e7 17-Feb-2009 José Fonseca <jfonseca@vmware.com> util: (Re)enable memory debugging for all windows platforms.
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
d96c89e57916ffcc72742107caaa3a90f2b78a80 14-Jan-2009 José Fonseca <jfonseca@vmware.com> gallium: Disable memory debugging for Windows OGL.

Unfortunately both Mesa and Gallium use the same defines for memory
allocation (MALLOC, FREE, etc), and worse, some times memory is allocated
with one set and freed with the other set, causing the homegrown memory
debugger to trip on itself.

In the future mesa and gallium should use different names, but for now,
memory debugging on Windows will have to be carried with different tools..
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
9136c9b29ed5c14bc89a4c4e3a391e0b097092e1 22-Dec-2008 José Fonseca <jfonseca@vmware.com> Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/gallium/auxiliary/util/Makefile
9127a03bcbef27ed3cfc36d370969b430870fa0e 20-Dec-2008 José Fonseca <jfonseca@vmware.com> gallium: Fix typo in define name.
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
92dc8ffa719276fe536abf4dcf7874cf12588f60 18-Dec-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Enable memory debugging on all windows platforms.
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
11fc390f6478526d4f0bdb4b7e628284da31b3b9 21-Nov-2008 Robert Ellison <papillo@tungstengraphics.com> CELL: use variant-length fragment ops programs

This is a set of changes that optimizes the memory use of fragment
operation programs (by using and transmitting only as much memory as is
needed for the fragment ops programs, instead of maximal sizes), as well
as eliminate the dependency on hard-coded maximal program sizes. State
that is not dependent on fragment facing (i.e. that isn't using
two-sided stenciling) will only save and transmit a single
fragment operation program, instead of two identical programs.

- Added the ability to emit a LNOP (No Operation (Load)) instruction.
This is used to pad the generated fragment operations programs to
a multiple of 8 bytes, which is necessary for proper operation of
the dual instruction pipeline, and also required for proper SPU-side
decoding.

- Added the ability to allocate and manage a variant-length
struct cell_command_fragment_ops. This structure now puts the
generated function field at the end, where it can be as large
as necessary.

- On the PPU side, we now combine the generated front-facing and
back-facing code into a single variant-length buffer (and only use one
if the two sets of code are identical) for transmission to the SPU.

- On the SPU side, we pull the correct sizes out of the buffer,
allocate a new code buffer if the one we have isn't large enough,
and save the code to that buffer. The buffer is deallocated when
the SPU exits.

- Commented out the emit_fetch() static function, which was not being used.
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
ef823dd543e1d98da98d188c53c8fc3285924364 31-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> util: Fix compiler errors in the release build of C++ sources.
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
a644c5a850242376e6ab03f7f4bdbfb8a232490f 25-Aug-2008 Brian <brian.paul@tungstengraphics.com> gallium: include p_debug.h for non-HAVE_POSIX_MEMALIGN
/external/mesa3d/src/gallium/auxiliary/util/u_memory.h
2c4661f8fce8a27f2082c6ac498f9fb188878476 25-Aug-2008 Michal Krol <michal@tungstengraphics.com> gallium: Add missing includes.
/external/mesa3d/src/gallium/auxiliary/util/u_memory.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_memory.h