Searched refs:apiutil (Results 1 - 25 of 58) sorted by relevance

123

/vbox/src/VBox/Additions/common/crOpenGL/feedback/
H A Dfeedback_funcs.py8 import apiutil namespace
11 apiutil.CopyrightC()
28 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
30 for func_name in apiutil.AllSpecials( "feedback" ):
31 return_type = apiutil.ReturnType(func_name)
32 params = apiutil.Parameters(func_name)
33 print '%s STATE_APIENTRY crStateFeedback%s( %s );' % (return_type, func_name, apiutil.MakeDeclarationString(params))
35 for func_name in apiutil.AllSpecials( "select" ):
36 return_type = apiutil.ReturnType(func_name)
37 params = apiutil
[all...]
H A Dfeedbackspu_proto.py8 import apiutil namespace
11 apiutil.CopyrightC()
23 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
26 if apiutil.FindSpecial( "feedback_state", func_name ):
27 return_type = apiutil.ReturnType(func_name)
28 params = apiutil.Parameters(func_name)
29 print 'extern %s FEEDBACKSPU_APIENTRY feedbackspu_%s( %s );' % (return_type, func_name, apiutil.MakeDeclarationString(params))
H A Dfeedback_state.py8 import apiutil namespace
11 apiutil.CopyrightC()
20 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
23 if apiutil.FindSpecial( "feedback_state", func_name ):
26 return_type = apiutil.ReturnType(func_name)
27 params = apiutil.Parameters(func_name)
28 print '%s FEEDBACKSPU_APIENTRY feedbackspu_%s( %s )' % (return_type, func_name, apiutil.MakeDeclarationString(params))
30 print '\tcrState%s( %s );' % (func_name, apiutil.MakeCallString(params))
32 print '\tfeedback_spu.super.%s( %s );' % (func_name, apiutil.MakeCallString(params))
H A Dfeedback.py8 import apiutil namespace
11 apiutil.CopyrightC()
24 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
27 return_type = apiutil.ReturnType(func_name)
28 params = apiutil.Parameters(func_name)
29 if apiutil.FindSpecial( "feedback", func_name ):
30 print 'static %s FEEDBACKSPU_APIENTRY feedbackspu_%s( %s )' % ( return_type, func_name, apiutil.MakeDeclarationString(params) )
32 print '\tfeedback_spu.super.%s( %s );' % ( func_name, apiutil.MakeCallString(params) )
45 return_type = apiutil.ReturnType(func_name)
46 params = apiutil
[all...]
/vbox/src/VBox/Additions/common/crOpenGL/pack/
H A Dpackspu_beginend.py8 import apiutil namespace
11 apiutil.CopyrightC()
156 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
158 for func_name in apiutil.AllSpecials( "packspu_vertex" ):
159 params = apiutil.Parameters(func_name)
160 print 'void PACKSPU_APIENTRY packspu_%s( %s )' % ( func_name, apiutil.MakeDeclarationString(params) )
164 print '\t\tcrPack%sSWAP( %s );' % ( func_name, apiutil.MakeCallString( params ) )
168 print '\t\tcrPack%s( %s );' % ( func_name, apiutil.MakeCallString( params ) )
H A Dpackspu_flush.py8 import apiutil namespace
11 apiutil.CopyrightC()
25 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
27 for func_name in apiutil.AllSpecials( "packspu_flush" ):
28 params = apiutil.Parameters(func_name)
29 print 'void PACKSPU_APIENTRY packspu_%s( %s )' % ( func_name, apiutil.MakeDeclarationString(params))
34 print '\t\tcrPack%sSWAP( %s );' % ( func_name, apiutil.MakeCallString( params ) )
38 print '\t\tcrPack%s( %s );' % ( func_name, apiutil.MakeCallString( params ) )
H A Dpackspu_proto.py8 import apiutil namespace
10 apiutil.CopyrightC()
28 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
32 if ("get" in apiutil.Properties(func_name) or
33 apiutil.FindSpecial( "packspu", func_name ) or
34 apiutil.FindSpecial( "packspu_flush", func_name ) or
35 apiutil.FindSpecial( "packspu_vertex", func_name )):
39 if apiutil.FindSpecial( "packspu_unimplemented", func_name ):
42 return_type = apiutil.ReturnType(func_name)
43 params = apiutil
[all...]
H A Dpack.py8 import apiutil namespace
11 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
14 apiutil.CopyrightC()
26 num_funcs = len(keys) - len(apiutil.AllSpecials('packspu_unimplemented'))
39 if ("get" in apiutil.Properties(func_name) or
40 apiutil.FindSpecial( "packspu", func_name ) or
41 apiutil.FindSpecial( "packspu_flush", func_name ) or
42 apiutil.FindSpecial( "packspu_vertex", func_name )):
49 if apiutil.FindSpecial( "packspu_unimplemented", func_name ):
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Dstate_funcs.py10 import apiutil namespace
13 apiutil.CopyrightC()
39 for func_name in apiutil.AllSpecials( "state" ):
40 return_type = apiutil.ReturnType(func_name)
41 params = apiutil.Parameters(func_name)
42 print 'DECLEXPORT(%s) STATE_APIENTRY crState%s( %s );' % (return_type, func_name, apiutil.MakeDeclarationString(params))
44 for func_name in apiutil.AllSpecials( "state_feedback" ):
45 return_type = apiutil.ReturnType(func_name)
46 params = apiutil.Parameters(func_name)
47 print 'DECLEXPORT(%s) STATE_APIENTRY crStateFeedback%s( %s );' % (return_type, func_name, apiutil
[all...]
H A Dstate_defs.py9 import apiutil namespace
11 apiutil.CopyrightDef()
17 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
19 for func_name in apiutil.AllSpecials( 'state' ):
22 for func_name in apiutil.AllSpecials( 'state_feedback' ):
25 for func_name in apiutil.AllSpecials( 'state_select' ):
/vbox/src/VBox/Additions/common/crOpenGL/
H A Dtsfuncs.py8 import apiutil namespace
11 apiutil.CopyrightC()
19 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
22 return_type = apiutil.ReturnType(func_name)
23 params = apiutil.Parameters(func_name)
25 print "static %s SPULOAD_APIENTRY ts_%s( %s )" % (return_type, func_name, apiutil.MakeDeclarationString(params) )
32 print "\ttab->%s( %s );" % (func_name, apiutil.MakeCallString(params))
H A DDD_glh.py25 import apiutil namespace
27 apiutil.CopyrightC()
114 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
117 if "Chromium" == apiutil.Category(func_name):
122 return_type = apiutil.ReturnType(func_name)
123 params = apiutil.Parameters(func_name)
127 apiutil.MakeDeclarationString( params ))
129 if apiutil.MakeDeclarationString(params)=="void":
133 apiutil.MakeDeclarationString( params ))
H A Dcr_gl.py25 import apiutil namespace
27 apiutil.CopyrightC()
47 keys = apiutil.GetAllFunctions(sys.argv[1]+"/APIspec.txt")
49 if "Chromium" == apiutil.Category(func_name):
51 if "VBox" == apiutil.Category(func_name):
55 if "GL_chromium" == apiutil.Category(func_name):
58 return_type = apiutil.ReturnType(func_name)
59 params = apiutil.Parameters(func_name)
62 apiutil.MakeDeclarationString( params ))
H A DDD_glc.py25 import apiutil namespace
27 apiutil.CopyrightC()
112 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
115 if "Chromium" == apiutil.Category(func_name):
120 return_type = apiutil.ReturnType(func_name)
121 params = apiutil.Parameters(func_name)
124 print "%s vboxDD_gl%s( %s )" % (return_type, func_name, apiutil.MakeDeclarationString(params) )
126 if apiutil.MakeDeclarationString(params)=="void":
129 print "%s vboxDD_gl%s( GLcontext *ctx, %s )" % (return_type, func_name, apiutil.MakeDeclarationString(params) )
135 print "\tcr_gl%s( %s );" % (func_name, apiutil
[all...]
H A Dentrypoints.py15 import apiutil namespace
23 apiutil.CopyrightC()
37 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
41 if apiutil.Category(func_name) == "Chromium":
45 return_type = apiutil.ReturnType(func_name)
46 params = apiutil.Parameters(func_name)
91 print "%s VBOXGLTAG(gl%s)( %s );" % (return_type, func_name, apiutil.MakeDeclarationString(params))
93 print "%s VBOXGLTAG(gl%s)( %s )" % (return_type, func_name, apiutil.MakeDeclarationString(params))
98 print "glim.%s( %s );" % (func_name, apiutil.MakeCallString(params))
107 allkeys = apiutil
[all...]
H A Dgetprocaddress.py8 import apiutil namespace
10 apiutil.CopyrightC()
35 keys = apiutil.GetAllFunctions(sys.argv[1]+"/APIspec.txt")
37 if "Chromium" == apiutil.Category(func_name):
39 if "VBox" == apiutil.Category(func_name):
43 if "GL_chromium" == apiutil.Category(func_name):
46 wrap = apiutil.GetCategoryWrapper(func_name)
64 if apiutil.Category(func_name) == "Chromium":
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/
H A Dserver_dispatch_header.py8 import apiutil namespace
10 apiutil.CopyrightC()
32 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
35 if ("get" in apiutil.Properties(func_name) or
36 apiutil.FindSpecial( "server", func_name ) or
37 apiutil.FindSpecial( sys.argv[1]+"/../state_tracker/state", func_name )):
39 params = apiutil.Parameters(func_name)
40 return_type = apiutil.ReturnType(func_name)
42 print '%s SERVER_DISPATCH_APIENTRY crServerDispatch%s( %s );' % (return_type, func_name, apiutil.MakeDeclarationString( params ))
H A Dserver_retval.py8 import apiutil namespace
11 apiutil.CopyrightC()
60 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
63 params = apiutil.Parameters(func_name)
64 return_type = apiutil.ReturnType(func_name)
65 if apiutil.FindSpecial( "server", func_name ):
67 if "VBox" == apiutil.Category(func_name):
70 print '%s SERVER_DISPATCH_APIENTRY crServerDispatch%s( %s )' % ( return_type, func_name, apiutil.MakeDeclarationString(params))
73 print '\tretval = cr_server.head_spu->dispatch_table.%s( %s );' % (func_name, apiutil.MakeCallString(params) );
/vbox/src/VBox/GuestHost/OpenGL/spu_loader/
H A Dspucopy.py7 import apiutil namespace
10 apiutil.CopyrightC()
23 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
H A Ddispatch.py7 import apiutil namespace
10 apiutil.CopyrightC()
47 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
H A Ddispatchheader.py10 import apiutil namespace
13 apiutil.CopyrightC()
31 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
43 return_type = apiutil.ReturnType(func_name)
44 params = apiutil.Parameters(func_name)
46 print 'typedef %s (SPU_APIENTRY *%sFunc_t)(%s);' % (return_type, func_name, apiutil.MakePrototypeString(params))
/vbox/src/VBox/HostServices/SharedOpenGL/unpacker/
H A Dunpack_extend.py9 import apiutil namespace
12 apiutil.CopyrightC()
25 for func_name in apiutil.AllSpecials( "unpacker" ):
26 if "extpack" in apiutil.ChromiumProps(func_name):
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Ddebug_opcodes.py11 import apiutil namespace
13 apiutil.CopyrightC()
29 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
33 if "pack" in apiutil.ChromiumProps(func_name):
34 print '\t\tcase %s:' % apiutil.OpcodeName( func_name )
35 print '\t\t\tfprintf( fp, "%s\\n" ); ' % apiutil.OpcodeName( func_name )
/vbox/src/VBox/GuestHost/OpenGL/packer/
H A Dpack_header.py12 import apiutil namespace
15 apiutil.CopyrightC()
39 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
43 if ("pack" in apiutil.ChromiumProps(func_name) or
44 "extpack" in apiutil.ChromiumProps(func_name) or
45 apiutil.NonVectorFunction(func_name) != '' or
46 apiutil.FindSpecial('packer', func_name)):
49 return_type = apiutil.ReturnType(func_name)
50 args = apiutil.Parameters(func_name)
52 if apiutil
[all...]
/vbox/src/VBox/GuestHost/OpenGL/error/
H A Derror.py9 import apiutil namespace
11 apiutil.CopyrightC()
28 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
31 return_type = apiutil.ReturnType(func_name)
32 params = apiutil.Parameters(func_name)
33 print '\nstatic %s ERROR_APIENTRY error%s( %s )' % (return_type, func_name, apiutil.MakeDeclarationString(params ))

Completed in 1106 milliseconds

123