diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-04-19 15:36:06 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-04-19 15:36:06 -0700 |
commit | 53d4d504b9103f524c50385ed3545fd08d0e272e (patch) | |
tree | 3f540f6bd1a0c6eb6301f15ebf3376e9c6fdaf68 /src/til_fb.c | |
parent | ca14c4bf346a200ab8a66be293d8e71d49e09e32 (diff) |
*: s/til_fb_fragment_zero/til_fb_fragment_clear/
Mechanical renaming of "zero" to "clear" throughout for this
context.
Diffstat (limited to 'src/til_fb.c')
-rw-r--r-- | src/til_fb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/til_fb.c b/src/til_fb.c index 1f10075..5a6a956 100644 --- a/src/til_fb.c +++ b/src/til_fb.c @@ -233,7 +233,7 @@ static inline _til_fb_page_t * _til_fb_page_get(til_fb_t *fb) pthread_mutex_unlock(&fb->inactive_mutex); page->next = page->previous = NULL; - page->public_page.fragment.zeroed = 0; + page->public_page.fragment.cleared = 0; return page; } @@ -410,7 +410,7 @@ int til_fb_fragment_slice_single(const til_fb_fragment_t *fragment, unsigned n_f res_fragment->stride = fragment->stride; res_fragment->pitch = fragment->pitch; res_fragment->number = number; - res_fragment->zeroed = fragment->zeroed; + res_fragment->cleared = fragment->cleared; return 1; } @@ -446,7 +446,7 @@ int til_fb_fragment_tile_single(const til_fb_fragment_t *fragment, unsigned tile res_fragment->stride = fragment->stride + ((fragment->width - res_fragment->width) * 4); res_fragment->pitch = fragment->pitch; res_fragment->number = number; - res_fragment->zeroed = fragment->zeroed; + res_fragment->cleared = fragment->cleared; return 1; } |