最近的工作需使用OpenGL的MultiSample功能,在不使用glut,glfw等库的情况下,要创建支持Multisampling的OpenGL Render Context对于初学者来讲还是要花一番功夫的。昨天晚上又把Nehe’s OpenGL tutorial里的Lesson 46拿出来.....
分类:
移动开发 时间:
2014-07-16 20:07:06
阅读次数:
210
先看Example Scene CreationExample 脚本 /// /// An example that shows the creation of a pool./// public class CreationExample : MonoBehaviour { /// /// The...
分类:
其他好文 时间:
2014-07-13 22:34:25
阅读次数:
811
1、错误描述
2014-7-12 21:06:37 org.hibernate.engine.jdbc.internal.LobCreatorBuilder useContextualLobCreation
INFO: HHH000422: Disabling contextual LOB creation as connection was null
2014-7-12 21:06:37 or...
分类:
编程语言 时间:
2014-07-13 17:04:04
阅读次数:
487
查询占用cpu最高的20条sql语句,sql2008SELECT TOP 10 a.creation_time,total_worker_time/execution_count AS avg_cpu_cost, plan_handle,execution_count,(SELECT SUBSTRI...
分类:
数据库 时间:
2014-07-11 18:32:51
阅读次数:
271
1. onAttach ------called once the fragment is associated with its activity2. onCreate-------called to do initial creation of the fragment3. onCreateVi...
分类:
移动开发 时间:
2014-07-11 10:23:34
阅读次数:
252
一、问题原因: 11G中有个新特性,当表无数据时,不分配segment,以节省空间 1、insert一行,再rollback就产生segment了。 该方法是在在空表中插入数据,再删除,则产生segment。导出时则可导出空表。 2、设置deferred_segment_creation 参数 sh...
分类:
数据库 时间:
2014-07-09 21:04:40
阅读次数:
285
Linux target framework (tgt) aims to simplify various SCSI target driver (iSCSI, Fibre Channel, SRP, etc) creation and maintenance. The key goals are ...
分类:
系统相关 时间:
2014-07-07 12:21:36
阅读次数:
738
一、通过View实现自定义视图通过构造函数创建可视界面public class MyView extends View { // Constructor required for in-code creation public MyView(Context context) { super...
分类:
其他好文 时间:
2014-06-25 11:26:33
阅读次数:
269
对dataguard 官方文档里面的这句话不理解,是否能给出一个样例说明:10.2.0.5的版本号Effect of Switchovers, Failovers, and Control File Creation on BackupsAll the archived redo log files...
分类:
其他好文 时间:
2014-06-24 13:50:08
阅读次数:
226
????用hibernate访问sybase时遇见的异常。
Could not obtain connection metadata : ASE is now using a multi-byte character set, and the TEXT character counts have not been re-calculated using this character set ...
分类:
系统相关 时间:
2014-06-22 06:19:49
阅读次数:
1188