summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-08-21p_compiler: add replacement va_copyLuca Barbieri
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.
2010-08-20r600g: add POW instructionJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-20r600g: cleanup definition, fix segfault when no valid pixel shaderJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-20util: Fix build for C++ compilers.Michal Krol
2010-08-20gallium: hook up reference count debugging codeLuca Barbieri
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
2010-08-20auxiliary: add reference count debugging codeLuca Barbieri
2010-08-20os_stream: add printf facilityLuca Barbieri
2010-08-20u_debug_symbol: add symbol name cachingLuca Barbieri
Without this, any form of logging that dumps stack traces continuously will spend a lot of time resolving symbol names.
2010-08-20u_debug_symbol: add support for getting symbol names from glibcLuca Barbieri
2010-08-20u_debug_symbol: support getting a string without outputLuca Barbieri
2010-08-20auxiliary: add functions to describe gallium objectsLuca Barbieri
2010-08-20r600g: add occlusion query supportDave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-20u_staging: improve interfaceLuca Barbieri
2010-08-20gallium/docs: improve documentation for resourcesLuca Barbieri
2010-08-20targets/egl-gdi: Implement guess_gl_api.Chia-I Wu
It is needed to support calling eglGetProcAddress before eglInitialize.
2010-08-20galahad: remove incorrect comment just addedLuca Barbieri
2010-08-20nv50: use NV50TIC_0_2_TARGET_RECTLuca Barbieri
2010-08-20galahad: check resource_create templateLuca Barbieri
2010-08-20winsys/sw: use PIPE_TEXTURE_RECT if appropriateLuca Barbieri
2010-08-20st/glx: use PIPE_TEXTURE_RECT if appropriateLuca Barbieri
2010-08-20st/dri: use PIPE_TEXTURE_RECT if appropriateLuca Barbieri
2010-08-20auxiliary: support using PIPE_TEXTURE_RECT internallyLuca Barbieri
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.
2010-08-20u_staging: use PIPE_TEXTURE_RECTLuca Barbieri
2010-08-20u_blitter: use TGSI_TEXTURE_RECTLuca Barbieri
This seems to make sense, although I suspect the semantics of TGSI_TEXTURE_RECT need to be closely reviewed.
2010-08-20gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT tooLuca Barbieri
Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed.
2010-08-20gallium: add PIPE_TEXTURE_RECT targetLuca Barbieri
This allows to properly support OpenGL rectangle textures in a well defined way, especially on drivers that don't expose PIPE_CAP_NPOT_TEXTURES.
2010-08-20galahad, i915g: Copy over constant buffer index check.Corbin Simpson
2010-08-20galahad, i915g: Move over a few state asserts.Corbin Simpson
2010-08-19galahad: Make it obvious on stderr that Galahad's active.Corbin Simpson
2010-08-20gallium/docs: Add GalahadJakob Bornecrantz
2010-08-20translate_sse: enable on Win64Luca Barbieri
According to Vinson, enabling it causes no regressions
2010-08-19u_blitter: fix a memory leakMarek Olšák
2010-08-19r300g: do not use fastfill with 16-bit zbuffersMarek Olšák
To my knowledge, there is no way to flush zmask and thus write the clear value. This fixes zbuffer reads, among other things.
2010-08-19r600g: update comments about ALU src operandsAlex Deucher
2010-08-19translate_sse: try to fix Win64Luca Barbieri
Not sure whether it works now (it is still disabled).
2010-08-19translate_sse: fix emit_load_sse2Luca Barbieri
2010-08-19st/egl: Fix win32 build.Chia-I Wu
Add new source files to SConscripts.
2010-08-19r600g: add sin/cosDave Airlie
This pretty much ports the code from r600c, however it doesn't always seem to work quite perfectly, but I can't find anything in this code that is wrong. I'm guessing either literal input or constants aren't working always.
2010-08-19r600g: add a chiprev type for r600/r700/evergreen instead of using familyDave Airlie
2010-08-19r600g: add SSG, SEQ, SGT and SNEDave Airlie
2010-08-18gallivm: Use proper index to lookup predicate register array.michal
Doesn't fix anything, as those indices were both always 0.
2010-08-18r600g: add FRC, FLR, DDX and DDYDave Airlie
the first two are straight op2's and the DDX/DDY are taken from r600c.
2010-08-18r600g: add SGE and SLE opcodesDave Airlie
fixes fp-set-01 and glsl-fs-step
2010-08-18r600g: add TXB supportDave Airlie
fixes biased texturing tests
2010-08-18r600g: fix TXP vs TEX in shader.Dave Airlie
Don't do perspective for TEX, and also copy input to a temporary for TEX also add tex opcode names
2010-08-18r600g: add two simple tgsi opcodes.Dave Airlie
makes glsl-fs-log2 and glsl1-integer division with uniform var pass
2010-08-18r600g: fix point sizeDave Airlie
fixes piglit pointAtten and point-sprite tests
2010-08-18r600g: fixup pitch alignment like r600c.Dave Airlie
This still needs work, passes tex3d, fbo-scissor-bitmap, scissor-bitmap
2010-08-18translate_sse: don't overwrite source buffer pointerLuca Barbieri
We were putting the source pointer in a register used as a temporary, breaking all paths that don't read the data in a single instruction.
2010-08-18r600g: fix height calcs for miptreeDave Airlie
h needs to be rounded up, this probably needs revisiting when we get to tiling etc. fixes fbo-generatemipmap-npot