summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-04-10r300g: align the height of NPOT textures to POTMarek Olšák
Needed by the CS checker.
2010-04-10r300g: do not use tiling for scanout buffersMarek Olšák
2010-04-09glx: Support direct rendering pbuffersKristian Høgsberg
We've supported indirect rendering pbuffers for a while, but not direct rendering pbuffers. The way we do this is by creating a hidden pixmap and wrap that in a GLX pbuffer. This only works when we have DRI2 on the server, but if the server doesn't have DRI2, it won't expose configs with pbuffer bits enabled.
2010-04-09glx: Fix config chooser logic for 'mask' matchingKristian Høgsberg
When matching attributes using the 'mask' matching criteria, the spec says that "Only GLXFBConfigs for which the set bits of attribute include all the bits that are set in the requested value are considered. (Additional bits might be set in the attribute)." The current test returns true if the two bit masks have bits in common, specifically it matches even if the requested value has bits set that are not set in the fbconfig attribute. For example, an application asking for GLX_DRAWABLE_TYPE, GLX_PIXMAP_BIT | GLX_PBUFFER_BIT, as glxpbdemo does, will match fbconfigs that don't support pbuffer rendering, as long as they support pixmap rendering. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-04-10Fix copyright headers.Chia-I Wu
Update the warranty disclaimer to use the more general "THE AUTHORS OR COPYRIGHT HOLDERS". This is done manually on files created by me. Hope that I do not miss anything.
2010-04-10st/egl: Fix a typo in determining the render buffer.Chia-I Wu
2010-04-09llvmpipe: fix transposed stencil ref / values comparisonBrian Paul
2010-04-09Merge branch '7.8'Brian Paul
2010-04-09st/mesa: new assertions to check array indexesBrian Paul
2010-04-09mesa: fix instruction indexing bugsBrian Paul
We were looping over instructions but only looking at the 0th instruction's opcode. Fixes fd.o bug 27566.
2010-04-09util: Fix typo in earlier commit.José Fonseca
2010-04-09util: ubyte_to_float and float_to_ubyte whenever possible.José Fonseca
More accurate results. We should probably generalize these functions for more cases.
2010-04-09util: Get all depth stencil tests passing.José Fonseca
Note the tests don't test all the paths, in particular stride, and ensuring the old value is preserved.
2010-04-09util: Add missing break statement.José Fonseca
2010-04-09util: Use consistent symbols in pack generator.José Fonseca
2010-04-09util: Reorder format tests -- group by format.José Fonseca
2010-04-09util: Add dedicated depth-stencil packing/unpacking functions.José Fonseca
Depth-stencil manually written given that each one is very close to be a special case. u_format_zs.c's still untested.
2010-04-09st/xorg: Fix thinko.Corbin Simpson
2010-04-09nouveau: Import latest nouveau_class.h from renouveauBen Skeggs
And fix nv50_screen.c to compile against the updated header.
2010-04-09st/xorg: Fix bad paramf.Corbin Simpson
Should be an integer param, according to docs.
2010-04-09r300g: Fill out dummy fence functions.Corbin Simpson
xorg st needs them.
2010-04-09util: Include u_debug for debug_print_format.Corbin Simpson
Caused fun linker errors on r600g.
2010-04-09st/egl: Move probe interface to native_probe.h.Chia-I Wu
native.h is getting a little messy over time.
2010-04-09st/egl: Remove pbuffer from the native interface.Chia-I Wu
A pbuffer is an EGL resource. It does not need a native display to create.
2010-04-09util: Set DXTN_LIBNAME to libtxc_dxtn.dylib on Mac OS X.Vinson Lee
2010-04-08st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) regressionBrian Paul
Commit 1454f20a991ddda35f1a2ffda953012078b407ba caused the regression. When the vertex shader emitted both a texcoord and color we were grabbing the wrong vertex attributes. Fix the draw_quad() code to put texcoords in slot[1] and color in slot[2]. That's a bit cleaner than changing the vertex shader code. Tested with progs/tests/zreaddraw.c
2010-04-08util: Support PIPE_FORMAT_B4G4R4X4_UNORM and PIPE_FORMAT_R8G8B8X8_UNORM.José Fonseca
2010-04-08gallium: Add a couple more of D3D9 formats forgotten earlier.José Fonseca
2010-04-08intel: Call intel_prepare_render() in intelClear()Li Peng
Make sure we have up to date buffers before we start looking at the tiling bits to determine how to clear.
2010-04-08util: (Almost) universal format translation function.José Fonseca
Untested.
2010-04-08util: Describe, implement, and test the new D3D9 color formats.José Fonseca
2010-04-08gallium: Add missing D3D9 color formats.José Fonseca
2010-04-08util: is_array/mixed/etc is only meaningful for plain formats.José Fonseca
2010-04-08util: Keep const keyword when unpacking formats.José Fonseca
2010-04-08util: Reorder the code generated function so that they are grouped by format.José Fonseca
Makes it easier to copy and paste.
2010-04-08intel: Call intel_prepare_render() in intelClear()Li Peng
Make sure we have up to date buffers before we start looking at the tiling bits to determine how to clear.
2010-04-08draw llvm: hook up the generated function into the draw elts pathZack Rusin
we were only using the jited function in the linear case, now drawelts correctly uses the same path. it results in a significant gain in real world apps (openarena went from 23fps to 29fps)
2010-04-08draw: Fix vertex buffer indexation.José Fonseca
2010-04-08util: Don't call util_dl_close(library) when util_format_s3tc_init is ↵José Fonseca
successful." Otherwise the library will be unloaded and function pointers become invalid. This reverts commit bc2bc0306e4dd8c56bd66a8aabf2433f6689653d.
2010-04-08util: util_dl_close(library) before exiting util_format_s3tc_init.Vinson Lee
2010-04-08draw llvm: Remove unnecessary header.Vinson Lee
2010-04-08llvmpipe: Remove unnecessary header.Vinson Lee
2010-04-08Merge remote branch 'origin/7.8'Dave Airlie
Conflicts: Makefile configs/default src/mesa/main/version.h
2010-04-08st/dri: Fix setTexBuffer2 with __DRI_TEXTURE_FORMAT_RGB.Chia-I Wu
When the format is __DRI_TEXTURE_FORMAT_RGB, the texture should be treated as if there is no alpha channel.
2010-04-08texenvprogram: fix for ARB_draw_buffers.Dave Airlie
piglit has a test called fbo-drawbuffers, this fails for me on r300g, and fixing the texenv program to use the DATA outputs fixes it. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-07draw llvm: highly reduce the compilation times for draw llvmZack Rusin
our code resets pipe_vertex_buffer's with different offsets when rendering vbo, meaning that we kept creating insane number of shaders even for simple apps e.g. geartrain had 54 shaders and it was taking almost 27 seconds just to compile them. this patch passes pipe_vertex_buffer's to the jit function and lets it to the stride/buffer_offset computation at run time. the slowdown at runtime is largely unnoticable but the we go from 54 shaders to 3, and from 27 seconds to less than 1.
2010-04-07gallivm: Get the format translation logic write.José Fonseca
2010-04-07util: Support fixed formats conversion.José Fonseca
2010-04-07util: Add copyright header to u_half.hJosé Fonseca
2010-04-07util: Remove the half typedef from p_compiler.h.José Fonseca
Unnecessary, and doesn't even guarantee size.