Home
last modified time | relevance | path

Searched refs:egl_cache_t (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp52 egl_cache_t::get()->setCacheFilename(filename); in egl_set_cache_filename()
60 egl_cache_t::get()->setBlob(key, keySize, value, valueSize); in setBlob()
65 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); in getBlob()
71 egl_cache_t::egl_cache_t() in egl_cache_t() function in android::egl_cache_t
74 egl_cache_t::~egl_cache_t() {} in ~egl_cache_t()
76 egl_cache_t egl_cache_t::sCache;
78 egl_cache_t* egl_cache_t::get() { in get()
82 void egl_cache_t::initialize(egl_display_t* display) { in initialize()
118 void egl_cache_t::terminate() { in terminate()
131 void egl_cache_t::setBlob(const void* key, EGLsizeiANDROID keySize, const void* value, in setBlob()
[all …]
Degl_cache.h34 class EGLAPI egl_cache_t {
43 static egl_cache_t* get();
84 egl_cache_t();
85 ~egl_cache_t();
88 egl_cache_t(const egl_cache_t&); // not implemented
89 void operator=(const egl_cache_t&); // not implemented
138 static egl_cache_t sCache;
Degl_display.cpp84 egl_cache_t::get()->terminate(); in ~egl_display_t()
375 egl_cache_t::get()->initialize(this); in initialize()
/frameworks/native/opengl/tests/EGLTest/
Degl_cache_test.cpp37 class EGLCacheTest : public ::testing::TestWithParam<egl_cache_t::EGLCacheMode> {
57 egl_cache_t* mCache = egl_cache_t::get();
59 egl_cache_t::EGLCacheMode mCacheMode = GetParam();
151 if (mCacheMode == egl_cache_t::EGLCacheMode::Monolithic) { in TEST_P()
193 if (mCacheMode == egl_cache_t::EGLCacheMode::Monolithic) { in TEST_P()
281 if (mCacheMode == egl_cache_t::EGLCacheMode::Monolithic) { in TEST_P()
332 EGLCacheTest, ::testing::Values(egl_cache_t::EGLCacheMode::Monolithic));
334 EGLCacheTest, ::testing::Values(egl_cache_t::EGLCacheMode::Multifile));