Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-02 00:26:43 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-02 00:26:43 +0400
commit40b05d364e988bca01dd338026dc24765f56187a (patch)
tree83e4d808d93cf9c78c128738044106b127fa6dff /intern/cycles/render/film.h
parent8588fec935c47529d9c1816f19e94ff0d20ed1a9 (diff)
Cycles: code refactoring to add generic lookup table memory.
Diffstat (limited to 'intern/cycles/render/film.h')
-rw-r--r--intern/cycles/render/film.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/intern/cycles/render/film.h b/intern/cycles/render/film.h
index 52d1a8428f8..bc1619c3f2d 100644
--- a/intern/cycles/render/film.h
+++ b/intern/cycles/render/film.h
@@ -30,6 +30,11 @@ class Device;
class DeviceScene;
class Scene;
+typedef enum FilterType {
+ FILTER_BOX,
+ FILTER_GAUSSIAN
+} FilterType;
+
class Pass {
public:
PassType type;
@@ -47,13 +52,18 @@ class Film {
public:
float exposure;
vector<Pass> passes;
+
+ FilterType filter_type;
+ float filter_width;
+ size_t filter_table_offset;
+
bool need_update;
Film();
~Film();
- void device_update(Device *device, DeviceScene *dscene);
- void device_free(Device *device, DeviceScene *dscene);
+ void device_update(Device *device, DeviceScene *dscene, Scene *scene);
+ void device_free(Device *device, DeviceScene *dscene, Scene *scene);
bool modified(const Film& film);
void tag_passes_update(Scene *scene, const vector<Pass>& passes_);