【问题标题】:What is the difference between the two weston-simple examples?两个简单的韦斯顿示例有什么区别?
【发布时间】:2020-02-01 05:12:47
【问题描述】:

weston-simple-egl 和 weston-simple-shm 有什么区别?

1) 韦斯顿-简单-egl

2) 韦斯顿-simple-shm

【问题讨论】:

    标签: wayland


    【解决方案1】:

    它们使用的缓冲区类型不同

    即 对于 simple-shm,您使用 wl_shm 接口从共享内存池创建缓冲区(wl_shm_pool_create_buffer)写入像素并渲染。

    对于 simple-egl,您使用 egl api 创建缓冲区和渲染。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-11-23
      • 2019-09-12
      • 1970-01-01
      • 2020-05-12
      相关资源
      最近更新 更多