ChinaUnix.net
相关文章推荐:

copybit

copybit HAL模块分析报告

by aokikyon - 移动操作系统 - 2011-12-22 08:51:14 阅读(921) 回复(0)

相关讨论

/*
 * Copyright (C) 2008 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/lice...

by aokikyon - 移动操作系统 - 2011-12-22 08:51:14 阅读(664) 回复(0)

copybit调研报告2

copybit模块在android2.0以后归OpenGL管理,在libagl中专门有一个copybit.cpp文件对其进一步封装并进行管理。
当然,也有越狱的时候,这个我们在后面讨论,首先还是看看copybit.cpp。

首先看android.mk,有个宏定义,默认是打开的
#define LIBAGL_USE_GRALLOC_copybitS


1、libagl/copybit.c...

by aokikyon - 移动操作系统 - 2011-12-22 08:51:14 阅读(729) 回复(0)


首先再来回顾下copybit的接口函数,虽然简单,但功能一个都不少。

copybit模块主要使用的硬件加速功能有:
bitBlit
Stretch
Rotate
Alpha blending
Color Transform

1、bit blit和stretch的实现
strctch并没有特殊去实现,因为所有的坐标数据都是Android的Surface和OpenGL ES层传下来的,主要...

by aokikyon - 移动操作系统 - 2012-02-14 10:17:56 阅读(1705) 回复(1)