儲存庫 vbox 的更動 18142
- 時間撮記:
- 2009-3-23 下午02:56:21 (16 年 以前)
- 位置:
- trunk/src/VBox/Additions/common/crOpenGL
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/common/crOpenGL/Linux_i386_exports.py
r18140 r18142 26 26 print "" 27 27 28 print"""29 %ifdef RT_ARCH_AMD6430 %define PTR_PRE qword31 %define PTR_CB 832 %else33 %define PTR_PRE dword34 %define PTR_CB 435 %endif36 """37 38 28 keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt") 39 29 … … 44 34 45 35 print "BEGINPROC_EXPORTED gl%s" % func_name 46 print "\tjmp \t[PTR_PRE glim + PTR_CB*%d]" % index 36 print "%ifdef RT_ARCH_AMD64" 37 print "\tmov \trax, qword glim+%d" % (8*index) 38 print "\tjmp \t[rax]" 39 print "%else ; X86" 40 print "\tmov \teax, dword glim+%d" % (4*index) 41 print "\tjmp \t[eax]" 42 print "%endif" 47 43 print "ENDPROC gl%s" % func_name 48 44 print "" … … 69 65 index = keys.index(alias) 70 66 print "BEGINPROC_EXPORTED gl%s" % func_name 71 print "\tjmp \t[PTR_PRE glim + PTR_CB*%d]" % index 67 print "%ifdef RT_ARCH_AMD64" 68 print "\tmov \trax, qword glim+%d" % (8*index) 69 print "\tjmp \t[rax]" 70 print "%else ; X86" 71 print "\tmov \teax, dword glim+%d" % (4*index) 72 print "\tjmp \t[eax]" 73 print "%endif" 72 74 print "ENDPROC gl%s" % func_name 73 75 print "" -
trunk/src/VBox/Additions/common/crOpenGL/windows_i386_exports.py
r18140 r18142 22 22 print "" 23 23 24 print"""25 %ifdef RT_ARCH_AMD6426 %define PTR_PRE qword27 %define PTR_CB 828 %else29 %define PTR_PRE dword30 %define PTR_CB 431 %endif32 """33 34 24 # Get sorted list of dispatched functions. 35 25 # The order is very important - it must match cr_opcodes.h … … 44 34 print "BEGINPROC_EXPORTED cr_gl%s" % func_name 45 35 print "%ifdef RT_ARCH_AMD64" 46 print "\tjmp \t[PTR_PRE glim + PTR_CB*%d]" % index 36 print "\tmov \trax, qword glim+%d" % (8*index) 37 print "\tjmp \t[rax]" 47 38 print "%else ; X86" 48 print "\tjmp \t[PTR_PRE _glim + PTR_CB*%d]" % index 39 print "\tmov \teax, dword _glim+%d" % (4*index) 40 print "\tjmp \t[eax]" 49 41 print "%endif" 50 42 print "ENDPROC cr_gl%s" % func_name … … 72 64 index = keys.index(alias) 73 65 print "BEGINPROC_EXPORTED cr_gl%s" % func_name 74 print "\tjmp \t[PTR_PRE glim + PTR_CB*%d]" % index 66 print "%ifdef RT_ARCH_AMD64" 67 print "\tmov \trax, qword glim+%d" % (8*index) 68 print "\tjmp \t[rax]" 75 69 print "%else ; X86" 76 print "\tjmp \t[PTR_PRE _glim + PTR_CB*%d]" % index 70 print "\tmov \teax, dword _glim+%d" % (4*index) 71 print "\tjmp \t[eax]" 77 72 print "%endif" 78 73 print "ENDPROC cr_gl%s" % func_name
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器