Dear pekka & All:

I find a wayland application report error about allocate memory fail.
I check the code, after request to weston to allocate dma buffer, it call
wl_display_roundtrip().
But this function return very fast, it doesn't block until the create
events back.

I suspect the display->last_error is not 0. Then the wl_display_roundtrip()
return fast because of the last_error. Does it right?

I find the following log:

wl_display@1: error 0: invalid object 10

Does the application need to handle the display errors? How could I make
the last_error not impact wl_display_roundtrip?

Thank you.

Best Regards
Nancy
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to