mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-02 18:46:52 +00:00
22 lines
410 B
C++
22 lines
410 B
C++
#pragma once
|
|
|
|
#include "Common/GPU/thin3d.h"
|
|
|
|
// See big comment in the CPP file.
|
|
|
|
namespace Draw {
|
|
class DrawContext;
|
|
}
|
|
|
|
struct FrameTiming {
|
|
// Some backends won't allow changing this willy nilly.
|
|
Draw::PresentMode presentMode;
|
|
int presentInterval;
|
|
|
|
void Reset(Draw::DrawContext *draw);
|
|
};
|
|
|
|
extern FrameTiming g_frameTiming;
|
|
|
|
Draw::PresentMode ComputePresentMode(Draw::DrawContext *draw, int *interval);
|