Gem-graph 0.1.0
A modelling tool based on rewriting of geometric graphs.
|
graphics - initialization and graphic stack management More...
#include "../../include/graphics.h"
#include "../../include/parse.h"
#include "../../include/util.h"
Macros | |
#define | TEST 0 |
phantom documentation | |
Functions | |
int | graphics_init (void *error_buffer) |
Initializes a gl_area. | |
bool | graphics_shutdown (const int id, void *error_buffer) |
Shutdowns a gl_area. | |
void | graphics_model_setup (const int stack_id) |
graphics_model_setup | |
void | graphics_init_buffers (const int stack_id) |
Initializes the buffer of a gl_area Calls according to the user preferences. | |
bool | graphics_init_shaders (const int stack_id) |
Initializes the shaders of a gl_area and link them to a program. | |
Variables | |
struct graphics_stack_t * | graphics_stack = NULL |
phantom documentation | |
size_t | graphics_stack_size = 0 |
phantom documentation | |
int * | free_stack_slot = NULL |
phantom documentation | |
size_t | free_stack_slot_size = 0 |
phantom documentation | |
graphics - initialization and graphic stack management
This file is part of Gem-graph.
int graphics_init | ( | void * | error_buffer | ) |
Initializes a gl_area.
*error_buffer |
void graphics_init_buffers | ( | const int | stack_id | ) |
Initializes the buffer of a gl_area Calls according to the user preferences.
stack_id |
gl_area, ptr to the gl_area widget
bool graphics_init_shaders | ( | const int | stack_id | ) |
Initializes the shaders of a gl_area and link them to a program.
stack_id |
gl_area, ptr to the gl_area widget
void graphics_model_setup | ( | const int | graphics_stack_id | ) |
graphics_model_setup
graphics_stack_id |
bool graphics_shutdown | ( | const int | id, |
void * | error_buffer | ||
) |
Shutdowns a gl_area.
id | |
*error_buffer |
gl_area, ptr to the gl_area widget
struct graphics_stack_t* graphics_stack = NULL |
phantom documentation
Dynamic array of ptrs to dynamically allocated gl_area_entry.