summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nvfx: add nouveau_resource_on_gpuLuca Barbieri2010-08-211-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 buffersLuca Barbieri2010-08-214-2/+5
|
* nvfx: properly unreference bound objects on context destructionLuca Barbieri2010-08-211-0/+8
|
* nvfx: reference count bound objectsLuca Barbieri2010-08-211-7/+29
|
* nvfx: fix format support code for compressed textureLuca Barbieri2010-08-211-1/+1
| | | | A source line was put in the wrong place.
* gallium/auxiliary: add semantic linkage utility codeLuca Barbieri2010-08-213-0/+211
|
* u_debug_describe: use switch instead of if chainLuca Barbieri2010-08-211-7/+17
|
* u_debug_describe: add PIPE_TEXTURE_RECTLuca Barbieri2010-08-211-0/+2
|
* auxiliary: add copyright headersLuca Barbieri2010-08-2110-5/+258
| | | | Thanks to Jose Fonseca for pointing out they were missing.
* util: Match printf format to silence warning.José Fonseca2010-08-211-1/+1
|
* util: Make the reference debuggin code more C++ friendly.José Fonseca2010-08-214-13/+30
| | | | | C++ doesn't accept function <-> void* conversions without a putting a fight.
* util: Remove the x86 exception handlers.José Fonseca2010-08-211-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 Corscadden2010-08-211-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 Corscadden2010-08-211-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 pathLuca Barbieri2010-08-211-16/+8
|
* p_compiler: add replacement va_copyLuca Barbieri2010-08-211-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 instructionJerome Glisse2010-08-201-18/+73
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: cleanup definition, fix segfault when no valid pixel shaderJerome Glisse2010-08-203-37/+40
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* util: Fix build for C++ compilers.Michal Krol2010-08-202-0/+16
|
* gallium: hook up reference count debugging codeLuca Barbieri2010-08-201-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 codeLuca Barbieri2010-08-204-0/+187
|
* os_stream: add printf facilityLuca Barbieri2010-08-208-3/+85
|
* u_debug_symbol: add symbol name cachingLuca Barbieri2010-08-202-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 glibcLuca Barbieri2010-08-202-0/+49
|
* u_debug_symbol: support getting a string without outputLuca Barbieri2010-08-202-14/+27
|
* auxiliary: add functions to describe gallium objectsLuca Barbieri2010-08-204-0/+55
|
* r600g: add occlusion query supportDave Airlie2010-08-2010-42/+379
| | | | | Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Jerome Glisse <[email protected]>
* u_staging: improve interfaceLuca Barbieri2010-08-202-11/+7
|
* gallium/docs: improve documentation for resourcesLuca Barbieri2010-08-201-3/+157
|
* targets/egl-gdi: Implement guess_gl_api.Chia-I Wu2010-08-201-2/+37
| | | | It is needed to support calling eglGetProcAddress before eglInitialize.
* galahad: remove incorrect comment just addedLuca Barbieri2010-08-201-1/+0
|
* nv50: use NV50TIC_0_2_TARGET_RECTLuca Barbieri2010-08-201-1/+3
|
* galahad: check resource_create templateLuca Barbieri2010-08-201-0/+29
|
* winsys/sw: use PIPE_TEXTURE_RECT if appropriateLuca Barbieri2010-08-201-1/+7
|
* st/glx: use PIPE_TEXTURE_RECT if appropriateLuca Barbieri2010-08-201-1/+6
|
* st/dri: use PIPE_TEXTURE_RECT if appropriateLuca Barbieri2010-08-204-3/+9
|
* auxiliary: support using PIPE_TEXTURE_RECT internallyLuca Barbieri2010-08-202-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_RECTLuca Barbieri2010-08-201-1/+1
|
* u_blitter: use TGSI_TEXTURE_RECTLuca Barbieri2010-08-201-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 tooLuca Barbieri2010-08-2024-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 targetLuca Barbieri2010-08-203-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 Simpson2010-08-202-2/+9
|
* galahad, i915g: Move over a few state asserts.Corbin Simpson2010-08-202-3/+16
|
* galahad: Make it obvious on stderr that Galahad's active.Corbin Simpson2010-08-192-0/+4
|
* gallium/docs: Add GalahadJakob Bornecrantz2010-08-202-0/+13
|
* translate_sse: enable on Win64Luca Barbieri2010-08-201-2/+1
| | | | According to Vinson, enabling it causes no regressions
* u_blitter: fix a memory leakMarek Olšák2010-08-191-0/+1
|
* r300g: do not use fastfill with 16-bit zbuffersMarek Olšák2010-08-191-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 operandsAlex Deucher2010-08-192-2/+12
|
* translate_sse: try to fix Win64Luca Barbieri2010-08-191-1/+2
| | | | Not sure whether it works now (it is still disabled).