Thank you for your reply. I understand your suggestion. But, our embedded OS is very light, so it does not still support to change screen resolution. It has fixed resolution(1920x1080). So, I want a MultiSampling(anti-aliasing) in QEMU & virglrenderer.
I know the embedded OS supports changing resolution is best. But, QEMU window size is very flexible, but resolution of guest os is very limit. I think many developer want to scale fixed resolution. For example, many android developer use the emulator. Android emulator can scale windows fixed resolution. I checked MULTISAMPLING features in virglrenderer, but QEMU not using it. In QEMU source, I saw "virgl_renderer_resource_create" function call in virtio-gpu-3d.c. How can I control nr_samples argument? Or, do you have another solution for multisampling(anti-aliasing) in QEMU? Regards, Wonsang Ryu. 2018-05-15 15:42 GMT+09:00 Gerd Hoffmann <kra...@redhat.com>: > Hi, > > > > I have a problem about screen resolution. > > > Recommended resolution of my guest OS is 1920x1080. > > > If a QEMU window size is 1920x1080, it is clear. > > > But, if I change smaller of a QEMU window size, it does not display > > > clearly.(ex: 1280x720) > > > In this case, QEMU windows size in host is 1280x720, and guest screen > > > resolution is 1920x1080. > > virtio-gpu signals to the guest that the window size has changed, and > expected guest behavior is that it changes the guest screen resolution > accordingly. > > > > I want to hold the resolution of the guest OS and scale the QEMU > windows in > > > the host OS. > > Why? > > Setting GL_TEXTURE_{MIN,MAG}_FILTER to GL_LINEAR for the virtio-gpu > textures surely is possible. But using a guest screen resolution > matching the host window size will still give better results than > doing any kind of scaling. > > cheers, > Gerd > >