blob: e79067800e19e7319abd813bbda2ecb272fa2fc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include "drape/glIncludes.hpp"
namespace my
{
class SrcPoint;
}
namespace android
{
class ConfigComparator
{
public:
ConfigComparator(EGLDisplay display);
bool operator()(EGLConfig const & l, EGLConfig const & r) const;
int configWeight(EGLConfig const & config) const;
int configAlphaSize(EGLConfig const & config) const;
private:
EGLDisplay m_display;
};
void CheckEGL(my::SrcPoint const & src);
} // namespace android
#define CHECK_EGL(x) do { (x); android::CheckEGL(SRC());} while(false);
#define CHECK_EGL_CALL() do { android::CheckEGL(SRC());} while (false);
|