HDPCmd_DrawableCache
2016-07-20 15:55:34 0 举报
HDPCmd_DrawableCache是一个用于管理和优化图形渲染性能的命令。它主要通过缓存可绘制对象(如纹理、模型等)的数据,减少重复加载和处理,从而提高渲染速度和效率。此外,HDPCmd_DrawableCache还支持动态调整缓存大小、设置缓存策略等功能,以满足不同场景和需求下的优化要求。通过合理使用HDPCmd_DrawableCache,开发者可以在保持画面质量的同时,实现更高的帧率和更低的资源消耗,提升游戏体验。
作者其他创作
大纲/内容
HDPCopyBits
virtual void process(SendHelper* sendHelper);virtual DrawMessage* GetMsg() { return msg; }
HDPDoOpaque
bool IsScaled(){ return msg-IsScaled(); }virtual DrawMessage* GetMsg() { return msg; }virtual void process(SendHelper* sendHelper);
HDPDoBlend
bool IsScaled(){ return msg-IsScaled(); }\tvirtual DrawMessage* GetMsg() { return msg; }
HDPDoTransparent
virtual DrawMessage* GetMsg() { return msg; }
HDPCmd
getMsgType()getCmdCategory()virtual void process(SendHelper* sendHelper) = 0;protected:\tvirtual void send(SendHelper* sendHelper) = 0;
HDPDoCopy
bool IsScaled(){ return msg-IsScaled(); } virtual void process(SendHelper* sendHelper);virtual DrawMessage* GetMsg() { return msg; }void setMsg(DisplayDrawCopy* in_msg);
HDPDrawableCache
virtual RddRect getSrcArea(){ return m_src_rect;} virtual const DisplayDrawRddImage* getSrcImage()const { } virtual ImageType getSrcImageType() { } virtual bool IsScaled(){ return false; }\tvirtual void process(SendHelper* sendHelper);protected:\tvirtual void send(SendHelper* sendHelper);
HDPDrawable
virtual void process(SendHelper* sendHelper);virtual DrawMessage* GetMsg() = 0;protected:\tvirtual void send(SendHelper* sendHelper);
HDPDoRop3
0 条评论
下一页
为你推荐
查看更多