Re: [Mesa-dev] How to use gbm_surface_lock_front_buffer() ?

2012-04-26 Thread Bie Tiwei
eenshot is here: https://lh5.googleusercontent.com/-aLG3NA3GDCg/T5oijbFymvI/ABw/BE2Rept5ozg/s1419/IMAG0150.jpg), and I have no idea to solve this problem. Any help would be greatly appreciated ! Thanks and Best Regards Bie Tiwei /* * Copyright © 2011 Kristian Høgsberg * Copyright © 201

[Mesa-dev] How to use gbm_surface_lock_front_buffer() ?

2012-04-26 Thread Bie Tiwei
;t know how to use gbm_surface_lock_front_buffer(), drmModeSetCrtc(), and drmModePageFlip(). I have googled it for many days, but can not find a suitable tutorial or examples about this. I really want to run egl on drm, for it looks so cool ! Many thanks ! Bie Tiwei /* * Copyright © 2011 Kristian Høgsb