summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 4efcf98af..c97935283 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -62,10 +62,12 @@ class GraphicsManager final
void setVideoMode();
- Graphics *createGraphics() A_WARN_UNUSED;
-
bool getAllVideoModes(StringVect &modeList);
+ void detectPixelSize();
+
+ std::string getDensityString() const;
+
#ifdef USE_OPENGL
TestMain *startDetection() A_WARN_UNUSED;
@@ -147,6 +149,16 @@ class GraphicsManager final
int mMaxFboSize;
+ uint32_t mMaxWidth;
+
+ uint32_t mMaxHeight;
+
+ uint32_t mWidthMM;
+
+ uint32_t mHeightMM;
+
+ int32_t mDensity;
+
#ifdef USE_OPENGL
bool mUseTextureSampler;