fgsqme / Android_Native_Surface

安卓c++绘制和录屏

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android_Native_Surface

关于

此项目基于 Android_Native_Surface

功能

  • c++ surface 绘制,支持 OpenGL和Vulkan,支持跳过录屏,已修复触摸穿透问题
  • c++ 录屏 / 录屏共享
  • 项目支持到 Android 9 ~ 14

目录


效果图

  • 录屏

    image
  • 绘制

    image

aosp_res/ android level /aosp_native_surface

  • 编译
    • 下载aosp项目,复制对应aosp_res下的安卓版本到aosp根目录的 external/aosp_native_surface
    • cd到external/aosp_native_surface执行mm命令编译
    • 编译完成后输出路径在out/target/product/system/(lib,lib64)/libSsage.so

执行方法演示

  chmod +x nativeSurface
  ./nativeSurface

About

安卓c++绘制和录屏

License:MIT License


Languages

Language:C 79.9%Language:C++ 20.1%Language:CMake 0.0%Language:Batchfile 0.0%