~ubuntu-branches/ubuntu/intrepid/blender/intrepid-updates

« back to all changes in this revision

Viewing changes to source/blender/include/BDR_drawmesh.h

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2008-08-08 02:45:40 UTC
  • mfrom: (12.1.14 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080808024540-kkjp7ekfivzhuw3l
Tags: 2.46+dfsg-4
* Fix python syntax warning in import_dxf.py, which led to nasty output
  in installation/upgrade logs during byte-compilation, using a patch
  provided by the script author (Closes: #492280):
   - debian/patches/45_fix_python_syntax_warning

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: BDR_drawmesh.h,v 1.8 2006/02/08 21:00:58 blendix Exp $
 
2
 * $Id: BDR_drawmesh.h 14444 2008-04-16 22:40:48Z hos $
3
3
 *
4
 
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
 
4
 * ***** BEGIN GPL LICENSE BLOCK *****
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or
7
7
 * modify it under the terms of the GNU General Public License
8
8
 * as published by the Free Software Foundation; either version 2
9
 
 * of the License, or (at your option) any later version. The Blender
10
 
 * Foundation also sells licenses for use in proprietary software under
11
 
 * the Blender License.  See http://www.blender.org/BL/ for information
12
 
 * about this.
 
9
 * of the License, or (at your option) any later version.
13
10
 *
14
11
 * This program is distributed in the hope that it will be useful,
15
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
24
 *
28
25
 * Contributor(s): none yet.
29
26
 *
30
 
 * ***** END GPL/BL DUAL LICENSE BLOCK *****
 
27
 * ***** END GPL LICENSE BLOCK *****
31
28
 */
32
29
 
33
30
#ifndef BDR_DRAWMESH_H
34
31
#define BDR_DRAWMESH_H
35
32
 
36
33
struct Image;
37
 
struct TFace;
 
34
struct MTFace;
38
35
struct Object;
 
36
struct DerivedMesh;
39
37
struct Mesh;
40
38
struct EdgeHash;
41
39
 
48
46
void set_mipmap(int mipmap);
49
47
 
50
48
/**
51
 
 * Returns the current setting for mipmapping.
52
 
 */
53
 
int get_mipmap(void);
54
 
 
55
 
/**
56
49
 * Enables or disable linear mipmap setting for realtime images (textures).
57
50
 * Note that this will will destroy all texture bindings in OpenGL.
58
51
 * @see free_realtime_image()
70
63
 */
71
64
void clear_realtime_image_cache(void);
72
65
 
 
66
 
 
67
void update_realtime_image(struct Image *ima, int x, int y, int w, int h);
73
68
void free_realtime_image(struct Image *ima);
74
69
void free_all_realtime_images(void);
75
70
void make_repbind(struct Image *ima);
76
 
int set_tpage(struct TFace *tface);
77
 
void draw_tface_mesh(struct Object *ob, struct Mesh *me, int dt);
 
71
int set_tpage(struct MTFace *tface);
 
72
 
 
73
void texpaint_enable_mipmap(void);
 
74
void texpaint_disable_mipmap(void);
 
75
 
 
76
void draw_mesh_textured(struct Object *ob, struct DerivedMesh *dm, int facesel);
78
77
struct EdgeHash *get_tface_mesh_marked_edge_info(struct Mesh *me);
79
78
void init_realtime_GL(void); 
80
79