diff engine/core/view/renderers/genericrenderer.i @ 482:16c2b3ee59ce

* Merged the view performance branch back into trunk. fixes[ticket:419]
author helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 29 Apr 2010 13:51:45 +0000
parents f855809822cf
children 47b49b9b0c0a
line wrap: on
line diff
--- a/engine/core/view/renderers/genericrenderer.i	Wed Apr 28 21:33:11 2010 +0000
+++ b/engine/core/view/renderers/genericrenderer.i	Thu Apr 29 13:51:45 2010 +0000
@@ -65,7 +65,7 @@
 		Layer* getLayer();
 		Point getPoint();
 
-		Point getCalculatedPoint(Camera* cam, Layer* layer, std::vector<Instance*>& instances);
+		Point getCalculatedPoint(Camera* cam, Layer* layer);
 	private:
 		Instance* m_instance;
 		Location* m_location;
@@ -74,13 +74,11 @@
 	};
 	class GenericRendererElementInfo {
 	public:
-		virtual void render(Camera* cam, Layer* layer, std::vector<Instance*>& instances, RenderBackend* renderbackend, ImagePool* imagepool, AnimationPool* animpool) {};
 		virtual ~GenericRendererElementInfo() {};
 	};
 
 	class GenericRendererLineInfo : public GenericRendererElementInfo {
 	public:
-		void render(Camera* cam, Layer* layer, std::vector<Instance*>& instances, RenderBackend* renderbackend, ImagePool* imagepool, AnimationPool* animpool);
 		GenericRendererLineInfo(GenericRendererNode n1, GenericRendererNode n2, uint8_t r, uint8_t g, uint8_t b);
 		virtual ~GenericRendererLineInfo() {};
 	private:
@@ -92,7 +90,6 @@
 	};
 	class GenericRendererPointInfo : public GenericRendererElementInfo {
 	public:
-		void render(Camera* cam, Layer* layer, std::vector<Instance*>& instances, RenderBackend* renderbackend, ImagePool* imagepool, AnimationPool* animpool);
 		GenericRendererPointInfo(GenericRendererNode n, uint8_t r, uint8_t g, uint8_t b);
 		virtual ~GenericRendererPointInfo() {};
 	private:
@@ -103,7 +100,6 @@
 	};
 	class GenericRendererQuadInfo : public GenericRendererElementInfo {
 	public:
-		void render(Camera* cam, Layer* layer, std::vector<Instance*>& instances, RenderBackend* renderbackend, ImagePool* imagepool, AnimationPool* animpool);
 		GenericRendererQuadInfo(GenericRendererNode n1, GenericRendererNode n2, GenericRendererNode n3, GenericRendererNode n4, uint8_t r, uint8_t g, uint8_t b);
 		virtual ~GenericRendererQuadInfo() {};
 	private:
@@ -115,10 +111,8 @@
 		uint8_t m_green;
 		uint8_t m_blue;
 	};
-	
 	class GenericRendererVertexInfo : public GenericRendererElementInfo {
 	public:
-		void render(Camera* cam, Layer* layer, std::vector<Instance*>& instances, RenderBackend* renderbackend, ImagePool* imagepool, AnimationPool* animpool);
 		GenericRendererVertexInfo(GenericRendererNode center, int size, uint8_t r, uint8_t g, uint8_t b);
 		virtual ~GenericRendererVertexInfo() {};
 	private:
@@ -128,10 +122,8 @@
 		uint8_t m_green;
 		uint8_t m_blue;
 	};
-	
 	class GenericRendererImageInfo : public GenericRendererElementInfo {
 	public:
-		void render(Camera* cam, Layer* layer, std::vector<Instance*>& instances, RenderBackend* renderbackend, ImagePool* imagepool, AnimationPool* animpool);
 		GenericRendererImageInfo(GenericRendererNode n, int image);
 		virtual ~GenericRendererImageInfo() {};
 	private:
@@ -140,7 +132,6 @@
 	};
 	class GenericRendererAnimationInfo : public GenericRendererElementInfo {
 	public:
-		void render(Camera* cam, Layer* layer, std::vector<Instance*>& instances, RenderBackend* renderbackend, ImagePool* imagepool, AnimationPool* animpool);
 		GenericRendererAnimationInfo(GenericRendererNode n, int animation);
 		virtual ~GenericRendererAnimationInfo() {};
 	private:
@@ -149,7 +140,6 @@
 	};
 	class GenericRendererTextInfo : public GenericRendererElementInfo {
 	public:
-		void render(Camera* cam, Layer* layer, std::vector<Instance*>& instances, RenderBackend* renderbackend, ImagePool* imagepool, AnimationPool* animpool);
 		GenericRendererTextInfo(GenericRendererNode n, AbstractFont* font, std::string text);
 		virtual ~GenericRendererTextInfo() {};
 	private: