diff options
author | Leith Bade <leith@mapbox.com> | 2014-11-25 21:26:57 +1100 |
---|---|---|
committer | Leith Bade <leith@mapbox.com> | 2014-11-28 00:11:37 +1100 |
commit | 1c02a034dfdde2ce4481e22c9c07072275b7fa12 (patch) | |
tree | d1e79048b470b3767c970dc030f6f0685b542768 | |
parent | 82ba131d63092b6a2fa6bee14825f8942586f97c (diff) | |
download | qtlocation-mapboxgl-1c02a034dfdde2ce4481e22c9c07072275b7fa12.tar.gz |
Try 32bit over 16bit
-rw-r--r-- | android/cpp/native_map_view.cpp | 17 |
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; |