Hi, sir
Now I used the imx8mq evk board to test the dual display, one is hdmi(/dev/graphics/fb0), the other is mipi-to-hdmi(/dev/graphics/fb1). When I set the correct bootargs and dts files, both display can work, but with the same context when I run the demo. So If I would like to only control the /dev/graphics/fb1 using OpenGL, How can I set?
The Andriod version is :evk_8mq_eng 9 1.0.0-ga-rc3 20190114 dev-keys
Hi sir
I would like to use the blew parameter to control fb1
fd = open("/dev/graphics/fb1", O_RDWR);
EGLNativeWindowType window = (EGLNativeWindowType)fd;
But it build error as blew:
frameworks/native/opengl/tests/OPENGLESTestRGB/opengl_es_test_rgb.cpp:40:31: error: cast to 'ANativeWindow *' from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
EGLNativeWindowType window = (EGLNativeWindowType)fd;
Does there anyone else know this issue, and fix it?
BR
Hi everyone
Is there anyone else can fix this issue ?
BR
Hi anyone
Is there anything update ?
BR
Hello,
Unfortunately, you are using an unofficial Android BSP from us. I suggest using the NXP Android BSPs.
Android OS for i.MX Applications Processors | NXP
However, only mirrored display is supported by our BSP. Having different content in both display is not supported.
I apologize for the inconvenience this could give you.
Best regards,
Diego.