summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-05-30st/egl: Hook eglCreatePbufferFromClientBuffer.Chia-I Wu
This is some refactoring works. Creating a pbuffer from an EGL_OPENVG_IMAGE is still not supported.
2010-05-30st/egl: Fix eglCopyBuffers.Chia-I Wu
It was broken since surface_copy -> resource_copy_region transition.
2010-05-30st/egl: Initialize KMS backend from an fd.Chia-I Wu
Check if the native native is EGL_DEFAULT_DISPLAY. If not, treat it as an fd.
2010-05-29r600g: remove unused variableMarek Olšák
2010-05-29r600g: fix gallium function parametersMarek Olšák
2010-05-29r600g: make a local copy of viewport stateMarek Olšák
2010-05-29i915g: Rename winsys c fileJakob Bornecrantz
2010-05-29i915g: Move pci id to winsys structJakob Bornecrantz
2010-05-29targets/egl: Give egl targets a good build enviromentJakob Bornecrantz
2010-05-29r600g: fix buildMarek Olšák
2010-05-29llvmpipe: adapt to clear interface changesRoland Scheidegger
with some newfangled code, should support separate depth/stencil clears. Needs some testing.
2010-05-29i965g: adapt to clear interface changesRoland Scheidegger
just like i915g, should in theory support separate depth/stencil clears (untested), with the same 2d blitter hacks.
2010-05-29i915g: adapt to clear interface changesRoland Scheidegger
should in theory support separate depth/stencil clears (untested). Also fix some format omissions?
2010-05-29r300g: adapt to clear interface changesRoland Scheidegger
should support separate depth/stencil clears just fine with changed u_blitter.
2010-05-29nv50: adapt to clear interface changesRoland Scheidegger
should support separate depth/stencil clears just fine.
2010-05-29nvfx: adapt to clear interface changesRoland Scheidegger
2010-05-29svga: adapt to clear interface changesRoland Scheidegger
this should support separate stencil/depth clears just fine.
2010-05-29softpipe: adapt to clear interface changesRoland Scheidegger
2010-05-29rbug: adapt to clear interface changesRoland Scheidegger
2010-05-29trace: adapt to clear interface changesRoland Scheidegger
2010-05-29identity: adapt to clear interface changesRoland Scheidegger
2010-05-29fo: adapt to clear interface changesRoland Scheidegger
2010-05-29cell: adapt to clear interface changesRoland Scheidegger
2010-05-29st/python: adapt to clear interface changesRoland Scheidegger
2010-05-29util: adapt to clear interface changesRoland Scheidegger
2010-05-28gallium: clear interface changesRoland Scheidegger
clears were a bit limited in gallium: - no scissoring (OGL only) nor explicit rectangle list (d3d9) - no color/stencil masks (OGL only) - no separate depth/stencil clears (d3d9/d3d10/OGL) - cannot really clear single color buffer (only with resource_fill_region) Additionally, d3d can clear surfaces not currently bound to the framebuffer. It is, however, not easy to find some common ground what a clear should be able to do, due to both API requirements and also hw differences (a case which might be able to use a special clear path on one hw might need a "normal" quad render on another). Hence several clear methods are provided, and a driver should implement all of them. - clear: slightly modified to also be able to clear only depth or stencil in a combined depth/stencil surface. This is however optional based on driver capability though ideally it wouldn't be optional. AFAIK this is in fact something used by applications quite a bit. Otherwise, for now still doesn't allow clearing with scissors/mask (or single color buffers) - clearRT: clears a single (potentially unbound) color surface. This was formerly roughly known as resource_fill_region. mesa st will not currently use this, though potentially would be useful for GL ClearBuffer. - clearDS: similar to above except for depth stencil surfaces. Note that clearDS/clearRT currently handle can handle partial clear. This might change however.
2010-05-28llvmpipe: add PIPE_BUFFER to assertionBrian Paul
Fixes regression from commit f2e05acac931889e0820e1cc5d7ea810048a6b5f.
2010-05-28softpipe: add PIPE_BUFFER to assertionBrian Paul
Fixes regression from commit f2e05acac931889e0820e1cc5d7ea810048a6b5f.
2010-05-28llvmpipe: add out of memory checking to triangle setup pathBrian Paul
2010-05-28r300g: remove unnecessary breaksMarek Olšák
2010-05-28r300g: report vertex format support in is_format_supportedMarek Olšák
2010-05-28r300g/swtcl: fix WPOSMarek Olšák
There you are! r300->viewport_state is undefined when using SW TCL. Piglit score (r300g.tests): HW TCL: 231/275 SW TCL: 233/275
2010-05-28r300g/swtcl: avoid an infinite loop if an occl. query doesn't return anythingMarek Olšák
2010-05-27r600g: disable renderingJerome Glisse
Disable rendering to avoid GPU lockup. Use radeondb to debug shader compiler : radeondb -c gallium.bof radeondb -s gallium.json Will print shader generated, best is to use fp demos to test the compiler. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-05-27r600g: various fixesBas Nieuwenhuizen
- enabled flushing a buffer more than once - enabled the blitter for r600_clear - added some more colors to r600_is_format_supported (copied from r600_conv_pipe_format) - r600_set_framebuffer_state now sets rctx->fb_state - more states are saved before a blit (had to add some accounting for the viewport and the vertex elements state) - fixed a few errors with reference counting
2010-05-27r600g: fix driver + shader compiler backend changeJerome Glisse
Change the way we translate from c_compiler to the asic specific representation. Should make things simpler. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-05-27r600g: Integrate into buildJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-27r600g: Fix buffer offsetsJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-27r600g: adapt to latest interfaces changesMarek Olšák
- Wrapped the buffer and texture create/destroy/transfer/... functions using u_resource, which is then used to implement the resource functions. - Implemented texture transfers. I left the buffer and texture transfers separate because one day we'll need a special codepath for textures. - Added index_bias to the draw_*elements functions. - Removed nonexistent *REP and *FOR instructions. - Some pipe formats have changed channel ordering, so I've removed/fixed nonexistent ones. - Added stubs for create/set/destroy sampler views. - Added a naive implementation of vertex elements state (new CSO). - Reworked {texture,buffer}_{from,to}_handle. - Reorganized winsys files, removed dri,egl,python directories. - Added a new build target dri-r600.
2010-05-27r600g: Initial importJerome Glisse
2010-05-27llvmpipe: s/bool/boolean/Brian Paul
2010-05-27llvmpipe: s/bool/booleanBrian Paul
2010-05-27sw/xlib: avoid dereferencing a null pointerBrian Paul
2010-05-27gallivm: add assertions to check type of phi variablesBrian Paul
2010-05-27r300g/swtcl: fix secondary color and back-face color outputsMarek Olšák
These piglit tests have been fixed: - bgra-sec-color-pointer - glsl-routing See comments at the beginning of r300_vs_draw.c WPOS is implemented too but it doesn't work yet. I'm still working on it.
2010-05-27llvmpipe: Refer to my personal udis86 repository.José Fonseca
As it has a bunch of fixes/additions not merged by upstream yet.
2010-05-27util: Also add a define for the dynamic library's prefix.José Fonseca
2010-05-27egl/mks: remove extra param from function callBrian Paul
2010-05-27egl_g3d: add missing param to egl_g3d_st_manager_get_egl_image()Brian Paul
2010-05-27r300g: decouple drawing code and two-sided stencil refvalue fallbackMarek Olšák
It's now more separate from the rest of the driver and it can be disabled by commenting out just 1 line. Well, I couldn't make the previous version work with SW TCL reliably, that's the reason of this little rework.