To know if you use hardware or generic renderer in OpenGL
来源:互联网 发布:linux 测试apache 编辑:程序博客网 时间:2024/04/28 10:48
If you put this code in your init routine, you'll be able to know what you're really using in OpenGL
char *r = (char *)glGetString(GL_RENDERER);
char *v = (char *)glGetString(GL_VENDOR);
char *ver = (char *)glGetString(GL_VERSION);
char *ext = (char*)glGetString(GL_EXTENSIONS);
Then you run in debug mode and put a break point in front of the first line. A few step latter, you'll be able to know if you use hardware or generic renderer.
http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=2;t=000451
- To know if you use hardware or generic renderer in OpenGL
- Beautiful Code Exists,If You Know Where to Look
- gstreamer how to use hardware decoder in playbin2
- FW: Everything you need to know about pointers in C
- Something you have to know in Cocos2d-x 3.x
- Do you want to know me?----Come in.
- iCloud in iOS 11 FAQ: Everything you need to know!
- eclipse创建Adnroid虚拟机提示:XXXX目录.avd is in the way. Use --force if you want to overwrite.
- how to tell if you can use kvm
- if you dont know where to go, it doesnt matter which way to go.
- How to tell if you’re running the 32 bit or 64 bit kernel in Mac OS X Snow Leopard
- What you absolutely must know to use boost smart pointers correctly
- What is success if you don't know your main goal in life?
- linux you need to know
- Proactive or reactive way you’d like to take if you are allow to choosed.
- ThreadAbortException Occurs If You Use Response.End, Response.Redirect, or Server.Transfer
- PRB: ThreadAbortException Occurs If You Use Response.End, Response.Redirect, or Server.Transfer
- Android – Drawing multiline text on canvas If you always wanted to know how to draw multiline text
- WinCE实验教程之二集成开发环境
- 2006年1月26日 星期四 晴
- 获取网页源代码的最简单办法
- 1月28日 星期五 晴
- java数据类型转换
- To know if you use hardware or generic renderer in OpenGL
- 和 谐 文 化 简 介
- 值得回忆的本科四年学习(1-6)
- 1月29日 星期六 阴
- dreamwaver 用DIV(层)排版的一些注意
- DataGrid自定义分页存储过程 选择自 iuhxq 的 Blog
- 完成端口之性能优化(1)
- 完成端口之性能优化(2)
- java