unsigned layer;
D3DSURFACE_DESC desc;
+ uint8_t *data; /* system memory backing */
+ boolean manage_data;
unsigned stride; /* for system memory backing */
/* wine doesn't even use these, 2 will be enough */
NineSurface9_new( struct NineDevice9 *pDevice,
struct NineUnknown *pContainer,
struct pipe_resource *pResource,
+ void *user_buffer,
uint8_t TextureType, /* 0 if pContainer isn't BaseTexure9 */
unsigned Level,
unsigned Layer,
struct NineUnknownParams *pParams,
struct NineUnknown *pContainer,
struct pipe_resource *pResource,
+ void *user_buffer,
uint8_t TextureType,
unsigned Level,
unsigned Layer,
memset(&This->dirty_rects, 0, sizeof(This->dirty_rects));
}
-HRESULT
-NineSurface9_AllocateData( struct NineSurface9 *This );
-
HRESULT
NineSurface9_UploadSelf( struct NineSurface9 *This );