Home
last modified time | relevance | path

Searched refs:egl_display (Results 1 – 12 of 12) sorted by relevance

/external/virglrenderer/src/
Dvrend_winsys_egl.c74 EGLDisplay egl_display; member
169 egl->egl_display = get_platform_display (EGL_PLATFORM_SURFACELESS_MESA, in virgl_egl_init()
172 egl->egl_display = get_platform_display (EGL_PLATFORM_GBM_KHR, in virgl_egl_init()
182 egl->egl_display = get_platform_display (EGL_PLATFORM_SURFACELESS_MESA, in virgl_egl_init()
185 egl->egl_display = get_platform_display (EGL_PLATFORM_GBM_KHR, in virgl_egl_init()
188 egl->egl_display = eglGetDisplay((EGLNativeDisplayType)egl->gbm->device); in virgl_egl_init()
191 if (!egl->egl_display) { in virgl_egl_init()
199 egl->egl_display = eglGetDisplay(EGL_DEFAULT_DISPLAY); in virgl_egl_init()
200 if (!egl->egl_display) in virgl_egl_init()
204 success = eglInitialize(egl->egl_display, &major, &minor); in virgl_egl_init()
[all …]
/external/autotest/client/deps/nvmap_compactor/src/
Dnvmap_carveout_compactor.c43 static EGLDisplay egl_display; variable
565 eglDestroyContext(egl_display, egl_context); in CleanupEgl()
566 eglDestroySurface(egl_display, egl_surface); in CleanupEgl()
567 eglTerminate(egl_display); in CleanupEgl()
678 egl_display = eglGetDisplay((EGLNativeDisplayType)x_display); in EglInitialize()
679 if (egl_display == EGL_NO_DISPLAY) { in EglInitialize()
684 if ( !eglInitialize(egl_display, NULL, NULL)) { in EglInitialize()
689 if ( !eglChooseConfig(egl_display, attr, &config, 1, &numConfig)) { in EglInitialize()
700 egl_surface = eglCreateWindowSurface(egl_display, config, win, NULL); in EglInitialize()
706 egl_context = eglCreateContext(egl_display, config, EGL_NO_CONTEXT, in EglInitialize()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Degl_environment.cc31 absl::Status InitDisplay(EGLDisplay* egl_display) { in InitDisplay() argument
33 TFLITE_GPU_CALL_EGL(eglGetDisplay, egl_display, EGL_DEFAULT_DISPLAY)); in InitDisplay()
34 if (*egl_display == EGL_NO_DISPLAY) { in InitDisplay()
39 *egl_display, nullptr, nullptr)); in InitDisplay()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dapi.h122 EGLDisplay egl_display = EGL_NO_DISPLAY; member
132 return egl_context != EGL_NO_CONTEXT && egl_display != EGL_NO_DISPLAY; in IsGlAware()
Dgpu_api_delegate.cc83 options_.egl_display = EGL_NO_DISPLAY; in Delegate()
106 env_options.egl_display = options_.egl_display; in Prepare()
277 options_.egl_display != EGL_NO_DISPLAY; in SupportsGlObjects()
Dcl_context.cc149 cl_context_properties egl_display, in CreateCLGLContext() argument
159 egl_display, in CreateCLGLContext()
Dgpu_api_delegate.h53 EGLDisplay egl_display; member
Dcl_context.h57 cl_context_properties egl_display,
Denvironment.cc30 cl_context_properties egl_display) { in CreateEnvironment() argument
36 RETURN_IF_ERROR(CreateCLGLContext(gpu, egl_context, egl_display, &context)); in CreateEnvironment()
Dgl_interop.cc176 GlInteropFabric::GlInteropFabric(EGLDisplay egl_display, in GlInteropFabric() argument
182 egl_display_(egl_display), in GlInteropFabric()
Dgl_interop.h112 GlInteropFabric(EGLDisplay egl_display, Environment* environment);
Dapi.cc672 env_options.egl_display, environment_); in Initialize()
698 env_options.egl_display, environment_); in Initialize()
875 reinterpret_cast<cl_context_properties>(options_.egl_display), in Init()