From 1c02a034dfdde2ce4481e22c9c07072275b7fa12 Mon Sep 17 00:00:00 2001 From: Leith Bade Date: Tue, 25 Nov 2014 21:26:57 +1100 Subject: [PATCH] Try 32bit over 16bit --- android/cpp/native_map_view.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/android/cpp/native_map_view.cpp b/android/cpp/native_map_view.cpp index 1cf60263e..de3a7ffca 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 typedef std::tuple ConfigProperties;