History log of /external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8daf6de3deddef8f71f8b1af61b12cd8cb783433 15-Jan-2017 Thomas Hindoe Paaboel Andersen <phomes@gmail.com> gallium/hud: avoid buffer overrun

Renaming data sources was added in
e8bb97ce30051b999a4a69c9b27884daeb8d71e6
It was possible to use a new name longer than
the name array in hud_graph of 128. This
patch truncates the name to fit the array.

CC: Marek Olšák <marek.olsak@amd.com>

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
1fe7c8d3c9f7ace602627d9574117d5b447accd3 15-Jan-2017 Marek Olšák <marek.olsak@amd.com> gallium/hud: disable queries during HUD draw calls

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
5b2eddc40f141f40b9c152f6e45180932288b38e 15-Jan-2017 Marek Olšák <marek.olsak@amd.com> gallium/hud: increase the vertex buffer size for background quads

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
431742dbba46b66e61a22f7186ec82a818685a31 25-Dec-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: increase the vertex buffer size for text

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
6d54cd75a893ff643745e711e0c5ba14a465f505 25-Dec-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: add an option to sort items below graphs

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
80b8b9c8a4557f178d01d98bc88c9b2f944af305 25-Dec-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: add an option to reset the color counter

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
a57e071e9ec341d094df0cdc36d18326b61ffd21 24-Dec-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: allow more data sources per pane

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
e8bb97ce30051b999a4a69c9b27884daeb8d71e6 24-Dec-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: add an option to rename each data source

useful for radeonsi performance counters

v2: allow specifying both : and =

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
abcaba497d8c90a1e9dcede71261bdee16e2ed4e 01-Jan-2017 Edmondo Tommasina <edmondo.tommasina@gmail.com> gallium/hud: add a path separator between dump directory and filename

It's more user friendly and it avoids to write files in unexpected
places.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
cb6f49a902cae1b4df795c0e611526dca467a042 02-Jan-2017 Marek Olšák <marek.olsak@amd.com> gallium/hud: fix the windows build by disabling file dumping
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
57f86fb3a8bde60e8c99a46fdccd0dc12377ffd2 21-Dec-2016 Edmondo Tommasina <edmondo.tommasina@gmail.com> gallium/hud: move file initialization to a function

The function will be used later to create the filedescriptor
for other metrics.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
22cd9040da75cac6e1c61b821e1ac6906ac4a8ac 21-Dec-2016 Edmondo Tommasina <edmondo.tommasina@gmail.com> gallium/hud: dump hud_driver_query values to files

Dump values for every selected data source in GALLIUM_HUD.

Every data source has its own file and the filename is
equal to the data source identifier.

Set GALLIUM_HUD_DUMP_DIR to dump values to files in this directory.

No values are dumped if the environment variable is not set, the
directory doesn't exist or the user doesn't have write access.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
f4dd3bde3750c9e677eb916f846b942765febbb7 01-Nov-2016 Brian Paul <brianp@vmware.com> gallium/hud: call fflush() after printing error messages

For Windows. Otherwise, we don't see the message until the program exits.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
e99b9395befe5b8612df3163b4deec2a0c0cb702 30-Sep-2016 Steven Toth <stoth@kernellabs.com> gallium/hud: Add support for CPU frequency monitoring

Detect all of the CPUs in the system. Expose metrics
for min, max and current frequency in Hz.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
7b87190d2b778952713a02a075fb05f8b5803ca9 30-Sep-2016 Marek Olšák <marek.olsak@amd.com> Revert "gallium/hud: automatically print % if max_value == 100"

This reverts commit dbfeb0ec12d6550e68de1bcd164e422e79bccf2d.

With max_value being rounded to 100, it's often wrong.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
1d466b9b04662d41a403ea8fd617a5365750b1de 29-Sep-2016 Steven Toth <stoth@kernellabs.com> gallium/hud: Add power sensor support

Implement support for power based sensors, reporting units in
milli-watts and watts.

Also, minor cleanup - change the related if block to a switch.

