In this part, I’ll be dealing with the first half of pixel processing: dispatch and actual pixel shading. In fact, this is really what most graphics.....
分类:
其他好文 时间:
2014-08-05 00:26:28
阅读次数:
484
Welcome back. Last time, we dove into bottom end of the pixel pipeline. This time, we’ll switch back to the middle of the pipeline to look at what i.....
分类:
其他好文 时间:
2014-08-05 00:25:48
阅读次数:
321
android让人头疼的适配问题。
---------
Android 中的单位大概有这些:
常用的dip、sp,有时候用到px。
---------
介绍两个类:
TypedValue:有一些单位转换相关的方法。
DisplayMetrics:
DisplayMetrics dm = new DisplayMetrics();
getWindowM...
分类:
移动开发 时间:
2014-08-04 21:47:18
阅读次数:
268
安装卡在了7月的某一个补丁windows\windowsupdate.log找到如下错误2014-08-03 16:02:45:665 1284 2264 PT +++++++++++PT:Synchronizingserverupdates+++++++++++2014-08-03 16:02:45:665 1284 2264 PT +ServiceId={3DA21691-E39D-4DA6-8A4B-B43877BCB1B7},ServerURL=http://nle..
分类:
其他好文 时间:
2014-08-04 18:10:08
阅读次数:
1141
一:Android 屏幕适配众所周知,Android机型尺寸各种各样,于是屏幕适配就成了Android开发中很重要的一环。Android屏幕适配可能一些开发者都会遇到这样的问题,今天就来分享下屏幕适配,其实Android屏幕适配也可以很简单。基本概念Android屏幕适配必须要理解的一些概念:px是...
分类:
移动开发 时间:
2014-08-04 14:15:37
阅读次数:
339
【1】学会动态分配内存 用前面介绍的方法定义的对象是静态的,在程序运 行过程中,对象所占的空间是不能随时释放的。但 有时人们希望在需要用到对象时才建立对象,在不 需要用该对象时就撤销它,释放它所占的内存空间 以供别的数据使用。这样可提高内存空间的利用率Box *pt=new Box(12,...
分类:
其他好文 时间:
2014-08-04 13:38:37
阅读次数:
190
官方文档见:http://docs.sun.com/source/819-0084/pt_tuningjava.htmljava启动参数共分为三类;其一是标准参数(-),所有的JVM实现都必须实现这些参数的功能,而且向后兼容;其二是非标准参数(-X),默认jvm实现这些参数的功能,但是并不保证所有j...
分类:
编程语言 时间:
2014-08-03 20:35:15
阅读次数:
272
Background Many image file formats encode image data as a 2-D matrix or raster of pixel colors. The amount of available color information is fixed by ...
分类:
编程语言 时间:
2014-08-03 20:33:25
阅读次数:
386
Shaders are simple programs that describe the traits of either a vertex or
a pixel.
Vertex shaders describe the traits (position, texture
coordinates, colors, etc.) of a vertex, while pixel shade...
分类:
其他好文 时间:
2014-08-02 15:30:43
阅读次数:
377
一、在Packet Tracer上边画好拓扑,并配置好模块和帧中继DLCI
先看下配好的拓扑图:
配置过程:
1、添加3台路由器,我用的是2811,为路由器添加S端口模块,我用的是NM-4A/S模块。
2、添加一个Cloud-PT-Empty设备(Cloud0)模拟帧中继网络,为Cloud0添加3个S端口模 块,好与路由器连接!
?
3、设置好S1,...
分类:
其他好文 时间:
2014-08-01 23:19:22
阅读次数:
340