directfb

基于开发板 香橙派 Orange Pi PC PLUS 的 SDL 2交叉编译 ,并运行demo程序

房东的猫 提交于 2020-02-27 18:32:57
=====这个工作是 2019年3月6日的事情了,当时花了好几天功夫, 今天刚好有空, 晚上失眠,就写下blog吧===,另外受一个在大学做博导的朋友的委托, 帮他指导他的学生的毕业设计,最后还得了优秀奖, 那个学生做的是 mini 播放器 ==== 环境: Virtual box + ubuntu 1804 文件目录 ,e:\tools\VirtualBox\ubuntu18042-2\ubuntu18042\ vb 设置, 网络 , 桥接 , 安装 ubuntu 后, 默认是 开启了DHCP , 不管是 nat 还是 桥接模式, 都是自动可以上 互联网的 为了 使用指定的ip , 最好配置为静态ip # sudo apt-get install -y net-tools # ifconfig 查看ip 地址 安装 openssh-server 方便 windows 通过 ssh 和 虚拟机通讯了 winscp + putty 或者 xshell sudo apt-gt install -y openssh-server apt-get: Could not resolve ' archive.ubuntu.com ' 解决方案 : https://blog.csdn.net/imvkmark/article/details/44088221 修正方法是: http://ip

How to run this DFB image example on Ubuntu 12.04 64-bit with DirectFB 1.6.3?

非 Y 不嫁゛ 提交于 2019-12-11 04:38:33
问题 This same example runs with no problem in my older Ubuntu 10.10 with DirectFB 1.4.11 and shows a yellow line in the center of the black screen: #include <iostream> #include <stdio.h> #include <unistd.h> #include <directfb.h> using namespace std; static IDirectFB *dfb = NULL; static IDirectFBSurface *primary = NULL; static int screen_width = 0; static int screen_height = 0; #define DFBCHECK(x...) \ { \ DFBResult err = x; \ \ if (err != DFB_OK) \ { \ fprintf( stderr, "%s <%d>:\n\t", __FILE__, _

Why is DirectFB not more widely used in GNU/Linux? Are there crippling limitations to it that don't exist in X11?

我的梦境 提交于 2019-12-09 04:35:30
问题 As far as I understand, DirectFB offers hardware acceleration for many kinds of graphics cards. Additionally, it's smaller, faster, and uses up less memory than X11. Why then, is it not more mainstream than it is now? Here's what I'm really unsure about: Do common GTK+/Qt programs need to be ported to it? On the DirectFB site, there's a project for porting Firefox to it. Why is that even necessary, if GTK+ has the ability to use DirectFB directly? The way I (probably incorrectly) understand

ok6410开发板移植DirectFB手记

痴心易碎 提交于 2019-12-04 11:08:38
操作系统:虚拟机 uBuntu 10.04.3 交叉编译工具链:arm-linux-4.4.1 内核镜像:Linux-2.6.36 对应的 zImage 文件系统:Linux-2.6.36 对应的 FORLINX_6410_touch.cramfs 源码包: directFB 源码包 DirectFB-1.4.9.tar.gz http://www.directfb.org/index.php?path=Main%2FDownloads freetype 源码包 freetype-2.4.8.tar.gz http://freetype.sourceforge.net/index2.html libjpeg 源码包 jpegsrc.v8d.tar.gz http://www.ijg.org/ libpng 源码包 libpng-1.5.8.tar.gz http://www.libpng.org/pub/png/libpng.html zlib 源码包 zlib-1.2.5.1.tar.gz http://www.zlib.net/ 补丁文件: DirectFB 1.4.9支持Libpng 1.5.x所需的补丁 DirectFB-1.4.9-libpng-1.5.patch http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo

Android GUI architecture - relation between Surface/view/window/canvas

大城市里の小女人 提交于 2019-12-03 02:55:01
问题 ========================= UPDATE: After several days googling and experiments, I have found the answers for most of those dumb questions. See the answers I submitted. ========= What is the responsibility of Android Window? Here are some questions: Is it responsible for collecting and dispatching the input? What is the relationship between the view and window? Same as the relationship between surface and window in DFB? What is the relationship between an activity and window? Will each Activity

Android GUI architecture - relation between Surface/view/window/canvas

∥☆過路亽.° 提交于 2019-12-02 16:45:48
========================= UPDATE: After several days googling and experiments , I have found the answers for most of those dumb questions. See the answers I submitted. ========= What is the responsibility of Android Window? Here are some questions: Is it responsible for collecting and dispatching the input? What is the relationship between the view and window? Same as the relationship between surface and window in DFB? What is the relationship between an activity and window? Will each Activity has a window? Is it possible to create a window from application ? And when it is necessary? Does

How to develop a DirectFB app without leaving X.11 environment

你。 提交于 2019-11-28 08:31:06
I'm trying to develop a GUI application for an embedded platform, without any windowing whatsoever and I'm doing that with DirectFB, and it suits my needs very fine. Since the embedded I develop for is not that powerful, I would really like to try to develop on my own Ubuntu desktop. The problem is Framebuffer is conflicting with X.org causing me to leave the whole desktop, and shutdown X.org just to see the result of my changes. Is there a good framebuffer simulator that suits my needs? Qt has one, called QVFb, but it only works for developing Qt apps, and the VNC back-end of DirectFB always

How to develop a DirectFB app without leaving X.11 environment

泪湿孤枕 提交于 2019-11-27 02:16:50
问题 I'm trying to develop a GUI application for an embedded platform, without any windowing whatsoever and I'm doing that with DirectFB, and it suits my needs very fine. Since the embedded I develop for is not that powerful, I would really like to try to develop on my own Ubuntu desktop. The problem is Framebuffer is conflicting with X.org causing me to leave the whole desktop, and shutdown X.org just to see the result of my changes. Is there a good framebuffer simulator that suits my needs? Qt