summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolalpha.h
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-03-04 08:04:18 -0800
committerGraham Linden <graham@lindenlab.com>2019-03-04 08:04:18 -0800
commit45a541d2d5ccff4279441c715d3f80890e71beb9 (patch)
treef16c1cf45d8bd5e2d4d021ed7b01d729f545d688 /indra/newview/lldrawpoolalpha.h
parent4c3050a3953153aa8753fc10706ad2ef464f3e3d (diff)
SL-10566
Disable pre-cull of water causing refraction/reflection map generation more than is necessary. Re-org alpha draws to limit state changes based on render type.
Diffstat (limited to 'indra/newview/lldrawpoolalpha.h')
-rw-r--r--indra/newview/lldrawpoolalpha.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolalpha.h b/indra/newview/lldrawpoolalpha.h
index d064a3a324..e0e7b19a17 100644
--- a/indra/newview/lldrawpoolalpha.h
+++ b/indra/newview/lldrawpoolalpha.h
@@ -75,6 +75,11 @@ private:
LLGLSLShader* fullbright_shader;
LLGLSLShader* emissive_shader;
+ void renderSimples(U32 mask, std::vector<LLDrawInfo*>& simples);
+ void renderFullbrights(U32 mask, std::vector<LLDrawInfo*>& fullbrights);
+ void renderMaterials(U32 mask, std::vector<LLDrawInfo*>& fullbrights);
+ void renderEmissives(U32 mask, std::vector<LLDrawInfo*>& emissives);
+
// our 'normal' alpha blend function for this pass
LLRender::eBlendFactor mColorSFactor;
LLRender::eBlendFactor mColorDFactor;