You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
766 B

  1. #pragma once
  2. #include <stdbool.h>
  3. #include "terminal.h"
  4. #include "fdm.h"
  5. #include "wayland.h"
  6. struct renderer;
  7. struct renderer *render_init(struct fdm *fdm, struct wayland *wayl);
  8. void render_destroy(struct renderer *renderer);
  9. bool render_resize(struct terminal *term, int width, int height);
  10. bool render_resize_force(struct terminal *term, int width, int height);
  11. void render_refresh(struct terminal *term);
  12. void render_refresh_csd(struct terminal *term);
  13. void render_refresh_search(struct terminal *term);
  14. void render_refresh_title(struct terminal *term);
  15. bool render_xcursor_set(struct seat *seat, struct terminal *term, const char *xcursor);
  16. struct render_worker_context {
  17. int my_id;
  18. struct terminal *term;
  19. };
  20. int render_worker_thread(void *_ctx);