mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
22 lines
567 B
C++
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;
|
|
};
|
|
|