#include <stddef.h>
#include <stdio.h>
#include <string>
#include <string.h>
#include "EGLRuntime.h"
#include "Platform.h"
#include <GLES3/gl31.h>
#include <GLES2/gl2ext.h>
Go to the source code of this file.
|
GLuint | common_compile_shader (const char *vs_source, const char *fs_source) |
|
GLuint | common_compile_shader (const char *vs_source, const char *tc_source, const char *te_source, const char *geom_source, const char *fs_source) |
|
GLuint | common_compile_compute_shader (const char *cs_source) |
|
GLuint | common_compile_shader_from_file (const char *vs_source, const char *fs_source) |
|
GLuint | common_compile_shader_from_file (const char *vs_source, const char *tc_source, const char *te_source, const char *geom_source, const char *fs_source) |
|
GLuint | common_compile_compute_shader_from_file (const char *cs_source) |
|
void | common_set_basedir (const char *basedir) |
|
FILE * | common_fopen (const char *path, const char *mode) |
|
std::string | common_get_path (const char *basepath) |
|
bool | common_read_file_string (const char *path, char **out_buf) |
|
bool | common_has_extension (const char *ext) |
|
#define GL_GLEXT_PROTOTYPES |
GLuint common_compile_compute_shader |
( |
const char * |
cs_source | ) |
|
GLuint common_compile_compute_shader_from_file |
( |
const char * |
cs_source | ) |
|
GLuint common_compile_shader |
( |
const char * |
vs_source, |
|
|
const char * |
fs_source |
|
) |
| |
GLuint common_compile_shader |
( |
const char * |
vs_source, |
|
|
const char * |
tc_source, |
|
|
const char * |
te_source, |
|
|
const char * |
geom_source, |
|
|
const char * |
fs_source |
|
) |
| |
GLuint common_compile_shader_from_file |
( |
const char * |
vs_source, |
|
|
const char * |
fs_source |
|
) |
| |
GLuint common_compile_shader_from_file |
( |
const char * |
vs_source, |
|
|
const char * |
tc_source, |
|
|
const char * |
te_source, |
|
|
const char * |
geom_source, |
|
|
const char * |
fs_source |
|
) |
| |
FILE* common_fopen |
( |
const char * |
path, |
|
|
const char * |
mode |
|
) |
| |
std::string common_get_path |
( |
const char * |
basepath | ) |
|
bool common_has_extension |
( |
const char * |
ext | ) |
|
|
inline |
bool common_read_file_string |
( |
const char * |
path, |
|
|
char ** |
out_buf |
|
) |
| |
void common_set_basedir |
( |
const char * |
basedir | ) |
|