new backend: add interface for query blur size

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-07-13 16:55:26 +01:00
parent 9cb7fcf645
commit 4c9ded837f
5 changed files with 16 additions and 0 deletions

View File

@@ -213,6 +213,7 @@ struct backend_operations {
/// Create a blur context that can be used to call `blur`
void *(*create_blur_context)(backend_t *base, enum blur_method, void *args);
void (*destroy_blur_context)(backend_t *base, void *ctx);
void (*get_blur_size)(void *blur_context, int *width, int *height);
// =========== Hooks ============
/// Let the backend hook into the event handling queue