#include "common/angleutils.h"
#include "test_utils/ANGLETest.h"
#include "test_utils/gl_raii.h"
#include "util/EGLWindow.h"
usingnamespaceangle;
constexpr EGLint kEnabledCacheSize = …;
constexpr char kEGLExtName[] = …;
void TestCacheProgram(PlatformMethods *platform,
const ProgramKeyType &key,
size_t programSize,
const uint8_t *programBytes);
class EGLProgramCacheControlTest : public ANGLETest<>
{ … };
void TestCacheProgram(PlatformMethods *platform,
const ProgramKeyType &key,
size_t programSize,
const uint8_t *programBytes)
{ … }
TEST_P(EGLProgramCacheControlTest, NegativeAPI)
{ … }
TEST_P(EGLProgramCacheControlTest, SaveAndReload)
{ … }
TEST_P(EGLProgramCacheControlTest, LinkProgramWithBadShaders)
{ … }
TEST_P(EGLProgramCacheControlTest, DisableProgramCache)
{ … }
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST(…);