How to use GraphicBuffer in android ndk

后端 未结 3 758
难免孤独
难免孤独 2021-01-04 19:47

I am asking this with reference to an answer for my question at How to improve opengl es display performance in android . I was trying to build the code which uses GraphicBu

3条回答
  •  隐瞒了意图╮
    2021-01-04 20:17

    GraphicBuffer is in the namespace android.

    Either add:

    using namespace android;

    or refer to GraphicBuffer with android::GraphicBuffer

提交回复
热议问题