Tested with two different power sensors, including the nouveau
'power1' sensors on a GTX950 card.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
8c60bcb4c317026e017a8ecffe303fd4e7f0db33 28-Sep-2016 Steven Toth <stoth@kernellabs.com> gallium/hud: Add support for block I/O, network I/O and lmsensor stats

V8: Feedback based on peer review
convert if block into a switch
Constify some func args

V7: Increase precision when measuring lmsensors volts
Flatten patch series.

V6: Feedback based on peer review
Simplify sensor initialization (arg passing).
Constify some func args

V5: Feedback based on peer review
Convert sprintf to snprintf
Convert char * to const char *
int arg converted to bool
Func changes to take a filename vs a larger struct.
Omit the space between '*' and the param name.

V4: Merged with master as of 2016/9/27 6pm

V3: Flatten the entire patchset ready for the ML

V2: Additional seperate patches based on feedback
a) configure.ac: Add a comment related to libsensors

b) HUD: Disable Block/NIC I/O stats by default.
Implement configuration option --enable-gallium-extra-hud=yes
and enable both statistics when this option is enabled.

c) Configure.ac: Minor cleanup to user visible configuration settings

d) Configure.ac: HUD stats - build system improvements
Move the -lsensors out of a deeper Makefile, bring it into the configure.ac.
Also, rename a compiler directive to more closely follow the standard.

V1: Initial release to the ML
Three new features:
1. Disk/block I/O device read/write stats MB/ps.
2. Network Interface RX/TX transfer statistics as a percentage
of the overall NIC speed.
3. lmsensor power, voltage and temperature sensors.

The lmsensor changes makes a dependency on libsensors so support
for the change is opt out by default.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
d221a6545cc0778716f1abf45fd096d6cd5a1b8e 17-Aug-2016 Brian Paul <brianp@vmware.com> gallium/hud: move signo declaration inside PIPE_OS_UNIX block

To silence unused var warning with MSVC, MinGW.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
0328b20050ef4dba45ae7b03f00dc9112f5ee1ee 18-Aug-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: round max_value to print nicely rounded numbers next to graphs

This improves readability a lot.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
0f1befe926e793040f73b884c9b4f1b8a4bd25a6 18-Aug-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: generalize code for drawing numbers next to graphs

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
a33eb48d6111cb679a5ce8b35c5d7e4854f0045d 18-Aug-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: draw numbers with 3 decimal places if those aren't 0

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
b9c9551c09caac241ea44b618748c133897d59b9 17-Aug-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: use sRGB for nicer AA lines

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
6ffde82083e07d86d1e60b00d245af436752fd5e 17-Aug-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: use AA lines for graphs

this looks a lot better (with the next patch)

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
6902f9e82a1d4c4ff12ac6b55b96d2ef5feb26e3 17-Aug-2016 Marek Olšák <marek.olsak@amd.com> gallium/hud: don't enable blending for all objects

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
425dc4c4b3663c619634de9f9f00c7765e7d0320 17-Oct-2015 Rob Clark <robdclark@gmail.com> gallium: refactor pipe_shader_state to support multiple IR's

The goal is to allow the pipe driver to request something other than
TGSI, but detect whether what is getting is TGSI vs what it requested.
The pipe drivers will always have to support TGSI (and convert that into
whatever it is that they prefer), but in some cases we should be able to
skip the TGSI intermediate step (such as glsl->nir vs glsl->tgsi->nir).

