~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/render/intern/include/zbufferdatastruct.h

  • Committer: Bazaar Package Importer
  • Author(s): Lukas Fittl
  • Date: 2006-09-20 01:57:27 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060920015727-gmoqlxwstx9wwqs3
Tags: 2.42a-1ubuntu1
* Merge from Debian unstable (Closes: Malone #55903). Remaining changes:
  - debian/genpot: Add python scripts from Lee June <blender@eyou.com> to
    generate a reasonable PO template from the sources. Since gettext is used
    in a highly nonstandard way, xgettext does not work for this job.
  - debian/rules: Call the scripts, generate po/blender.pot, and clean it up
    in the clean target.
  - Add a proper header to the generated PO template.
* debian/control: Build depend on libavformat-dev >= 3:0.cvs20060823-3.1,
  otherwise this package will FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * zbufferdatastruct_ext.h
3
 
 *
4
 
 * $Id: zbufferdatastruct.h,v 1.6 2005/04/18 19:36:34 ton Exp $
5
 
 *
6
 
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
7
 
 *
8
 
 * This program is free software; you can redistribute it and/or
9
 
 * modify it under the terms of the GNU General Public License
10
 
 * as published by the Free Software Foundation; either version 2
11
 
 * of the License, or (at your option) any later version. The Blender
12
 
 * Foundation also sells licenses for use in proprietary software under
13
 
 * the Blender License.  See http://www.blender.org/BL/ for information
14
 
 * about this.
15
 
 *
16
 
 * This program is distributed in the hope that it will be useful,
17
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 
 * GNU General Public License for more details.
20
 
 *
21
 
 * You should have received a copy of the GNU General Public License
22
 
 * along with this program; if not, write to the Free Software Foundation,
23
 
 * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24
 
 *
25
 
 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
26
 
 * All rights reserved.
27
 
 *
28
 
 * The Original Code is: all of this file.
29
 
 *
30
 
 * Contributor(s): none yet.
31
 
 *
32
 
 * ***** END GPL/BL DUAL LICENSE BLOCK *****
33
 
 */
34
 
 
35
 
#ifndef ZBUFFERDATASTRUCT_EXT_H
36
 
#define ZBUFFERDATASTRUCT_EXT_H
37
 
 
38
 
#include "zbufferdatastruct_types.h"
39
 
 
40
 
/**
41
 
 * Set memory and counters for a fresh z buffer
42
 
 */
43
 
void initZbuffer(int linewidth);
44
 
 
45
 
/**
46
 
 * Release memory for the current z buffer
47
 
 */
48
 
void freeZbuffer(void);
49
 
 
50
 
/**
51
 
 * Release previous buffer and initialise new buffer. 
52
 
 */
53
 
void resetZbuffer(void);
54
 
 
55
 
/**
56
 
 * Make a root for a memory block (internal)
57
 
 */
58
 
RE_APixstrExt  *addpsemainA(void);
59
 
 
60
 
/**
61
 
 * Release a memory chunk
62
 
 */
63
 
void            freepseA(void);
64
 
 
65
 
/**
66
 
 * Add a structure
67
 
 */
68
 
RE_APixstrExt  *addpseA(void);
69
 
 
70
 
/**
71
 
 * Add an object to a zbuffer entry.
72
 
 */
73
 
void insertObject(int teller,
74
 
                                  int obindex,
75
 
                                  int obtype, 
76
 
                                  int dist, 
77
 
                                  int mask);
78
 
 
79
 
/**
80
 
 * Add a flat object to a zbuffer entry.
81
 
 */
82
 
void insertFlatObject(RE_APixstrExt* ap, 
83
 
                                          int obindex,
84
 
                                          int obtype, 
85
 
                                          int dist, 
86
 
                                          int mask);
87
 
 
88
 
/**
89
 
 * Add a flat object to a zbuffer entry, but don't do OSA entry testing.
90
 
 */
91
 
void insertFlatObjectNoOsa(RE_APixstrExt* ap, 
92
 
                                                   int obindex,
93
 
                                                   int obtype, 
94
 
                                                   int dist, 
95
 
                                                   int mask);
96
 
 
97
 
#endif
98