Pass through the DrawContext to texturecaches and fb managers.
This is preparation for sharing more framebuffer code between the backends.
This commit is contained in:
parent
1c5ad71f60
commit
d05ef4a859
20 changed files with 78 additions and 45 deletions
|
@ -78,7 +78,8 @@ void main() {
|
|||
|
||||
void ConvertFromRGBA8888_Vulkan(u8 *dst, const u8 *src, u32 dstStride, u32 srcStride, u32 width, u32 height, GEBufferFormat format);
|
||||
|
||||
FramebufferManagerVulkan::FramebufferManagerVulkan(VulkanContext *vulkan) :
|
||||
FramebufferManagerVulkan::FramebufferManagerVulkan(Draw::DrawContext *draw, VulkanContext *vulkan) :
|
||||
FramebufferManagerCommon(draw),
|
||||
vulkan_(vulkan),
|
||||
drawPixelsTex_(nullptr),
|
||||
drawPixelsTexFormat_(GE_FORMAT_INVALID),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue