From 3279561e9ab3a6f25215b8e857493d2b9ae6bdd9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 1 Feb 2012 14:02:35 -0700 Subject: st-api: fix typos, whitespace, line wrapping --- src/gallium/include/state_tracker/st_api.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gallium/include/state_tracker') diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h index da49dc80fca..3af1dfc6d4d 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/state_tracker/st_api.h @@ -176,7 +176,7 @@ struct pipe_fence_handle; */ struct st_context_resource { - /* these fields are filled by the caller */ + /* these fields are filled in by the caller */ enum st_context_resource_type type; void *resource; @@ -251,17 +251,17 @@ struct st_context_attribs * The framebuffer is implemented by the state tracker manager and * used by the state trackers. * - * Instead of the winsys pokeing into the API context to figure + * Instead of the winsys poking into the API context to figure * out what buffers that might be needed in the future by the API * context, it calls into the framebuffer to get the textures. * * This structure along with the notify_invalid_framebuffer * allows framebuffers to be shared between different threads * but at the same make the API context free from thread - * syncronisation primitves, with the exception of a small + * synchronization primitves, with the exception of a small * atomic flag used for notification of framebuffer dirty status. * - * The thread syncronisation is put inside the framebuffer + * The thread synchronization is put inside the framebuffer * and only called once the framebuffer has become dirty. */ struct st_framebuffer_iface @@ -269,7 +269,6 @@ struct st_framebuffer_iface /** * Atomic stamp which changes when framebuffers need to be updated. */ - int32_t stamp; /** @@ -345,7 +344,8 @@ struct st_context_iface * * This function is optional. */ - boolean (*teximage)(struct st_context_iface *stctxi, enum st_texture_type target, + boolean (*teximage)(struct st_context_iface *stctxi, + enum st_texture_type target, int level, enum pipe_format internal_format, struct pipe_resource *tex, boolean mipmap); -- cgit v1.2.3