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.h50 class EGLAPI egl_display_t { // marked as EGLAPI for testing purposes
51 static egl_display_t sDisplay[NUM_DISPLAYS];
63 egl_display_t();
64 ~egl_display_t();
76 static egl_display_t* get(EGLDisplay dpy);
143 explicit egl_display_ptr(egl_display_t* dpy): mDpy(dpy) {} in egl_display_ptr()
159 const egl_display_t* operator->() const { return mDpy; }
160 egl_display_t* operator->() { return mDpy; }
162 const egl_display_t* get() const { return mDpy; } in get()
163 egl_display_t* get() { return mDpy; } in get()
[all …]
Degl_display.cpp80 egl_display_t* eglDisplay = egl_display_t::get(dpy); in egl_get_init_count()
84 egl_display_t egl_display_t::sDisplay[NUM_DISPLAYS];
86 egl_display_t::egl_display_t() : in egl_display_t() function in android::egl_display_t
90 egl_display_t::~egl_display_t() { in ~egl_display_t()
95 egl_display_t* egl_display_t::get(EGLDisplay dpy) { in get()
107 void egl_display_t::addObject(egl_object_t* object) { in addObject()
112 void egl_display_t::removeObject(egl_object_t* object) { in removeObject()
117 bool egl_display_t::getObject(egl_object_t* object) const { in getObject()
128 EGLDisplay egl_display_t::getFromNativeDisplay(EGLNativeDisplayType disp, in getFromNativeDisplay()
211 EGLDisplay egl_display_t::getPlatformDisplay(EGLNativeDisplayType display, in getPlatformDisplay()
[all …]
Degl_object.h40 class egl_display_t; variable
43 egl_display_t *display;
51 explicit egl_object_t(egl_display_t* display);
56 inline egl_display_t* getDisplay() const { return display; } in getDisplay()
59 static bool get(egl_display_t const* display, egl_object_t* object);
70 explicit LocalRef(egl_display_t const* display, T o) : ref(nullptr) { in LocalRef()
134 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface,
Degl_cache.h33 class egl_display_t; variable
47 void initialize(egl_display_t* display);
Degl_object.cpp26 egl_object_t::egl_object_t(egl_display_t* disp) : in egl_object_t()
50 bool egl_object_t::get(egl_display_t const* display, egl_object_t* object) { in get()
58 egl_surface_t::egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, in egl_surface_t()
Degl_cache.cpp79 void egl_cache_t::initialize(egl_display_t *display) { in initialize()
Degl_platform_entries.cpp299 EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display, attrib_list); in eglGetPlatformDisplayTmpl()
1646 egl_display_t::loseCurrent(get_context(getContext())); in eglReleaseThreadImpl()
/frameworks/native/opengl/tests/EGLTest/
Degl_cache_test.cpp59 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_F()
70 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_F()
100 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_F()
103 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); in TEST_F()
/frameworks/native/opengl/libagl/
Degl.cpp122 struct egl_display_t struct
124 egl_display_t() : type(0), initialized(0) { } in egl_display_t() argument
126 static egl_display_t& get_display(EGLDisplay dpy);
136 static egl_display_t gDisplays[NUM_DISPLAYS];
138 egl_display_t& egl_display_t::get_display(EGLDisplay dpy) { in get_display()
1289 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createWindowSurface()
1338 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPixmapSurface()
1384 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPbufferSurface()
1447 egl_display_t& d = egl_display_t::get_display(dpy); in eglGetDisplay()
1456 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglInitialize()
[all …]