summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2010-04-07llvmpipe: Add missing include.José Fonseca
2010-04-07util: Use stubs for the dynamically loaded S3TC functions.José Fonseca
Loosely based on Luca Barbieri's commit 52e9b990a192a9329006d5f7dd2ac222effea5a5.
2010-04-07draw: Fix MSVC build (snprintf->util_snprintf).José Fonseca
2010-04-07util: Remove u_tile.c YCbCr's.José Fonseca
Superseded by u_format_yuv.c. Also PIPE_FORMAT_YUYV's interpretation was inconsistent: it was being interpreted as VYUY.
2010-04-07util: Implement YUV and subsampled RGB format conversion.José Fonseca
2010-04-07draw: init draw->pt.middle.general = NULL just to be safeBrian Paul
This field should be null from the initial calloc() of the draw context, but let's be safe (and improve understanding of the code).
2010-04-07llvmpipe: Fix USE_DRAW_LLVM build. Use lp_build_engine.José Fonseca
2010-04-07r300: Initialize compiler.max_temp_regs for blits.Michel Dänzer
Blits were broken since commit e41a64591bf1a74465bf0adc7d35c991c4cfb4fe ('r300/compiler: make the max number of fragment shader temporaries adjustable').
2010-04-07draw llvm: Remove unnecessary headers.Vinson Lee
2010-04-07gallium: Add files to Makefile.Vinson Lee
This was missed in commit ae69f9fbf0a1aab7186e5b644085a5fe5aea99af. New files from the gallium_draw_llvm merge were added to SCons but not make.
2010-04-06llvmpipe: Remove unused variable.Vinson Lee
2010-04-07nouveau: allow multiple simultaneous maps of a pipe_transferBen Skeggs
I'm not entirely convinced we want this behaviour (the underlying nouveau_bo doesn't support it either), but since certain parts of the mesa state tracker appear to require it lets make it work for now.
2010-04-07nv50: fix assertion that caused piglit texturing/texrect-many to failBen Skeggs
2010-04-06scons: define DRAW_LLVM if we're building itZack Rusin
2010-04-06draw llvm: disable printing of the LLVM irZack Rusin
2010-04-06cell: fix buildMarc Dietrich
compile fix for cell driver. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-06gallium/draw: add additional DRAW_LLVM checkBrian Paul
Fixes build breakage.
2010-04-06Merge branch 'gallium_draw_llvm'Zack Rusin
2010-04-06llvmpipe: Support S3TC when util_format_s3tc_enabled is set.José Fonseca
2010-04-06gallivm: Fallback to calling util_format_description::fetch_float for any ↵José Fonseca
format we can't code LLVM IR directly.
2010-04-06gallivm: Move the global LLVM objects (module, engine, provider, target) ↵José Fonseca
into here.
2010-04-06llvmpipe: use a define to decide whether to use draw llvm pathsZack Rusin
right now disabled by default
2010-04-06draw llvm: disable debugging outputZack Rusin
2010-04-06draw llvm: implement simple pipeline caching using variantsZack Rusin
2010-04-06draw llvm: fix iteration for larger vertex arraysZack Rusin
we were trying to store the outputs starting at the same offset we were using for the input arrays, which was writing beyond the end of the output array.
2010-04-06draw llvm: iterate with the correct stop over the outputsZack Rusin
it's whatever the var step is (4 usually) not an unconditional 1
2010-04-06util: Respect destination stride in pipe_get_tile_swizzle().Michal Krol
2010-04-06draw llvm: fix draw arraysZack Rusin
we don't index within the outputs but only within the inputs
2010-04-06util: Make half float lookup tables constant.José Fonseca
2010-04-06util: Remove the hand written SRGB format support code.José Fonseca
2010-04-06util: Support all SRGB formats.José Fonseca
Based on code from Brian Paul and Michal Krol.
2010-04-06egl_dri2: Flush before context switch and swap buffers.Chia-I Wu
DRI does not define any callback to flush the current context. GLX loader simply calls glFlush. Follow the GLX loader here.
2010-04-06st/dri: Implement DRI image extension.Chia-I Wu
2010-04-06progs/egl: Correctly check GL_OES_EGL_image.Chia-I Wu
The hack was added because GL_OES_EGL_image was not exported in the extension string.
2010-04-06mesa: Add OES_EGL_image to extension list.Chia-I Wu
2010-04-06progs/egl: Fix the blank window in pbuffer demo.Chia-I Wu
EGL requires eglSwapBuffers to be called on the current surface.
2010-04-06progs/egl: Port drawtex and torus to eglut.Chia-I Wu
This brings the demos also to KMS and removes about 400 duplicated lines of code.
2010-04-05st/mesa: reformattingBrian Paul
2010-04-05st/mesa: put fragment wpos code into separate functionBrian Paul
2010-04-06draw llvm: fix loop iteration and vertex header offsetsZack Rusin
the loop was doing a NE comparison which we could have skipped if the prim was triangles (3 verts) and our step was 4 verts. also fix offsets in conversion to aos.
2010-04-06egl: Unbind the old context in _eglBindContext.Chia-I Wu
The last commit incorrectly moved the code under an "else".
2010-04-06egl: Fix eglMakeCurrent with different surfaces.Chia-I Wu
0a82fadcdd0b6ebbc345c7c302da0e0efce40a98 seems to trigger a bug in _eglBindContext. Rework the logics yet again. It is simpler, and hopefully correct this time.
2010-04-06st/es: Remove unnedded --whole-archive.Chia-I Wu
All public functions in the archives are either directly referenced or indirectly referenced by _glapi_get_proc_address. There is no need for --whole-archive.
2010-04-05scons: Link expat in dri builds.Vinson Lee
Fixes this i915g error. i915_dri.so: undefined symbol: XML_ParserCreate