summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers.Chia-I Wu2010-04-1028-140/+168
| | | | | | 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.
* st/egl: Fix a typo in determining the render buffer.Chia-I Wu2010-04-101-1/+1
|
* llvmpipe: fix transposed stencil ref / values comparisonBrian Paul2010-04-091-1/+1
|
* Merge branch '7.8'Brian Paul2010-04-092-23/+22
|\
| * mesa: fix instruction indexing bugsBrian Paul2010-04-091-2/+2
| | | | | | | | | | | | | | We were looping over instructions but only looking at the 0th instruction's opcode. Fixes fd.o bug 27566.
| * st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) regressionBrian Paul2010-04-081-21/+20
| | | | | | | | | | | | | | | | | | | | 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
| * intel: Call intel_prepare_render() in intelClear()Li Peng2010-04-082-2/+4
| | | | | | | | | | Make sure we have up to date buffers before we start looking at the tiling bits to determine how to clear.
* | st/mesa: new assertions to check array indexesBrian Paul2010-04-091-0/+3
| |
* | util: Fix typo in earlier commit.José Fonseca2010-04-091-1/+1
| |
* | util: ubyte_to_float and float_to_ubyte whenever possible.José Fonseca2010-04-091-0/+7
| | | | | | | | | | | | More accurate results. We should probably generalize these functions for more cases.
* | util: Get all depth stencil tests passing.José Fonseca2010-04-093-145/+203
| | | | | | | | | | Note the tests don't test all the paths, in particular stride, and ensuring the old value is preserved.
* | util: Add missing break statement.José Fonseca2010-04-091-0/+1
| |
* | util: Use consistent symbols in pack generator.José Fonseca2010-04-091-16/+16
| |
* | util: Reorder format tests -- group by format.José Fonseca2010-04-091-1/+0
| |
* | util: Add dedicated depth-stencil packing/unpacking functions.José Fonseca2010-04-0915-261/+1437
| | | | | | | | | | | | | | Depth-stencil manually written given that each one is very close to be a special case. u_format_zs.c's still untested.
* | st/xorg: Fix thinko.Corbin Simpson2010-04-091-0/+1
| |
* | nouveau: Import latest nouveau_class.h from renouveauBen Skeggs2010-04-093-2/+9027
| | | | | | | | And fix nv50_screen.c to compile against the updated header.
* | st/xorg: Fix bad paramf.Corbin Simpson2010-04-091-3/+1
| | | | | | | | Should be an integer param, according to docs.
* | r300g: Fill out dummy fence functions.Corbin Simpson2010-04-091-0/+24
| | | | | | | | xorg st needs them.
* | util: Include u_debug for debug_print_format.Corbin Simpson2010-04-091-0/+1
| | | | | | | | Caused fun linker errors on r600g.
* | st/egl: Move probe interface to native_probe.h.Chia-I Wu2010-04-092-37/+68
| | | | | | | | native.h is getting a little messy over time.
* | st/egl: Remove pbuffer from the native interface.Chia-I Wu2010-04-098-170/+105
| | | | | | | | | | A pbuffer is an EGL resource. It does not need a native display to create.
* | util: Set DXTN_LIBNAME to libtxc_dxtn.dylib on Mac OS X.Vinson Lee2010-04-091-0/+2
| |
* | util: Support PIPE_FORMAT_B4G4R4X4_UNORM and PIPE_FORMAT_R8G8B8X8_UNORM.José Fonseca2010-04-082-0/+16
| |
* | gallium: Add a couple more of D3D9 formats forgotten earlier.José Fonseca2010-04-081-0/+2
| |
* | util: (Almost) universal format translation function.José Fonseca2010-04-082-0/+180
| | | | | | | | Untested.
* | util: Describe, implement, and test the new D3D9 color formats.José Fonseca2010-04-087-7/+450
| |
* | gallium: Add missing D3D9 color formats.José Fonseca2010-04-081-0/+7
| |
* | util: is_array/mixed/etc is only meaningful for plain formats.José Fonseca2010-04-081-0/+10
| |
* | util: Keep const keyword when unpacking formats.José Fonseca2010-04-081-2/+2
| |
* | util: Reorder the code generated function so that they are grouped by format.José Fonseca2010-04-081-11/+7
| | | | | | | | Makes it easier to copy and paste.
* | intel: Call intel_prepare_render() in intelClear()Li Peng2010-04-082-2/+4
| | | | | | | | | | Make sure we have up to date buffers before we start looking at the tiling bits to determine how to clear.
* | draw llvm: hook up the generated function into the draw elts pathZack Rusin2010-04-081-33/+7
| | | | | | | | | | | | 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)
* | draw: Fix vertex buffer indexation.José Fonseca2010-04-081-1/+1
| |
* | util: Don't call util_dl_close(library) when util_format_s3tc_init is ↵José Fonseca2010-04-081-1/+0
| | | | | | | | | | | | | | | | successful." Otherwise the library will be unloaded and function pointers become invalid. This reverts commit bc2bc0306e4dd8c56bd66a8aabf2433f6689653d.
* | util: util_dl_close(library) before exiting util_format_s3tc_init.Vinson Lee2010-04-081-0/+2
| |
* | draw llvm: Remove unnecessary header.Vinson Lee2010-04-081-1/+0
| |
* | llvmpipe: Remove unnecessary header.Vinson Lee2010-04-081-1/+0
| |
* | Merge remote branch 'origin/7.8'Dave Airlie2010-04-083-20/+34
|\ \ | |/ | | | | | | | | | | Conflicts: Makefile configs/default src/mesa/main/version.h
| * texenvprogram: fix for ARB_draw_buffers.Dave Airlie2010-04-081-15/+28
| | | | | | | | | | | | | | 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>
| * softpipe: index the correct blend/mask state indexBrian Paul2010-04-051-2/+4
| | | | | | | | | | | | | | | | Need to check pipe_blend_state::independent_blend_enable to determine which render target/index to use when checking blend enable and colormask state. This is part of the fix for piglit/fbo-drawbuffers
| * mesa: set version string to 7.8.1Ian Romanick2010-04-051-2/+2
| |
| * mesa: update_arrays() depends on program state.Henri Verbeet2010-04-051-3/+2
| | | | | | | | | | | | It uses ctx->VertexProgram._Current. Signed-off-by: Brian Paul <brianp@vmware.com>
* | st/dri: Fix setTexBuffer2 with __DRI_TEXTURE_FORMAT_RGB.Chia-I Wu2010-04-081-1/+17
| | | | | | | | | | When the format is __DRI_TEXTURE_FORMAT_RGB, the texture should be treated as if there is no alpha channel.
* | draw llvm: highly reduce the compilation times for draw llvmZack Rusin2010-04-073-67/+56
| | | | | | | | | | | | | | | | | | | | 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.
* | gallivm: Get the format translation logic write.José Fonseca2010-04-071-5/+19
| |
* | util: Support fixed formats conversion.José Fonseca2010-04-073-12/+80
| |
* | util: Add copyright header to u_half.hJosé Fonseca2010-04-071-0/+27
| |
* | util: Remove the half typedef from p_compiler.h.José Fonseca2010-04-072-6/+4
| | | | | | | | Unnecessary, and doesn't even guarantee size.
* | llvmpipe: Add missing include.José Fonseca2010-04-071-0/+1
| |