Roland Scheidegger
0b659dee69
i965g: adapt to stencil ref changes
while there also potentially fix logic ops (were never enabled before)
15 vuotta sitten
Roland Scheidegger
388109c04d
i915g: adapt to stencil ref changes
15 vuotta sitten
Roland Scheidegger
263406addb
gallium: give pipe_stencil_ref its own cso_save/restore functions
seems cleaner, and other dynamic state like viewport is handled that way too
15 vuotta sitten
Roland Scheidegger
b75adabc89
gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alpha
makes life of state trackers easier
15 vuotta sitten
Roland Scheidegger
9381a2777c
svga: adapt to stencil ref changes
also add some disabled code to handle blendcolor?
15 vuotta sitten
Roland Scheidegger
6a509ec6dd
llvmpipe: adapt to stencil ref changes
since the driver doesn't actually handle stencil yet the code won't do much.
15 vuotta sitten
Roland Scheidegger
4ea2f61e5a
identity: adapt to stencil ref changes
15 vuotta sitten
Roland Scheidegger
5365d41895
fo: adapt to stencil ref changes
15 vuotta sitten
Roland Scheidegger
dfc02e3784
st/mesa: more fixes for stencil ref change.
compiles. Might need to do something to make it possible to save/restore
stencil ref.
15 vuotta sitten
Roland Scheidegger
0786f38b46
trace: adapt to stencil ref changes
15 vuotta sitten
Roland Scheidegger
658e94578f
softpipe: adapt to stencil ref changes
15 vuotta sitten
Roland Scheidegger
903bb045b5
gallium: adapt state trackers to stencil ref change
15 vuotta sitten
Roland Scheidegger
98f8c4d0bb
docs: fix up documentation for stencil ref value changes
Also fix and clarify depth/stencil/alpha documentation a bit.
15 vuotta sitten
Roland Scheidegger
c59446a493
gallium: make valuemask/writemask in pipe_stencil_state bitfield members
More consistent with other state data, might allow some compilers to pack
the struct better (doesn't matter for gcc).
15 vuotta sitten
Roland Scheidegger
1a859ecf4a
gallium: don't put stencil ref value in pipe_depth_stencil_alpha_state
This will make driver's life a bit harder, however it makes sense that stencil
reference value is not part of the pipe_depth_stencil_alpha_state, because
it often (there are some algorithms which require this) changes more frequently
than the rest of the dsa state. This is also encouraged by some graphic APIs.
Treat it similar to pipe_blend_color.
15 vuotta sitten
Roland Scheidegger
653a83445f
Merge branch 'gallium-nopointsizeminmax'
Conflicts:
src/gallium/drivers/nv10/nv10_state.c
src/gallium/drivers/nv20/nv20_state.c
src/gallium/drivers/nv50/nv50_program.c
15 vuotta sitten
Brian Paul
b0613d8767
docs: fix typo: s/osdemo/osdemos/
(cherry picked from commit 0371956d66
)
15 vuotta sitten
Chris Li
a8f4904fb3
gallium: Adding the %.s rule to generate asm code
Signed-off-by: José Fonseca <jfonseca@vmware.com>
15 vuotta sitten
Chris Li
62d1e40e0d
gallium: Using the proper pattern rules for Makefile template.
The .o.c rule is consider obsolete.
Signed-off-by: José Fonseca <jfonseca@vmware.com>
15 vuotta sitten
Chris Li
8b6ec94aec
llvmpipe: Make llvm unit test depend on libllvmpipe.a
Signed-off-by: José Fonseca <jfonseca@vmware.com>
15 vuotta sitten
Roland Scheidegger
dd7be07c96
st/mesa: fix wrong initialization of MaxPointSize
15 vuotta sitten
Jakob Bornecrantz
6ef1d60407
vmware/core: Support drm interface version 1.0.0
15 vuotta sitten
Jakob Bornecrantz
6a4cd124af
vmware/core: Use correct flags in scanout code
15 vuotta sitten
Jakob Bornecrantz
6ffb6318a0
vmware/core: Handle new scanout field
15 vuotta sitten
Jakob Bornecrantz
a9d61c286d
vmware/core: Update header to latest version
15 vuotta sitten
Jakob Bornecrantz
7afcfa0683
vmware/core: Remove old ioctl structs not used
Leftover that was never used in this driver
15 vuotta sitten
Michal Krol
72fa4ef649
llvmpipe: Remove reference to prefilter field.
15 vuotta sitten
Kristian Høgsberg
2ecbe4e208
glx: Fix TOP setting in src/glx Makefile
Argh, forgot to commit this fix before pushing.
15 vuotta sitten
Kristian Høgsberg
6e8897ff9f
Retire miniglx and move the actual glx code up to src/glx
15 vuotta sitten
Kristian Høgsberg
538539d879
egl_dri2: Fix initialization with EGL_DEFAULT_DISPLAY
15 vuotta sitten
Brian Paul
a1a441179b
fix bug in perspective corrected interpolants for lines
15 vuotta sitten
Brian Paul
fd6701029b
progs/tests: add line drawing option to cylwrap.c
15 vuotta sitten
Brian Paul
22a3a817aa
progs/tests: add x/y rotation to cylwrap.c
15 vuotta sitten
Brian Paul
dd98a979b6
st/mesa: remove special-case cyl-wrap code
Cylinder wrap mode works with perspective interpolation now.
15 vuotta sitten
Michal Krol
5fbb62f761
softpipe: Properly implement cylindrical wrapping.
15 vuotta sitten
Michal Krol
00bd85e574
Revert "softpipe: Implement cylindrical wrapping for linear interpolator."
This reverts commit 444cd62ca3
.
15 vuotta sitten
Brian Paul
86921aaf3f
progs/tests: new test program for exercising cylindrical tex wrap mode
15 vuotta sitten
Brian Paul
ae4dde6598
st/mesa: check for PROG_PARAM_BIT_CYL_WRAP flag
15 vuotta sitten
Brian Paul
4a9f1eed2b
mesa: add back-door support for cylindrical texture wrap mode
If the texture priority field is 0.125 set the PROG_PARAM_BIT_CYL_WRAP
flag. The gallium state tracker will look for this flag.
This feature is only for testing purposes and may be remove at some
point. But if it's useful we could write a GL/Mesa extension to
expose it properly.
15 vuotta sitten
Michal Krol
9a8473da83
gallium: Remove prefilter member from pipe_sampler_state struct.
15 vuotta sitten
Michal Krol
63d6097910
docs: Document TGSI Declaration token.
15 vuotta sitten
Michal Krol
e04c8ecc61
softpipe: Implement cylindrical wrapping for linear interpolator.
15 vuotta sitten
Michal Krol
607a830fe2
tgsi: Gather cylindrical wrap info in tgsi_shader_info struct.
15 vuotta sitten
Michal Krol
33a9fb35dd
tgsi: Add ureg_DECL_fs_input_cyl().
Allows one to declare fragment shader inputs with cylindrical wrap info.
15 vuotta sitten
Michal Krol
6f6d740c85
gallium: Add cylindrical wrap info to TGSI declaration.
15 vuotta sitten
Michal Krol
5ee856e195
tgsi: Remove tgsi_dump_c.[ch].
Little utility after development stabilisation, use tgsi_dump instead.
15 vuotta sitten
Michal Krol
01d7e3d5a2
mesa: Enable true refcounting for NullBufferObj.
This object can be shared with another context, so we cannot just
delete it when the owning context is being destroyed.
Ensuring that buffer objects are properly refcounted guarantees
NullBufferObj is destroyed when all references to it are removed.
15 vuotta sitten
Michal Krol
eeec2c3d95
mesa: Protect buffer objects reference counting with a mutex.
15 vuotta sitten
José Fonseca
829d9bb733
mesa: Ensure object refcount is null when destroying the buffer.
Lets see if this is not too pedantic. Obj pointers are never exposed to
GL apps so it should be possible to get this right.
Furthermore apps with GL widgets and test suits create and destroy many
contexts and objects, so bad reference counting is not really an option.
15 vuotta sitten
José Fonseca
05ac187f30
mesa: Fix null buffer object reference counting.
Always use _mesa_reference_buffer_object, and never call
ctx->Driver.DeleteBuffer() directly to prevent dangling pointers to the
null buffer object.
This fixes crash/assertions in sharedtex_mt and Autodesk Mudbox.
15 vuotta sitten