Keith Whitwell
ce418533be
gallium: softpipe runs gears with pipe_resources
15 år sedan
Keith Whitwell
bfda4f2eb3
util: get clip_tile working again
15 år sedan
Keith Whitwell
f5ef219c3b
softpipe: use u_transfer helpers
15 år sedan
Keith Whitwell
072957aab2
util: helpers for inline transfers
15 år sedan
Keith Whitwell
9c45561fb0
util: fix typo calculating transfer box
15 år sedan
Keith Whitwell
f3e98fd47f
st/vega: convert to pipe_resource
15 år sedan
Keith Whitwell
d1b7b00afc
gallium: begin converting drivers to pipe_resource
Work in progress...
15 år sedan
Keith Whitwell
51c25117f5
gallium: work in progress on layering resources on top of old textures
Helper code in an aux module to avoid rewriting all the drivers.
15 år sedan
Keith Whitwell
fb6764d3ce
heaps of wip
15 år sedan
Keith Whitwell
ee6b3bc730
wip2
15 år sedan
Keith Whitwell
1830880212
Merge branch 'gallium-sampler-view' into gallium-resources
Conflicts:
src/gallium/include/pipe/p_context.h
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_texture.h
15 år sedan
Keith Whitwell
90b4045fbc
wip
15 år sedan
Keith Whitwell
47bfbd452c
Merge commit 'origin/master' into gallium-sampler-view
Conflicts:
src/gallium/auxiliary/util/u_tile.c
src/gallium/auxiliary/util/u_tile.h
src/gallium/drivers/identity/id_context.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_setup.h
src/gallium/drivers/softpipe/sp_tex_tile_cache.c
src/gallium/include/pipe/p_context.h
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
15 år sedan
José Fonseca
a80e33f407
llvmpipe: Obey rasterization rules.
Replicates softpipe.
15 år sedan
José Fonseca
3160cbabcc
llvmpipe: setup_context -> lp_setup_context
Otherwise IDEs and debuggers have trouble distinguishing from softpipe's
setup_context.
15 år sedan
Xavier Chantry
83fe7149ea
nv50: fixup after gallium-context-transfers merge
15 år sedan
José Fonseca
50a7786619
python: Temporarily disable python state tracker until transfers are done by contexts
It requires changes not ony to the state tracker but to the python
scripts too.
15 år sedan
Chia-I Wu
9222c09349
st/egl: Cache the pipe surface used in flush_frontbuffer.
It is very likely that the same surface will be flushed again and again.
Caching the surface should reduce the overhead of surface creation.
15 år sedan
Alan Coopersmith
5d66fc6e3a
mklib: Fix amd64 builds on Solaris when using Sun compilers
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
15 år sedan
Corbin Simpson
2764a5191f
r300g: Forcibly sanitize max index.
Not perfect, but the kernel should shut up now.
15 år sedan
Corbin Simpson
ecfcb1466a
Revert "st/mesa: Always recalculate invalid index bounds."
This reverts commit 50876ddaaf
.
Per ML discussion.
15 år sedan
Brian Paul
3c80e52541
gallivm: cube map sampling works now
15 år sedan
Brian Paul
e910c0ba9e
gallivm: fix bugs in nested if/then/else codegen
Quite a bit a hair pulling was involved...
15 år sedan
Brian Paul
a6196ce8be
gallivm: support non-vector float in lp_build_sgn()
15 år sedan
Eric Anholt
f1d6baee0b
i965: Clarify the roles of emit_pixel_xy(), emit_delta_xy(), emit_wpos_xy().
15 år sedan
Eric Anholt
f4f2737e87
i965: Clarify that DELTAXY always occurs for both X and Y.
15 år sedan
Eric Anholt
46450c1f3f
i965: Do FS SLT, SGT, and friends using CMP, SEL instead of CMP, MOV, MOV.
15 år sedan
Eric Anholt
8ef3b1834a
i965: Do VS SGT, SLT, and friends using CMP, SEL instead of CMP, MOV, MOV.
15 år sedan
Eric Anholt
512d8ca2f3
i965: Fix up VS DP4 sequences to avoid dependency control.
This is recommended by the B-Spec. I wasn't able to measure any
difference in ETQW.
15 år sedan
Eric Anholt
52cea5090c
i965: When doing a swizzled kill pixel, don't do redundant channel compares.
This was obvious when looking at the compiled output of ETQW's
shaders.
15 år sedan
Eric Anholt
ba541b0769
i965: Use the SEL instruction to implement MIN and MAX.
Saves an instruction over doing conditional moves.
15 år sedan
Michel Dänzer
13a13fcb80
svga: Fix up for context transfers.
15 år sedan
Michel Dänzer
59d6f3eb4a
st/xorg: Remove flushes no longer necessary thanks to context transfers.
15 år sedan
Alan Coopersmith
57c378a531
glx/single2.c: Don't call __builtin_expect on non-gnu compilers
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
15 år sedan
Michel Dänzer
b13e305ee1
Merge branch '7.8'
15 år sedan
Michel Dänzer
8561bec0ac
vmwgfx/dri: Fix SCons build.
15 år sedan
Michel Dänzer
51a51899d0
st/dri: Always try to set up R5G6B5 configs.
Allows compiz to work in depth 16.
The DRI2 getBuffersWithFormat hook is only required for 16/32 bit depth
buffers, for colour buffers the only requirement is that the format matches
the drawable depth, which we can't check here.
(cherry picked from commit c50477c255
)
15 år sedan
Alex Deucher
d1ca1599f0
r100/r200/r300/r300: only enable accelerated pixel ops with kms
fixes fdo bug 27043
15 år sedan
Luc Verhaegen
4b598ce226
dri/r700: include shader/programopt.h instead of programopt.c.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 år sedan
Jeff Smith
9b81103b1a
Add programs to .gitignore in redbook
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
15 år sedan
Jeff Smith
3aa8692883
Add programs to .gitignore in xdemos
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
18 år sedan
Jeff Smith
9787060423
Add -L$(libdir) for xdemos and egl so that the right libX11 is found
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
15 år sedan
Jeff Smith
fab1f07d6a
Grammar and spelling fixes
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
17 år sedan
Michal Krol
faa1481885
cso: Remove set/save/restore_vertex_sampler_textures().
15 år sedan
Michal Krol
b8030c6561
st/mesa: Associate a sampler view with an st texture object.
Lazily create a sampler view when the texture is being bound
for the first time.
15 år sedan
Michal Krol
08f89988c8
cso: Add entry points for vertex/fragment sampler views.
15 år sedan
Keith Whitwell
475ab3b5af
st/xorg: context transfers
15 år sedan
Marek Olšák
c16d04bd29
gallium: fix BGRA vertex color swizzles
The mapping for vertex_array_bgra:
(gl -> st -> translate)
GL_RGBA -> PIPE_FORMAT_R8G8B8A8 (RGBA) -> no swizzle (XYZW)
GL_BGRA -> PIPE_FORMAT_A8R8G8B8 (ARGB) -> ZYXW (BGRA again??)
Iẗ́'s pretty clear that PIPE_FORMAT_A8R8G8B8 here is wrong. This commit
fixes the pipe format and removes obvious workarounds in util/translate.
Tested with: softpipe, llvmpipe, r300g.
Signed-off-by: José Fonseca <jfonseca@vmware.com>
15 år sedan
Corbin Simpson
50876ddaaf
st/mesa: Always recalculate invalid index bounds.
These should always be sanitized before heading towards the pipe driver,
and if the calling function explicitly marked them as invalid, we need
to regenerate them.
Allows r300g to properly pass a bit more of Wine's d3d9 testing without
dropping stuff on the floor.
15 år sedan
Corbin Simpson
a48e17ccb0
st/mesa: Update debug infos.
Still commented out, of course.
15 år sedan