2015-10-10 16:41:19 +02:00
|
|
|
// Copyright (c) 2015- PPSSPP Project.
|
|
|
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, version 2.0 or later versions.
|
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License 2.0 for more details.
|
|
|
|
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
|
|
|
|
// Official git repository and contact information can be found at
|
|
|
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2020-10-04 23:24:14 +02:00
|
|
|
#include "Common/GPU/Vulkan/VulkanLoader.h"
|
2016-01-05 21:18:43 +01:00
|
|
|
#include "GPU/GPUInterface.h"
|
2020-08-03 23:17:22 +02:00
|
|
|
#include "GPU/Common/FramebufferManagerCommon.h"
|
2016-01-10 14:24:10 +01:00
|
|
|
#include "GPU/Common/GPUDebugInterface.h"
|
2020-05-09 22:06:22 -07:00
|
|
|
#include "GPU/Common/PresentationCommon.h"
|
2015-10-10 16:41:19 +02:00
|
|
|
#include "GPU/Vulkan/VulkanUtil.h"
|
|
|
|
|
2016-01-05 21:18:43 +01:00
|
|
|
class TextureCacheVulkan;
|
2016-01-05 22:55:47 +01:00
|
|
|
class DrawEngineVulkan;
|
|
|
|
class VulkanContext;
|
2016-01-10 14:24:10 +01:00
|
|
|
class ShaderManagerVulkan;
|
|
|
|
class VulkanTexture;
|
2016-03-28 22:14:04 +02:00
|
|
|
class VulkanPushBuffer;
|
2016-01-10 14:24:10 +01:00
|
|
|
|
2015-10-10 16:41:19 +02:00
|
|
|
class FramebufferManagerVulkan : public FramebufferManagerCommon {
|
|
|
|
public:
|
2022-02-19 20:40:27 +01:00
|
|
|
explicit FramebufferManagerVulkan(Draw::DrawContext *draw);
|
2016-01-10 14:24:10 +01:00
|
|
|
~FramebufferManagerVulkan();
|
|
|
|
|
2016-03-22 00:12:41 +01:00
|
|
|
// If within a render pass, this will just issue a regular clear. If beginning a new render pass,
|
|
|
|
// do that.
|
2016-03-30 23:26:16 +02:00
|
|
|
void NotifyClear(bool clearColor, bool clearAlpha, bool clearDepth, uint32_t color, float depth);
|
2015-10-10 16:41:19 +02:00
|
|
|
};
|