How to use GraphicBuffer in android ndk

后端 未结 3 762
难免孤独
难免孤独 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:26

    I am working on this problem these days, too.

    Many blogs said a copy of Android source code is needed to link along with your project. I believe it's more elegant to get function from libui.so in runtime, which is the "alternative approach" mentioned by Aleksandar Stojiljkovic.

    I have written a simple library to do that. Here is it.

提交回复
热议问题