Repository navigation
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. WalkthroughThe change expands the Renderer interface and adds DX8 backend implementations. Engine, library, and tool code routes selected rendering operations and capability checks through Renderer. The shader manager also changes render-target handling for multisampled targets and failed target selection. ChangesRenderer Interface Migration
Estimated code review effort: 4 (Complex) | ~45 minutes Change: Refactor Suggested reviewers: Merge Risk:
|
7699e22 to
b9e8616
Compare
| static void Apply_Render_State_Changes(); | ||
|
|
||
| static void Set_Fill_Mode(RenderFillMode mode); | ||
| static void Set_Color_Write_Mask(unsigned int mask); |
There was a problem hiding this comment.
Make the mask type a typedef so we know what flags it takes.
For reference see:
typedef UnsignedInt CursorCaptureMode;
enum CursorCaptureMode_ CPP_11(: CursorCaptureMode)There was a problem hiding this comment.
Done, added a RenderColorWriteMask typedef with the enum following the CursorCaptureMode pattern, and Set_Color_Write_Mask takes it now.
…_cast in BaseFunctions.h
f8f1e09 to
a376c6d
Compare
Follow up for #2613
Merge after #3700
This change routes the fill mode and color write mask through
Renderer.Renderer.hgetsRenderFillModeandRenderColorWriteenums. The DX8 backend translates each value to its D3D constant.The save and restore blocks in W3DScene and W3DVolumetricShadow read the color write mask from the device. They stay as they are and move with the stencil shadow change.
Testing