Reformat all #include directives

This commit is contained in:
emersion 2018-02-12 21:29:23 +01:00
parent 36ead80cd1
commit c2e1474010
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
138 changed files with 449 additions and 456 deletions

View file

@ -1,10 +1,10 @@
#include <assert.h>
#include <stdlib.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <GLES2/gl2.h>
#include <wlr/util/log.h>
#include <stdlib.h>
#include <wlr/render/egl.h>
#include <wlr/util/log.h>
#include "glapi.h"
// Extension documentation

View file

@ -1,10 +1,10 @@
#include <stdint.h>
#include <stdlib.h>
#include <assert.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <wayland-util.h>
#include <stdint.h>
#include <stdlib.h>
#include <wayland-server-protocol.h>
#include <wayland-util.h>
#include <wlr/backend.h>
#include <wlr/render.h>
#include <wlr/render/egl.h>

View file

@ -1,5 +1,5 @@
#include "render/gles2.h"
#include <GLES2/gl2.h>
#include "render/gles2.h"
// Colored quads
const GLchar quad_vertex_src[] =

View file

@ -1,17 +1,17 @@
#include <stdint.h>
#include <stdlib.h>
#include <assert.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <wayland-util.h>
#include <stdint.h>
#include <stdlib.h>
#include <wayland-server-protocol.h>
#include <wayland-util.h>
#include <wlr/render.h>
#include <wlr/render/egl.h>
#include <wlr/render/interface.h>
#include <wlr/render/matrix.h>
#include <wlr/util/log.h>
#include "util/signal.h"
#include "render/gles2.h"
#include "util/signal.h"
static struct pixel_format external_pixel_format = {
.wl_format = 0,

View file

@ -1,6 +1,6 @@
#include <stdlib.h>
#include <stdbool.h>
#include <GLES2/gl2.h>
#include <stdbool.h>
#include <stdlib.h>
#include <wlr/util/log.h>
#include "render/gles2.h"

View file

@ -1,9 +1,9 @@
#include <string.h>
#include <math.h>
#include <string.h>
#include <wayland-server-protocol.h>
#include <wlr/render/matrix.h>
#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_output.h>
#include <wlr/render/matrix.h>
/* Obtains the index for the given row/column */
static inline int mind(int row, int col) {

View file

@ -10,12 +10,12 @@ lib_wlr_render = static_library(
'wlr_render',
files(
'egl.c',
'matrix.c',
'gles2/pixel_format.c',
'gles2/renderer.c',
'gles2/shaders.c',
'gles2/texture.c',
'gles2/util.c',
'matrix.c',
'wlr_renderer.c',
'wlr_texture.c',
),

View file

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

View file

@ -1,5 +1,5 @@
#include <stdlib.h>
#include <stdbool.h>
#include <stdlib.h>
#include <wlr/render/interface.h>
void wlr_texture_init(struct wlr_texture *texture,