summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-04-06llvmpipe: Support S3TC when util_format_s3tc_enabled is set.José Fonseca
2010-04-06gallivm: Move the global LLVM objects (module, engine, provider, target) ↵José Fonseca
into here.
2010-04-05r300g: enforce microtiled zbuffer from X serverMarek Olšák
This should be relatively safe, I think.
2010-04-05r300g: typecast using the r300_texture functionMarek Olšák
2010-04-05i965g: change value of VERT_RESULT_PSIZ hack to avoid warningsBrian Paul
2010-04-05r300g: enable OpenGL 2.1 on r3xx-r4xx chipsetsMarek Olšák
2010-04-05r300g: add fallback for back stencil reference value and masks for r3xx-r4xxMarek Olšák
This splits rendering into two passes when front and back stencil reference value, value mask, or write mask don't match. The advantages of doing it in the driver instead of in st are: * SWTCL is executed just once and the resulting vertex buffer is reused in the second pass. * Lower driver overhead due to the fallback being very close to the actual draw emission with minimum state change.
2010-04-05r300g: simplify accessing screen from contextMarek Olšák
2010-04-05r300g: remove some XXXsMarek Olšák
We can't have more than 8 texcoord outputs in VS.
2010-04-05r300g: raise the number of texture units to 16 for all supported chipsetsMarek Olšák
As per Radeon 9700 Opengl Programming and Optimization Guide [1], there are 16 texture units even on the first r300 chipsets. If you think I am wrong, feel free to propose a patch. [1] Here's PDF: http://people.freedesktop.org/~mareko/
2010-04-05r300/compiler: make the max number of fragment shader temporaries adjustableMarek Olšák
2010-04-05r300g: is_npot -> uses_pitchMarek Olšák
2010-04-05r300g: enable conditional rendering also for SWTCLMarek Olšák
2010-04-04r300g: fix TFP stride override.Dave Airlie
We should use pitch for the overriden state, fixes one half of the tfp test. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-04r300g: add conditional renderingMarek Olšák
2010-04-04r300g: add r4xx fragment shader registersMarek Olšák
In case anyone needs it, it's here.
2010-04-04r300g: do not use the c++ template keywordMarek Olšák
It makes life for some code browsing utilites easier.
2010-04-04r300g: properly setup textures from X serverMarek Olšák
The setup needs be done after querying tiling flags.
2010-04-03r300g: fix color tiling for buffer from X server.Dave Airlie
The tiling setup needs a bit of work, but this should be good enough for now, when we get buffers from the kernel we need to store their tiling properties. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-03util: Revert unsolicited, untested, unreviewed, and broken changes to format ↵José Fonseca
support. Not all is bad, but I'm afraid I'll have to throw the baby with the water given they are all tied to together.
2010-04-02r300g: Expound on dithering comment.Corbin Simpson
2010-04-03r300g: make dithering work like fglrx.Dave Airlie
From fglrx traces the dithering is never enabled. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-02llvmpipe: limit max texture size to 2Kx2K for nowBrian Paul
MAXWIDTH/HEIGHT were 2048 but the max texture size was 4096. This caused a crash if a 4Kx4K texture was created and rendered to. See comment about max framebuffer size in lp_scene.h. Also added assertions to catch this inconsistancy in the future.
2010-04-02softpipe: remove S3TC init, since it's done on-demand nowLuca Barbieri
2010-04-02gallium/util: revert util_format_init additionLuca Barbieri
Putting calls to util_format_init all over the codebase is infeasible. Instead, half float tables are pregenerated, and the s3tc library is loaded on demand. I believe this is a solution that combines performance, cleanliness, flexibility and portability.
2010-04-02gallium/util: add util_format_is_supported to check for pack/unpackLuca Barbieri
This improves the code by making it more readable, and removes special knowledge of S3TC and other formats from softpipe.
2010-04-02nv50: call util_format_initLuca Barbieri
Needed to fetch static vertex attributes.
2010-04-02gallium/util: add util_format_init that inits s3tc and util_halfLuca Barbieri
Switch from auto-init to explicit init for util_half per Brian Paul's indication. NOTE: this is probably broken because not enough things call util_format_init. Will be fixed shortly
2010-04-01llvmpipe: Support sampling from PIPE_FORMAT_R32_FLOAT.José Fonseca
2010-04-01llvmpipe: More tweaks to the supported texture formats.José Fonseca
2010-04-01llvmpipe: Fix build...José Fonseca
2010-04-01llvmpipe: Fix (un)swizzling, broken due to use of VOID channels.José Fonseca
2010-03-31r300g: Remove unnecessary header.Vinson Lee
2010-04-01r300g: add RGBA16F colorbuffer supportMarek Olšák
Disabled by default due to unresolved IP issues.
2010-04-01r300g: add RGTC texture supportMarek Olšák
The CS checker already knows about this.
2010-04-01r300g: format handling cleanupMarek Olšák
2010-03-31softpipe: Use S3TC when avaiilable,José Fonseca
2010-03-31llvmpipe: Don't call unused generate_clamp().José Fonseca
2010-03-31llvmpipe: Disable threads by default on embedded.José Fonseca
2010-03-31llvmpipe: Don't rely on u_format_access.pyJosé Fonseca
2010-03-31Merge branch 'gallium-new-formats'Roland Scheidegger
Conflicts: src/gallium/auxiliary/util/u_format.csv src/gallium/auxiliary/util/u_format_access.py src/gallium/auxiliary/util/u_format_pack.py
2010-03-31llvmpipe: More accurate format capability exporting.José Fonseca
2010-03-31llvmpipe: Drop the aos format conversion.José Fonseca
It's unused and incomplete. Still in git history if necessary in future.
2010-03-30i965g: Fix assertion that was always true.Vinson Lee
surface_format field is a 9-bit field and the value of BRW_SURFACEFORMAT_INVALID exceeds 9 bits.
2010-03-30identity: Remove unnecessary header.Vinson Lee
2010-03-30Merge branch '7.8'Michel Dänzer
Conflicts: Makefile src/mesa/main/version.h Resolved by keeping version strings from master (also in the intel driver).
2010-03-29r300g: Remove unused variable.Vinson Lee
2010-03-29r300g: Remove unnecessary header.Vinson Lee
2010-03-29r300g: Bind constantbuf to Draw immediately, don't wait for render.Corbin Simpson
Doesn't hurt, and reduces code duplication.
2010-03-30Merge branch 'master' into gallium-new-formatsRoland Scheidegger
Conflicts: src/gallium/auxiliary/util/u_format.csv