CPC G06T 1/20 (2013.01) [G06T 1/60 (2013.01); G06T 11/203 (2013.01); G06T 15/005 (2013.01)] | 16 Claims |
1. A method to render two-dimensional (2D) content and three-dimensional (3D) content of an application by a graphics processing unit (GPU), the method comprising:
creating, by the GPU, a full-resolution frame buffer for rendering 2D draw calls and a reduced-resolution frame buffer for rendering 3D draw calls based on upscaling being supported;
receiving, by the GPU, a draw call;
determining, by the GPU, that the draw call comprises both a 2D draw call and a 3D draw call based on determining rendering quadrants of the draw call, and, in response, separating the 2D draw call from the 3D draw call by:
storing the 2D draw call in the full-resolution frame buffer, and
storing the 3D draw call in the reduced-resolution frame buffer;
upscaling, by the GPU, the draw call stored in the reduced-resolution frame buffer from a reduced-resolution to a full-resolution draw call; and
combining, by the GPU, the 2D draw call in the full-resolution frame buffer and the 3D draw call upscaled to the full-resolution draw call to form a final output.
|