From: <the...@us...> - 2005-05-31 16:14:04
|
Update of /cvsroot/crystal/CS/plugins/video/render3d/shader/shadermgr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9898/plugins/video/render3d/shader/shadermgr Modified Files: shadermgr.h Log Message: - Marten made a few fixes to the shader system: - Removed the static variable context from csXMLShader::Compile and child methods. - Made some changes to the variable mapping holder to use less memory. - Rewrote Cg plugin to (once again) use Cg calls for parameter setting and not using the ARB_vertex_program routing. - Rewrote shader variable handing in Cg and ARB_*_p plugins to properly support matrix, transform and array datatypes. - Added matrix and transform types to SV and shader parameter loader. - Changed the SV stack to be a SV list. - Marten changed the renderloop to follow the SV context order shadermanager (global) - renderloop - sector - light - mesh - shader - material ( - shaderprogram). - Marten changed fountain meshobject to use csRandomFloatGen which hopefully is faster than normal rand(). - Marten fixed a few compile warnings in isotest.cpp. - Marten fixed environment reflective cubemap support. Index: shadermgr.h =================================================================== RCS file: /cvsroot/crystal/CS/plugins/video/render3d/shader/shadermgr/shadermgr.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- shadermgr.h 28 Mar 2005 11:05:46 -0000 1.14 +++ shadermgr.h 31 May 2005 16:13:10 -0000 1.15 @@ -162,13 +162,6 @@ void PushVariables (csShaderVarStack &stacks) const { svcontext.PushVariables (stacks); } - /** - * Pop the variables of this context off the variable stacks - * supplied in the "stacks" argument - */ - void PopVariables (csShaderVarStack &stacks) const - { svcontext.PopVariables (stacks); } - bool IsEmpty () const { return svcontext.IsEmpty(); } |