feat: add retained underlay render cache poc
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled

This commit is contained in:
tei
2026-09-21 22:53:00 +09:00
parent f47469d2ab
commit 8b9ab30322
39 changed files with 781 additions and 23 deletions

View File

@@ -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);