summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* st/vega: Remove unnecessary headers.Vinson Lee2010-12-226-12/+0
|
* r600g: Remove the unused "pframebuffer" field from r600_pipe_context.Henri Verbeet2010-12-223-5/+0
|
* r600g: r600_new() and r600_delete() are unused.Henri Verbeet2010-12-224-124/+15
|
* i965: explicit tell header present for fb write on sandybridgeZhenyu Wang2010-12-224-8/+8
| | | | | | | | | Determine header present for fb write by msg length is not right for SIMD16 dispatch, and if there're more output attributes, header present is not easy to tell from msg length. This explicitly adds new param for fb write to say header present or not. Fixes many cases' hang and failure in GL conformance test.
* st/egl: Assorted fixes for dri2_display_get_configs.Chia-I Wu2010-12-221-4/+36
| | | | | | Set window_bit only when the visual id is greater than zero. Correct visual types. Skip slow configs as they are not relevant. Finally, do not return duplicated configs.
* r600g: remove useless switch statementsAlex Deucher2010-12-222-105/+0
| | | | Signed-off-by: Alex Deucher <[email protected]>
* st/egl: Fix eglCopyBuffers.Chia-I Wu2010-12-221-6/+5
| | | | Flush before presenting.
* st/egl: Plug pbuffer leaks.Chia-I Wu2010-12-221-8/+2
| | | | Unreference validated resources or remove unnecessary validations.
* st/egl: Allow single-buffered pixmaps.Chia-I Wu2010-12-222-26/+17
| | | | | | | All single-buffered configs were ignored before to make sure EGL_RENDER_BUFFER is settable for window surfaces. It is better to allow single-buffered configs and set EGL_WINDOW_BIT only for double-buffered ones. This way there can be single-buffered pixmaps.
* r600g: drop unused code in evergreen.Dave Airlie2010-12-223-61/+1
| | | | | | | this code was pretty much duplicated, thanks to Henri Verbeet on irc for pointing it out. Signed-off-by: Dave Airlie <[email protected]>
* st/egl: Remove native_config::samples.Chia-I Wu2010-12-223-5/+1
| | | | Multisample buffers are never requested.
* st/egl: Remove native_config::slow_config.Chia-I Wu2010-12-225-9/+0
| | | | | In direct rendering scenario, it is not needed until an EGLDisplay can support both HW and SW pipe screens.
* st/egl: Remove unnecessary egl_g3d_find_pixmap_config.Chia-I Wu2010-12-223-36/+2
| | | | | | It was used to find a compatible config for a given pixmap. Now that a config is optional for pixmap surface creation, the function is not needed.
* st/egl: Make config optional for create_pixmap_surface.Chia-I Wu2010-12-223-46/+79
| | | | | | eglCopyBuffers or EGL_KHR_image_pixmap require creating a pixmap surface without a config. Make it just work without relying on is_pixmap_supported.
* r600g: fix evergreen segfaults.Dave Airlie2010-12-221-1/+1
| | | | | | | | evergreen was crashing running even gears here. This is a 7.10 candidate if its broken the same. Signed-off-by: Dave Airlie <[email protected]>
* r300g: fix precision issues with B10G10R10A2Marek Olšák2010-12-221-0/+2
|
* r300g: support B10G10R10A2 render targets only with DRM 2.8.0 or later versionsMarek Olšák2010-12-225-4/+15
|
* i965: Avoid using float type for raw moves, to work around SNB issue.Eric Anholt2010-12-212-4/+8
| | | | | | | | | | The SNB alt-mode math does the denorm and inf reduction even for a "raw MOV" like we do for g0 message header setup, where we are moving values that aren't actually floats. Just use UD type, where raw MOVs really are raw MOVs. Fixes glxgears since c52adfc2e1d130effea940e75690897eb5d3ceaa, but no piglit tests had regressed(!)
* r600g: avoid segfaultJerome Glisse2010-12-212-2/+2
| | | | | | Candidates 7.10 Signed-off-by: Jerome Glisse <[email protected]>
* intel: Check for unsupported texture when finishing using as a render targetChris Wilson2010-12-211-1/+2
| | | | | Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32541 Signed-off-by: Chris Wilson <[email protected]>
* st/mesa: Clean up header file inclusion in st_format.h.Vinson Lee2010-12-211-1/+2
|
* st/mesa: Clean up header file inclusion in st_draw.h.Vinson Lee2010-12-211-1/+2
|
* nouveau: fix includes for latest libdrmBen Skeggs2010-12-215-6/+5
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* r600g: properly unset vertex bufferJerome Glisse2010-12-203-12/+22
| | | | | | Fix bug http://bugs.freedesktop.org/show_bug.cgi?id=32455 Signed-off-by: Jerome Glisse <[email protected]>
* st/python: remove unused 'buf' parameter in pipe_buffer_unmapVinson Lee2010-12-201-1/+1
| | | | | | This is a follow-up to commit ec51092a72e2dff1e9b1362d813fe4691cda89b7. Fixes SCons build.
* gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák2010-12-2017-50/+39
|
* st/mesa: Remove comment cruft from st_context.h.Vinson Lee2010-12-201-1/+0
| | | | | This was unintentionally added by commit 1525fb4afec0adc164948b4060ec1c0359441cd3.
* st/mesa: Clean up header file inclusion in st_cb_texture.h.Vinson Lee2010-12-201-1/+2
|
* st/mesa: Clean up header file inclusion in st_cb_readpixels.h.Vinson Lee2010-12-201-1/+3
|
* r300g: optimize the fallback for misaligned ushort indicesMarek Olšák2010-12-192-2/+22
|
* st/mesa: Clean up header file inclusion in st_cb_program.h.Vinson Lee2010-12-181-2/+0
|
* st/mesa: Clean up header file inclusion in st_cb_accum.h.Vinson Lee2010-12-181-1/+5
|
* mesa: Clean up header file inclusion in prog_statevars.h.Vinson Lee2010-12-181-1/+3
|
* mesa: fix queryobj whitespace.Dave Airlie2010-12-181-26/+26
| | | | Had done this before pushing but forgot to amend, doh.
* mesa/swrast/st: add ARB_occlusion_query2 support.Dave Airlie2010-12-183-12/+33
| | | | | | | | | | This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <[email protected]>
* mapi: Clean up sources.mk.Chia-I Wu2010-12-186-27/+29
| | | | | | Rename MAPI_GLAPI_SOURCES to MAPI_UTIL_SOURCES. Rename macro MAPI_GLAPI_CURRENT to MAPI_MODE_UTIL. Update the comments to make it clear that mapi may be used in two ways and how.
* mapi: Clean up u_current interface.Chia-I Wu2010-12-189-56/+104
| | | | | Try not to use macros to make u_current.h appear to be glapi.h. Use u_current.h to implement glapi.h instead whenever possible.
* mapi: Add ABI-tag note.Chia-I Wu2010-12-182-0/+26
| | | | TLS requires kernel >= 2.4.20. Per glapi.
* Refresh autogenerated file builtin_function.cpp.Kenneth Graunke2010-12-171-87/+34
| | | | | NOTE: The 7.9 and 7.10 branches will need their builtins refreshed too. Rather than cherry-picking this commit, run 'make builtins'.
* glsl/builtins: Compute the correct value for smoothstep(vec, vec, vec).Kenneth Graunke2010-12-171-87/+34
| | | | | | | | These mistakenly computed 't' instead of t * t * (3.0 - 2.0 * t). Also, properly vectorize the smoothstep(float, float, vec) variants. NOTE: This is a candidate for the 7.9 and 7.10 branches.
* gallivm: Cleanup util_format_xxx_fetch_xxx call generation.José Fonseca2010-12-171-47/+24
| | | | | | | No need to register function prototypes in the module now that we call the C function pointer directly -- less LLVM objects lying around. Limited testing with lp_test_format.
* glsl: Expose a public glsl_type::void_type const pointer.Kenneth Graunke2010-12-173-4/+6
| | | | This is analogous to glsl_type::int_type and all the others.
* r300g: finally fix the texture corruption on r3xx-r4xxMarek Olšák2010-12-171-17/+15
| | | | | | | | | | | | | Even though a bound texture stays bound when calling set_fragment_sampler_views, it must be assigned a new cache region depending on the occupancy of other texture units. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28800 Thanks to Álmos <[email protected]> for finding the bug in the code. NOTE: This is a candidate for both the 7.9 and 7.10 branches.
* Remove OES_compressed_paletted_texture from the ES2 extension list.Kenneth Graunke2010-12-161-2/+0
| | | | We don't support it.
* softpipe: remove sp_tex_tile_cache_border_color()Brian Paul2010-12-163-34/+2
| | | | | | | With swizzling done at the end of texture sampling, we can greatly simplify swizzling of the border color. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32460
* softpipe: fix depth texture sampling regressionBrian Paul2010-12-161-9/+17
| | | | | | | We need to keep using the pipe_get_tile_swizzle() even though there's no swizzling because we need to explicitly pass in the surface format. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32459
* gallivm: fix copy&paste error from previous commitBrian Paul2010-12-161-1/+1
| | | | | | Fixes piglit regression, http://bugs.freedesktop.org/show_bug.cgi?id=32452 NOTE: This is a candidate for the 7.10 branch
* r600c : inline vertex format is not updated in an app, switch to use vfetch ↵richard2010-12-161-1/+1
| | | | constants. For the 7.9 and 7.10 branches as well.
* intel: Support glCopyTexImage() from XRGB8888 to ARGB8888.Eric Anholt2010-12-163-2/+94
| | | | | | The only mismatch between the two is that we have to clear the destination's alpha to 1.0. Fixes WOW performance on my Ironlake, from a few frames a second to almost playable.
* intel: Try to sanely check that formats match for CopyTexImage.Eric Anholt2010-12-161-40/+20
| | | | | | | | | Before, we were going off of a couple of known (hopeful) matches between internalFormats and the cpp of the read buffer. Instead, we can now just look at the gl_format of the two to see if they match. We should avoid bad blits that might have been possible before, but also allow different internalFormats to work without having to enumerate each one.