I think pipe_compute_state should get similar treatment. Currently,
afaict, it has one user and one consumer, which has allowed it to be
sloppy wrt. supporting alternative IR's.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
d902504a677d39ace99b1f34a7a4d06d644dfb3d 25-Apr-2016 Brian Paul <brianp@vmware.com> hud: s/Elements/ARRAY_SIZE/

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
e599b8f384b4fc48b450ed848d93e27e876de53f 08-Apr-2016 Marek Olšák <marek.olsak@amd.com> gallium: pause queries for all meta ops

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
5a9f2a2d8957676cdb4843dc9026639381495ae8 18-Mar-2016 Brian Paul <brianp@vmware.com> hud: add sampler view declaration in text fragment shader

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
70e8a4f734dff7afb2a0b1cd10813938343c6551 16-Feb-2016 Brian Paul <brianp@vmware.com> gallium/hud: use new cso_save/restore_state() functions

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
ecb2da1559bcb9a9eec7ac224c8ff47b026c95ff 19-Dec-2015 Marek Olšák <marek.olsak@amd.com> u_upload_mgr: allow specifying PIPE_USAGE_* for the upload buffer

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
37d0aea772a39f9ae7fe3d791e23c1be03ccf9de 19-Dec-2015 Marek Olšák <marek.olsak@amd.com> u_upload_mgr: remove alignment parameter from u_upload_create

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
020009f7ccdffa84c6e1649c4e915954f5fd7cc0 19-Dec-2015 Marek Olšák <marek.olsak@amd.com> u_upload_mgr: pass alignment to u_upload_alloc manually

The fixed alignment of u_upload_mgr will go away.
This is the first step.

The motivation is that one u_upload_mgr can have multiple users,
each allocating from the same buffer, but requiring a different alignment.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
f36d9857cd35300d23c6be092feb6cd8c8a0e290 19-Nov-2015 Nicolai Hähnle <nhaehnle@gmail.com> gallium: add PIPE_DRIVER_QUERY_FLAG_DONT_LIST

This allows the driver to give a hint to the HUD so that GALLIUM_HUD=help is
less spammy.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
424a614ff1105dcb5195178cb8f04ac46b8c0d8a 10-Nov-2015 Nicolai Hähnle <nhaehnle@gmail.com> gallium/hud: add support for batch queries

v2 + v3: be more defensive about allocations

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
1cfffb95ebf49a8342d4799e68ecc0009300cb2f 19-Nov-2015 Brian Paul <brianp@vmware.com> hud: fix Windows build break

Protect signal-related code with PIPE_OS_UNIX test.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
56a1c10bb8cc957caa9ebc3723b4692a522a02f5 10-Nov-2015 Jimmy Berry <jimmy@boombatower.com> gallium/hud: control visibility at startup and runtime.

- env GALLIUM_HUD_VISIBLE: control default visibility
- env GALLIUM_HUD_SIGNAL_TOGGLE: toggle visibility via signal

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
006fcc0da674ca18ebf07771e3c309997ab32798 17-Oct-2015 Marek Olšák <marek.olsak@amd.com> gallium/hud: fix possible NULL pointer dereference

Trivial.
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
dbfeb0ec12d6550e68de1bcd164e422e79bccf2d 02-Aug-2015 Marek Olšák <marek.olsak@amd.com> gallium/hud: automatically print % if max_value == 100

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
4e2a3e0376ca4fe39ca05e80557edfaa12e93e2b 02-Aug-2015 Marek Olšák <marek.olsak@amd.com> gallium/hud: fix printing % next to panes

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
cbad30344d6e0b1ccc9fc8d5a8e6560e97dd9188 02-Aug-2015 Marek Olšák <marek.olsak@amd.com> gallium/hud: replace assertions with clamping the unit index

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
97a65d90fe88e6b4b4a42d866b23e73ce72f6dc2 02-Aug-2015 Marek Olšák <marek.olsak@amd.com> gallium,hud: allow displaying cumulative values instead of average

The cumulative value is useful for queries like the number of shader
compilations.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
130a03e360e6aebe93e86b1d522ebf22371aa2d4 02-Aug-2015 Marek Olšák <marek.olsak@amd.com> gallium/hud: fix printing byte units

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
6b47b8978101897cc0dab8f2017e3aa25d31582d 02-Aug-2015 Marek Olšák <marek.olsak@amd.com> gallium,hud: add support for Hz units in driver queries

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
b7492a1f45866a01b00263f9e252ddc3835304e9 05-Jul-2015 Marek Olšák <marek.olsak@amd.com> cso: only allow saving and restoring fragment sampler states
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
3639d66a473591e21aa2ec7692c95c827b479632 05-Jul-2015 Marek Olšák <marek.olsak@amd.com> cso: only allow saving and restoring fragment sampler views

