feat: add retained underlay render cache poc
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
|
||||
#include <mbgl/platform/gl_functions.hpp>
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include <TargetConditionals.h>
|
||||
#endif
|
||||
|
||||
using namespace mbgl::platform;
|
||||
|
||||
TEST(GLFunctions, OpenGLES) {
|
||||
@@ -253,8 +257,15 @@ TEST(GLFunctions, OpenGLES) {
|
||||
EXPECT_NE(glGetProgramBinary, nullptr);
|
||||
EXPECT_NE(glProgramBinary, nullptr);
|
||||
EXPECT_NE(glProgramParameteri, nullptr);
|
||||
#if defined(__APPLE__)
|
||||
#if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR
|
||||
EXPECT_NE(glInvalidateFramebuffer, nullptr);
|
||||
EXPECT_NE(glInvalidateSubFramebuffer, nullptr);
|
||||
#endif
|
||||
#else
|
||||
EXPECT_NE(glInvalidateFramebuffer, nullptr);
|
||||
EXPECT_NE(glInvalidateSubFramebuffer, nullptr);
|
||||
#endif
|
||||
EXPECT_NE(glTexStorage2D, nullptr);
|
||||
EXPECT_NE(glTexStorage3D, nullptr);
|
||||
EXPECT_NE(glGetInternalformativ, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user