Home
last modified time | relevance | path

Searched refs:nativeWindow (Results 1 – 25 of 48) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
DCoreWindowNativeWindow_unittest.cpp336 NativeWindow nativeWindow(nullptr);
337 EXPECT_FALSE(nativeWindow.initialize());
343 NativeWindow nativeWindow(notCoreWindow.Get());
344 EXPECT_FALSE(nativeWindow.initialize());
350 NativeWindow nativeWindow((IInspectable *)notIInspectable.Get());
351 EXPECT_FALSE(nativeWindow.initialize());
358 NativeWindow nativeWindow(&mockCoreWindow);
359 EXPECT_TRUE(nativeWindow.initialize());
376 NativeWindow nativeWindow(propertySet.Get());
377 EXPECT_TRUE(nativeWindow.initialize());
[all …]
DSwapChainPanelNativeWindow_unittest.cpp453 NativeWindow nativeWindow(reinterpret_cast<IInspectable *>(&mockSwapChainPanel)); in TEST() local
455 EXPECT_TRUE(nativeWindow.initialize()); in TEST()
473 NativeWindow nativeWindow(propertySet.Get()); in TEST() local
475 EXPECT_TRUE(nativeWindow.initialize()); in TEST()
515 NativeWindow nativeWindow(propertySet.Get()); in TEST() local
516 EXPECT_FALSE(nativeWindow.initialize()); in TEST()
553 NativeWindow nativeWindow(propertySet.Get()); in TEST_P() local
559 EXPECT_EQ(nativeWindow.initialize(), expectedResult); in TEST_P()
603 NativeWindow nativeWindow(propertySet.Get()); in TEST_P() local
609 EXPECT_EQ(nativeWindow.initialize(), expectedResult); in TEST_P()
DInspectableNativeWindow.cpp71 ComPtr<IInspectable> nativeWindow; in IsEGLConfiguredPropertySet() local
102 propMap->Lookup(HStringReference(EGLNativeWindowTypeProperty).Get(), &nativeWindow); in IsEGLConfiguredPropertySet()
117 result = nativeWindow.CopyTo(eglNativeWindow); in IsEGLConfiguredPropertySet()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
DCoreWindowNativeWindow_unittest.cpp336 NativeWindow nativeWindow(nullptr);
337 EXPECT_FALSE(nativeWindow.initialize());
343 NativeWindow nativeWindow(notCoreWindow.Get());
344 EXPECT_FALSE(nativeWindow.initialize());
350 NativeWindow nativeWindow((IInspectable *)notIInspectable.Get());
351 EXPECT_FALSE(nativeWindow.initialize());
358 NativeWindow nativeWindow(&mockCoreWindow);
359 EXPECT_TRUE(nativeWindow.initialize());
376 NativeWindow nativeWindow(propertySet.Get());
377 EXPECT_TRUE(nativeWindow.initialize());
[all …]
DSwapChainPanelNativeWindow_unittest.cpp453 NativeWindow nativeWindow(reinterpret_cast<IInspectable *>(&mockSwapChainPanel)); in TEST() local
455 EXPECT_TRUE(nativeWindow.initialize()); in TEST()
473 NativeWindow nativeWindow(propertySet.Get()); in TEST() local
475 EXPECT_TRUE(nativeWindow.initialize()); in TEST()
515 NativeWindow nativeWindow(propertySet.Get()); in TEST() local
516 EXPECT_FALSE(nativeWindow.initialize()); in TEST()
553 NativeWindow nativeWindow(propertySet.Get()); in TEST_P() local
559 EXPECT_EQ(nativeWindow.initialize(), expectedResult); in TEST_P()
603 NativeWindow nativeWindow(propertySet.Get()); in TEST_P() local
609 EXPECT_EQ(nativeWindow.initialize(), expectedResult); in TEST_P()
DInspectableNativeWindow.cpp71 ComPtr<IInspectable> nativeWindow; in IsEGLConfiguredPropertySet() local
102 propMap->Lookup(HStringReference(EGLNativeWindowTypeProperty).Get(), &nativeWindow); in IsEGLConfiguredPropertySet()
117 result = nativeWindow.CopyTo(eglNativeWindow); in IsEGLConfiguredPropertySet()
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferAndroid.cpp52 nativeWindow(window), buffer(nullptr) in FrameBufferAndroid()
55 ANativeWindow_acquire(nativeWindow); in FrameBufferAndroid()
56 ANativeWindow_setUsage(nativeWindow, GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); in FrameBufferAndroid()
63 ANativeWindow_release(nativeWindow); in ~FrameBufferAndroid()
80 queueBuffer(nativeWindow, buffer, -1); in blit()
90 if (ANativeWindow_lock(nativeWindow, &surfaceBuffer, nullptr) != 0) { in lock()
120 if(dequeueBuffer(nativeWindow, &buffer) != 0) in lock()
180 ANativeWindow_unlockAndPost(nativeWindow); in unlock()
DFrameBufferOSX.mm85 sw::FrameBuffer *createFrameBuffer(void *display, EGLNativeWindowType nativeWindow, int width, int …
87 NSObject *window = reinterpret_cast<NSObject*>(nativeWindow);
DFrameBufferAndroid.hpp44 ANativeWindow *nativeWindow; member in sw::FrameBufferAndroid
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/
DSDL_winrtpointerinput.cpp80 CoreWindow ^ nativeWindow = windowData->coreWindow.Get(); in WINRT_TransformCursorPosition()
87 outputPosition.X = rawPosition.X / nativeWindow->Bounds.Width; in WINRT_TransformCursorPosition()
88 outputPosition.Y = rawPosition.Y / nativeWindow->Bounds.Height; in WINRT_TransformCursorPosition()
93 outputPosition.X = rawPosition.X / nativeWindow->Bounds.Width; in WINRT_TransformCursorPosition()
94 outputPosition.Y = rawPosition.Y / nativeWindow->Bounds.Height; in WINRT_TransformCursorPosition()
97 outputPosition.X = 1.0f - (rawPosition.X / nativeWindow->Bounds.Width); in WINRT_TransformCursorPosition()
98 outputPosition.Y = 1.0f - (rawPosition.Y / nativeWindow->Bounds.Height); in WINRT_TransformCursorPosition()
101 outputPosition.X = rawPosition.Y / nativeWindow->Bounds.Height; in WINRT_TransformCursorPosition()
102 outputPosition.Y = 1.0f - (rawPosition.X / nativeWindow->Bounds.Width); in WINRT_TransformCursorPosition()
105 outputPosition.X = 1.0f - (rawPosition.Y / nativeWindow->Bounds.Height); in WINRT_TransformCursorPosition()
[all …]
/third_party/flutter/engine/flutter/flow/ohos_layers/
Dtexture_register.cpp80 void TextureRegistry::RegisterNativeWindow(int64_t id, const void* nativeWindow) in RegisterNativeWindow() argument
84 .nativeWindow_ = const_cast<void*>(nativeWindow) in RegisterNativeWindow()
87 mapping_[id].nativeWindow_ = const_cast<void*>(nativeWindow); in RegisterNativeWindow()
Dtexture_register.h39 void RegisterNativeWindow(int64_t id, const void* nativeWindow);
/third_party/vk-gl-cts/modules/egl/
DteglResizeTests.cpp170 MovePtr<NativeWindow> nativeWindow (windowFactory.createWindow(&nativeDisplay, in init() local
176 *nativeWindow, in init()
192 m_nativeWindow = nativeWindow; in init()
322 IVec2 getNativeSurfaceSize (const NativeWindow& nativeWindow, in getNativeSurfaceSize() argument
325 if (hasBits(nativeWindow.getCapabilities(), NativeWindow::CAPABILITY_GET_SURFACE_SIZE)) in getNativeSurfaceSize()
326 return nativeWindow.getSurfaceSize(); in getNativeSurfaceSize()
333 const NativeWindow& nativeWindow, in checkSurfaceSize() argument
337 const IVec2 nativeSize = getNativeSurfaceSize(nativeWindow, reqSize); in checkSurfaceSize()
DteglNativeCoordMappingTests.cpp364 …TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay dis… in testNativeWindow() argument
372 const tcu::IVec2 screenSize = nativeWindow.getScreenSize(); in testNativeWindow()
373 …eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(nativeDisplay, nativeWindow,… in testNativeWindow()
396 nativeWindow.readScreenPixels(&result); in testNativeWindow()
567 …de::UniquePtr<eglu::NativeWindow> nativeWindow (windowFactory->createWindow(&m_eglTestCtx.getNativ… in executeForConfig() local
569 …if (!testNativeWindow(m_testCtx.getLog(), m_eglTestCtx.getNativeDisplay(), *nativeWindow, display,… in executeForConfig()
DteglNativeColorMappingTests.cpp323 …TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay dis… in testNativeWindow() argument
326 …eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(nativeDisplay, nativeWindow,… in testNativeWindow()
348 nativeWindow.readScreenPixels(&result); in testNativeWindow()
534 …de::UniquePtr<eglu::NativeWindow> nativeWindow (windowFactory->createWindow(&m_eglTestCtx.getNativ… in executeForConfig() local
536 …if (!testNativeWindow(m_testCtx.getLog(), m_eglTestCtx.getNativeDisplay(), *nativeWindow, display,… in executeForConfig()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLSurfaceTestMac.mm103 EGLNativeWindowType nativeWindow = mOSWindow->getNativeWindow();
104 CALayer *layer = reinterpret_cast<CALayer *>(nativeWindow);
107 mSurface = eglCreateWindowSurface(mDisplay, mConfig, nativeWindow, nullptr);
DEGLDirectCompositionTest.cpp55 auto nativeWindow = mOSWindow->getNativeWindow(); in testSetUp() local
81 CreateDesktopWindowTarget(mCompositor, static_cast<HWND>(nativeWindow), mDesktopTarget); in testSetUp()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp164 const Window& nativeWindow, in createSurface() argument
176 … const XlibWindowInterface& xlibWindow = dynamic_cast<const XlibWindowInterface&>(nativeWindow); in createSurface()
192 const XcbWindowInterface& xcbWindow = dynamic_cast<const XcbWindowInterface&>(nativeWindow); in createSurface()
208 …WaylandWindowInterface& waylandWindow = dynamic_cast<const WaylandWindowInterface&>(nativeWindow); in createSurface()
223 …AndroidWindowInterface& androidWindow = dynamic_cast<const AndroidWindowInterface&>(nativeWindow); in createSurface()
238 …nst Win32WindowInterface& win32Window = dynamic_cast<const Win32WindowInterface&>(nativeWindow); in createSurface()
253 …nst MacOSWindowInterface& macOSWindow = dynamic_cast<const MacOSWindowInterface&>(nativeWindow); in createSurface()
287 const Window& nativeWindow, in createSurface() argument
291 VK_CHECK(createSurface(vki, instance, wsiType, nativeDisplay, nativeWindow, pAllocator, &object)); in createSurface()
DvkWsiUtil.hpp71 const Window& nativeWindow,
79 const Window& nativeWindow,
/third_party/vk-gl-cts/framework/egl/
DegluGLContextFactory.cpp238 NativeWindow* nativeWindow = DE_NULL; in createWindow() local
242nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], W… in createWindow()
246 …surface = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribLi… in createWindow()
250 delete nativeWindow; in createWindow()
254 return WindowSurfacePair(nativeWindow, surface); in createWindow()
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLMockNavigation/include/
DOpenGLES2App.h72 EGLNativeWindowType nativeWindow; member
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLDirectCompositionTest.cpp52 auto nativeWindow = mOSWindow->getNativeWindow(); in testSetUp() local
78 CreateDesktopWindowTarget(mCompositor, static_cast<HWND>(nativeWindow), mDesktopTarget); in testSetUp()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DSwapChain11.cpp45 bool NeedsOffscreenTexture(Renderer11 *renderer, NativeWindow11 *nativeWindow, EGLint orientation) in NeedsOffscreenTexture() argument
50 !(renderer->presentPathFastEnabled() && nativeWindow->getNativeWindow()); in NeedsOffscreenTexture()
55 NativeWindow11 *nativeWindow, in SwapChain11() argument
70 mNativeWindow(nativeWindow), in SwapChain11()
78 mNeedsOffscreenTexture(NeedsOffscreenTexture(renderer, nativeWindow, orientation)), in SwapChain11()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DSwapChain9.h25 NativeWindow9 *nativeWindow,
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DSwapChain9.h25 NativeWindow9 *nativeWindow,

12