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:
authorMitchell Stokes <mogurijin@gmail.com>2010-05-30 01:22:24 +0400
committerMitchell Stokes <mogurijin@gmail.com>2010-05-30 01:22:24 +0400
commit9d3157eed000e7c543d04f5ad3efc5990675903b (patch)
tree54d3fcbc7a128ef0881385f49c57392c38bbd7e0 /source/gameengine/Rasterizer/RAS_2DFilterManager.h
parente335321e884f270e2ad28a7b6c75eea7e11bf4b7 (diff)
Reversing the last merge because I botched it.
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_2DFilterManager.h')
-rw-r--r--source/gameengine/Rasterizer/RAS_2DFilterManager.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/gameengine/Rasterizer/RAS_2DFilterManager.h b/source/gameengine/Rasterizer/RAS_2DFilterManager.h
index 7ff7cde7882..2519473520a 100644
--- a/source/gameengine/Rasterizer/RAS_2DFilterManager.h
+++ b/source/gameengine/Rasterizer/RAS_2DFilterManager.h
@@ -45,7 +45,7 @@ private:
void EndShaderProgram();
void PrintShaderErrors(unsigned int shader, const char *task, const char *code);
- void SetupTextures(bool depth, bool luminance);
+ void SetupTextures(bool depth, bool luminance, bool qrender, bool qdepth);
void FreeTextures();
void UpdateOffsetMatrix(RAS_ICanvas* canvas);
@@ -54,13 +54,15 @@ private:
float canvascoord[4];
float textureoffsets[18];
float view[4];
- /* texname[0] contains render to texture, texname[1] contains depth texture, texname[2] contains luminance texture*/
- unsigned int texname[3];
+ /* texname[0] contains render to texture, texname[1] contains depth texture, texname[2] contains luminance texture
+ * texname[3] contains quartered render to texture, texname[4] contains quartered depth texture*/
+ unsigned int texname[5];
int texturewidth;
int textureheight;
int canvaswidth;
int canvasheight;
int numberoffilters;
+ unsigned int fbo;
/* bit 0: enable/disable depth texture
* bit 1: enable/disable luminance texture*/
short texflag[MAX_RENDER_PASS];