OSDN Git Service

Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 6 Apr 2006 04:23:58 +0000 (04:23 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 6 Apr 2006 04:23:58 +0000 (04:23 +0000)
commita9bcf751030895494fc098f8d0ff56b2496bd993
treed737cac7b38fa8cdc805d44aea838eae67bd7307
parent762c3618f52ef5033844092074c63eee545500fa
Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.
This allows render to depth texture (we don't support floating pt. Z buffers).
Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32.
Software fallback for glCopyTexImage now uses integer temporary image instead
of float, eliminates a lot of float/int conversions.
12 files changed:
src/mesa/drivers/dri/i915/intel_tex.c
src/mesa/main/texcompress_fxt1.c
src/mesa/main/texcompress_s3tc.c
src/mesa/main/texformat.c
src/mesa/main/texformat.h
src/mesa/main/texformat_tmp.h
src/mesa/main/texrender.c
src/mesa/main/texstore.c
src/mesa/main/texstore.h
src/mesa/swrast/s_depth.c
src/mesa/swrast/s_depth.h
src/mesa/swrast/s_texstore.c