summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* gallium/tests/trivial: use CXX to do final linkBrian Paul2011-06-241-1/+1
|
* gallium/tests/trivial: make it buildAlon Levy2011-06-243-6/+11
| | | | | Signed-off-by: Alon Levy <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* st/egl: make native_buffer interface typedChia-I Wu2011-06-246-89/+139
| | | | | | Use a typed struct to describe the native buffer and let the backends map the native buffer to winsys_handle for resource_from_handle/resource_to_handle.
* targets/egl: removedChia-I Wu2011-06-2412-949/+0
| | | | Not used.
* targets/egl-static: replace targets/eglChia-I Wu2011-06-241-0/+201
| | | | | Build egl_gallium from targets/egl-static intead of targets/egl. The latter exposes (unversioned) gallium interfaces and is frowned upon.
* targets/egl-static: allow st/mesa to be dynamically loadedChia-I Wu2011-06-244-19/+148
| | | | | | | | When shared glapi is not enabled, there are two glapi providers and we cannot decide which one to link to at build time. It results in unresolved symbols in st/mesa. This commit makes st/mesa a loadable module when shared glapi is not enabled, and hopes that the apps will link to one of the glapi providers (GL or GLES).
* targets/egl-static: add support for driver lookupChia-I Wu2011-06-241-0/+82
| | | | | Use pci id to driver map to look up the driver name. This is based on a433755ec5c48088a0d8a340851a1a8be9e58897.
* targets/gbm: build pipe driversChia-I Wu2011-06-2410-9/+314
| | | | | | | Build pipe drivers here instead of using those built by the soon-to-be-removed targets/egl. [with an update by Benjamin Franzke to use --{start|end}-group]
* dri/r200: properly spell current_atom.Stéphane Marchesin2011-06-231-1/+1
|
* dri/r200: rename __atom to current_atom.Stéphane Marchesin2011-06-231-3/+3
| | | | __atom is defined by gcc when the atom compile optimizations are used.
* gallivm: Fix x86 build with llvm-3.0svn.Vinson Lee2011-06-231-0/+4
| | | | LLVM revision 133739 renamed StackAlignment to StackAlignmentOverride.
* st/egl: drop guess_gl_api from egl_g3d_loaderChia-I Wu2011-06-243-38/+1
| | | | It is not used and confusing.
* st/egl: use a helper to get st_api from the loaderChia-I Wu2011-06-242-13/+9
|
* mesa: fix incorrect error stringBrian Paul2011-06-231-1/+1
|
* nv50,nvc0: prevent pushbuf flush during ctx reloc emissionChristoph Bumiller2011-06-248-22/+32
| | | | | | Should unify this too, but will delay that until the planned libdrm_nouveau/winsys changes which are likely to cause major changes to this bo validation code too.
* st/mesa: fix format selection regressionBrian Paul2011-06-231-3/+7
| | | | | | | Note all gallium formats are supported by Mesa so disable them. Fixes regression from 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15. See https://bugs.freedesktop.org/show_bug.cgi?id=38602
* vbo: Don't discount stride == 0 for testing all varyings in VBOs.Eric Anholt2011-06-231-2/+1
| | | | | | | | | | | | | | | | | In fixed function, stride == 0 (e.g. glColor4f() outside of the draw call) would get turned into uniform inputs, which is why it was ignored originally in this test. For shaders, drivers end up seeing a need to upload stride == 0 data, and get confused by needing to upload when vbo_all_varyings_in_vbos() returned true. In the 965 driver case, it wouldn't bother to compute the min/max index, and uploaded nothing if the min/max wasn't known. We've talked about removing the ff stride=0-into-uniforms code, so this check shouldn't be missed once that's gone. Fixes ARB_vertex_buffer_object/mixed-immediate-and-vbo Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37934 Reviewed-by: Brian Paul <[email protected]>
* vbo: Don't bother checking for stride == 0 for "any varying in a VBO".Eric Anholt2011-06-231-2/+1
| | | | | | | We would still want to consider that data as being in a VBO even if we managed to produce this case, which as far as I know we can't. Reviewed-by: Brian Paul <[email protected]>
* i965/gen6: Add a couple more packets to the nonpipelined workaround list.Eric Anholt2011-06-231-0/+6
| | | | | | | All the packets chosen before came from grepping the pdf for nonpipelined, and these two came from grepping for non.pipelined. We could stand a review by looking at all packets emitted and identifying what kind they are.
* glsl: Flagged extension EXT_texture3D as "supported" in the builtin compiler.Paul Berry2011-06-231-0/+1
| | | | | | | Previously, the builtins in OES_texture_3D.{frag,vert} were only compiling properly as a consequence of bug 38015, which allows unsupported extensions to be enabled. This fix eliminates the builtin compiler's reliance on bug 38015, so that bug 38015 can be fixed.
* st/egl: Fix scons buildBenjamin Franzke2011-06-231-0/+4
|
* st/egl: Hookup gbm for drm backendBenjamin Franzke2011-06-237-44/+99
|
* egl_dri2: Hookup gbm as drm platformBenjamin Franzke2011-06-235-61/+131
|
* gbm: Add gallium (drm) backendBenjamin Franzke2011-06-238-0/+680
|
* gbm: Add dri backendBenjamin Franzke2011-06-236-0/+575
|
* Add gbm (generic/graphics buffer manager)Benjamin Franzke2011-06-2313-0/+900
|
* st/dri: Implement DRIimageExtension::dupImageBenjamin Franzke2011-06-231-0/+19
|
* intel: Implement DRIimageExtension::dupImageBenjamin Franzke2011-06-231-1/+26
|
* r600g: Add R8G8B8A8_UNORM to evergreen colorswap tableBenjamin Franzke2011-06-231-0/+1
| | | | | | | | Fixes broken glTexImage2D with format=GL_RGBA since 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 The origin for this behaviour is that r600_is_format_supported checks only against r600_state_inline.h tables not evergreens.
* r600g: bump shader input limitsMarek Olšák2011-06-231-2/+2
|
* st/wgl: return height, not width for WGL_PBUFFER_HEIGHT_ARBBrian Paul2011-06-231-1/+1
| | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38599
* st/egl/wayland: Take resize parameters only if size changesBenjamin Franzke2011-06-231-5/+3
| | | | | This matches what we do in egl_dri2, and clients should behave like this anyway.
* st/mesa: use a helper for st_framebuffer creationChia-I Wu2011-06-231-18/+29
| | | | | | In st_api_make_current, we would like to reuse the exising st_framebuffer if possible. Use a helper function to make the code clearer.
* st/mesa: prefer native texture formats when possible.Stéphane Marchesin2011-06-224-8/+101
| | | | | | If possible, we want to match the hardware format to what the app uses. By doing so, we avoid the need for pixel conversions and therefore greatly speed up texture uploads.
* i915g: Add draw point sprites.Stéphane Marchesin2011-06-222-2/+2
| | | | It's not that much work; hopefully blend func separate also works and we get GL 2.0 for real.
* i915g: Fix comment.Stéphane Marchesin2011-06-221-1/+1
| | | | Reported-by: Marcin Baczynski <[email protected]>
* i915g: Support more texture and render target formats.Stéphane Marchesin2011-06-225-11/+75
|
* r600c: add missing bank tiling case for evergreenAlex Deucher2011-06-221-0/+3
| | | | Signed-off-by: Alex Deucher <[email protected]>
* r600g: fix num_banks interpretation on eg+Alex Deucher2011-06-221-1/+14
| | | | | | | | | Field is encoded: 0 = 4 banks 1 = 8 banks 2 = 16 banks Signed-off-by: Alex Deucher <[email protected]>
* r600g: Fix use of uninitialized local variable extra_size.Michel Dänzer2011-06-221-1/+1
| | | | Should fix http://bugs.freedesktop.org/show_bug.cgi?id=38566 .
* mesa: comments and 80-column wrappingBrian Paul2011-06-221-6/+21
|
* mesa: update comments in update_program_enables()Brian Paul2011-06-221-1/+4
|
* mesa: update/fix comments in update_program()Brian Paul2011-06-221-17/+16
|
* mesa: update comment for gl_texture_unitBrian Paul2011-06-221-2/+1
|
* xorg/nouveau: blacklist all pre NV30 cardsMarcin Slusarz2011-06-222-9/+57
| | | | | Bail out early in probe, so other driver can take control of the card. Doing it in screen_create would be too late.
* r600c: use BASE_VTX_LOC & AUTO_INDEX for drawing nonindexed with offsetAndre Maasikas2011-06-221-60/+8
| | | | | | Saves cmd buffer space as we were generating indexes into cs in this case. This was laying around in https://bugs.freedesktop.org/show_bug.cgi?id=32768 for a long time.
* r600g: fix fbo depth/stencil texture allocation for evergreen+Alex Deucher2011-06-211-3/+8
| | | | | | | | evergreen+ stores depth and stencil separately so when we allocate a depth/stencil fbo, make sure we allocate enough memory for both depth and stencil buffers. Signed-off-by: Alex Deucher <[email protected]>
* intel: Allocate s8_z24 non-texture renderbuffers when using separate stencilChad Versace2011-06-211-3/+81
| | | | | | | | Now all infrastructure is in place to support s8_z24 non-texture renderbuffers for gen7. Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Chad Versace <[email protected]>
* intel: Unobfuscate intel_alloc_renderbuffer_storageChad Versace2011-06-211-17/+17
| | | | | | | | | | | Hiz buffer allocation can only occur if the 'else' branch has been taken, so move the hiz buffer allocation into the 'else' branch. Having the hiz buffer allocation dangling outside of the if-tree was just damn confusing. Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Chad Versace <[email protected]>
* intel: Add fields to intel_renderbuffer for unwrapping packed depth/stencil ↵Chad Versace2011-06-214-44/+118
| | | | | | | | | | | | | | | | | | | | | | | | | buffers Add the following fields: intel_renderbuffer.wrapped_depth; intel_renderbuffer.wrapped_stencil If the intel_context is using separate stencil and the renderbuffer has a packed depth/stencil format, then wrapped_depth and wrapped_stencil are the real renderbuffers. Alter the following functions to accomodate the wrapped buffers: intel_delete_renderbuffer intel_draw_buffer intel_get_renderbuffer intel_renderbuffer_map intel_renderbuffer_unmap Subsequent commits allocate renderbuffer storage for wrapped_depth and wrapped_stencil. Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Chad Versace <[email protected]>