代码改变世界

OpenGL Pixel Buffer Object (PBO)

2013-02-20 18:12 by 三戒1993, 281 阅读, 0 推荐, 收藏, 编辑
摘要:Related Topics:Vertex Buffer Object (VBO),Frame Buffer Object (FBO)Download:pboUnpack.zip,pboPack.zipOverviewCreating PBOMapping PBOExample: Streaming... 阅读全文

OpenGL ES multithreading and EAGLSharegroup

2013-02-20 14:28 by 三戒1993, 146 阅读, 0 推荐, 收藏, 编辑
摘要:Q: In my multithreading OpenGL ES application, I load textures (or vertices) on a secondary thread then draw them onto screen on the main thread. Occa... 阅读全文

OpenGL ES multithreading and EAGLSharegroup

2013-02-20 14:28 by 三戒1993, 149 阅读, 0 推荐, 收藏, 编辑
摘要:Q: In my multithreading OpenGL ES application, I load textures (or vertices) on a secondary thread then draw them onto screen on the main thread. Occa... 阅读全文

glFlush()函数

2013-02-20 14:27 by 三戒1993, 289 阅读, 0 推荐, 收藏, 编辑
摘要:glFlush()是OpenGL[1]中的函数,用于强制刷新缓冲,保证绘图命令将被执行,而不是存储在缓冲区[2]中等待其他的OpenGL命令。简单地说glFlush()就是强制刷新,OpenGL是使用一条渲染管线[3]线性处理命令的,一般情况下,我们提交给OpenGL的指令并不是马上送到驱动程序[4... 阅读全文

glFlush()函数

2013-02-20 14:27 by 三戒1993, 338 阅读, 0 推荐, 收藏, 编辑
摘要:glFlush()是OpenGL[1]中的函数,用于强制刷新缓冲,保证绘图命令将被执行,而不是存储在缓冲区[2]中等待其他的OpenGL命令。简单地说glFlush()就是强制刷新,OpenGL是使用一条渲染管线[3]线性处理命令的,一般情况下,我们提交给OpenGL的指令并不是马上送到驱动程序[4... 阅读全文

memcmp,memicmp函数

2013-02-20 10:26 by 三戒1993, 218 阅读, 0 推荐, 收藏, 编辑
摘要:函数原型:extern int memcmp(void *str1, void *str2, unsigned int n)参数说明:str1和str2为指定作比较的字符串,比较两个字符串的前n个字节。所在库名:#include 函数功能:比较字符串str1和str2在内存区域中的的前n个字节是否相... 阅读全文

memcmp,memicmp函数

2013-02-20 10:26 by 三戒1993, 163 阅读, 0 推荐, 收藏, 编辑
摘要:函数原型:extern int memcmp(void *str1, void *str2, unsigned int n)参数说明:str1和str2为指定作比较的字符串,比较两个字符串的前n个字节。所在库名:#include 函数功能:比较字符串str1和str2在内存区域中的的前n个字节是否相... 阅读全文

strcmp, strncmp和memcmp的区别

2013-02-20 10:20 by 三戒1993, 156 阅读, 0 推荐, 收藏, 编辑
摘要:函数:int memcmp (const void *a1, const void *a2, size_t size) 函数memcmp用于比较字符串s1与s2的前size个字符。 如果两上字符块相同,memcmp将返回0。函数:int strcmp (const char *s1, const c... 阅读全文

strcmp, strncmp和memcmp的区别

2013-02-20 10:20 by 三戒1993, 530 阅读, 0 推荐, 收藏, 编辑
摘要:函数:int memcmp (const void *a1, const void *a2, size_t size) 函数memcmp用于比较字符串s1与s2的前size个字符。 如果两上字符块相同,memcmp将返回0。函数:int strcmp (const char *s1, const c... 阅读全文

strstr() 函数

2013-02-20 10:19 by 三戒1993, 173 阅读, 0 推荐, 收藏, 编辑
摘要:renderer.extension[APPLE_texture_2D_limited_npot] =(0 != strstr((char *)glGetString(GL_EXTENSIONS), "GL_APPLE_texture_2D_limited_npot"));strstr(字符串a, ... 阅读全文
上一页 1 ··· 131 132 133 134 135 136 137 138 139 ··· 184 下一页