-
公开(公告)号:US20210358192A1
公开(公告)日:2021-11-18
申请号:US17388651
申请日:2021-07-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Fan ZHANG , Feng WANG , Jun LI , Kelan SONG , Qichao ZHU
Abstract: Embodiments of this application provide a rendering method and apparatus, and the like. The method includes: A processor (which is usually a CPU) modifies a rendering instruction based on a relationship between a first frame buffer and a second frame buffer, so that a GPU renders a rendering job corresponding to the first frame buffer to the second frame buffer based on a new rendering instruction. In this application, render passes of one or more frame buffers are redirected to another frame buffer. In this way, memory occupation in a rendering process of an application program is effectively reduced, bandwidth of the GPU is reduced, and power consumption can be reduced.
-
公开(公告)号:US20220327758A1
公开(公告)日:2022-10-13
申请号:US17850170
申请日:2022-06-27
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yixin DENG , Qichao ZHU , Dong WEI , Lei YANG
IPC: G06T15/00
Abstract: This application discloses an image rendering method in a panoramic application. In the method, a foreground image is first rendered, and then a panoramic image used as a background is rendered. A pixel corresponding to the foreground image has a corresponding depth value. When the panoramic image is rendered, content corresponding to the panoramic image may be rendered at a pixel corresponding to a depth standard value based on a depth value of a pixel on a canvas. The depth reference value is a depth value of a pixel other than the pixel corresponding to the foreground image. In this way, repeated rendering is avoided for an overlapping part between the foreground image and the panoramic image, which not only reduces resource wastes and rendering overheads, but also improves rendering efficiency.
-