About NvEglRenderer's parent window

Hello

What is the current NvEglRenderer parent window?
Can I set the NvEglRenderer’s parent window to a window other than the X11 rootWindow?

Thank you.

Hi,
Since it is implemented based on X11 APIs, you may check if your usecase can be supported through X11. The window is created by calling

    x_window = XCreateWindow(x_display,
                             DefaultRootWindow(x_display), x_offset,
                             y_offset, width, height,
                             0,
                             depth, CopyFromParent,
                             CopyFromParent,
                             (CWBackPixel | CWOverrideRedirect),
                             &window_attributes);

https://tronche.com/gui/x/xlib/window/XCreateWindow.html
It sets DefaultRootWindow(x_display) as parent window.

1 Like