Home
last modified time | relevance | path

Searched refs:egl_display_t (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/opengl/libs/EGL/
Degl_display.cpp68 egl_display_t* eglDisplay = egl_display_t::get(dpy); in egl_get_init_count()
72 std::map<EGLDisplay, std::unique_ptr<egl_display_t>> egl_display_t::displayMap;
73 std::mutex egl_display_t::displayMapLock;
75 egl_display_t::egl_display_t() in egl_display_t() function in android::egl_display_t
82 egl_display_t::~egl_display_t() { in ~egl_display_t()
87 egl_display_t* egl_display_t::get(EGLDisplay dpy) { in get()
100 void egl_display_t::addObject(egl_object_t* object) { in addObject()
105 void egl_display_t::removeObject(egl_object_t* object) { in removeObject()
110 bool egl_display_t::getObject(egl_object_t* object) const { in getObject()
121 EGLDisplay egl_display_t::getFromNativeDisplay(EGLNativeDisplayType disp, in getFromNativeDisplay()
[all …]
Degl_display.h43 class EGLAPI egl_display_t { // marked as EGLAPI for testing purposes
44 static std::map<EGLDisplay, std::unique_ptr<egl_display_t>> displayMap;
58 egl_display_t();
59 ~egl_display_t();
71 static egl_display_t* get(EGLDisplay dpy);
128 inline egl_display_t* get_display(EGLDisplay dpy) { in get_display()
129 return egl_display_t::get(dpy); in get_display()
132 egl_display_t* validate_display(EGLDisplay dpy);
133 egl_display_t* validate_display_connection(EGLDisplay dpy, egl_connection_t** outCnx);
Degl_object.h35 class egl_display_t; variable
38 egl_display_t* display;
46 explicit egl_object_t(egl_display_t* display);
51 inline egl_display_t* getDisplay() const { return display; } in getDisplay()
54 static bool get(egl_display_t const* display, egl_object_t* object);
66 explicit LocalRef(egl_display_t const* display, T o) : ref(nullptr) { in LocalRef()
129 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface,
Degl_platform_entries.cpp263 EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display, attrib_list); in eglGetPlatformDisplayTmpl()
282 egl_display_t* dp = get_display(dpy); in eglInitializeImpl()
295 egl_display_t* dp = get_display(dpy); in eglTerminateImpl()
309 const egl_display_t* dp = validate_display(dpy); in eglGetConfigsImpl()
329 const egl_display_t* dp = validate_display(dpy); in eglChooseConfigImpl()
399 const egl_display_t* dp = validate_display_connection(dpy, &cnx); in eglGetConfigAttribImpl()
449 static std::vector<EGLint> getDriverColorSpaces(egl_display_t* dp) { in getDriverColorSpaces()
488 static EGLBoolean processAttributes(egl_display_t* dp, ANativeWindow* window, in processAttributes()
671 EGLSurface eglCreateWindowSurfaceTmpl(egl_display_t* dp, egl_connection_t* cnx, EGLConfig config, in eglCreateWindowSurfaceTmpl()
762 egl_display_t* dp = validate_display_connection(dpy, &cnx); in eglCreateWindowSurfaceImpl()
[all …]
Degl_cache.h32 class egl_display_t; variable
50 void initialize(egl_display_t* display);
Degl_object.cpp23 egl_object_t::egl_object_t(egl_display_t* disp) : display(disp), count(1) { in egl_object_t()
45 bool egl_object_t::get(egl_display_t const* display, egl_object_t* object) { in get()
51 egl_surface_t::egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, in egl_surface_t()
Degl_cache.cpp82 void egl_cache_t::initialize(egl_display_t* display) { in initialize()
/frameworks/native/opengl/tests/EGLTest/
Degl_cache_test.cpp74 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_P()
85 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_P()
97 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_P()
100 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_P()
156 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_P()
181 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_P()
202 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_P()
227 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_P()
243 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_P()
273 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_P()
[all …]
DEGL_test.cpp1021 egl_display_t* display = egl_display_t::get(mEglDisplay); in TEST_F()