Synchronized Problem about Hardware Buffer in Two Different Processes
(too old to reply)
lala chen
2018-09-17 09:02:34 UTC
Hi all,

I encounter a synchronized problem when I shared hardware buffer to two
different processes.

One process called P1 is rendering a quad with random position to the
hardware buffer called HB.

Another process called P2 is texturing the HB on the quad with fixed

I see that we will see the two quads at same time in P2 when we draw fast
at P1.

Do we have any method to avoid this situation???
(Like GLSync. But we need it supporting two processes)

You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/8224ab99-ab91-46bb-b21e-ac30e10e8e37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive: