summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/rbug
AgeCommit message (Collapse)Author
2010-09-22rbug: fix rbug when contexts are being destroyedZack Rusin
2010-09-13rbug: Fix 'assignment from incompatible pointer type' warning.Vinson Lee
This is a follow-up to commit a508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d. Fixes the following GCC warning. rbug_screen.c: In function 'rbug_screen_create': rbug_screen.c:331: warning: assignment from incompatible pointer type
2010-09-14gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3)Luca Barbieri
Changes in v3: - Also change trace, which I forgot about Changes in v2: - No longer adds tessellation shaders Currently each shader cap has FS and VS versions. However, we want a version of them for geometry, tessellation control, and tessellation evaluation shaders, and want to be able to easily query a given cap type for a given shader stage. Since having 5 duplicates of each shader cap is unmanageable, add a new get_shader_param function that takes both a shader cap from a new enum and a shader stage. Drivers with non-unified shaders will first switch on the shader and, within each case, switch on the cap. Drivers with unified shaders instead first check whether the shader is supported, and then switch on the cap. MAX_CONST_BUFFERS is now per-stage. The geometry shader cap is removed in favor of checking whether the limit of geometry shader instructions is greater than 0, which is also used for tessellation shaders. WARNING: all drivers changed and compiled but only nvfx tested
2010-07-29gallium: Keep only pipe_context::draw_vbo.Chia-I Wu
That is, remove pipe_context::draw_arrays, pipe_context::draw_elements, pipe_context::draw_arrays_instanced, pipe_context::draw_elements_instanced, pipe_context::draw_range_elements.
2010-07-29gallium: Implement draw_vbo and set_index_buffer for all drivers.Chia-I Wu
Some drivers define a generic function that is called by all drawing functions. To implement draw_vbo for such drivers, either draw_vbo calls the generic function or the prototype of the generic function is changed to match draw_vbo. Other drivers have no such generic function. draw_vbo is implemented by calling either draw_arrays and draw_elements. For most drivers, set_index_buffer does not mark the state dirty for tracking. Instead, the index buffer state is emitted whenever draw_vbo is called, just like the case with draw_elements. It surely can be improved.
2010-07-12os, rbug: remove PIPE_THREAD_HAVE_CONDVARnobled
The new default implementation of pipe_condvar makes it unnecessary.
2010-06-08gallium: adjust the query interface to support custom typesZack Rusin
we need to change it to support composite types
2010-06-03gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger
more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
2010-05-29rbug: adapt to clear interface changesRoland Scheidegger
2010-05-26rbug: add set sample mask passthrough.Dave Airlie
This at least stops rbug segfaulting at startup. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-05-21rbug: fix breakage due to interface changesRoland Scheidegger
2010-05-17rbug: remove extra semicolonBrian Paul
2010-05-12rbug: Update and add READMEsJakob Bornecrantz
2010-05-12rbug: Add to all targets that link against traceJakob Bornecrantz
Also added calls to the create function in target helpers and in tr_drm.c the latter being a hack and should be replaced with the wrap screen target helper. But at least this way we don't regress.
2010-05-12rbug: Use container of macroJakob Bornecrantz
2010-05-12rbug: Fix draw blockingJakob Bornecrantz
2010-05-12rbug: Fix sampler views and surfaces in context infoJakob Bornecrantz
2010-05-12rbug: Fix shadersJakob Bornecrantz
2010-05-12rbug: Break out of traceJakob Bornecrantz