A representation of an algorithm is called a programm.The process of developing a programm , encoding it in machine-compatiable form , and inserting i...
分类:
其他好文 时间:
2014-10-07 15:00:23
阅读次数:
158
总结 Android 自定义EditText输入框 带清空按钮
当用户输入字符后 EditText会自动在输入框的内部右侧出现删除按钮
重写EditText达到简化布局的效果
效果图:
继承EditText
package com.example.myedittexttest;
import android.content.Context;
import android.graphics.Rect;
import android.graphics.drawable.Draw...
分类:
移动开发 时间:
2014-10-07 12:37:13
阅读次数:
293
摘要:Part I分析了GPU客户端之间存在的同步问题,以及Chromium的GL扩展同步点机制的基本原理。本文将源代码的角度剖析同步点(SyncPoint)机制的实现方式。同步点机制的实现主要涉及到是如何跨进程实现两个GL扩展接口InsertSyncPointCHROMIUM和WaitSyncPointCHROMIUM的实现方式,以及如何实现GPU服务端的同步点等待。...
分类:
其他好文 时间:
2014-10-06 13:53:50
阅读次数:
132
Chromium中GPU进程架构导致多个GPU客户端会同时访问GPU服务,而多个GPU客户端可能存在数据依赖关系,例如渲染WebGL页面时,因此需要提供一种同步机制保证GPU操作的先后次序。本文讨论的就是多进程架构下GPU客户端之间的同步问题,以及同步点(SyncPoint)机制的基本原理。...
分类:
其他好文 时间:
2014-10-06 12:20:00
阅读次数:
293
有以下命令可以查看:# lsb_release -aLSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarchDistributor ID: CentOSDescription: Ce...
分类:
其他好文 时间:
2014-10-06 04:10:39
阅读次数:
242
>_<" 这是一个非常简单的利用C#的窗口工程创立的程序,用来做一个简单的动画,涉及Timer和Graphics,适合初学者,高手略过~PS:请忽略菜单栏的东西~背景改成了白色! 1 using System; 2 using System.Collections.Generic; 3 using ...
分类:
其他好文 时间:
2014-10-06 02:42:19
阅读次数:
181
Network of SchoolsTime Limit:1000MSMemory Limit:10000KTotal Submissions:11441Accepted:4554DescriptionA number of schools are connected to a computer n...
分类:
其他好文 时间:
2014-10-05 20:32:18
阅读次数:
170
当鼠标单击窗口的时候,我们自动的创建一个按钮,代码实现如下:interfaceuses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms;type TForm1 = class(TForm) procedure ...
分类:
其他好文 时间:
2014-10-05 20:08:28
阅读次数:
196
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdBaseComponent, IdComponent, IdTCPServer...
分类:
其他好文 时间:
2014-10-05 16:48:08
阅读次数:
313
Flaresim.V4.0.4.637 火炬模拟设计软件Flaresim is a computer program designed to assist professional engineers in the design and evaluation of flare systems. Th...
分类:
其他好文 时间:
2014-10-05 14:23:48
阅读次数:
281