summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-04gallivm: implement execution mask for scatter storesBrian Paul
2010-11-04gallivm: added lp_elem_type()Brian Paul
2010-11-04gallivm: add pixel offsets in scatter storesBrian Paul
We want to do the scatter store to sequential locations in memory for the vector of pixels we're processing in SOA format.
2010-11-04gallivm: added debug code to dump temp registersBrian Paul
2010-11-04graw/gdi: Fix window dimensions.Michal Krol
The requested window size is of the client area, so account for surrounding borders and bars when creating the window.
2010-11-04scons: Hook-up graw-gdi target.Michal Krol
2010-11-04graw/gdi: Initial commit.Michal Krol
2010-11-04r300g: Do not use buf param before checking for NULL.Guillermo S. Romero
Commit 8dfafbf0861fe3d2542332658dd5493851053c78 forgot to update r300g. There is a buf == NULL check, but buf is used before for var init. Tested-by: Guillermo S. Romero <gsromero@infernal-iceberg.com>
2010-11-04tgsi/build: Reduce interface clutter.Michal Krol
Make private those functions that are used internally only.
2010-11-04tgsi/exec: Get rid of obsolete condition codes.Michal Krol
2010-11-04tgsi/exec: Cleanup the remaining arithmetic instructions.Michal Krol
As a result remove some nasty macros.
2010-11-03dri/nouveau: Silence uninitialized variable warning.Vinson Lee
Fixes this GCC warning. nouveau_vbo_t.c: In function 'nv10_vbo_render_prims': nouveau_render_t.c:161: warning: 'max_out' may be used uninitialized in this function nouveau_render_t.c:161: note: 'max_out' was declared here
2010-11-03gallivm: add some LLVM var labelsBrian Paul
2010-11-03gallivm: implement scatter stores into temp register fileBrian Paul
Something is not quite right, however. The piglit tests mentioned in fd.o bug 31226 still don't pass.
2010-11-03ir_reader: Fix some potential NULL pointer dereferences.Kenneth Graunke
Found by inspection.
2010-11-03ir_reader: Remove useless error check.Kenneth Graunke
It's already been determined that length == 3, so clearly swiz->next is a valid S-Expression.
2010-11-03ir_reader: Return a specific ir_dereference variant.Kenneth Graunke
There's really no reason to return the base class when we have more specific information about what type it is.
2010-11-03glsl: Don't print a useless space at the end of an S-Expression list.Kenneth Graunke
We really only want to print spaces -between- elements, not after each element. This cleans up error messages from IR reader, making them (mildly) easier to read.
2010-11-03Refresh autogenerated file builtin_function.cpp.Kenneth Graunke
2010-11-03glsl/builtins: Clean up some ugly autogenerated code in atan.Kenneth Graunke
In particular, calling the abs function is silly, since there's already an expression opcode for that. Also, assigning to temporaries then assigning those to the final location is rather redundant.
2010-11-03glsl/builtins: Rename 'x' to 'y_over_x' in atan(float) implementation.Kenneth Graunke
For consistency with the vec2/vec3/vec4 variants.
2010-11-03r600g: Swap the util_blitter_destroy call order.José Fonseca
Trivial change that avoids a segmentation fault when the blitter state happens to be bound when the context is destroyed. The free calls should probably removed altogether in the future -- the responsibility to destroy the state atoms lies with whoever created it, and the safest thing for the pipe driver is to not touch any bound state in its destructor.
2010-11-03mesa: code to unpack RGBA as uintsBrian Paul
2010-11-03xorg/vmwgfx: Link libkms when available.José Fonseca
2010-11-03st/xorg: Detect libkms with scons too.José Fonseca
2010-11-03st/xorg: Add missing \n to error message.José Fonseca
2010-11-03xorg/vmwgfx: Add missing source file to SConscript.José Fonseca
2010-11-03intel: Remove leftover dri1 locking fields in the context.Eric Anholt
2010-11-03intel: Remove duplicated teximage miptree to object miptree promotion.Eric Anholt
intel_finalize_mipmap_tree() does this optimization too, just more aggressively.
2010-11-03intel: Avoid taking logbase2 of several things that we max.Eric Anholt
logbase2(max(width, height, depth)) == max(logbase2(width), logbase2(height), logbase2(depth)), but in 60 bytes less code.
2010-11-03i965: Remove dead intel_structs.h file.Eric Anholt
2010-11-03intel: Remove the magic unaligned memcpy code.Eric Anholt
In testing on Ironlake, the histogram of clocks/pixel results for the system memcpy and magic unaligned memcpy show no noticeable difference (and no statistically significant difference with the 5510 samples taken, though the stddev is large due to what looks like the cache effects from the different texture sizes used).
2010-11-03intel: Annotate debug printout checks with unlikely().Eric Anholt
This provides the optimizer with hints about code hotness, which we're quite certain about for debug printouts (or, rather, while we developers often hit the checks for debug printouts, we don't care about performance while doing so).
2010-11-03egl/gdi: fix typo: xsurf->gsurfBrian Paul
2010-11-03evergreeng: set hardware pixelcenters according to gl_rasterization_rulesKeith Whitwell
2010-11-03evergreeng: respect linewidth state, use integer widths onlyKeith Whitwell
Discard fractional bits from linewidth. This matches the nvidia closed drivers, my reading of the OpenGL SI and current llvmpipe behaviour. It looks a lot nicer & avoids ugliness where lines alternate between n and n+1 pixels in width along their length. Also fix up r600g to match.
2010-11-03r600g: don't call debug_get_bool_option for tiling more than onceKeith Whitwell
2010-11-03evergreeng: protect against null constant buffersKeith Whitwell
Should do better than this and actually unbind the buffer, but haven't yet gotten it to work.
2010-11-03st/egl: Use native_display_buffer for EGL_MESA_drm_image.Chia-I Wu
native_display_buffer is just a wrapper to resource_{from,get}_handle for drm backend.
2010-11-03st/egl: Add native_display_buffer interface.Chia-I Wu
The interface is a wrapper to pipe_screen::resource_from_handle and pipe_screen::resource_get_handle. A winsys handle is platform-dependent.
2010-11-03st/egl: Add extern "C" wrapper to native.h.Chia-I Wu
This allows a backend to be written in C++.
2010-11-03r600g: set hardware pixel centers according to gl_rasterization_rulesKeith Whitwell
These were previously being left in the default (D3D) mode. This mean that triangles were drawn slightly incorrectly, but also because this state is relied on by the u_blitter code, all blits were half a pixel off.
2010-11-03r600g: remove unused flink, domain fields from r600_resourceKeith Whitwell
These were being set but not used anywhere.
2010-11-03r600g: use a buffer in GTT as intermediate on texture up and downloadsKeith Whitwell
Generalize the existing tiled_buffer path in texture transfers for use in some non-tiled up and downloads. Use a staging buffer, which the winsys will restrict to GTT memory. GTT buffers have the major advantage when they are mapped, they are cachable, which is a very nice property for downloads, usually the CPU will want to do look at the data it downloaded.
2010-11-03r600g: propogate resource usage flags to winsys, use to choose bo domainsKeith Whitwell
This opens the question of what interface the winsys layer should really have for talking about these concepts. For now I'm using the existing gallium resource usage concept, but there is no reason not use terms closer to what the hardware understands - eg. the domains themselves.
2010-11-03r600g: propagate usage flags in texture transfersKeith Whitwell
2010-11-03st/egl: Add support for EGL_MATCH_NATIVE_PIXMAP.Chia-I Wu
Added for completeness. It makes sense to have such mechanism, but I am not aware of any user of that..
2010-11-03st/egl: Add support for swap interval and swap behavior.Chia-I Wu
The value of EGL_MAX_SWAP_INTERVAL and whether EGL_SWAP_BEHAVIOR_PRESERVED_BIT is set will depend on the native backend used.
2010-11-03st/egl: Remove flush_frontbuffer and swap_buffers.Chia-I Wu
They are deprecated by native_surface::present and there is no user of them.
2010-11-03d3d1x: Use native_surface::present.Chia-I Wu
Replace native_surface::flush_frontbuffer and native_surface::swap_buffers calls by native_surface::present calls.