summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2009-08-20tgsi: added tgsi_full_instruction::Flags fieldBrian Paul
Users of the parser can make use of this.
2009-08-19gallium: rename copy/fill_rect utility functionsBrian Paul
2009-08-19gallium: fix tags target in Makefile.templateBrian Paul
2009-08-19tgsi: Add missing include.José Fonseca
(cherry picked from commit d2787c02c130b1fe20d0c032d468622f2fdaef79)
2009-08-19tgsi: Fix typo in ureg constant creation.José Fonseca
(cherry picked from commit aa40c9abc7787fdf46cb661a4d0bb8bec513fc63)
2009-08-19st/xlib: remove a couple more 'fake' referencesKeith Whitwell
2009-08-19st/xlib: remove dead ungrab helperKeith Whitwell
2009-08-19tgsi: silence compiler warningKeith Whitwell
2009-08-19tgsi: remove unused function argumentKeith Whitwell
2009-08-19tgsi: add missing functionality to support instructions with labelsKeith Whitwell
Could previously emit opcodes with label arguments, but was no way to patch them with the actual destinations of those labels. Adds two functions: ureg_get_instruction_number - to get the id of the next instruction to be emitted ureg_fixup_label - to patch an emitted label to point to a given instruction number. Need some more complex examples than u_simple_shader, so far this has only been compile-tested.
2009-08-18r300g: Force off ZTOP optimizations for now.Corbin Simpson
2009-08-18r300g: Utilize DONTBLOCK.Corbin Simpson
Also ALGYRHYTHMS.
2009-08-18radeon-gallium: Oh, look, we *do* already support DONTBLOCK.Corbin Simpson
Well, okay, the kernel doesn't, but that's no excuse for us! :3
2009-08-18r300g: Massively cleanup OQ.Corbin Simpson
Still broken, but compiles cleaner, behaves better, etc.
2009-08-18r300g: Add high_second_pipe cap for R3xx chipsets.Corbin Simpson
This name is totally subject to change if ever I need to separate R3xx for some other reason.
2009-08-18radeon-gallium: Stop using outdated ioctls.Corbin Simpson
2009-08-18Revert "r300-gallium, radeon-gallium: Nuke gb_pipes from orbit."Corbin Simpson
This reverts commit 6a40d1e9d96f8e8c57bc3bbd6f567cacd4471f59. Turns out that we *do* need these for OQ after all. Go figure. Conflicts: src/gallium/winsys/drm/radeon/core/radeon_r300.h
2009-08-18Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-18egl/xlib: move call to create_configs() after we set the Xdpy fieldBrian Paul
2009-08-18tgsi/ppc: we don't implement saturation modes yetBrian Paul
2009-08-18tgsi/sse: we don't implement saturation modes yetBrian Paul
Fixes piglit fp-generic tests/shaders/generic/lrp_sat.fp, bug 23316.
2009-08-18egl: Create the front texture the properlyJakob Bornecrantz
2009-08-18gallium: improved comments, minor whitespace changesBrian Paul
2009-08-18egl: Some per-driver data should be per-display.Chia-I Wu
Move some fields of _EGLDriver to _EGLDisplay. It also becomes unnecessary to pass _EGLDisplay to drivers when _eglMain is called. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-18egl: Overhaul driver API.Chia-I Wu
The motivation is so that drivers do not need to look up and check for bad display, context, and etc. It also becomes unnecessary for drivers to call the link functions. This commit makes eglapi.[ch] do the lookup and check. As a result, the driver API is overhauled, and almost all sources and drivers need update. The updates are mainly find and replace with human brains. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-17gallium: memset() tgsi_exec_machine to all zeros in tgsi_exec_machine_create()Brian Paul
This fixes invalid values for CondStackTop, LoopStackTop, etc.
2009-08-17nv50: remove a few cases of directly casting struct pipe_contextMaarten Maathuis
2009-08-17nv50: borrow some flushing code from the ddxMaarten Maathuis
- This fixes neverball corruption. - I'm unsure about what we're actually flushing here.
2009-08-17gallium: Make PIPE_TRANSFER_{READ,WRITE,READ_WRITE} bitmask friendly.Maarten Maathuis
2009-08-17nv50: whitespace fixes and deobfuscationMaarten Maathuis
2009-08-17cell: fix incorrect pipe_transfer testsBrian Paul
The value is an enum, not a bitmask.
2009-08-17nv50: fix stencil stateChristoph Bumiller
It's the front stencil methods that have contiguous offsets, not the back ones. Unfortunately the names in the header still have FRONT/BACK reversed, so I'm using hex values until it gets updated.
2009-08-15nv50: avoid a NULL-ptr dereference when the pipe context changesMaarten Maathuis
- We cannot assume all state objects are present when the pipe context changes.
2009-08-15nv50: align registers used with TEX to 4Christoph Bumiller
The TEX instruction is passed the first index of a contiguous range of 4 TEMP registers that contain coordinates / LOD and, after execution, the texel values. It seems the first index is required to be a multiple of 4 on some (older ?) cards.
2009-08-14gallium: Always map for READ flag when DISCARD is not set.José Fonseca
This prevents the driver from discarding a buffer when the whole buffer is mapped for writing, but only a portion is effectively written. This is a temporary fix, because WRITE shouldn't imply DISCARD. The full fix implies using PIPE_BUFFER_USAGE_DISCARD, throughout the code, and will go only into master.
2009-08-14trace: Remove space next to the class attribute of the trace.José Fonseca
2009-08-14python/retrace: Open bz2 files correctly.José Fonseca
2009-08-14st/xlib: reduce the proliferation of GLX context typesKeith Whitwell
Now there is just a single, struct __GLXcontextRec, which is the GLXContext typedef has already been defined as a pointer to. I believe this is the intended usage, that GLX implementations should define that struct as they require. Merge the two previous structs into one and get rid of the no-longer-necessary type casts and sub-classing.
2009-08-14st/dri: remove unused dummyContext valueKeith Whitwell
2009-08-14nv50: fix mipmap offsets and tilingChristoph Bumiller
The hardware expects a texture's tile mode to change with the mipmap level. Also, only multiply by block size once to obtain size.
2009-08-14nv50: make sure we don't re-emit outdated scissor stateChristoph Bumiller
Since we don't turn off scissors, we need to update the stateobj when the framebuffer size changes.
2009-08-14nv50: make use of the y-origin switchChristoph Bumiller
Now that we know how to make the hardware have y-coordinate origin top, we can get rid of all the inversion introduced earlier.
2009-08-14st/vega: Add more symbols defined by mesa/st.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-14nv50: fix typo in REALLOC's 2nd argument in ctor_immdChristoph Bumiller
2009-08-13st/dri: Add support for GLX_EXT_texture_from_pixmap with direct rendering.Michel Dänzer
2009-08-13gallium/drm: Handle circular dependencies in the auxiliary libraries with make.Michel Dänzer
2009-08-13st/xorg: Fix DRI2 CopyRegion hook.Michel Dänzer
Use GC CopyArea op for proper translation and clipping, and throttle full buffer swaps / frontbuffer flushes.
2009-08-13tgsi: add simple facility for releasing and reusing temporariesKeith Whitwell
2009-08-13tgsi: rename ureg src/dest convertersKeith Whitwell
Also fix a typo in ureg_src().
2009-08-13draw: Remove unused variable.José Fonseca