纹理倒置
背景
在 render-gl 接入 frame buffer object 实现 off-screen 渲染后,发现得到的渲染图发生了180的倒置.
查阅了有关资料后,在 eglspec.1.5 中的 2.2.2.1 Native Surface Coordinate Systems 找到了答案:
The coordinate system for native windows and pixmaps …
参考链接:Building Weston
https://gitee.com/slamdunk1016/weston_demo.git 1、首先设置环境变量
写个简单的set-env.sh脚本方便运行:
#!/bin/bashexport WLD/home/your_user_name/work/weston/install # change this to another location if you …