Not needed for other shader stages.
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
10cff5e1ae55406799f4b0ad6b327d4c45dbca11 07-Jul-2015 Brian Paul <brianp@vmware.com> gallium/hud: display percentages with % suffix

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
a804f5824352e4f714779bd9445c09b66d54bc4a 07-Jul-2015 Brian Paul <brianp@vmware.com> gallium/hud: add PIPE_DRIVER_QUERY_TYPE_MICROSECONDS for HUD

This allows drivers to report queries in units of microseconds and
have the HUD display "us" (microseconds), "ms" (milliseconds) or "s"
(seconds) on the graph.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
86ebd31c672f389f354e11b7aef4513dc8b76f13 07-Jul-2015 Brian Paul <brianp@vmware.com> gallium/hud: replace byte units flag with pipe_driver_query_type

Instead of using a boolean 'is bytes' value, use the pipe_driver_query_type
enum type. This will let is add support for time values in the next patch.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
2420ee497a14ca36ea05b275ea74e5c3a4432a59 14-Oct-2014 Marek Olšák <marek.olsak@amd.com> gallium: disable tessellation shaders for meta ops

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
6fc0cd2f52ddc4a1e7026c9c46fd6da3968fa439 12-Apr-2015 Gediminas Jakutis <gediminas@varciai.lt> gallium/hud: add more options to customize HUD panes

Extends the syntax of GALLIUM_HUD environment variable to:
- Add options to set the size and exact location of each pane.
- Add an option to limit the maximum allowed value of the X axis on a
pane, clamping the graph down to not go above this value.
- Add an option to auto-adjust the value of the Y axis down to the
highest value still visible on the graph.

v2:
- Make the patch simpler and smaller.
- With dynamic auto-adjusting on, adjust the Y axis once per pane
update instead of updating once every several seconds.
- No longer mishandle pane height when having more than one graph per
pane.
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
6447e9dbfad851f700266dda8003b76e172ae92b 04-Feb-2015 Brian Paul <brianp@vmware.com> gallium/hud: flush stdout in print_help(), for Windows

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
2efabd9f5a711a7f6cd1846630244b7814bf25b3 10-Nov-2014 Marek Olšák <marek.olsak@amd.com> gallium: remove unused pipe_viewport_state::translate[3] and scale[3]

Almost all drivers ignore them.
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
786f01c492bb6a90a4835389666dd0c5c984ea6a 02-Oct-2014 Ilia Mirkin <imirkin@alum.mit.edu> gallium/hud: use u_sampler_view_default_template helper

The existing code was not setting several fields, most importantly the
target, which is required on nv50/nvc0.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
e2594ee882d83b3cc6d08187dbd720da6142f05e 16-Aug-2014 Dave Airlie <airlied@gmail.com> Revert "hud: don't overrun malloced arrays"

This reverts commit 1cfcd0164e1be7d7b05b693f60a262ad735b7565.

This seems to cause r600g lockups,
https://bugs.freedesktop.org/show_bug.cgi?id=82628

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
1cfcd0164e1be7d7b05b693f60a262ad735b7565 10-Aug-2014 Dave Airlie <airlied@redhat.com> hud: don't overrun malloced arrays

