Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Bad performance about display YUV data via OpenGL ES

17

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
17

Bad performance about display YUV data via OpenGL ES

Posted at 8/31/2016 15:20:15      View:3876 | Replies:1        Print      Only Author   [Copy Link] 1#
When I use Android 5.1 and call the following OpenGL function, it took too much time.glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA, 3840 / 2, 2160 / 2, 0, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, uv_data);
It will take about 94ms to send data to GPU.
But when I use Android 4.4.2 (SD boot), it works fine!
I can update 25 frame per second.
What can I do to solve this problem on Android 5.1?
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/2/2016 10:29:32        Only Author  2#
Hi
    there are some problems in the GPU(mali) driver.we will fixed and update it later.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list