Home
last modified time | relevance | path

Searched refs:m_surface (Results 1 – 20 of 20) sorted by relevance

/external/deqp/modules/egl/
DteglThreadCleanUpTests.cpp64 , m_surface (surface) in Thread()
73 if (m_surface != EGL_NO_SURFACE) in testContext()
76 m_egl.makeCurrent(m_display, m_surface, m_surface, context); in testContext()
130 const EGLSurface m_surface; member in deqp::egl::__anonab1640b20111::Thread
177 , m_surface (EGL_NO_SURFACE) in ThreadCleanUpTest()
222 m_surface = egl.createPbufferSurface(m_display, m_config, attribs); in init()
231 if (m_surface != EGL_NO_SURFACE) in deinit()
233 egl.destroySurface(m_display, m_surface); in deinit()
234 m_surface = EGL_NO_SURFACE; in deinit()
256 Thread thread (m_eglTestCtx.getLibrary(), m_display, m_surface, m_context, m_config, error); in iterate()
[all …]
DteglResizeTests.cpp124 MovePtr<UniqueSurface> m_surface; member in deqp::egl::ResizeTest
189 m_surface = surface; in init()
204 m_surface.clear(); in deinit()
349 ScopedCurrentContext currentCtx (egl, m_display, **m_surface, **m_surface, **m_context); in iterate()
350 egl.swapBuffers(m_display, **m_surface); in iterate()
353 **m_surface, in iterate()
362 egl.swapBuffers(m_display, **m_surface); in iterate()
364 checkSurfaceSize(egl, m_display, **m_surface, *m_nativeWindow, m_newSize, m_status); in iterate()
389 ScopedCurrentContext currentCtx (egl, m_display, **m_surface, **m_surface, **m_context); in iterate()
391 …EGLU_CHECK_CALL(egl, surfaceAttrib(m_display, **m_surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED… in iterate()
[all …]
DteglImageUtil.hpp53 ManagedSurface (de::MovePtr<eglu::UniqueSurface> surface) : m_surface(surface) {} in ManagedSurface()
55 eglw::EGLSurface get (void) const { return **m_surface; } in get()
58 de::UniquePtr<eglu::UniqueSurface> m_surface; member in deqp::egl::Image::ManagedSurface
DteglImageFormatTests.cpp161 EGLSurface m_surface; member in deqp::egl::Image::ImageApi
168 , m_surface (surface) in ImageApi()
297 egl.makeCurrent(display, m_surface, m_surface, m_context); in GLES2ImageApi()
311 …gles2Api.m_egl.makeCurrent(gles2Api.m_display, gles2Api.m_surface, gles2Api.m_surface, gles2Api.m_… in invoke()
881 EGLSurface m_surface; member in deqp::egl::Image::ImageFormatCase
912 , m_surface (EGL_NO_SURFACE) in ImageFormatCase()
973m_surface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_display, m_con… in init()
987 api = new GLES2ImageApi(egl, m_gl, contextNdx, getLog(), m_display, m_surface, m_config); in init()
1015 if (m_surface != EGL_NO_SURFACE) in deinit()
1017 egl.destroySurface(m_display, m_surface); in deinit()
[all …]
DteglColorClearCase.cpp284 , m_surface (surface) in ColorClearThread()
300 m_egl.makeCurrent(m_display, m_surface, m_surface, m_context); in run()
319 EGLSurface m_surface; member in deqp::egl::ColorClearThread
DteglImageTests.cpp301 , m_surface (createSurface(eglTestCtx, m_display, m_config, width, height)) in Context()
302 … , m_current (eglTestCtx.getLibrary(), m_display, m_surface->get(), m_surface->get(), *m_context) in Context()
317 UniquePtr<ManagedSurface> m_surface; member in deqp::egl::Image::Context
DteglGLES2SharingThreadedTests.cpp670 SharedPtr<Surface> m_surface; member in deqp::egl::GLES2ThreadTest::MakeCurrent
677 , m_surface (surface) in MakeCurrent()
683 if (m_surface) in MakeCurrent()
684 modifyObject(SharedPtr<tcu::ThreadUtil::Object>(m_surface)); in MakeCurrent()
699 thread.surface = m_surface; in MakeCurrent()
708 thread.eglSurface = m_surface->surface; in exec()
711 DE_ASSERT(m_surface); in exec()
712 …() << "Begin -- eglMakeCurrent(" << m_display << ", " << m_surface->surface << ", " << m_surface->… in exec()
713 …EGLU_CHECK_CALL(thread.egl, makeCurrent(m_display, m_surface->surface, m_surface->surface, m_conte… in exec()
802 SharedPtr<Surface> m_surface; member in deqp::egl::GLES2ThreadTest::CreatePBufferSurface
[all …]
DteglRenderTests.cpp877 , m_surface (surface) in RenderTestThread()
894 EGLU_CHECK_CALL(m_egl, makeCurrent(m_display, m_surface, m_surface, m_context)); in run()
914 EGLSurface m_surface; member in deqp::egl::RenderTestThread
/external/deqp/framework/common/
DtcuSurfaceAccess.cpp29 : m_surface (&surface) in SurfaceAccess()
39 : m_surface (&surface) in SurfaceAccess()
49 : m_surface (parent.m_surface) in SurfaceAccess()
DtcuSurfaceAccess.hpp63 mutable tcu::Surface* m_surface; member in tcu::SurfaceAccess
74 m_surface->setPixel(m_x+x, m_y+y, toRGBAMasked(color, m_colorMask)); in setPixel()
/external/deqp/framework/platform/lnx/wayland/
DtcuLnxWayland.cpp154 m_surface = wl_compositor_create_surface(display.getCompositor()); in Window()
155 if (!m_surface) in Window()
158 m_shellSurface = wl_shell_get_shell_surface(display.getShell(), m_surface); in Window()
171 m_window = wl_egl_window_create(m_surface, width, height); in Window()
228 if (m_surface) in ~Window()
229 wl_surface_destroy(m_surface); in ~Window()
DtcuLnxWayland.hpp91 void* getSurface (void) { return m_surface; } in getSurface()
101 struct wl_surface* m_surface; member in tcu::lnx::wayland::Window
/external/libkmsxx/kmscube/
Dcube-gbm.cpp53 m_surface = gbm_surface_create(gdev.handle(), width, height, in GbmSurface()
56 FAIL_IF(!m_surface, "failed to create gbm surface"); in GbmSurface()
61 gbm_surface_destroy(m_surface); in ~GbmSurface()
69 return gbm_surface_has_free_buffers(m_surface); in has_free()
74 return gbm_surface_lock_front_buffer(m_surface); in lock_front_buffer()
79 gbm_surface_release_buffer(m_surface, bo); in release_buffer()
82 struct gbm_surface* handle() const { return m_surface; } in handle()
85 struct gbm_surface* m_surface; member in GbmSurface
/external/deqp/framework/egl/
DegluUnique.cpp53 , m_surface (surface) in UniqueSurface()
59 if (m_surface != EGL_NO_SURFACE) in ~UniqueSurface()
60 m_egl.destroySurface(m_display, m_surface); in ~UniqueSurface()
65 return m_surface != EGL_NO_SURFACE; in operator bool()
DegluUnique.hpp61 eglw::EGLSurface operator* (void) const { return m_surface; } in operator *()
67 eglw::EGLSurface m_surface; member in eglu::UniqueSurface
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemContext.cpp58 , m_surface (vk::wsi::createSurface(m_vki, *m_instance, wsiType, display, window)) in ProtectedContext()
59 , m_queueFamilyIndex (chooseProtectedMemQueueFamilyIndex(m_vki, m_phyDevice, *m_surface)) in ProtectedContext()
DvktProtectedMemContext.hpp68 const vk::VkSurfaceKHR getSurface (void) const { return *m_surface; } in getSurface()
86 const vk::Move<vk::VkSurfaceKHR> m_surface; member in vkt::ProtectedMem::ProtectedContext
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp575 const vk::Unique<vk::VkSurfaceKHR> m_surface; member in vkt::wsi::__anon5efbdbf40111::SharedPresentableImageTestInstance
746 …, m_surface (vk::wsi::createSurface(m_vki, *m_instance, testConfig.wsiType, *m_nativeDisplay, … in SharedPresentableImageTestInstance()
748 , m_queueFamilyIndex (chooseQueueFamilyIndex(m_vki, m_physicalDevice, *m_surface)) in SharedPresentableImageTestInstance()
760 …, m_surfaceProperties (getPhysicalDeviceSurfaceCapabilities(m_vki, m_physicalDevice, *m_surface, … in SharedPresentableImageTestInstance()
761 …, m_surfaceFormats (vk::wsi::getPhysicalDeviceSurfaceFormats(m_vki, m_physicalDevice, *m_surface in SharedPresentableImageTestInstance()
762 …presentModes (vk::wsi::getPhysicalDeviceSurfacePresentModes(m_vki, m_physicalDevice, *m_surface)) in SharedPresentableImageTestInstance()
764 …, m_swapchainConfigs (generateSwapchainConfigs(*m_surface, m_queueFamilyIndex, testConfig.scaling… in SharedPresentableImageTestInstance()
998 …m_swapchainConfigs = generateSwapchainConfigs(*m_surface, m_queueFamilyIndex, m_testConfig.scaling… in iterate()
DvktWsiIncrementalPresentTests.cpp662 const vk::Unique<vk::VkSurfaceKHR> m_surface; member in vkt::wsi::__anon98aecaf80111::IncrementalPresentTestInstance
838 …, m_surface (vk::wsi::createSurface(m_vki, *m_instance, testConfig.wsiType, *m_nativeDisplay, … in IncrementalPresentTestInstance()
840 , m_queueFamilyIndex (chooseQueueFamilyIndex(m_vki, m_physicalDevice, *m_surface)) in IncrementalPresentTestInstance()
851 …aceProperties (vk::wsi::getPhysicalDeviceSurfaceCapabilities(m_vki, m_physicalDevice, *m_surface)) in IncrementalPresentTestInstance()
852 …, m_surfaceFormats (vk::wsi::getPhysicalDeviceSurfaceFormats(m_vki, m_physicalDevice, *m_surface in IncrementalPresentTestInstance()
853 …presentModes (vk::wsi::getPhysicalDeviceSurfacePresentModes(m_vki, m_physicalDevice, *m_surface)) in IncrementalPresentTestInstance()
858 …, m_swapchainConfigs (generateSwapchainConfigs(*m_surface, &m_queueFamilyIndex, testConfig.scalin… in IncrementalPresentTestInstance()
1081 …m_swapchainConfigs = generateSwapchainConfigs(*m_surface, &m_queueFamilyIndex, m_testConfig.scalin… in iterate()
DvktWsiDisplayTimingTests.cpp552 const vk::Unique<vk::VkSurfaceKHR> m_surface; member in vkt::wsi::__anon605740230111::DisplayTimingTestInstance
699 …, m_surface (vk::wsi::createSurface(m_vki, *m_instance, testConfig.wsiType, *m_nativeDisplay, … in DisplayTimingTestInstance()
701 , m_queueFamilyIndex (chooseQueueFamilyIndex(m_vki, m_physicalDevice, *m_surface)) in DisplayTimingTestInstance()
712 …aceProperties (vk::wsi::getPhysicalDeviceSurfaceCapabilities(m_vki, m_physicalDevice, *m_surface)) in DisplayTimingTestInstance()
713 …, m_surfaceFormats (vk::wsi::getPhysicalDeviceSurfaceFormats(m_vki, m_physicalDevice, *m_surface in DisplayTimingTestInstance()
714 …presentModes (vk::wsi::getPhysicalDeviceSurfacePresentModes(m_vki, m_physicalDevice, *m_surface)) in DisplayTimingTestInstance()
719 …, m_swapchainConfig (createSwapchainConfig(*m_surface, m_queueFamilyIndex, m_surfaceProperties, … in DisplayTimingTestInstance()