7#include "flutter/testing/testing.h"
8#include "gtest/gtest.h"
15#define EXPECT_AVAILABLE(proc_ivar) \
16 EXPECT_TRUE(mock_gles->GetProcTable().proc_ivar.IsAvailable());
17#define EXPECT_UNAVAILABLE(proc_ivar) \
18 EXPECT_FALSE(mock_gles->GetProcTable().proc_ivar.IsAvailable());
22 EXPECT_TRUE(mock_gles->GetProcTable().GetDescription()->IsES());
30 EXPECT_FALSE(mock_gles->GetProcTable().GetDescription()->IsES());
static std::shared_ptr< MockGLES > Init(const std::optional< std::vector< const unsigned char * > > &extensions=std::nullopt, const char *version_string="OpenGL ES 3.0", ProcTableGLES::Resolver resolver=kMockResolverGLES)
Returns an initialized |MockGLES| instance.
TEST(AiksCanvasTest, EmptyCullRect)
#define FOR_EACH_IMPELLER_DESKTOP_ONLY_PROC(PROC)
#define FOR_EACH_IMPELLER_ES_ONLY_PROC(PROC)
#define EXPECT_AVAILABLE(proc_ivar)
#define EXPECT_UNAVAILABLE(proc_ivar)
#define EXPECT_TRUE(handle)