forked from blender/blender
Render fixes after refactoring #79
Labels
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BogdanNagirniak/blender#79
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "hydra-refactor-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
After refactoring PRs there are render issues such as crash with RPR delegate in viewport.
Technical steps
GPURenderTaskDelegate
and use it in Viewport render.Notes
Expect to fix MacOS issues here in new commits.
These changes make Hydra Storm in the 3D viewport much slower here, testing on Linux + NVIDIA. Seems to be reading back the texture to CPU memory on every redraw.
Vasyl Pidhirskyi referenced this pull request2023-07-28 15:31:26 +02:00
Works fine for me now.
@ -267,3 +277,2 @@
GPU_framebuffer_free(framebuffer_);
GPU_texture_free(tex_color_);
GPU_texture_free(tex_depth_);
}
Can you set VAO_ to 0 and framebuffer_ to null?
Not strictly required, but more future proof.