ppsspp/UI/GPUDriverTestScreen.h

44 lines
1.3 KiB
C
Raw Normal View History

#pragma once
2020-10-04 08:10:55 +00:00
#include "Common/System/Display.h"
#include "ui/ui_context.h"
#include "ui/view.h"
#include "ui/viewgroup.h"
#include "ui/ui.h"
#include "Common/LogManager.h"
#include "UI/MiscScreens.h"
#include "thin3d/thin3d.h"
class GPUDriverTestScreen : public UIDialogScreenWithBackground {
public:
GPUDriverTestScreen();
~GPUDriverTestScreen();
void CreateViews() override;
void render() override;
private:
2018-12-18 22:56:36 +00:00
void DiscardTest();
2018-12-20 10:14:50 +00:00
Draw::ShaderModule *discardFragShader_ = nullptr;
2018-12-18 22:56:36 +00:00
Draw::Pipeline *discardWriteDepthStencil_ = nullptr;
Draw::Pipeline *discardWriteDepth_ = nullptr;
Draw::Pipeline *discardWriteStencil_ = nullptr;
// Stencil test, with and without DepthAlways
2018-12-18 22:56:36 +00:00
Draw::Pipeline *drawTestStencilEqual_ = nullptr;
Draw::Pipeline *drawTestStencilNotEqual_ = nullptr;
Draw::Pipeline *drawTestStencilEqualDepthAlways_ = nullptr;
Draw::Pipeline *drawTestStencilNotEqualDepthAlways_ = nullptr;
// Depth tests with and without StencilAlways
Draw::Pipeline *drawTestStencilAlwaysDepthLessEqual_ = nullptr;
Draw::Pipeline *drawTestStencilAlwaysDepthGreater_ = nullptr;
2018-12-18 22:56:36 +00:00
Draw::Pipeline *drawTestDepthLessEqual_ = nullptr;
Draw::Pipeline *drawTestDepthGreater_ = nullptr;
Draw::SamplerState *samplerNearest_ = nullptr;
2018-12-18 22:56:36 +00:00
UI::TabHolder *tabHolder_ = nullptr;
};