ppsspp/GPU/GPUCommonHW.h
2023-02-25 15:15:34 +01:00

22 lines
567 B
C++

#pragma once
#include "GPUCommon.h"
// Shared GPUCommon implementation for the HW backends.
// Things that are irrelevant for SoftGPU should live here.
class GPUCommonHW : public GPUCommon {
public:
GPUCommonHW(GraphicsContext *gfxCtx, Draw::DrawContext *draw);
~GPUCommonHW();
void CopyDisplayToOutput(bool reallyDirty) override;
void DoState(PointerWrap &p) override;
protected:
void PreExecuteOp(u32 op, u32 diff);
void ClearCacheNextFrame() override;
// Needs to be called on GPU thread, not reporting thread.
void BuildReportingInfo() override;
};