diff options
author | Jakob Bornecrantz <[email protected]> | 2010-01-19 22:26:01 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-01-19 23:30:31 +0100 |
commit | bea9ed4dc6abbcf2b95f5f55554800d4f41da47a (patch) | |
tree | 4346a8e55ab848680f6a33da4e9b8f991e6d4b98 /src/gallium/drivers/svga/svga_winsys.h | |
parent | c78fe6e050c311a3d53ccb091686a65ee6933a90 (diff) |
svga: Do a more propper creation of textures from handles
Diffstat (limited to 'src/gallium/drivers/svga/svga_winsys.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_winsys.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_winsys.h b/src/gallium/drivers/svga/svga_winsys.h index 59f299c1858..27b99fe4c10 100644 --- a/src/gallium/drivers/svga/svga_winsys.h +++ b/src/gallium/drivers/svga/svga_winsys.h @@ -296,4 +296,10 @@ svga_screen_buffer_from_texture(struct pipe_texture *texture, struct pipe_buffer **buffer, unsigned *stride); +struct pipe_texture * +svga_screen_texture_wrap_surface(struct pipe_screen *screen, + struct pipe_texture *base, + enum SVGA3dSurfaceFormat format, + struct svga_winsys_surface *srf); + #endif /* SVGA_WINSYS_H_ */ |