Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-15 | llvmpipe: asst code changes in lp_state_fs.c | Brian Paul | |
2010-01-15 | llvmpipe: put labels on some value refs | Brian Paul | |
2010-01-15 | llvmpipe: add extra flags to DEFINES, no CFLAGS | Brian Paul | |
Doesn't make any real difference but -D flags are put into DEFINES everywhere else. | |||
2010-01-14 | llvmpipe: implement scissor testing | Brian Paul | |
The scissor test is implemented as another per-quad operation in the JIT code. The four scissor box params are passed via the lp_jit_context. In the JIT code we compare the quad's x/y coords against the clip bounds and create a new in/out mask that's AND'd with the main quad mask. Note: we should also do scissor testing in the triangle setup code to improve efficiency. That's not done yet. | |||
2010-01-14 | llvmpipe: minor comment update | Brian Paul | |
2010-01-14 | llvmpipe: clean-up, fixing up frame dump/debug code | Brian Paul | |
2010-01-14 | gallium/util: added debug_dump_texture() and ppm output | Brian Paul | |
Now we can get dump debug images on Linux too. | |||
2010-01-14 | llvmpipe: remove redundant code in llvmpipe_set_blend_color() | Brian Paul | |
2010-01-14 | llvmpipe: assorted clean-ups in texture code | Brian Paul | |
2010-01-13 | llvmpipe: use one loop in lp_rast_clear_zstencil() | Brian Paul | |
This is just a tiny bit faster. | |||
2010-01-13 | llvmpipe: optimize lp_rast_clear_color() for non-gray colors | Brian Paul | |
This makes a big difference in progs that clear to a non-gray color. Some demos are 30-50% faster. | |||
2010-01-13 | llvmpipe: minor assorted clean-ups | Brian Paul | |
2010-01-13 | llvmpipe: check render targets before other textures | Brian Paul | |
2010-01-13 | llvmpipe: also check render target textures in lp_setup_is_texture_referenced() | Brian Paul | |
2010-01-13 | llvmpipe: indentation fixes | Brian Paul | |
2010-01-13 | llvmpipe: re-get scene pointer after flushing | Brian Paul | |
2010-01-13 | llvmpipe: check for texture usage in all scenes | Brian Paul | |
2010-01-13 | llvmpipe: add scene texture referencing code | Brian Paul | |
2010-01-13 | llvmpipe: added scene functions for texture reference counting | Brian Paul | |
When a texture is used in the scene we add it to a list of texture references. The lp_scene_is_textured_referenced() function tells us if a texture is referenced by the scene. | |||
2010-01-13 | llvmpipe: comments | Brian Paul | |
2010-01-13 | llvmpipe: comments | Brian Paul | |
2010-01-13 | llvmpipe: added llvmpipe_texture_const() | Brian Paul | |
2010-01-13 | llvmpipe: minor comment upgrades | Brian Paul | |
2010-01-13 | llvmpipe: Opaque shader implies complete colormask too. | José Fonseca | |
2010-01-13 | llvmpipe: Reset the bin when shading a whole tile with an opaque shader. | José Fonseca | |
2010-01-13 | llvmpipe: add bin debugger | Keith Whitwell | |
Adjust definition of empty_bin according to what's actually in empty bins. We often have a state packet before/after load commands. Still need to do something about the fence packets. | |||
2010-01-13 | llvmpipe: implement lp_rast_load_zstencil | Keith Whitwell | |
Load zbuffer contents for binned scenes that don't start with a clear and which have a bound zbuffer. | |||
2010-01-13 | llvmpipe: added debug warning | Brian Paul | |
2010-01-13 | llvmpipe: comments and LLVMValueRef naming | Brian Paul | |
2010-01-13 | llvmpipe: tweak subpixel_snap() arithmetic | Brian Paul | |
This adjustment fixes some rasterization differences between llvmpipe and softpipe (and other renderers). | |||
2010-01-13 | llvmpipe: improve empty-bin test further | Keith Whitwell | |
Remove unused param, add comments. Thanks to Brian for review. | |||
2010-01-13 | llvmpipe: improve empty-bin test | Keith Whitwell | |
We emit at most two clear packets (color and z respectively). | |||
2010-01-13 | llvmpipe: quick hack to short-circuit empty bins | Keith Whitwell | |
2010-01-12 | llvmpipe: fix indentation, comment typo | Brian Paul | |
2010-01-12 | llvmpipe: debug checks: make sure scene is empty at key points | Brian Paul | |
2010-01-12 | llvmpipe: assert that we're putting data into a valid bin | Brian Paul | |
2010-01-12 | llvmpipe: clamp maxx,maxy to framebuffer size (in terms of tiles) | Brian Paul | |
In some corner cases the right-most / bottom-most vertex can be right on the edge of the framebuffer. Because the maxx, maxy vals are computed with a series of float/int, pixel/tile transformations we can end up with maxx >= scene->x_tiles or maxy >= scene->y_tiles. This leads to putting data into bins that never get processed, or reset. This becomes stale data that can lead to segfaults. Clamping fixes this. | |||
2010-01-12 | llvmpipe: added lp_scene_is_empty() | Brian Paul | |
2010-01-12 | llvmpipe: silence unused var warnings | Brian Paul | |
2010-01-12 | llvmpipe: remove unused #define | Brian Paul | |
2010-01-11 | llvmpipe: disable the all in/out test code for now | Brian Paul | |
It's still faster not to try to special case the "all pixels are known to be inside the triangle" case. | |||
2010-01-11 | llvmpipe: move, update comments | Brian Paul | |
2010-01-11 | llvmpipe: refactor generate_fragment() code | Brian Paul | |
This will make it easier to generate multiple versions of the fragment code per variant. | |||
2010-01-11 | llvmpipe: do the all-in test on the scalar c0 instead of vector c0 | Brian Paul | |
This still isn't faster, but committing it for posterity. | |||
2010-01-11 | llvmpipe: force constant interpolation of flatshade colors | Keith Whitwell | |
Nice speedup for gears. | |||
2010-01-11 | llvmpipe: remove opencoded constant | Keith Whitwell | |
2010-01-11 | llvmpipe: remove scissor cliprect derived state | Keith Whitwell | |
Was previously calculating the intersection of the scissor rectangle and the framebuffer dimensions. Rendering is already restricted to framebuffer dimensions by other means, so scissor testing (when implemented) can just use the scissor state directly. | |||
2010-01-10 | llvmpipe: initial mrt support | Keith Whitwell | |
Non-mrt apps work, and the code looks correct, but not many mrt test apps handy atm... | |||
2010-01-08 | llvmpipe: optimize case when all four pixels are inside the triangle | Brian Paul | |
When the incoming c0,c1,c2 values are equal to INT_MIN it means that all pixels are inside the triangle. Thus we can skip the detailed pixel inside/outside triangle tests. Use the new lp_build_if()/endif() functions to generate the branching code. The code is disabled ATM however because it's actually a little slower than the original code. A little more tuning may fix that though... | |||
2010-01-08 | llvmpipe: fix more if/else/endif design bugs | Brian Paul | |