~ubuntu-branches/ubuntu/trusty/blender/trusty-proposed

« back to all changes in this revision

Viewing changes to source/blender/gpu/GPU_draw.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2013-08-14 10:43:49 UTC
  • mfrom: (14.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20130814104349-t1d5mtwkphp12dyj
Tags: 2.68a-3
* Upload to unstable
* debian/: python3.3 Depends simplified
  - debian/control: python3.3 Depends dropped
    for blender-data package
  - 0001-blender_thumbnailer.patch refreshed
* debian/control: libavcodec b-dep versioning dropped

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 * - after drawing, the material must be disabled again */
70
70
 
71
71
void GPU_begin_object_materials(struct View3D *v3d, struct RegionView3D *rv3d, 
72
 
        struct Scene *scene, struct Object *ob, int glsl, int *do_alpha_after);
 
72
                                struct Scene *scene, struct Object *ob, bool glsl, bool *do_alpha_after);
73
73
void GPU_end_object_materials(void);
74
74
 
75
75
int GPU_enable_material(int nr, void *attribs);
108
108
void GPU_set_mipmap(int mipmap);
109
109
int GPU_get_mipmap(void);
110
110
void GPU_set_linear_mipmap(int linear);
 
111
int GPU_get_linear_mipmap(void);
111
112
void GPU_paint_set_mipmap(int mipmap);
112
113
 
113
114
/* Anisotropic filtering settings
124
125
void GPU_paint_update_image(struct Image *ima, int x, int y, int w, int h);
125
126
void GPU_update_images_framechange(void);
126
127
int GPU_update_image_time(struct Image *ima, double time);
127
 
int GPU_verify_image(struct Image *ima, struct ImageUser *iuser, int tftile, int compare, int mipmap, int isdata);
 
128
int GPU_verify_image(struct Image *ima, struct ImageUser *iuser, int tftile, int compare, int mipmap, bool is_data);
128
129
void GPU_create_gl_tex(unsigned int *bind, unsigned int *pix, float *frect, int rectw, int recth, int mipmap, int use_hight_bit_depth, struct Image *ima);
129
130
void GPU_create_gl_tex_compressed(unsigned int *bind, unsigned int *pix, int x, int y, int mipmap, struct Image *ima, struct ImBuf *ibuf);
130
131
int GPU_upload_dxt_texture(struct ImBuf *ibuf);