VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/packer/packer_defs.py@ 78190

Last change on this file since 78190 was 78190, checked in by vboxsync, 6 years ago

Merge first stage of the Chromium cleanup from the branch:

  • r129818 (Remove VBOX_WITH_CR_DISPLAY_LISTS and accompanying code as it was disabled since r108676 and was never brought back (see ​bugref:3456 and ​bugref:8485))
  • r129819 (HostServices/SharedOpenGL: Remove unused main entry point from upstream server process based implementation)
  • r129820 (HostServices/SharedOpenGL: Started eliminating all backends other than HGCM. They are not used and probably wouldn't work anymore anyway)
  • r129821 (HostServices/SharedOpenGL,GuestHost/OpenGLAdditions/common/crOpenGL: Kill crTimer* API as it is not used anywhere)
  • r129822 (HostServices/SharedOpenGL,GuestHost/OpenGLAdditions/common/crOpenGL: Kill most from cr_process.h apart from two used methods)
  • r129823 (HostServices/SharedOpenGL,GuestHost/OpenGLAdditions/common/crOpenGL: Kill crList* API as it is unused)
  • r129824 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Kill crHullInteriorBox API as it is unused)
  • r129825 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Kill crWarpPoint API as it is unused)
  • r129826 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Kill CrSa* API as it is unused and not even compiled in)
  • r129827 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Kill cr_bbox.h as it is unused)
  • r129828 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove a few crParseUrl() two uses)
  • r129829 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove last crParseURL() use)
  • r129830 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove crParseURL())
  • r129831 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove VBOX_WITH_COCOA_QT and related code when not set as it is the default for years now and we don't support anything else anymore)
  • r129832 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused cr_logo.h)
  • r129833 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused crut_api.h and crut_clientapi.h)
  • r129834 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused cr_dmx.h)
  • r129835 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused cr_perf.h)
  • r129836 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove cr_rand.h and friends as it is not actively used anywhere)
  • r129837 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of all the swapped versions in the packer SPU, we never change endianess from guest to host and don't need it)
  • r129838 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove more swapper versions in the packer related code)
  • r129839 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove more swapper versions in the packer related code)
  • r129840 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused pack_pica.c)
  • r129841 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove more swapper versions in the packer related code)
  • r129842 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of cr_endianess.h and friends)
  • r129843 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of unused lowercase.py)
  • r129844 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of unused cr_calllists.h and friends)
  • r129845 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of completely unused idpool.c, not even compiled in)
  • r129846 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of unused cr_debugopcodes.h and friends)
  • r129847 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Make the cr_mem.h API inline and get rid of the implementation in the util library)
  • r129848 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of SPUOptions and related code as it is of no use for us)
  • r129849 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of cr_environment.h and friends and convert usage to RTEnv* APIs)
  • r129850 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of unused renderspu_agl.c)
  • r129851 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused code in cr_htable.h)
  • r129853 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Introduce a state paremeter for the unpacker workers instead of reyling on global variables, work in progress)
  • r129854 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Let the caller of crUnpack set up the initial state. This allows to get rid of the global return_ptr and writeback_ptr as they get supplied in the unpacker state by the server)
  • r129855 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of the cr_lastDispatch and cr_unpackDispatch as they are of no use now)
  • r129856 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of the global cr_unpackData and cr_unpackDataEnd symbols by indtroducing another hack to make it possible for certail server dispatch callbacks to access the data buffer)
  • r129857 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: build fix for release builds)
  • r129858 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Make the pointer to the unpacker state non const (is required for the access verification))
  • r129859 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: First iteration of the buffer size validation to prevent out of bound read access + added todos for places where additional checks are needed)
  • r129860 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Working on remaining verification todos)
  • r129861 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Working on remaining verification todos)
  • r129871 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Working on remaining verification todos)
  • r129872 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Stop as soon as the unpacker encountered an error)
  • r129876 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Working on remaining verification todos)
  • r129880 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Working on remaining verification todos)
  • r129882 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Fixed some offsets in unpack_texture.c, 3DMark03 renders correctly again)
  • r130013 (HostServices/SharedOpenGL: Convert files to C++ so we can use C99 featuers on Windows with cl.exe)
  • r130014 (HostServices/SharedOpenGL,GuestHost/OpenGL: WIndows build fixes)
  • r130015 (HostServices/SharedOpenGL,GuestHost/OpenGL: More Windows build fixes)
  • r130036 (Config.kmk: Fix linker error on Windows by temporarily disabling the use of VBoxGuestR3DllMinW2K)
  • r130094 (src/VBox/GuestHost/OpenGL: Revert inlining the allocation/free functions in R3 completely as it doesn't work on Windows if memory is allocated and freed across different DLLs which don't share a common CRT, causes crashes in RtlValidtaeHeap())
  • r130095 (src/VBox/GuestHost/OpenGL,src/VBox/Additions/common/crOpenGL/pack: Don't use floating point specifiers in packspu_GetString() to avoid R6002 errors (couldn't fully understand why they occur suddenly after the rework but this gets rid of it))
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 5.5 KB
Line 
1# Copyright (c) 2001, Stanford University
2# All rights reserved.
3#
4# See the file LICENSE.txt for information on redistributing this software.
5
6# This script generates the packer/packer.def file.
7
8import sys
9import cPickle
10
11import apiutil
12
13
14apiutil.CopyrightDef()
15
16print "DESCRIPTION \"\""
17print "EXPORTS"
18
19keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
20for func_name in keys:
21 if apiutil.CanPack(func_name):
22 print "crPack%s" % func_name
23
24functions = [
25 'crPackVertexAttrib1dARBBBOX',
26 'crPackVertexAttrib1dvARBBBOX',
27 'crPackVertexAttrib1fARBBBOX',
28 'crPackVertexAttrib1fvARBBBOX',
29 'crPackVertexAttrib1sARBBBOX',
30 'crPackVertexAttrib1svARBBBOX',
31 'crPackVertexAttrib2dARBBBOX',
32 'crPackVertexAttrib2dvARBBBOX',
33 'crPackVertexAttrib2fARBBBOX',
34 'crPackVertexAttrib2fvARBBBOX',
35 'crPackVertexAttrib2sARBBBOX',
36 'crPackVertexAttrib2svARBBBOX',
37 'crPackVertexAttrib3dARBBBOX',
38 'crPackVertexAttrib3dvARBBBOX',
39 'crPackVertexAttrib3fARBBBOX',
40 'crPackVertexAttrib3fvARBBBOX',
41 'crPackVertexAttrib3sARBBBOX',
42 'crPackVertexAttrib3svARBBBOX',
43 'crPackVertexAttrib4dARBBBOX',
44 'crPackVertexAttrib4dvARBBBOX',
45 'crPackVertexAttrib4fARBBBOX',
46 'crPackVertexAttrib4fvARBBBOX',
47 'crPackVertexAttrib4sARBBBOX',
48 'crPackVertexAttrib4svARBBBOX',
49 'crPackVertexAttrib4usvARBBBOX',
50 'crPackVertexAttrib4ivARBBBOX',
51 'crPackVertexAttrib4uivARBBBOX',
52 'crPackVertexAttrib4bvARBBBOX',
53 'crPackVertexAttrib4ubvARBBBOX',
54 'crPackVertexAttrib4NusvARBBBOX',
55 'crPackVertexAttrib4NsvARBBBOX',
56 'crPackVertexAttrib4NuivARBBBOX',
57 'crPackVertexAttrib4NivARBBBOX',
58 'crPackVertexAttrib4NubvARBBBOX',
59 'crPackVertexAttrib4NbvARBBBOX',
60 'crPackVertexAttrib4NubARBBBOX',
61 'crPackVertex2dBBOX',
62 'crPackVertex2dvBBOX',
63 'crPackVertex2fBBOX',
64 'crPackVertex2fvBBOX',
65 'crPackVertex2iBBOX',
66 'crPackVertex2ivBBOX',
67 'crPackVertex2sBBOX',
68 'crPackVertex2svBBOX',
69 'crPackVertex3dBBOX',
70 'crPackVertex3dvBBOX',
71 'crPackVertex3fBBOX',
72 'crPackVertex3fvBBOX',
73 'crPackVertex3iBBOX',
74 'crPackVertex3ivBBOX',
75 'crPackVertex3sBBOX',
76 'crPackVertex3svBBOX',
77 'crPackVertex4dBBOX',
78 'crPackVertex4dvBBOX',
79 'crPackVertex4fBBOX',
80 'crPackVertex4fvBBOX',
81 'crPackVertex4iBBOX',
82 'crPackVertex4ivBBOX',
83 'crPackVertex4sBBOX',
84 'crPackVertex4svBBOX',
85 'crPackVertexAttrib1dARBBBOX_COUNT',
86 'crPackVertexAttrib1dvARBBBOX_COUNT',
87 'crPackVertexAttrib1fARBBBOX_COUNT',
88 'crPackVertexAttrib1fvARBBBOX_COUNT',
89 'crPackVertexAttrib1sARBBBOX_COUNT',
90 'crPackVertexAttrib1svARBBBOX_COUNT',
91 'crPackVertexAttrib2dARBBBOX_COUNT',
92 'crPackVertexAttrib2dvARBBBOX_COUNT',
93 'crPackVertexAttrib2fARBBBOX_COUNT',
94 'crPackVertexAttrib2fvARBBBOX_COUNT',
95 'crPackVertexAttrib2sARBBBOX_COUNT',
96 'crPackVertexAttrib2svARBBBOX_COUNT',
97 'crPackVertexAttrib3dARBBBOX_COUNT',
98 'crPackVertexAttrib3dvARBBBOX_COUNT',
99 'crPackVertexAttrib3fARBBBOX_COUNT',
100 'crPackVertexAttrib3fvARBBBOX_COUNT',
101 'crPackVertexAttrib3sARBBBOX_COUNT',
102 'crPackVertexAttrib3svARBBBOX_COUNT',
103 'crPackVertexAttrib4dARBBBOX_COUNT',
104 'crPackVertexAttrib4dvARBBBOX_COUNT',
105 'crPackVertexAttrib4fARBBBOX_COUNT',
106 'crPackVertexAttrib4fvARBBBOX_COUNT',
107 'crPackVertexAttrib4sARBBBOX_COUNT',
108 'crPackVertexAttrib4svARBBBOX_COUNT',
109 'crPackVertexAttrib4usvARBBBOX_COUNT',
110 'crPackVertexAttrib4ivARBBBOX_COUNT',
111 'crPackVertexAttrib4uivARBBBOX_COUNT',
112 'crPackVertexAttrib4bvARBBBOX_COUNT',
113 'crPackVertexAttrib4ubvARBBBOX_COUNT',
114 'crPackVertexAttrib4NusvARBBBOX_COUNT',
115 'crPackVertexAttrib4NsvARBBBOX_COUNT',
116 'crPackVertexAttrib4NuivARBBBOX_COUNT',
117 'crPackVertexAttrib4NivARBBBOX_COUNT',
118 'crPackVertexAttrib4NubvARBBBOX_COUNT',
119 'crPackVertexAttrib4NbvARBBBOX_COUNT',
120 'crPackVertexAttrib4NubARBBBOX_COUNT',
121 'crPackVertex2dBBOX_COUNT',
122 'crPackVertex2dvBBOX_COUNT',
123 'crPackVertex2fBBOX_COUNT',
124 'crPackVertex2fvBBOX_COUNT',
125 'crPackVertex2iBBOX_COUNT',
126 'crPackVertex2ivBBOX_COUNT',
127 'crPackVertex2sBBOX_COUNT',
128 'crPackVertex2svBBOX_COUNT',
129 'crPackVertex3dBBOX_COUNT',
130 'crPackVertex3dvBBOX_COUNT',
131 'crPackVertex3fBBOX_COUNT',
132 'crPackVertex3fvBBOX_COUNT',
133 'crPackVertex3iBBOX_COUNT',
134 'crPackVertex3ivBBOX_COUNT',
135 'crPackVertex3sBBOX_COUNT',
136 'crPackVertex3svBBOX_COUNT',
137 'crPackVertex4dBBOX_COUNT',
138 'crPackVertex4dvBBOX_COUNT',
139 'crPackVertex4fBBOX_COUNT',
140 'crPackVertex4fvBBOX_COUNT',
141 'crPackVertex4iBBOX_COUNT',
142 'crPackVertex4ivBBOX_COUNT',
143 'crPackVertex4sBBOX_COUNT',
144 'crPackVertex4svBBOX_COUNT',
145 'crPackVertexAttribs1dvNV',
146 'crPackVertexAttribs1fvNV',
147 'crPackVertexAttribs1svNV',
148 'crPackVertexAttribs2dvNV',
149 'crPackVertexAttribs2fvNV',
150 'crPackVertexAttribs2svNV',
151 'crPackVertexAttribs3dvNV',
152 'crPackVertexAttribs3fvNV',
153 'crPackVertexAttribs3svNV',
154 'crPackVertexAttribs4dvNV',
155 'crPackVertexAttribs4fvNV',
156 'crPackVertexAttribs4svNV',
157 'crPackVertexAttribs4ubvNV',
158 'crPackExpandDrawArrays',
159 'crPackExpandDrawElements',
160 'crPackUnrollDrawElements',
161 'crPackExpandDrawRangeElements',
162 'crPackExpandArrayElement',
163 'crPackExpandMultiDrawArraysEXT',
164 'crPackMultiDrawArraysEXT',
165 'crPackMultiDrawElementsEXT',
166 'crPackExpandMultiDrawElementsEXT',
167 'crPackMapBufferARB',
168 'crPackUnmapBufferARB' ]
169
170for func_name in functions:
171 print "%s" % func_name
172
173
174print """
175crPackInitBuffer
176crPackResetPointers
177crPackAppendBuffer
178crPackAppendBoundedBuffer
179crPackSetBuffer
180crPackSetBufferDEBUG
181crPackReleaseBuffer
182crPackFlushFunc
183crPackFlushArg
184crPackSendHugeFunc
185crPackBoundsInfoCR
186crPackResetBoundingBox
187crPackGetBoundingBox
188crPackOffsetCurrentPointers
189crPackNullCurrentPointers
190crPackNewContext
191crPackGetContext
192crPackSetContext
193crPackFree
194crNetworkPointerWrite
195crPackCanHoldBuffer
196crPackCanHoldBoundedBuffer
197crPackMaxData
198crPackErrorFunction
199cr_packer_globals
200_PackerTSD
201"""
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette