Q: What’s the difference between glFlush() and glFinish()?
A: OpenGL commands are not executed immediately. Instead, they are submitted to a command buffer that is then fed into to the hardware. The glFlush() and glFinish() commands are both used to force submission of the command buffer to the hardware for execution. glFlush() causes all OpenGL commands currently queued to be submitted to the hardware for execution. This function returns immediately after having transferred the pending OpenGL command queue to the hardware (or software) renderer. These commands are queued for execution in some finite amount of time, but glFlush() does not block waiting for command completion.
[ZT]CMWAP 和CMNET 的主要区别与适用范围
如果你是一个菜鸟或者初学者,不妨直接跳到第(4)节,看看我提供的”应用程序能否工作于CMWAP的辨别方法”;如果你希望对CMWAP和CMNET有一个详细的了解,那么就读完全篇吧;如果你对这个问题有所研究的话,还请不吝赐教,解开仍旧困惑我的几个疑问。
Symbian下用DSA绘图游戏的资源loading
工作一天累了,坐在回家的公共汽车上,按着手机总结一下今天的loading研究。(wp能用手机写文章真是舒坦啊!)
symbian下的游戏一般使用CTimer或CIdle等基于活动对象的方式驱动动画绘图逻辑,而资源加载所需的图片解码等操作用的imagedecoder也是活动对象方式实现,这就有可能导致逻辑混乱…
Continue reading…
使用PushOK CVS插件结合Visual Studio时遇到的一个小问题
今天 check-in 的时候出现 unkown option — c的错误提示,查了半天发现是由于cvs服务器端版本与插件设置的版本不一致导致的,服务器端是1.x的而插件中设置的是>2.x,在插件的属性界面中把>2.x设置的勾去掉就没问题了。
主题模板还是有点问题
不知道是不是由于这套主题对中文的支持不太好,有些小地方的按钮有边角问题,还有些链接排版错乱,看来还是得花些时间整理修改。想起以前上学时半夜改mt模板的时候了,可是现在很久没碰html了,好多tag都忘的差不多了…
[ZT]Symbian OS s60 3rd编程中实现IMSI、IMEI查询
#ifndef MYTELEPHONY_H
#define MYTELEPHONY_H
#include
#include
class CMyTelephony : public CActive
{
public:
static void GetIMSIL(TDes& aIMSI);
static void GetIMEIL(TDes& aIMEI);
static void GetPhoneType(TDes& aPhoneType);
static void DialPhone(const TDesC& aPhoneId);
static CMyTelephony* NewL();
protected:
void DoCancel();
void RunL();
private:
static CMyTelephony* NewLC();
~CMyTelephony();
CMyTelephony();
void ConstructL();
void GetSubscriberId();
void GetPhoneId();
private:
CTelephony* iTelephony;
CTelephony::TCancellationRequest iRequest;
CTelephony::TSubscriberIdV1 iSubscriberId;
CTelephony::TSubscriberIdV1Pckg iSubscriberIdPckg;
CTelephony::TPhoneIdV1 iPhoneId;
CTelephony::TPhoneIdV1Pckg iPhoneIdPckg;
CTelephony::TCallId iCallId;
TBuf<32> iPhoneType;
public :
void DialNewCall(const TDesC& aTelNumber);
};
#endif // MYTELEPHONY_H
WordPress不愧是国内使用最多的php blog
中文主题模板论坛资料一大堆。很快就找到了看着还不错的主题,在mt上尝试很久的wap访问也通过WP-T-WAP插件搞定了。(PS:通过xml-rpc方式的发布管理工具的mobile应用程序也很多,只是写的话用起来也不错)