==17630== Invalid read of size 4
==17630== at 0x400AE10: memcpy (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==17630== by 0x49024A2: u_upload_data (u_upload_mgr.c:253)
==17630== by 0x49050E1: u_vbuf_draw_vbo (u_vbuf.c:980)
==17630== by 0x487DE29: cso_draw_vbo (cso_context.c:1425)
==17630== by 0x487DEA0: cso_draw_arrays (cso_context.c:1445)
==17630== by 0x48A3B0E: hud_draw_colored_prims.constprop.6 (hud_context.c:123)
==17630== by 0x48A4810: hud_draw (hud_context.c:266)
==17630== by 0x48763F7: dri_flush (dri_drawable.c:483)
==17630== by 0x4057510: dri2Flush.constprop.4 (dri2_glx.c:559)
==17630== by 0x405789E: dri2SwapBuffers (dri2_glx.c:851)
==17630== by 0x402C531: glXSwapBuffers (glxcmds.c:842)
==17630== by 0x8049716: ??? (in /usr/bin/glxgears)
==17630== Address 0x4426b2c is 4 bytes after a block of size 1,008 alloc'd
==17630== at 0x4006B11: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==17630== by 0x48A4CE7: hud_pane_add_graph (hud_context.c:625)
==17630== by 0x48A68F0: hud_pipe_query_install (hud_driver_query.c:175)
==17630== by 0x48A6A30: hud_driver_query_install (hud_driver_query.c:207)
==17630== by 0x48A5835: hud_create (hud_context.c:791)
==17630== by 0x48756CB: dri_create_context (dri_context.c:165)
==17630== by 0x4871CD4: driCreateContextAttribs (dri_util.c:435)
==17630== by 0x4871E06: driCreateNewContext (dri_util.c:464)
==17630== by 0x4056A22: dri2_create_context (dri2_glx.c:223)
==17630== by 0x402CF68: CreateContext (glxcmds.c:299)
==17630== by 0x402D265: glXCreateContext (glxcmds.c:430)
==17630== by 0x804B136: ??? (in /usr/bin/glxgears)

This is due to second vertex element being specified, and the upload
tries to fetch over the end. However the pane rendering only requires
a single vertex element, so specify only one.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
c5d822dad902b19f06c9be3c6863a51e1881ec5b 31-Mar-2014 Ilia Mirkin <imirkin@alum.mit.edu> mesa/st: add support for ARB_sample_shading

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
dfa25ea5cd19d5a050a1c94bd7370a2259b9f007 07-Mar-2014 Zack Rusin <zackr@vmware.com> gallium: allow setting of the internal stream output offset

D3D10 allows setting of the internal offset of a buffer, which is
in general only incremented via actual stream output writes. By
allowing setting of the internal offset draw_auto is capable
of rendering from buffers which have not been actually streamed
out to. Our interface didn't allow. This change functionally
shouldn't make any difference to OpenGL where instead of an
append_bitmask you just get a real array where -1 means append
(like in D3D) and 0 means do not append.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
0c20bff4b626413804486444ad239af620722e2f 13-Jan-2014 Marek Olšák <marek.olsak@amd.com> gallium/hud: just unmap the upload vertex buffer instead of recreating it
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
76666b93946e03f032d45f20206be675215f6d40 08-Jul-2013 Brian Paul <brianp@vmware.com> hud: silence some MSVC warnings
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
2285645aa26662bb0aa68c8b15e04a406f3c77f6 26-Jun-2013 Brian Paul <brianp@vmware.com> hud: add float casts to silence MSVC warnings
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
87d5a169273908b9c267f7aaca58ed9fc2a68ef1 26-Jun-2013 Brian Paul <brianp@vmware.com> hud: include stdio.h since we use fprintf(), fscanf(), etc
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
793e8e3d7ed816cc9a066245dde798afdcf8b581 14-Jun-2013 Roland Scheidegger <sroland@vmware.com> gallium: add condition parameter to render_condition

For conditional rendering this makes it possible to skip rendering
if either the predicate is true or false, as supported by d3d10
(in fact previously it was sort of implied skip rendering if predicate
is false for occlusion predicate, and true for so_overflow predicate).
There's no cap bit for this as presumably all drivers could do it trivially
(but this patch does not implement it for the drivers using true
hw predicates, nvxx, r600, radeonsi, no change is expected for OpenGL
functionality).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
de1c38299ceb3160ed0c163d4dd8944ec6589a7f 29-May-2013 Marek Olšák <maraeo@gmail.com> gallium/util: make WRITES_ALL_CBUFS optional in the passthrough fragment shader

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
2737abb44efebfa10ac84b183c20fc5818d1514e 23-Apr-2013 José Fonseca <jfonseca@vmware.com> gallium: Replace gl_rasterization_rules with lower_left_origin and half_pixel_center.

Squashed commit of the following:

commit 04c5fa2cbb8e89d6f2fa5a75af1cca03b1f6b852
Author: José Fonseca <jfonseca@vmware.com>
Date: Tue Apr 23 17:37:18 2013 +0100

gallium: s/lower_left_origin/bottom_edge_rule/

commit 4dff4f64fa83b9737def136fffd161d55e4f1722
Author: José Fonseca <jfonseca@vmware.com>
Date: Tue Apr 23 17:35:04 2013 +0100

gallium: Move diagram to docs.

commit 442a63012c8c3c3797f45e03f2ca20ad5f399832
Author: James Benton <jbenton@vmware.com>
Date: Fri May 11 17:50:55 2012 +0100

gallium: Replace gl_rasterization_rules with lower_left_origin and half_pixel_center.

This change is necessary to achieve correct results when using OpenGL
FBOs.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
332af88c391924c70bbcbeb4c131caea796534f6 10-Apr-2013 Marek Olšák <maraeo@gmail.com> gallium/hud: increase vertex buffer size for background black rectangles

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
010811461982b6a32329e7666120be27f134a66c 10-Apr-2013 Marek Olšák <maraeo@gmail.com> gallium/hud: update the contents of GALLIUM_HUD=help

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
30284f88924dcc1c7eafdc316f09531c46d6e2a8 10-Apr-2013 Marek Olšák <maraeo@gmail.com> gallium/hud: remove pipeline-statistics- prefix in query names

for the env var string not to be awfully long

v2: fix bug in indexing of "name"

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
f5071783c112d516ac3a130e86f689323208b143 05-Apr-2013 Brian Paul <brianp@vmware.com> gallium/hud: add GALLIUM_HUD_PERIOD env var

To set the graph update rate, in seconds. The default update rate
has also been changed to 1/2 second.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
6211c45186745e58e7722f33562c028d4fe2cee3 05-Apr-2013 Brian Paul <brianp@vmware.com> gallium/hud: initialize sampler state

The default wrap mode (PIPE_TEX_WRAP_REPEAT) is incompatible with
unnormalized texcoords (at least for softpipe).

v2: use PIPE_TEX_WRAP_CLAMP_TO_EDGE

Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
a408ea96920984ad2c5bf81f799cbb583f264105 03-Apr-2013 Brian Paul <brianp@vmware.com> gallium/hud: replace malloc w/ MALLOC

To match the FREE() called used later. Fixes things on Windows.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
3d2790cead7eb744341e8b1708b7a6d03524768d 29-Mar-2013 Christoph Bumiller <e0425955@student.tuwien.ac.at> gallium/hud: add support for PIPE_QUERY_PIPELINE_STATISTICS

Also, renamed "pixels-rendered" to "samples-passed" because the
occlusion counter increments even if colour and depth writes are
disabled, or (on some implementations) for killed fragments that
passed the depth test when PS early_fragment_tests is set.
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
f8502b7e719ca62930b90192fadfe696ebf3cd97 02-Apr-2013 Marek Olšák <maraeo@gmail.com> gallium/hud: do .xxxx swizzling for the font texture in the fragment shader

This allows using L8 and R8 for the font if I8 isn't supported.

Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
98b64cc20f676a167a4d8d5ea29602f8842a6cf4 02-Apr-2013 Brian Paul <brianp@vmware.com> hud: flush/unmap the vertex buffer before drawing

The VMware svga driver is picky about making sure the VBO is unmapped
before drawing.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c
c91cf7d7d2c8cc377945c79be87799c31ce9ae59 21-Mar-2013 Marek Olšák <maraeo@gmail.com> gallium: implement a heads-up display module

Reviewed-by: Brian Paul <brianp@vmware.com>

v2: lots of cosmetic changes
/external/mesa3d/src/gallium/auxiliary/hud/hud_context.c