You can preview the camera view directly in the 3D viewport.
Fix using load_post handler instead of registering draw_handler.
This extension does not require special permissions.
Kinda great can see some use cases for that, when the camera view is in rendered mode in Eevee, it will tank performance, far more than when you use Rendered View in the normal Viewport (Tested on a Geforce 1080Ti). On Material Preview it is acceptable depending on the quality slider.
However if I use multiple viewports it activates the same camera viewer on both viewports, I hope that will get fixed so it is only on the viewport active where I enabled that feature.
Hello. Firstly, thank you for utilizing the extension and sharing your feedback!
The performance bottleneck originates from the Blender API's utilization of Python to interact with the GPU module, resulting in significant time overhead. This concern prompted me to make a quality option designed to improve performance and recommend using 1 viewport sample when using the camera viewer.
Additionally, the issue of activating the camera viewer across multiple viewports is another problem that cannot be overlooked. The Blender API restricts developers from creating properties within the viewport area, thereby hindering the activation of camera viewers in specific viewports.
I hope that Blender officials consider incorporating this feature into the built-in version.
good