summaryrefslogtreecommitdiff
path: root/android/cpp
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2014-11-25 21:26:57 +1100
committerLeith Bade <leith@mapbox.com>2014-11-28 00:11:37 +1100
commit1c02a034dfdde2ce4481e22c9c07072275b7fa12 (patch)
treed1e79048b470b3767c970dc030f6f0685b542768 /android/cpp
parent82ba131d63092b6a2fa6bee14825f8942586f97c (diff)
downloadqtlocation-mapboxgl-1c02a034dfdde2ce4481e22c9c07072275b7fa12.tar.gz
Try 32bit over 16bit
Diffstat (limited to 'android/cpp')
-rw-r--r--android/cpp/native_map_view.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/android/cpp/native_map_view.cpp b/android/cpp/native_map_view.cpp
index 1cf60263e6..de3a7ffca1 100644
--- a/android/cpp/native_map_view.cpp
+++ b/android/cpp/native_map_view.cpp
@@ -351,6 +351,8 @@ void NativeMapView::destroySurface() {
}
}
+// Speed
+/*
typedef enum {
Format16Bit = 0,
Format32BitNoAlpha = 1,
@@ -363,6 +365,21 @@ typedef enum {
Format16Depth8Stencil = 0,
Format24Depth8Stencil = 1,
} DepthStencilFormat;
+*/
+
+// Quality
+typedef enum {
+ Format16Bit = 3,
+ Format32BitNoAlpha = 1,
+ Format32BitAlpha = 2,
+ Format24Bit = 0,
+ Unknown = 4
+} BufferFormat;
+
+typedef enum {
+ Format16Depth8Stencil = 1,
+ Format24Depth8Stencil = 0,
+} DepthStencilFormat;
// Tuple is <buffer_format, depth_stencil_format, is_not_conformant, is_caveat, config_num, config_id>
typedef std::tuple<BufferFormat, DepthStencilFormat, bool, bool, int, EGLConfig> ConfigProperties;