上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 56 下一页

kill -9都杀不掉的进程

摘要: 转载自:http://blog.csdn.net/bat603/article/details/1717024kill -9发送SIGKILL信号将其终止,但是以下两种情况不起作用:a、该进程处于"Zombie"状态(使用ps命令返回defunct的进程)。此时进程已经释放所有资源,但还未得到其父进程的确认。"Zombie"进程要等到下次重启时才会消失,但它的存在不会影响系统性能。b、 该进程处于"kernel mode"(核心态)且在等待不可获得的资源。处于核心态的进程忽略所有信号处理,因此对于这些一直处于核心态的进程只能通过重启系 阅读全文
posted @ 2012-03-20 18:22 yang3wei 阅读(721) 评论(0) 推荐(0) 编辑

STL中map用法详解

摘要: 转载自:http://blog.csdn.net/bat603/article/details/1456141Map是STL的一个关联容器,它提供一对一(其中第一个可以称为关键字,每个关键字只能在map中出现一次,第二个可能称为该关键字的值)的数据处理能力,由于这个特性,它完成有可能在我们处理一对一数据的时候,在编程上提供快速通道。这里说下map内部数据的组织,map内部自建一颗红黑树(一种非严格意义上的平衡二叉树),这颗树具有对数据自动排序的功能,所以在map内部所有的数据都是有序的,后边我们会见识到有序的好处。下面举例说明什么是一对一的数据映射。比如一个班级中,每个学生的学号跟他的姓名就存 阅读全文
posted @ 2012-03-20 18:21 yang3wei 阅读(492) 评论(0) 推荐(0) 编辑

Improve Performance and Reduce Memory with PVRTC Textures and Cocos2d

摘要: 转载自:http://www.uchidacoonga.com/2011/07/pvrtc-textures-and-cocos2d/Hello everyone! A few months have passed since I postedSimple Platformer Using Cocos2d and Box2d with Collision Detection. I have received many positive feedbacks and interest on the tutorial. I am glad that it has been helpful for s 阅读全文
posted @ 2012-03-20 18:20 yang3wei 阅读(289) 评论(0) 推荐(0) 编辑

PVRTexTool

摘要: 转载自:http://www.imgtec.com/powervr/insider/powervr-pvrtextool.aspPVRTexToolPVRTexTool enables conversion of standard bitmap files (e.g. BMP, JPG, PNG, TGA, etc.) to any texture type supported by PowerVR MBX or PowerVR SGX hardware including PVRTC, DXT and ETC compressed formats. Both a GUI and comman 阅读全文
posted @ 2012-03-09 21:20 yang3wei 阅读(770) 评论(0) 推荐(0) 编辑

Sound on iOS: Best Practices

摘要: 转载自:http://gamua.com/blog/2010/06/sound-on-ios-best-practices/Sound on iOS: Best PracticesDaniel Sperlon June 21, 2010The latest Sparrow version finally brought support for audio playback. We designed the classes in a way that you don't have to care about the file format; no matter what kind of 阅读全文
posted @ 2012-03-09 21:17 yang3wei 阅读(207) 评论(0) 推荐(0) 编辑

Performance tips for Cocos2d for iPhone

摘要: 转载自:http://allseeing-i.com/Performance-tips-for-Cocos2d-for-iPhoneCocos2d for iPhoneis a wonderful open source framework that makes it easy to draw 2D graphics with OpenGL ES. It allows to you unlock the power of the graphics hardware in iPhone OS devices, without having to deal with all the details 阅读全文
posted @ 2012-03-09 21:14 yang3wei 阅读(149) 评论(0) 推荐(0) 编辑

iPhone开发技巧之工具篇(4)--- 使用afconvert转换WAV文件

摘要: 转载自:http://www.yifeiyang.net/iphone-development-skills-of-tool-papers-4-wav-file-conversion-using-afconvert/程序中经常使用 .WAV 的音效文件,虽然可以直接使用它,但是最好转换为 apple 推荐的 .CAF 格式。这个时候我们就可以使用 afconvert 命令。其基本的语法如下:用 -d 指定频率格式1 2 3 4 { -d | --data } data_format[@sample_rate_hz][/format_flags][#frames_per_packet] : [- 阅读全文
posted @ 2012-03-09 17:48 yang3wei 阅读(243) 评论(0) 推荐(0) 编辑

Box2D 内存管理 - 小型对象分配器(SOA)的实现

摘要: 转载自:http://blog.csdn.net/ring0hx/article/details/6978437Box2D用C++编写(当然还有其它语言的移植版),但是为了快速有效的使用内存,创建对象的时候它并没有使用C++标准的new 和delete关键字,而是自己实现了一个被称作小型对象分配器(smaller object allocator简称SOA)的类b2BlockAllocator。根据Box2D手册描述,Box2D倾向于分配大量50~300字节的小型对象,而且多数小型对象的生命周期都很短,如果每次都通过malloc或new在系统堆上分配内存,用完后立刻销毁,效率太低,而且会产生内 阅读全文
posted @ 2012-03-09 09:49 yang3wei 阅读(350) 评论(0) 推荐(0) 编辑

新款iPad发布:Retina显示屏、A5X、高清摄像头、语音听 ...

摘要: 转载自:http://www.macx.cn/thread-2039223-1-1.html12小时前上传下载附件(105.96 KB)在今日的媒体发布会上,苹果推出了新款iPad,与之前传言的一样,新款iPad配备了高分辨率Retina显示屏。新款iPad的分辨率为2018*1536,也就是拥有310万像素,每英尺像素数量为264个,这就满足了Retina显示屏的要求。这是移动设备上像素数量最多的设备。新款iPad显示屏的色彩饱和度要提升40%。新款iPad将搭载A5X处理器,该处理器配备四个图形处理单元。苹果表示A5处理器比NVIDIA的Tegra 3处理器要快两倍,而A5X处理器则要比T 阅读全文
posted @ 2012-03-08 16:56 yang3wei 阅读(191) 评论(0) 推荐(0) 编辑

[devel] Roadmap 0.99.5 - update

摘要: 转载自:http://www.cocos2d-iphone.org/forum/topic/8073riqKey MasterRoadmap updated:http://www.cocos2d-iphone.org/wiki/doku.php/roadmapAdded:a) vfp/ Neon ARM support: to be included inCCSpriteBatchNodeandCCNodeDiscussed here:http://www.cocos2d-iphone.org/forum/topic/3979b) PVR Non Compressed textures sup 阅读全文
posted @ 2012-03-07 13:48 yang3wei 阅读(256) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 56 下一页