aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/rbug
Commit message (Collapse)AuthorAgeFilesLines
* rbug: Fix use of alloca() without #include "c99_alloca.h"Jon Turney2019-10-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | [12/60] Compiling C object 'src/gallium/auxiliary/eb820e8@@gallium@sta/rbug_rbug_texture.c.o'. FAILED: src/gallium/auxiliary/eb820e8@@gallium@sta/rbug_rbug_texture.c.o [...] ../src/gallium/auxiliary/rbug/rbug_texture.c: In function 'rbug_send_texture_info_reply': ../src/gallium/auxiliary/rbug/rbug_texture.c:302:21: error: implicit declaration of function 'alloca'; did you mean 'malloc'? [-Werror=implicit-function-declaration] uint32_t *height = alloca(sizeof(uint32_t) * height_len); ^~~~~~ malloc ../src/gallium/auxiliary/rbug/rbug_texture.c:302:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ../src/gallium/auxiliary/rbug/rbug_texture.c:303:20: warning: initialization makes pointer from integer without a cast [-Wint-conversion] uint32_t *depth = alloca(sizeof(uint32_t) * height_len); ^~~~~~ cc1: some warnings being treated as errors Include c99_alloca.h to portably make the alloca() prototype available. See also: 498d9d0f, adfb9c5c, fc8139b1 Fixes: 6174cba7 ("rbug: fix transmitted texture sizes") Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
* rbug: fix transmitted texture sizesLucas Stach2019-10-181-2/+9
| | | | | | | | | | | | The rbug wire format defines the texture size parameters to be uint32_t sized and uses memcpy to move the function parameters to the message structure. This caused totally wrong transmitted texture sizes since the height and depth paramterds have been changed to uint16_t in the gallium API. Fix this by doing an explicit conversion to the correct representation before packing into the wire message. Fixes: e6428092f5e1 (gallium: decrease the size of pipe_resource - 64 -> 48 bytes) Signed-off-by: Lucas Stach <[email protected]>
* gallium: move ddebug, noop, rbug, trace to auxiliary to improve build timesMarek Olšák2018-04-131-1/+1
| | | | which also simplifies the build scripts.
* gallium: decrease the size of pipe_resource - 64 -> 48 bytesMarek Olšák2017-04-042-4/+4
| | | | | | | Some other changes needed here. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* Fix a few typosZoë Blade2015-04-271-1/+1
| | | | Reviewed-by: Francisco Jerez <[email protected]>
* rbug: fix make process on Linux Mint 13 x64.Aaron Watry2012-06-1412-20/+20
| | | | | | | | | | | | | | | | | | | Previously, rbug_*.c would fail to compile with incomplete prototype errors when make was run from the command line on my machine. My IDE always built fine, and still does after this patch (Netbeans 7.1.2). Most of the includes from files in gallium/auxiliary/rbug/* were assuming an rbug/ subdirectory, while the headers are actually in the same directory as the .c files. The build error was also previously a problem for me on Ubuntu 11.10 and Mint 12. Fixes build for the following configuration: ./autogen.sh --enable-debug --enable-texture-float --with-gallium-drivers=r600 --with-dri-drivers=radeon --enable-r600-llvm-compiler Signed-off-by: Brian Paul <[email protected]>
* rbug: remove set-but-unused variablesMarek Olšák2011-05-013-28/+0
|
* rbug: Remove flags from flushJakob Bornecrantz2011-03-132-6/+0
|
* rbug: Add function to get opcode name stringJakob Bornecrantz2010-09-202-0/+69
|
* rbug: Cast opcode to corrent int sizeJakob Bornecrantz2010-09-204-28/+28
|
* rbug: Update and add READMEsJakob Bornecrantz2010-05-121-1/+1
|
* gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-011-14/+0
|
* scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-011-14/+0
| | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-272-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
| * rbug: Remove comma at end of enumerator list.Vinson Lee2009-12-261-1/+1
| |
| * rbug: Remove comma at end of enumerator list.Vinson Lee2009-12-261-1/+1
| |
* | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-111-0/+1
|\|
| * rbug: Initialize variable in rbug_get_message.Vinson Lee2009-12-081-0/+1
| | | | | | | | Silences uninitialized variable warning.
* | rbug: Mention where the GUI can be found.José Fonseca2009-11-271-0/+4
|/
* rbug: Change block protocol around a bitJakob Bornecrantz2009-06-094-217/+45
|
* rbug: Extend context info and block opsJakob Bornecrantz2009-06-094-0/+293
|
* rbug: Update rbug protocol with new context callsJakob Bornecrantz2009-06-047-43/+336
|
* rbug: Add Gallium Remote Debugger Protocol codeJakob Bornecrantz2009-06-0117-0/+3049
This is the (de)marshalling and connection managment code