Commit f4fea7f5 by Nicolas Capens Committed by Nicolas Capens

Ignore Android EGL config attributes.

BUG=18510357 Change-Id: Id19a635b95e8bde227eb0cc76a450c4feb567e2d Reviewed-on: https://swiftshader-review.googlesource.com/1472Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 02f30cb6
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
#include "common/debug.h" #include "common/debug.h"
#define EGLAPI
#include <EGL/eglext.h>
#include <algorithm> #include <algorithm>
#include <vector> #include <vector>
...@@ -321,6 +324,8 @@ bool ConfigSet::getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint ...@@ -321,6 +324,8 @@ bool ConfigSet::getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint
case EGL_MAX_PBUFFER_WIDTH: match = config->mMaxPBufferWidth >= attribute[1]; break; case EGL_MAX_PBUFFER_WIDTH: match = config->mMaxPBufferWidth >= attribute[1]; break;
case EGL_MAX_PBUFFER_HEIGHT: match = config->mMaxPBufferHeight >= attribute[1]; break; case EGL_MAX_PBUFFER_HEIGHT: match = config->mMaxPBufferHeight >= attribute[1]; break;
case EGL_MAX_PBUFFER_PIXELS: match = config->mMaxPBufferPixels >= attribute[1]; break; case EGL_MAX_PBUFFER_PIXELS: match = config->mMaxPBufferPixels >= attribute[1]; break;
case EGL_RECORDABLE_ANDROID: match = false; /* UNIMPLEMENTED(); */ break;
case EGL_FRAMEBUFFER_TARGET_ANDROID: match = false; /* UNIMPLEMENTED(); */ break;
default: default:
UNIMPLEMENTED(); UNIMPLEMENTED();
match = false; match = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment