http ppt a1ex wang md android x86 md print 1 1 12 9 24
play

http://ppt.a1ex.wang/md/android-x86.md?print=1 1/12 - PowerPoint PPT Presentation

9/24/2016 chroot android linux - By http://ppt.a1ex.wang/md/android-x86.md?print=1 1/12 9/24/2016 chroot android linux


  1. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 王 奥 丞 计 算 机 系 http://ppt.a1ex.wang/md/android-x86.md?print=1 1/12

  2. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 Linux GUI App on Android http://ppt.a1ex.wang/md/android-x86.md?print=1 2/12

  3. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 目 标 将 android 变 成 一个 生 产 力 工 具 , 不 只 是 一个 手 机 操 作 系 统 android­studio, opengl 应 用 程 序 Demo http://ppt.a1ex.wang/md/android-x86.md?print=1 3/12

  4. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 Linux GUI App 在 桌 面 Linux 上 如 何 运 行 1 http://ppt.a1ex.wang/md/android-x86.md?print=1 4/12

  5. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 Linux GUI App 在 桌 面 Linux 上 如 何 运 行 2 1. 动 态 库 问 题 2. X.org 的 X Server 实 现 复 杂 难 以 复 用 , 自 己 实 现 X11 Protocol? 3. 直 接 操 作 framebuffer, 或 者 直 接 访 问 driver, 移 植 性 差 http://ppt.a1ex.wang/md/android-x86.md?print=1 5/12

  6. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 Wayland Architecture 放 弃 XWindow 的 架构 , 用 Wayland 的 架构 用 Android 提 供 API 来 实 现 显 示 和 input 事 件 处 理 http://ppt.a1ex.wang/md/android-x86.md?print=1 6/12

  7. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 chroot + archlinux 修 改 当 前 进 程 和 子 进 程 的 根 目 录 在 该 环 境 下 安 装 archlinux arch 和 android 共 享 kernel 和 /proc, /dev, /sys 少 数 几 个 目 录 解 决 动 态 库 问 题 新 的 根 目 录 结 构 / -> Original /data/arch/chroot |-- dev -> Original /dev |-- proc -> Original /proc |-- sys -> Original /sys |-- mnt -> Original / |-- data -> Original /data |-- bin |-- etc |-- usr |-- lib ... http://ppt.a1ex.wang/md/android-x86.md?print=1 7/12

  8. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 Weston + image­backend Weston 是 wayland 协 议 的 一个 实 现 , 支 持 多 种 后 端 fb, drm... http://ppt.a1ex.wang/md/android-x86.md?print=1 8/12

  9. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 App 定 时 读 取 /tmp/image.bin 内 容 , 显 示 到 SurfaceView 重 写 MainActivity 的 dispatchKeyEvent, dispatchTouchEvent 方 法 , 把 消 息 用 protobuf 编 码 发 送 到 unix socket http://ppt.a1ex.wang/md/android-x86.md?print=1 9/12

  10. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 GPU support 多 次 拷 贝 frame buffer, 可 以 优 化 http://ppt.a1ex.wang/md/android-x86.md?print=1 10/12

  11. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 In the future 将 一个 Linux GUI 应 用 程 序 对 应 成 为一个 Android App 修 改 Android 的 SurfaceView, 让 weston 直 接 写 到 SurfaceView 的 buffer 中 , 减 少 一 次 内 存 拷 贝 http://ppt.a1ex.wang/md/android-x86.md?print=1 11/12

  12. 9/24/2016 用 chroot 的 在 android 上 跑 linux 图 形 应 用 程 序 - By 王 奥 丞 Q&A Thanks My github: https://github.com/a1exwang http://ppt.a1ex.wang/md/android-x86.md?print=1 12/12

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend