mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 22:31:46 +00:00
[client] egl: moved egl sources into subdirectory
This commit is contained in:
parent
73da86ac0e
commit
a9aab3c1ee
9 changed files with 16 additions and 16 deletions
|
@ -59,9 +59,9 @@ set(SOURCES
|
||||||
decoders/yuv420.c
|
decoders/yuv420.c
|
||||||
renderers/opengl.c
|
renderers/opengl.c
|
||||||
renderers/egl.c
|
renderers/egl.c
|
||||||
renderers/egl_shader.c
|
renderers/egl/shader.c
|
||||||
renderers/egl_texture.c
|
renderers/egl/texture.c
|
||||||
renderers/egl_model.c
|
renderers/egl/model.c
|
||||||
fonts/sdl.c
|
fonts/sdl.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,9 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#include <SDL2/SDL_syswm.h>
|
#include <SDL2/SDL_syswm.h>
|
||||||
#include <SDL2/SDL_egl.h>
|
#include <SDL2/SDL_egl.h>
|
||||||
|
|
||||||
#include "egl_model.h"
|
#include "egl/model.h"
|
||||||
#include "egl_shader.h"
|
#include "egl/shader.h"
|
||||||
#include "egl_shader_progs.h"
|
#include "egl/progs.h"
|
||||||
|
|
||||||
struct Options
|
struct Options
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,9 +17,9 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||||
Place, Suite 330, Boston, MA 02111-1307 USA
|
Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "egl_model.h"
|
#include "model.h"
|
||||||
#include "egl_shader.h"
|
#include "shader.h"
|
||||||
#include "egl_texture.h"
|
#include "texture.h"
|
||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
|
@ -20,8 +20,8 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "egl_shader.h"
|
#include "shader.h"
|
||||||
#include "egl_texture.h"
|
#include "texture.h"
|
||||||
|
|
||||||
#define GL_GLEXT_PROTOTYPES
|
#define GL_GLEXT_PROTOTYPES
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
|
@ -17,8 +17,8 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||||
Place, Suite 330, Boston, MA 02111-1307 USA
|
Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _EGL_SHADER_PROGS_H
|
#ifndef _EGL_PROGS_H
|
||||||
#define _EGL_SHADER_PROGS_H
|
#define _EGL_PROGS_H
|
||||||
|
|
||||||
static const char egl_vertex_shader_desktop[] = "\
|
static const char egl_vertex_shader_desktop[] = "\
|
||||||
#version 300 es\n\
|
#version 300 es\n\
|
|
@ -17,7 +17,7 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||||
Place, Suite 330, Boston, MA 02111-1307 USA
|
Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "egl_shader.h"
|
#include "shader.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||||
Place, Suite 330, Boston, MA 02111-1307 USA
|
Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "egl_texture.h"
|
#include "texture.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
|
@ -20,7 +20,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "egl_shader.h"
|
#include "shader.h"
|
||||||
|
|
||||||
#define GL_GLEXT_PROTOTYPES
|
#define GL_GLEXT_PROTOTYPES
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
Loading…
Reference in a new issue