Blender V2.61 - r43446
Functions

GPU_draw.h File Reference

Go to the source code of this file.

Functions

void GPU_state_init (void)
void GPU_state_print (void)
void GPU_begin_object_materials (struct View3D *v3d, struct RegionView3D *rv3d, struct Scene *scene, struct Object *ob, int glsl, int *do_alpha_after)
void GPU_end_object_materials (void)
int GPU_enable_material (int nr, void *attribs)
void GPU_disable_material (void)
void GPU_set_material_alpha_blend (int alphablend)
int GPU_get_material_alpha_blend (void)
int GPU_set_tpage (struct MTFace *tface, int mipmap, int transp)
int GPU_default_lights (void)
int GPU_scene_object_lights (struct Scene *scene, struct Object *ob, int lay, float viewmat[][4], int ortho)
void GPU_render_text (struct MTFace *tface, int mode, const char *textstr, int textlen, unsigned int *col, float *v1, float *v2, float *v3, float *v4, int glattrib)
void GPU_set_mipmap (int mipmap)
void GPU_set_linear_mipmap (int linear)
void GPU_paint_set_mipmap (int mipmap)
void GPU_set_anisotropic (float value)
float GPU_get_anisotropic (void)
void GPU_paint_update_image (struct Image *ima, int x, int y, int w, int h, int mipmap)
void GPU_update_images_framechange (void)
int GPU_update_image_time (struct Image *ima, double time)
int GPU_verify_image (struct Image *ima, struct ImageUser *iuser, int tftile, int compare, int mipmap)
void GPU_free_image (struct Image *ima)
void GPU_free_images (void)
void GPU_free_images_anim (void)
void GPU_free_smoke (struct SmokeModifierData *smd)
void GPU_create_smoke (struct SmokeModifierData *smd, int highres)
void GPU_free_unused_buffers (void)

Detailed Description

Definition in file GPU_draw.h.


Function Documentation

void GPU_begin_object_materials ( struct View3D v3d,
struct RegionView3D rv3d,
struct Scene scene,
struct Object ob,
int  glsl,
int *  do_alpha_after 
)
void GPU_create_smoke ( struct SmokeModifierData smd,
int  highres 
)
int GPU_default_lights ( void  )
void GPU_disable_material ( void  )
int GPU_enable_material ( int  nr,
void *  attribs 
)
void GPU_end_object_materials ( void  )
void GPU_free_image ( struct Image ima)
void GPU_free_images ( void  )
void GPU_free_images_anim ( void  )
void GPU_free_smoke ( struct SmokeModifierData smd)
void GPU_free_unused_buffers ( void  )
float GPU_get_anisotropic ( void  )
int GPU_get_material_alpha_blend ( void  )

Definition at line 1185 of file gpu_draw.c.

References GMS, and GPUMaterialState::lastalphablend.

Referenced by RAS_OpenGLRasterizer::IndexPrimitivesInternal().

void GPU_paint_set_mipmap ( int  mipmap)
void GPU_paint_update_image ( struct Image ima,
int  x,
int  y,
int  w,
int  h,
int  mipmap 
)
void GPU_render_text ( struct MTFace tface,
int  mode,
const char *  textstr,
int  textlen,
unsigned int *  col,
float *  v1,
float *  v2,
float *  v3,
float *  v4,
int  glattrib 
)
int GPU_scene_object_lights ( struct Scene scene,
struct Object ob,
int  lay,
float  viewmat[][4],
int  ortho 
)
void GPU_set_anisotropic ( float  value)
void GPU_set_linear_mipmap ( int  linear)

Definition at line 245 of file gpu_draw.c.

References GPU_free_images(), GTS, and GPUTextureState::linearmipmap.

Referenced by set_ge_parameters().

void GPU_set_material_alpha_blend ( int  alphablend)
void GPU_set_mipmap ( int  mipmap)

Definition at line 237 of file gpu_draw.c.

References GPUTextureState::domipmap, GPU_free_images(), and GTS.

Referenced by main(), set_ge_parameters(), and WM_init().

int GPU_set_tpage ( struct MTFace tface,
int  mipmap,
int  transp 
)
void GPU_state_init ( void  )

Definition at line 1375 of file gpu_draw.c.

References GPU_default_lights().

Referenced by RAS_OpenGLRasterizer::Init(), and wm_window_add_ghostwindow().

void GPU_state_print ( void  )

Definition at line 1465 of file gpu_draw.c.

References gpu_get_print().

int GPU_update_image_time ( struct Image ima,
double  time 
)
void GPU_update_images_framechange ( void  )
int GPU_verify_image ( struct Image ima,
struct ImageUser iuser,
int  tftile,
int  compare,
int  mipmap 
)