Logo
Explore Help
Register Sign In
OpenHarmony/third_party_mesa3d
2
0
Fork 0
You've already forked third_party_mesa3d
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
cfb0f2489dabd07e905969484edb9317395b2f6a
third_party_mesa3d/progs/perf/SConscript

29 lines
400 B
Python
Raw Normal View History

progs/perf: add scons support, get working under mingw
2009-09-17 12:08:04 +01:00
Import('env')
if not env['GLUT']:
Return()
env = env.Clone()
env.Prepend(LIBS = ['$GLUT_LIB'])
progs = [
'drawoverhead',
progs/perf: added fill-rate test Many more fill modes could be tested, but this hits the basics including blending, texturing and shaders.
2009-09-21 12:17:49 -06:00
'fill',
progs/perf: add scons support, get working under mingw
2009-09-17 12:08:04 +01:00
'teximage',
progs/perf: add first attempt at a swapbuffers rate test This is pretty ugly as the original framework assumed you'd set a single window size at startup and keep it throughout, but for swapbuffers you want to test the rate at various window sizes. With luck a nicer solution can be found, but this at least lays out a marker.
2009-09-21 16:55:12 +01:00
'swapbuffers',
progs/perf: add scons support, get working under mingw
2009-09-17 12:08:04 +01:00
'vbo',
'vertexrate',
]
for prog in progs:
env.Program(
target = prog,
source = [
prog + '.c',
'common.c',
'glmain.c',
]
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 64ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API