summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915
AgeCommit message (Collapse)Author
2010-09-30gallium/i915: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-13i915g: Fix 'control reaches end of non-void function' warning.Vinson Lee
Fixes the following GCC warning. i915_screen.c: In function 'i915_get_shader_param': i915_screen.c:184: warning: control reaches end of non-void function
2010-09-13i915: Fix "implicit declaration of function 'draw_get_shader_param'" warning.Vinson Lee
Fixes the following GCC warning. i915_screen.c: In function 'i915_get_shader_param': i915_screen.c:147: warning: implicit declaration of function 'draw_get_shader_param'
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-08-25gallium: Use draw_set_index_buffer and others.Chia-I Wu
Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range.
2010-08-20gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT tooLuca Barbieri
Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed.
2010-08-20galahad, i915g: Copy over constant buffer index check.Corbin Simpson
2010-08-20galahad, i915g: Move over a few state asserts.Corbin Simpson
2010-07-29gallium: Avoid void pointer arithmetic.Chia-I Wu
This fixes fdo bug #29286.
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-22i915g: Set total_nblocksy in from_handleJakob Bornecrantz
2010-07-22i915g: Add some debug prints in texture codeJakob Bornecrantz
2010-07-22i915g: Ifdef out debug code on non-debug buildsJakob Bornecrantz
2010-07-04i915g: Remove unnecessary header.Vinson Lee
2010-07-04i915g: Minor cleanupsJakob Bornecrantz
2010-07-04i915g: Make batchbuffer flush function not be inlineJakob Bornecrantz
2010-07-04i915g: Rename texture state to map stateJakob Bornecrantz
2010-07-04i915g: Move fragment state to its own fileJakob Bornecrantz
2010-07-04i915g: Move static state to its own fileJakob Bornecrantz
2010-07-04i915g: Don't dirty dynamic state if it hasn't changedJakob Bornecrantz
2010-07-04i915g: Don't flush after blitJakob Bornecrantz
2010-07-04i915g: Don't flush empty batchbuffersJakob Bornecrantz
2010-06-28Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz
Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c
2010-06-22i915g: Revert debug hunks from last commitJakob Bornecrantz
2010-06-22i915g: Reduce state emission by using a index biasJakob Bornecrantz
2010-06-22i915g: Drop fifo code in vbufJakob Bornecrantz
2010-06-22i915g: Change state code in vbuf codeJakob Bornecrantz
2010-06-22i915g: Rework debug print codeJakob Bornecrantz
2010-06-22i915g: Switch to state atomsJakob Bornecrantz
2010-06-22i915g: i915_state_sampler.c code styleJakob Bornecrantz
2010-06-22i915g: i915_state_immediate.c code styleJakob Bornecrantz
2010-06-22i915g: i915_state_dynamic.c code styleJakob Bornecrantz
2010-06-11scons: Disable i915g build if using MSVC.Vinson Lee
i915g uses C99 constructs that are not supported by MSVC.
2010-06-06i915g: Move bootstrap code to targetsJakob Bornecrantz
2010-06-05i915g: fix bug in ds clear logic (still disabled)Roland Scheidegger
2010-06-03Merge branch 'gallium-newclear'Roland Scheidegger
Conflicts: src/gallium/state_trackers/python/p_context.i
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-29i915g: Move pci id to winsys structJakob Bornecrantz
2010-05-29i915g: adapt to clear interface changesRoland Scheidegger
should in theory support separate depth/stencil clears (untested). Also fix some format omissions?
2010-05-21Merge branch 'gallium-msaa'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
2010-05-21Merge branch 'gallium-front-ccw'Keith Whitwell
2010-05-19i915g: remove unused flip parameterRoland Scheidegger
2010-05-18gallium: implement set_sample_mask() in all driversRoland Scheidegger
prevents segfault when state trackers try to set default mask. Other option would be to make this required only for drivers supporting multisampling, but this seems more clean. Only dummy implementations (for normal drivers) provided (no driver supports multisampling yet neither).
2010-05-17i915g: adapt to interface changesRoland Scheidegger
2010-05-14gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell
Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
2010-05-12gallium: Make PIPE_CAP_xxx enums.José Fonseca
2010-05-05gallium: rename draw() to draw_elements() in vbuf codeBrian Paul
Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions.
2010-05-17gallium: EXT_timer_query support.Mathias Fröhlich
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-04-20gallium: replace pipe_resource::_usage with pipe_resource::usageBrian Paul