Brian
d45dd5672a
added border_color to sampler state
18 年之前
Brian
8a868919b5
Improved pipe_region/surface_reference() functions
Now dereferences the old object first.
Target object may be NULL to clear the pointer.
18 年之前
Brian
c0bb4ba9e6
Rework of shader constant buffers.
They're now totally independent of the actual shaders.
Also, implemented in terms of pipe_buffer_handles/objects.
18 年之前
Keith Whitwell
d1fbf621dc
Import some sampler state code.
Doesn't compile, isn't built.
18 年之前
Brian
5ac22877c9
code movement, null ptr checks, etc
18 年之前
Brian
e7f814e034
remove unneeded include
18 年之前
Brian
4ed87bf229
remove unneeded includes
18 年之前
Brian
0e87617255
Obsolete.
18 年之前
Brian
c8c616d33c
don't need i915_fpc.c
18 年之前
Brian
2154d1c5ac
implement negation for src operands
18 年之前
Keith Whitwell
d021381d4e
Clear all the dirtyflag words
18 年之前
Keith Whitwell
9606cb15e7
Remove duplicate i915 shader disassembler
18 年之前
michal
5c086518f1
Headers.
Fix alignment issues.
Silence compiler warnings.
More debugging code.
18 年之前
michal
eb51761b82
Silence compiler warnings.
18 年之前
michal
044c19e6b3
Define __MSC__.
Make ALIGN macros more error-proof.
18 年之前
Brian
af3d6c83d2
temporarily call _mesa_enable_sw_extensions() so we can run more test progs without failing the extension checks
18 年之前
Brian
88e12872fa
comments
18 年之前
Brian
0d9bcdbeb1
Fragment shader translation seems to basically work now. More testing needed.
18 年之前
keithw
d70d41eefc
fix cut and paste
18 年之前
Keith Whitwell
ce4659e92a
First pass at a fallback concept for pipe devices.
Creates a new pipe driver that feeds commands to either a hardware or
software pipe depending on fallback state.
Untested concept checkpoint. At this point it compiles.
18 年之前
Keith Whitwell
93c7173ed2
Add missing #include
18 年之前
Brian
d97f90b93e
added fpc sources
18 年之前
Brian
3af1f3b922
Initial check-in of i915 fragment program translation (from tgsi).
18 年之前
Brian
d640198b2d
Set viewport state so viewport matches window dims.
trivial/readpixels.c works again.
18 年之前
Brian
3cb6fc3f9a
Move vertex transformation/shader code into draw_prim.c to avoid need for vs_flush() function pointer.
18 年之前
Brian
3772441c49
move ALIGN16-related macros into p_compiler.h
18 年之前
Brian
79b8f97457
include draw_context.h
18 年之前
Brian
d054331c47
Update glClear and glDrawPixels code.
Since they're implemented by drawing quadrilaterals (and go through vertex
transformation and viewport mapping) we don't have to invert Y coords.
18 年之前
Brian
c1fbd72adc
minor clean-ups
18 年之前
Brian
3239532795
Use new draw_arrays() code.
The i915 driver now uses the software-based vertex shader interpreter
and draws everything through pipe->draw_arrays().
18 年之前
Brian
766fa51537
remove some of the #ifndef MESA stuff
18 年之前
Brian
ddf8ba2d1b
Obsolete
18 年之前
Brian
9d9e838974
remove dead code related to vf module
18 年之前
Brian
8175eaa3b4
Checkpoint: remove more of the old draw_vb() code.
18 年之前
Brian
51da8ee85e
Start to remove the temporary draw_vb() and draw_vertices() code.
new st_draw_vertices() utility used by glClear and glDrawPixels
18 年之前
Brian
0a262998ef
Move guts of vertex array drawing into the 'draw' module.
18 年之前
Brian
a83b72a672
implement DrawElements, still some rough spots
18 年之前
Brian
1dd55a77c8
implement draw_elements()
18 年之前
Brian
730df7662f
don't map element buffer in _mesa_validate_DrawElements() unless necessary
18 年之前
Brian
7d14c3e538
remove debug printf
18 年之前
Brian
98d30cb2d4
call draw_trim()
18 年之前
Brian
904163e4e9
fix cache overflow bug in get_vertex()
18 年之前
Brian
f252974121
fix VBO clean-up in vbo_exec_vtx_destroy()
18 年之前
Brian
14327705fd
Fix some draw_arrays issues.
We weren't mapping all the needed vertex array buffers.
Move array state that was temporarily in draw_context to softpipe_context.
Remove a bunch of dead code.
18 年之前
Brian
0453760a0b
more work on vertex shaders, now using vertex shaders instead of TnL module by default
18 年之前
Brian
1f026d98dd
Create a default vertex attribute buffer which mirrors ctx->Current.Attrrib[]
Used when the vertex shader references attributes which aren't present in VBOs.
18 年之前
Brian
b3f067e859
added tnl state atom
18 年之前
Brian
7274e14d4a
fix xm_buffer_data
18 年之前
Brian
8339ca7d1e
replace memcpy() with assignment, better type safety
18 年之前
Brian
74e58c5b82
added CLIP_x_SHIFT vals
18 年之前