Blender Git Loki
Git Commits -> Revision 0305fc3
Revision 0305fc3 by Dalai Felinto (master) February 23, 2018, 16:26 (GMT) |
Fix border rendering for eevee + stop passing render result around Technically the original issue is that xof/yof in render result is calculated for drawing border render. So a simpler patch could be: ``` - rr->xof = re->disprect.xmin; + rr->xof = re->disprect.xmin + BLI_rcti_cent_x(&re->disprect) - (re->winx / 2); ``` However everywhere in the code we are getting border directly from re->disprect which we may as well do here too. Besides I'm taking this as a chance to get rid of RenderResult in the internal loop of eevee, to help prepare the code to the upcoming rendering pipeline changes. |
Commit Details:
Full Hash: 0305fc30b3ba6a1b24e2c9c182ae2e76d553f341
Parent Commit: 5127910
Lines Changed: +36, -31
5 Modified Paths:
/source/blender/draw/engines/eevee/eevee_engine.c (+2, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+27, -26) (Diff)
/source/blender/draw/intern/draw_manager.c (+4, -1) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+27, -26) (Diff)
/source/blender/draw/intern/draw_manager.c (+4, -1) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -1) (Diff)