Clarify function info object usage in the command buffer generator
Before, the Function objects (roughly corresponding to the commands being generated) would construct itself based on the function info object, parsed properties and many argument lists. The argument lists themselves were also constructed out of function info object and the parsed properties. Try to clarify this by following changes. Define that function info object is first parsed from the cmd_buffer_functions.txt file. Then the function info is possibly augmented by the optional object for the function info object table (_FUNCTION_INFO). Function objects are created solely on the function info object. Function constructor parses the function info object and constructs the needed properties, such as function type handlers, argument arrays and return value types. Function provides simple initialization function that the immediate and bucket subclasses can use to construct specialized versions of the command buffer command argument lists. Review URL: https://codereview.chromium.org/276873002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270051 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment