Files
third_party_mesa3d/progs/tests/SConscript
Brian Paul 3bee7610be progs/tests: added new blitfb.c test
Tests glBlitFramebuffer() between two texture/renderbuffer surfaces.
In particular, blit from level[1] of a cube map face to a 2D texture.

Used to find/fix bug in intel do_copy_texsubimage().
See commit aef1ab1073f3e30d699b99dae17518ed48b57c72
2009-10-27 17:00:31 -06:00

145 lines
2.2 KiB
Python

Import('*')
if not env['GLUT']:
Return()
env = env.Clone()
env.Prepend(CPPPATH = [
'../util',
])
env.Prepend(LIBS = [
util,
'$GLUT_LIB'
])
if env['platform'] == 'windows':
env.Append(CPPDEFINES = ['NOMINMAX'])
env.Prepend(LIBS = ['winmm'])
linux_progs = [
'api_speed',
]
glx_progs = [
'auxbuffer',
'getprocaddress',
'jkrahntest',
'sharedtex',
'texcompress2',
'texobjshare',
]
mesa_progs = [
'debugger',
]
progs = [
'afsmultiarb',
'antialias',
'arbfpspec',
'arbfptest1',
'arbfptexture',
'arbfptrig',
'arbnpot',
'arbnpot-mipmap',
'arbvptest1',
'arbvptest3',
'arbvptorus',
'arbvpwarpmesh',
'arraytexture',
'blendminmax',
'blendsquare',
'blendxor',
'blitfb',
'bufferobj',
'bug_3050',
'bug_3101',
'bug_3195',
'bug_texstore_i8',
'calibrate_rast',
'copypixrate',
'crossbar',
'cva',
'drawbuffers',
'exactrast',
'ext422square',
'fbotest1',
'fbotest2',
'fillrate',
'floattex',
'fog',
'fogcoord',
'fptest1',
'fptexture',
'getteximage',
'glutfx',
'interleave',
'invert',
'lineclip',
'manytex',
'mapbufrange',
'mapvbo',
'minmag',
'mipgen',
'mipmap_comp',
'mipmap_comp_tests',
'mipmap_limits',
'mipmap_view',
'multipal',
'multitexarray',
'multiwindow',
'no_s3tc',
'packedpixels',
'pbo',
'persp_hint',
'prog_parameter',
'quads',
'random',
'readrate',
'rubberband',
'scissor',
'scissor-viewport',
'seccolor',
'shader_api',
'stencil_twoside',
'stencil_wrap',
'stencilwrap',
'streaming_rect',
'subtex',
'subtexrate',
'tex1d',
'texcmp',
'texcompress2',
'texcompsub',
'texdown',
'texfilt',
'texgenmix',
'texline',
'texobj',
'texrect',
'texwrap',
'unfilledclip',
'vao-01',
'vao-02',
'vparray',
'vpeval',
'vptest1',
'vptest2',
'vptest3',
'vptorus',
'vpwarpmesh',
'yuvrect',
'yuvsquare',
'zcomp',
'zdrawpix',
'zreaddraw',
]
for prog in progs:
env.Program(
target = prog,
source = prog + '.c',
)