diff options
author | Jerome Glisse <jglisse@redhat.com> | 2011-12-09 21:07:15 -0500 |
---|---|---|
committer | Jerome Glisse <jglisse@redhat.com> | 2012-02-01 17:11:29 -0500 |
commit | c51f7f0e460dcadb9f1a56ecf1615810877c33c8 (patch) | |
tree | 25cfc7eba38eefb4da051ac59529b4808dec0683 /radeon/Makefile.am | |
parent | 151cdcfe685ee280a4344dfc40e6087d74a5590f (diff) | |
download | libdrm-c51f7f0e460dcadb9f1a56ecf1615810877c33c8.tar.gz libdrm-c51f7f0e460dcadb9f1a56ecf1615810877c33c8.tar.bz2 libdrm-c51f7f0e460dcadb9f1a56ecf1615810877c33c8.zip |
radeon: add surface allocator helper v10
The surface allocator is able to build complete miptree when allocating
surface for r600/r700/evergreen/northern islands GPU family. It also
compute bo size and alignment for render buffer, depth buffer and
scanout buffer.
v2 fix r6xx/r7xx 2D tiling width align computation
v3 add tile split support and fix 1d texture alignment
v4 rework to more properly support compressed format, split surface pixel
size and surface element size in separate fields
v5 support texture array (still issue on r6xx)
v6 split surface value computation and mipmap tree building, rework eg
and newer computation
v7 add a check for tile split and 2d tiled
v8 initialize mode value before testing it in all case, reenable
2D macro tile mode on r6xx for cubemap and array. Fix cubemap
to force array size to the number of face.
v9 fix handling of stencil buffer on evergreen
v10 on evergreen depth buffer need to have enough room for a stencil
buffer just after depth one
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'radeon/Makefile.am')
-rw-r--r-- | radeon/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/radeon/Makefile.am b/radeon/Makefile.am index dc94b5f3..e64aff4b 100644 --- a/radeon/Makefile.am +++ b/radeon/Makefile.am @@ -40,6 +40,7 @@ libdrm_radeon_la_SOURCES = \ radeon_cs_space.c \ radeon_bo.c \ radeon_cs.c \ + radeon_surface.c \ bof.c \ bof.h @@ -47,6 +48,7 @@ libdrm_radeonincludedir = ${includedir}/libdrm libdrm_radeoninclude_HEADERS = \ radeon_bo.h \ radeon_cs.h \ + radeon_surface.h \ radeon_bo_gem.h \ radeon_cs_gem.h \ radeon_bo_int.h \ |