[PATCH v2 2/7] wined3d: Add functions to support device local and non-local memory info management.