Michel Daenzer
d59c95bfae
intel_winsys: Fix intel_buffer_reference.
Correctly clear the pointer to the old buffer (not sure how this could build at
all before...) and only reference the new one when its pointer is non-NULL.
18 anos atrás
Michel Daenzer
c01a5ec3d6
intel_winsys: Adapt to recent drm changes (s/pipes/planes/).
18 anos atrás
Brian
09fbb3837b
Implement query object interface.
This replaces the temporary occlusion counter functions we had before.
Added new ctx->Driver.WaitQuery() function which should block until the result is ready.
Sketch out some code for vertex transformation feedback counters.
18 anos atrás
Brian
5620d66e36
vertex feedback functions
18 anos atrás
Brian
6275b40063
merge buffer_unreference(), buffer_reference()
18 anos atrás
Brian
051a2a3028
clean-ups, comments
18 anos atrás
Brian
c3f7f3124a
s/xm_softpipe.c/xm_winsys.c/
18 anos atrás
Brian
b06641eb4a
Rename
18 anos atrás
Brian
d56a3adc30
More work on vertex feedback / glRasterPos. Basic rasterpos works now.
18 anos atrás
Brian
b2dfe2be6c
added st_cb_rasterpos.c
18 anos atrás
Brian
bee148cb7d
plug in rasterpos/feedback code
18 anos atrás
Brian
bb193c6d22
glRasterPos function
18 anos atrás
Brian
21c925f491
move FLUSH_CURRENT
18 anos atrás
Brian
63a51aee86
Initial work for post-transformed vertex feedback buffers.
This will be used for:
GL_NV_transform_feedback, or similar GL3 functionality
glRasterPos
GL selection/feedback modes
18 anos atrás
Brian
41ddd76b98
Initial work for post-transform vertex feedback buffers.
This will be used for:
GL_NV_transform_feedback, or GL3 equivalent.
RasterPos
GL select/feedback modes
18 anos atrás
Brian
4c01d498fa
Move guts of glRasterPos down into T&L module.
18 anos atrás
Brian
f2f168d0f8
Move guts of glRasterPos into tnl module, called via new ctx->Driver.RasterPos() function.
18 anos atrás
Brian
9a11a4a8b4
move some protos from draw_vertex.h to draw_private.h
18 anos atrás
Brian
2e21058e3d
Define attrib_format and interp_mode enum typedefs and use where appropriate.
18 anos atrás
Brian
898d68a376
Consolidate vertex-related code in new draw_vertex.c
A few functions which were basically duplicated between softpipe and the
i915 driver are now re-used:
draw_emit_vertex_attr()
draw_compute_vertex_size()
18 anos atrás
Brian
963b8a7449
Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.c
Added a new draw_set_twoside_attributes() function for specifying which
vertex attributes are to be copied/replaced when a polygon is back-facing.
18 anos atrás
Brian
c9e133eab4
fix breakage from prev commit
18 anos atrás
Brian
8f1a0decad
fix unhandled switch/case warning
18 anos atrás
Brian
050837045f
more usage info
18 anos atrás
Brian
f726ffd060
test flat shading w/ clipping
18 anos atrás
Brian
942b9bc5bc
In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors to cpy.
One less dependency on the TGSI_ATTRIB_x flags.
This requires setting the vertex_info->interp_mode[] values in the i915 driver and passing them to draw_set_vertex_attributes().
18 anos atrás
Brian
aaf03b9486
Fix lost edge flags problem when clipping.
In emit_poly() we need to compute header.edgeflags from the vertex
edge flags. Also need to set header.det so later stages can determine
front/back orientation.
18 anos atrás
Brian
2d187672b7
Sketch out per-vertex point size.
The code is all in place, but mostly disabled for now:
In t_vp_build.c, write the VERT_RESULT_PSIZE register
In sp_state_derived.c, need to emit vertex point size if drawing points.
In setup_point() use the point size from the vertex.
18 anos atrás
michal
e62b9241d2
Add p_compiler.h.
18 anos atrás
michal
a6e2b76fb5
Break GL dependencies.
18 anos atrás
michal
6468e68466
Break GL dependencies.
18 anos atrás
michal
86fe5f235b
Break GL dependencies.
18 anos atrás
michal
529c411e40
Break GL dependencies.
18 anos atrás
michal
5c337508fe
Fix ffs().
18 anos atrás
Keith Whitwell
874b926560
Split out vertex shader/cache/fetch functionality from draw_prim.c
18 anos atrás
keithw
b0455958cc
add missing files
18 anos atrás
keithw
3f8b5e3951
fix frag vs vertex typo
18 anos atrás
keithw
4185da4681
add names to tracked state atoms to improve debug
18 anos atrás
Keith Whitwell
07d97e80e6
checkpoint in constant tracking rework
18 anos atrás
keithw
599ba515f9
remove unneeded dirty flag
18 anos atrás
Brian
def8bb784c
code re-org, minor improvements
18 anos atrás
Brian
b4a8175da0
s/==/=/
18 anos atrás
Brian
703140bbd5
Fix fragment program color output mapping (0=depth, 1=color)
18 anos atrás
Brian
29dc25bcfe
check for USE_X86_ASM or SLANG_X86 in st_delete_program()
18 anos atrás
Brian
b7de64c46c
set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenv
18 anos atrás
Brian
59e7bfa1de
Add support for more surface types in sp_surface.c
replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
18 anos atrás
michal
4fd7bc00f0
Hook-up SSE2 to VS.
18 anos atrás
michal
2c7b74725b
Indent. Remove GL dependencies. Simplify. Add rtasm instructions.
18 anos atrás
michal
b5c14b36ad
Add tgsi_sse2.
18 anos atrás
Brian
cd93682530
remove deleted i915_state_fragprog.c
18 anos atrás