X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fsvga%2Fsvga_resource_texture.h;h=0c1bb8c4eb1374b7cc15fdf2c0db9483b51fc46a;hb=8a4b0d852c1f28c302e0df6fa63dbc08a32bc683;hp=20db1c03957539eb88749d2cc9f247065dfa83ea;hpb=1dcf377a76cc4fa3e1c5312b0e10c4754532b512;p=mesa.git diff --git a/src/gallium/drivers/svga/svga_resource_texture.h b/src/gallium/drivers/svga/svga_resource_texture.h index 20db1c03957..0c1bb8c4eb1 100644 --- a/src/gallium/drivers/svga/svga_resource_texture.h +++ b/src/gallium/drivers/svga/svga_resource_texture.h @@ -47,12 +47,12 @@ enum SVGA3dSurfaceFormat; extern struct u_resource_vtbl svga_texture_vtbl; -struct svga_texture +struct svga_texture { struct u_resource b; ushort *defined; - + struct svga_sampler_view *cached_view; unsigned view_age[SVGA_MAX_TEXTURE_LEVELS]; @@ -62,8 +62,8 @@ struct svga_texture /** * Creation key for the host surface handle. - * - * This structure describes all the host surface characteristics so that it + * + * This structure describes all the host surface characteristics so that it * can be looked up in cache, since creating a host surface is often a slow * operation. */ @@ -102,7 +102,7 @@ struct svga_texture /** array indexed by cube face or 3D/array slice, one bit per mipmap level. * Set if the level is marked as dirty. - */ + */ ushort *dirty; /** @@ -284,10 +284,10 @@ svga_texture_create(struct pipe_screen *screen, struct pipe_resource * svga_texture_from_handle(struct pipe_screen * screen, - const struct pipe_resource *template, - struct winsys_handle *whandle); + const struct pipe_resource *template, + struct winsys_handle *whandle); -boolean +bool svga_texture_generate_mipmap(struct pipe_context *pipe, struct pipe_resource *pt, enum pipe_format format,