Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nvfx: add nouveau_resource_on_gpu | Luca Barbieri | 2010-08-21 | 1 | -1/+15 |
| | | | | | | Add a function to get whether a resource is likely on the GPU or not. Currently always returns TRUE. | ||||
* | nvfx: add linear flag for buffers | Luca Barbieri | 2010-08-21 | 4 | -2/+5 |
| | |||||
* | nvfx: properly unreference bound objects on context destruction | Luca Barbieri | 2010-08-21 | 1 | -0/+8 |
| | |||||
* | nvfx: reference count bound objects | Luca Barbieri | 2010-08-21 | 1 | -7/+29 |
| | |||||
* | nvfx: fix format support code for compressed texture | Luca Barbieri | 2010-08-21 | 1 | -1/+1 |
| | | | | A source line was put in the wrong place. | ||||
* | gallium/auxiliary: add semantic linkage utility code | Luca Barbieri | 2010-08-21 | 3 | -0/+211 |
| | |||||
* | u_debug_describe: use switch instead of if chain | Luca Barbieri | 2010-08-21 | 1 | -7/+17 |
| | |||||
* | u_debug_describe: add PIPE_TEXTURE_RECT | Luca Barbieri | 2010-08-21 | 1 | -0/+2 |
| | |||||
* | auxiliary: add copyright headers | Luca Barbieri | 2010-08-21 | 10 | -5/+258 |
| | | | | Thanks to Jose Fonseca for pointing out they were missing. | ||||
* | util: Match printf format to silence warning. | José Fonseca | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | util: Make the reference debuggin code more C++ friendly. | José Fonseca | 2010-08-21 | 4 | -13/+30 |
| | | | | | C++ doesn't accept function <-> void* conversions without a putting a fight. | ||||
* | util: Remove the x86 exception handlers. | José Fonseca | 2010-08-21 | 1 | -55/+0 |
| | | | | Unused now that check_os_katmai_support was removed. | ||||
* | trace: Don't immediately destroy the pipe's sampler view in the trace driver. | Alex Corscadden | 2010-08-21 | 1 | -1/+1 |
| | | | | | | | | | | The trace driver's implementation of sampler_view_destroy was calling directly into the underlying pipe's sampler_view_destroy implementation. This causes problems for pipes that keep references to sampler views even after the state tracker has released them. Instead, we'll simply drop the trace driver's reference to the pipe's sampler view. Signed-off-by: José Fonseca <[email protected]> | ||||
* | trace: Trace the correct version of the resource when setting the index buffer. | Alex Corscadden | 2010-08-21 | 1 | -1/+1 |
| | | | | | | | | | The trace driver was tracing the unwrapped version of the index buffer when setting the index buffer. This caused an assert validating that a resource belonged to the trace driver to fail. Instead, we'll log the unmodified index buffer structure when setting the index buffer. Signed-off-by: José Fonseca <[email protected]> | ||||
* | os_stream: fix bugs in allocation path | Luca Barbieri | 2010-08-21 | 1 | -16/+8 |
| | |||||
* | p_compiler: add replacement va_copy | Luca Barbieri | 2010-08-21 | 1 | -0/+8 |
| | | | | | | | | | This might technically not always be correct, because va_copy might be a function, or a system might not have va_copy, and not work with assignment. Hopefully this is never the case. Without configure tests, it doesn't seem possible to do better. | ||||
* | r600g: add POW instruction | Jerome Glisse | 2010-08-20 | 1 | -18/+73 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: cleanup definition, fix segfault when no valid pixel shader | Jerome Glisse | 2010-08-20 | 3 | -37/+40 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | util: Fix build for C++ compilers. | Michal Krol | 2010-08-20 | 2 | -0/+16 |
| | |||||
* | gallium: hook up reference count debugging code | Luca Barbieri | 2010-08-20 | 1 | -6/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the ability to produce a log file containing all reference count changes, and object creation/destruction, on Gallium objects. The data allows to answer these crucial questions: 1. This app is exhausting all my memory due to a resource leak: where is the bug? 2. Which resources is this app using at a given moment? Which parts of the code created them? 3. What kinds of resources does this app use? 4. How fast does this app create and destroy resources? Which parts of the code create resources fast? The output is compatible with the one produced by the similar facility in Mozilla Firefox, allowing to use Mozilla's tools to analyze the data. To get the log file: export GALLIUM_REFCNT_LOG=<file> To get function names and source lines in the log file: tools/addr2line.sh <file> To process the log file, see: http://www.mozilla.org/performance/refcnt-balancer.html | ||||
* | auxiliary: add reference count debugging code | Luca Barbieri | 2010-08-20 | 4 | -0/+187 |
| | |||||
* | os_stream: add printf facility | Luca Barbieri | 2010-08-20 | 8 | -3/+85 |
| | |||||
* | u_debug_symbol: add symbol name caching | Luca Barbieri | 2010-08-20 | 2 | -1/+43 |
| | | | | | Without this, any form of logging that dumps stack traces continuously will spend a lot of time resolving symbol names. | ||||
* | u_debug_symbol: add support for getting symbol names from glibc | Luca Barbieri | 2010-08-20 | 2 | -0/+49 |
| | |||||
* | u_debug_symbol: support getting a string without output | Luca Barbieri | 2010-08-20 | 2 | -14/+27 |
| | |||||
* | auxiliary: add functions to describe gallium objects | Luca Barbieri | 2010-08-20 | 4 | -0/+55 |
| | |||||
* | r600g: add occlusion query support | Dave Airlie | 2010-08-20 | 10 | -42/+379 |
| | | | | | Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | u_staging: improve interface | Luca Barbieri | 2010-08-20 | 2 | -11/+7 |
| | |||||
* | gallium/docs: improve documentation for resources | Luca Barbieri | 2010-08-20 | 1 | -3/+157 |
| | |||||
* | targets/egl-gdi: Implement guess_gl_api. | Chia-I Wu | 2010-08-20 | 1 | -2/+37 |
| | | | | It is needed to support calling eglGetProcAddress before eglInitialize. | ||||
* | galahad: remove incorrect comment just added | Luca Barbieri | 2010-08-20 | 1 | -1/+0 |
| | |||||
* | nv50: use NV50TIC_0_2_TARGET_RECT | Luca Barbieri | 2010-08-20 | 1 | -1/+3 |
| | |||||
* | galahad: check resource_create template | Luca Barbieri | 2010-08-20 | 1 | -0/+29 |
| | |||||
* | winsys/sw: use PIPE_TEXTURE_RECT if appropriate | Luca Barbieri | 2010-08-20 | 1 | -1/+7 |
| | |||||
* | st/glx: use PIPE_TEXTURE_RECT if appropriate | Luca Barbieri | 2010-08-20 | 1 | -1/+6 |
| | |||||
* | st/dri: use PIPE_TEXTURE_RECT if appropriate | Luca Barbieri | 2010-08-20 | 4 | -3/+9 |
| | |||||
* | auxiliary: support using PIPE_TEXTURE_RECT internally | Luca Barbieri | 2010-08-20 | 2 | -34/+81 |
| | | | | | | | | | | Currently Gallium internals always use PIPE_TEXTURE_2D and normalized coordinates to access textures. However, PIPE_TEXTURE_2D is not always supported for NPOT textures, and PIPE_TEXTURE_RECT requires unnormalized coordinates. Hence, this change adds support for both kinds of normalization. | ||||
* | u_staging: use PIPE_TEXTURE_RECT | Luca Barbieri | 2010-08-20 | 1 | -1/+1 |
| | |||||
* | u_blitter: use TGSI_TEXTURE_RECT | Luca Barbieri | 2010-08-20 | 1 | -1/+1 |
| | | | | | This seems to make sense, although I suspect the semantics of TGSI_TEXTURE_RECT need to be closely reviewed. | ||||
* | gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT too | Luca Barbieri | 2010-08-20 | 24 | -17/+49 |
| | | | | | | | Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed. | ||||
* | gallium: add PIPE_TEXTURE_RECT target | Luca Barbieri | 2010-08-20 | 3 | -1/+45 |
| | | | | | | This allows to properly support OpenGL rectangle textures in a well defined way, especially on drivers that don't expose PIPE_CAP_NPOT_TEXTURES. | ||||
* | galahad, i915g: Copy over constant buffer index check. | Corbin Simpson | 2010-08-20 | 2 | -2/+9 |
| | |||||
* | galahad, i915g: Move over a few state asserts. | Corbin Simpson | 2010-08-20 | 2 | -3/+16 |
| | |||||
* | galahad: Make it obvious on stderr that Galahad's active. | Corbin Simpson | 2010-08-19 | 2 | -0/+4 |
| | |||||
* | gallium/docs: Add Galahad | Jakob Bornecrantz | 2010-08-20 | 2 | -0/+13 |
| | |||||
* | translate_sse: enable on Win64 | Luca Barbieri | 2010-08-20 | 1 | -2/+1 |
| | | | | According to Vinson, enabling it causes no regressions | ||||
* | u_blitter: fix a memory leak | Marek Olšák | 2010-08-19 | 1 | -0/+1 |
| | |||||
* | r300g: do not use fastfill with 16-bit zbuffers | Marek Olšák | 2010-08-19 | 1 | -0/+4 |
| | | | | | | | To my knowledge, there is no way to flush zmask and thus write the clear value. This fixes zbuffer reads, among other things. | ||||
* | r600g: update comments about ALU src operands | Alex Deucher | 2010-08-19 | 2 | -2/+12 |
| | |||||
* | translate_sse: try to fix Win64 | Luca Barbieri | 2010-08-19 | 1 | -1/+2 |
| | | | | Not sure whether it works now (it is still disabled). |