OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
common.hpp File Reference
#include "vector_math.h"
#include <stddef.h>
#include <stdio.h>
#include <string>
#include "EGLRuntime.h"
#include "Platform.h"
#include <GLES3/gl31.h>

Go to the source code of this file.

Functions

GLuint common_compile_shader (const char *vs_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_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)
 

Function Documentation

GLuint common_compile_compute_shader ( const char *  cs_source)

Definition at line 180 of file common.cpp.

GLuint common_compile_compute_shader_from_file ( const char *  cs_source)

Definition at line 317 of file common.cpp.

GLuint common_compile_shader ( const char *  vs_source,
const char *  fs_source 
)

Definition at line 74 of file common.cpp.

GLuint common_compile_shader_from_file ( const char *  vs_source,
const char *  fs_source 
)

Definition at line 241 of file common.cpp.

FILE* common_fopen ( const char *  path,
const char *  mode 
)

Definition at line 349 of file common.cpp.

std::string common_get_path ( const char *  basepath)

Definition at line 337 of file common.cpp.

void common_set_basedir ( const char *  basedir)

Definition at line 332 of file common.cpp.