GPU进程的客户端(Browser进程,Render进程)都会创建一个
WebGraphicsContext3DCommandBufferImpl的实例,用于封装与GPU进程的通信。
所以我们从WebGraphicsContext3DCommandBufferImpl开始引出GPU进程的结构。
一.WebGraphicsContext3DCommandBufferImpl的创建。
WebG...
分类:
移动开发 时间:
2014-06-05 10:59:31
阅读次数:
339
最近为做展示,改写了一个遗传算法求TSP的Java界面版,思路代码和
http://blog.csdn.net/wangqiuyun/article/details/12838903 这篇文章思路是一样的,追加了Java用Graphics画点及画线做路径展示,展示部分做得比较粗糙,需要的拿走,效果图如下。
下载地址:http://download.csdn.net/detail/...
分类:
编程语言 时间:
2014-06-05 05:27:45
阅读次数:
302
import java.applet.Applet;
import java.awt.*;
public class Appelet extends Applet {
String name;
public void init ()
{
name=getParameter("myName");
}
public void paint(Graphics gr)
...
分类:
编程语言 时间:
2014-06-05 00:17:59
阅读次数:
259
最近把做好的ipad HTML5混合应用适配到android上,发现android的webview比 iPad差太多了,android4.4由于升级到chromium,和chrome内核一致,所有问题不多,但android4.3以下的版本兼容问题太多了,只能一个一个慢慢解决了!
目前已经碰到了css3 flex box布局的兼容问题, js的兼容问题等。
Andro...
分类:
移动开发 时间:
2014-06-03 03:59:32
阅读次数:
353
每一个网页都有一个favicon,在历史记录的保存中须要用到。在content文件夹下,这个没有实现。以下说一下我的实现过程:web_contents_impl.cc文件里有方法:WebContentsImpl::OnUpdateFaviconURL这种方法是内核解析到favicon之后,给chro...
分类:
Web程序 时间:
2014-06-01 17:15:22
阅读次数:
343
Android UI Layouts: Graphics Design Using the ViewGroup Class Android ViewGroup Superclass: A Foundation for Layouts The ViewGroup LayoutParams Class: Layout Parameters Deprecated Layouts: AbsoluteL...
分类:
移动开发 时间:
2014-06-01 14:50:42
阅读次数:
397
Bitmap memoryImage; private void
CaptureScreen() { Graphics myGraphics = this.CreateGraphics(); Size s =
this.Siz...
分类:
其他好文 时间:
2014-05-28 13:31:12
阅读次数:
275