render: split render.h into wlr_renderer.h and wlr_texture.h

This commit is contained in:
emersion 2018-03-19 23:16:29 +01:00
parent a76cef475b
commit c41de2d1be
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
29 changed files with 241 additions and 229 deletions

View file

@ -6,7 +6,7 @@
#include <wayland-server-protocol.h>
#include <wayland-util.h>
#include <wlr/backend.h>
#include <wlr/render.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/render/egl.h>
#include <wlr/render/interface.h>
#include <wlr/types/wlr_matrix.h>

View file

@ -5,7 +5,7 @@
#include <stdlib.h>
#include <wayland-server-protocol.h>
#include <wayland-util.h>
#include <wlr/render.h>
#include <wlr/render/wlr_texture.h>
#include <wlr/render/egl.h>
#include <wlr/render/interface.h>
#include <wlr/types/wlr_matrix.h>

View file

@ -1,6 +1,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <wlr/render/interface.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_matrix.h>
void wlr_renderer_init(struct wlr_renderer *renderer,

View file

@ -1,6 +1,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <wlr/render/interface.h>
#include <wlr/render/wlr_texture.h>
void wlr_texture_init(struct wlr_texture *texture,
struct wlr_texture_impl *impl) {