Younes Manton
3c1b790c31
g3dvl: Map vertex bufs once per frame/flush.
17 years ago
Younes Manton
9beb004885
nouveau: Catch some more leaks.
17 years ago
Younes Manton
c10db52fcd
g3dvl: Fix some memory leaks.
17 years ago
Younes Manton
87e39466dc
g3dvl: Allocate one set of bufs, let winsys rename them as necessary.
17 years ago
Younes Manton
af2a856caa
nouveau: Add busy() query, determines if BOs can be mapped immediately.
17 years ago
Younes Manton
7289c388f4
nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom.
17 years ago
Younes Manton
0e1301ec8f
g3dvl: Expand YCbCr to full RGB range by default.
17 years ago
Younes Manton
9cbcdd86d0
g3dvl: Work around mplayer weirdness in XvMCPutSurface().
17 years ago
Younes Manton
ebd38dd0d6
g3dvl: Flag textures holding incoming data as dynamic.
17 years ago
Younes Manton
34c0281879
nouveau: Put dynamic textures in GART for CPU access and don't swizzle.
Also flag shadows as dynamic since they're for CPU access as well.
17 years ago
Younes Manton
fbf418d9dc
gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC.
Knowing how the client intends to use the texture will give the
driver the opportunity to optimize for such cases.
17 years ago
Younes Manton
72aa42e594
nouveau: Swizzle textures larger than nv04 SIFM limit in parts.
Limit of SIFM on nv40 is 1024x1024, not sure about others.
17 years ago
José Fonseca
7844b4e730
draw: Add missing include.
17 years ago
Alan Hourihane
834c93687f
st: build fix
17 years ago
Brian Paul
ffe7bda603
mesa: 7.3-rc-1 Makefile changes
17 years ago
Brian Paul
4441e0a7b2
mesa: latest glxext.h header, no version change
17 years ago
Brian Paul
258c55db11
mesa: import glext.h version 44
17 years ago
Brian Paul
bd03d9bdbb
docs: dri2proto, libdrm tweaks
17 years ago
Brian Paul
233a58ff56
glsl: fix typo in the vec2 += operator function
17 years ago
Brian Paul
f75910e9b7
mesa: set version string to 7.3-rc1
17 years ago
Brian Paul
da37940973
docs: more 7.3 doc updates
17 years ago
Brian Paul
178f1ff486
docs: import 7.2 relnotes, start on 7.3 relnotes
17 years ago
Brian Paul
ebccb250f7
glsl: fix broken +=, -=, *=, /= operators
These functions need to return the final computed value.
Now expressions such as a = (b += c) work properly.
Also, no need to use __asm intrinsics in these functions. The resulting
code is the same when using ordinary arithmetic operators and is more legible.
17 years ago
Brian Paul
5273a5f0d7
mesa: fix off-by-one bug in _mesa_delete_instructions()
17 years ago
Eric Anholt
28c503d4bb
i965: Fix GLSL FS DPH to return the right value instead of src0.w * src1.w.
17 years ago
Eric Anholt
739d38c8e9
i965: Remove worrisome comment about _NEW_PROGRAM signaling fp change.
Everything now depends on either BRW_NEW_FRAGMENT_PROGRAM or
BRW_NEW_VERTEX_PROGRAM.
17 years ago
Eric Anholt
510916f509
mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.
There was a note in state.c about _Active deserving to die, and there were
potential issues with it due to i965 forgetting to set _UseTexEnvProgram.
Removing both simplifies things.
Reviewed-by: Brian Paul <brianp@vmware.com>
17 years ago
Eric Anholt
5e116e52a2
i965: Remove dead brw_vs_tnl.c
17 years ago
Brian Paul
ac984c95ed
i965: allow gl_FragData[0] usage when there's only one color buffer
If gl_FragData[0] is written but not gl_FragCOlor, use the former.
17 years ago
Brian Paul
efd1208424
mesa: additional case in file_string()
17 years ago
Brian Paul
d33b0f1a8d
glsl: pass GLcontext::Extension info down into GLSL preprocessor
Now the #extension directives can be handled properly.
17 years ago
Brian Paul
1169457eca
glsl: bump up MAX_FOR_LOOP_UNROLL_COMPLEXITY
17 years ago
Brian Paul
f8a4ad1aee
glsl: check that the fragment shader does not write both gl_FragColor and gl_FragData[]
17 years ago
Brian Paul
5727ed130e
i965: init dst reg RelAddr field to zero
17 years ago
Eric Anholt
735bdcfad8
i965: Note when we drop saturate mode on the floor in a VP.
17 years ago
Eric Anholt
8ea48b94f9
i965: Add support for LRP in VPs.
Bug #19226 .
17 years ago
Brian Paul
bc5450f41c
glsl: disable some unused functions (but don't remove just yet)
17 years ago
Brian Paul
3ebc79ce89
glsl: also unroll loops with variable declarations such as "for (int i = 0; ..."
17 years ago
Brian Paul
5dfd429c7e
glsl: remove dead code
17 years ago
Brian Paul
89c078a58e
mesa: OSMesa Makefile fixes (use LIB_DIR)
17 years ago
Brian Paul
ac8a33671a
glsl: loop unroll adjustments
Add a "max complexity" heuristic to allow unrolling long loops with small
bodies and short loops with large bodies.
The loop unroll limits may need further tweaking...
17 years ago
Brian Paul
12fe642f96
glsl: implement loop unrolling for simple 'for' loops
Loops such as this will be unrolled:
for (i = 0; i < 4; ++i) {
body;
}
where 'body' isn't too large.
This also helps to fix the issue reported in bug #19190 . The problem there
is indexing vector types with a variable index. For example:
vec4 v;
v[2] = 1.0; // equivalent to v.z = 1.0
v[i] = 2.0; // variable index into vector!!
Since the for-i loop can be unrolled, we can avoid the problems associated
with variable indexing into a vector (at least in this case).
17 years ago
Brian Paul
aed1bb6bc3
mesa: Move var declaration to top of scope.
(cherry picked from commit 3740a06e28 )
17 years ago
José Fonseca
5cad143e54
glut: Unlist file.
Again..
17 years ago
José Fonseca
500e05d437
gdi: Add newline at end of file.
17 years ago
José Fonseca
ab3a9f1eed
gallium: Replace uint64 by standard uint64_t.
uint64 is not (so?) standard, and often redefined by third parties,
causing name clashes.
17 years ago
José Fonseca
395edbc515
draw: Predeclare struct.
17 years ago
José Fonseca
a3ee0aa1bb
Merge commit 'origin/gallium-0.1' into gallium-0.2
Conflicts:
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/drivers/cell/spu/spu_command.h
src/gallium/include/pipe/p_shader_tokens.h
src/mesa/main/config.h
src/mesa/main/mtypes.h
src/mesa/shader/prog_execute.c
src/mesa/shader/slang/slang_emit.c
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/wgl/stw_wgl.h
src/mesa/state_tracker/wgl/stw_wgl_pixelformat.h
17 years ago
José Fonseca
2d3953fd5f
mesa: Add _mesa_snprintf.
On Windows snprintf is renamed as _snprintf.
17 years ago
Brian Paul
b57797f3a8
mesa: fix GL_DEPTH_CLEAR_VALUE casting
17 years ago