HomeSort by relevance Sort by last modified time
    Searched full:swapchain (Results 1 - 25 of 134) sorted by null

1 2 3 4 5 6

  /prebuilts/ndk/r13/sources/third_party/vulkan/src/build-android/generated/gradle-build/
settings.gradle 6 ':swapchain',
  /prebuilts/ndk/r13/sources/third_party/vulkan/src/build-android/gradle-templates/
settings.gradle 6 ':swapchain',
  /external/mesa3d/src/amd/vulkan/
radv_wsi.c 255 struct wsi_swapchain *swapchain; local
265 &swapchain);
270 swapchain->alloc = *pAllocator;
272 swapchain->alloc = device->alloc;
274 for (unsigned i = 0; i < ARRAY_SIZE(swapchain->fences); i++)
275 swapchain->fences[i] = VK_NULL_HANDLE;
277 *pSwapchain = wsi_swapchain_to_handle(swapchain);
288 RADV_FROM_HANDLE(wsi_swapchain, swapchain, _swapchain);
299 for (unsigned i = 0; i < ARRAY_SIZE(swapchain->fences); i++) {
300 if (swapchain->fences[i] != VK_NULL_HANDLE
    [all...]
  /external/mesa3d/src/intel/vulkan/
anv_wsi.c 266 struct wsi_swapchain *swapchain; local
277 &swapchain);
281 swapchain->alloc = *alloc;
283 for (unsigned i = 0; i < ARRAY_SIZE(swapchain->fences); i++)
284 swapchain->fences[i] = VK_NULL_HANDLE;
286 *pSwapchain = wsi_swapchain_to_handle(swapchain);
297 ANV_FROM_HANDLE(wsi_swapchain, swapchain, _swapchain);
300 if (!swapchain)
307 for (unsigned i = 0; i < ARRAY_SIZE(swapchain->fences); i++) {
308 if (swapchain->fences[i] != VK_NULL_HANDLE
    [all...]
  /frameworks/native/vulkan/libvulkan/
swapchain.cpp 195 // Maximum number of TimingInfo structs to keep per swapchain:
201 struct Swapchain {
202 Swapchain(Surface& surface_,
239 VkSwapchainKHR HandleFromSwapchain(Swapchain* swapchain) {
240 return VkSwapchainKHR(reinterpret_cast<uint64_t>(swapchain));
243 Swapchain* SwapchainFromHandle(VkSwapchainKHR handle) {
244 return reinterpret_cast<Swapchain*>(handle);
250 Swapchain::Image& image) {
264 // We get here during swapchain destruction, or various seriou
1148 Swapchain* swapchain = SwapchainFromHandle(swapchain_handle); local
1172 Swapchain& swapchain = *SwapchainFromHandle(swapchain_handle); local
1200 Swapchain& swapchain = *SwapchainFromHandle(swapchain_handle); local
1344 Swapchain& swapchain = local
1509 Swapchain& swapchain = *SwapchainFromHandle(swapchain_handle); local
1524 Swapchain& swapchain = *SwapchainFromHandle(swapchain_handle); local
1548 Swapchain& swapchain = *SwapchainFromHandle(swapchain_handle); local
    [all...]
swapchain.h 37 VKAPI_ATTR VkResult GetRefreshCycleDurationGOOGLE(VkDevice device, VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties);
38 VKAPI_ATTR VkResult GetPastPresentationTimingGOOGLE(VkDevice device, VkSwapchainKHR swapchain, uint32_t* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings);
39 VKAPI_ATTR VkResult GetSwapchainStatusKHR(VkDevice device, VkSwapchainKHR swapchain);
driver_gen.cpp 43 VKAPI_ATTR void checkedDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator) {
45 DestroySwapchainKHR(device, swapchain, pAllocator);
51 VKAPI_ATTR VkResult checkedGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VkImage* pSwapchainImages) {
53 return GetSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages);
60 VKAPI_ATTR VkResult checkedAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex) {
62 return AcquireNextImageKHR(device, swapchain, timeout, semaphore, fence, pImageIndex);
78 VKAPI_ATTR VkResult checkedGetRefreshCycleDurationGOOGLE(VkDevice device, VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties) {
80 return GetRefreshCycleDurationGOOGLE(device, swapchain, pDisplayTimingProperties);
87 VKAPI_ATTR VkResult checkedGetPastPresentationTimingGOOGLE(VkDevice device, VkSwapchainKHR swapchain, uint32_t* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings) {
89 return GetPastPresentationTimingGOOGLE(device, swapchain, pPresentationTimingCount, pPresentationTimings)
    [all...]
Android.bp 63 "swapchain.cpp",
  /external/mesa3d/src/gallium/state_trackers/nine/
threadpool.h 53 struct threadpool *_mesa_threadpool_create(struct NineSwapChain9 *swapchain);
54 void _mesa_threadpool_destroy(struct NineSwapChain9 *swapchain, struct threadpool *pool);
threadpool.c 80 _mesa_threadpool_create(struct NineSwapChain9 *swapchain)
90 pool->wthread = NineSwapChain9_CreateThread(swapchain, threadpool_worker, pool);
99 _mesa_threadpool_destroy(struct NineSwapChain9 *swapchain, struct threadpool *pool)
110 NineSwapChain9_WaitForThread(swapchain, pool->wthread);
iunknown.h 53 * Can be a texture, a volume texture or a swapchain.
54 * forward is set to false for the swapchain case.
  /external/swiftshader/src/D3D9/
Direct3DDevice9Ex.hpp 65 long __stdcall GetDisplayMode(unsigned int swapChain ,D3DDISPLAYMODE *mode) override;
70 long __stdcall CreateAdditionalSwapChain(D3DPRESENT_PARAMETERS *presentParameters, IDirect3DSwapChain9 **swapChain) override;
71 long __stdcall GetSwapChain(unsigned int index, IDirect3DSwapChain9 **swapChain) override;
75 long __stdcall GetBackBuffer(unsigned int swapChain, unsigned int index, D3DBACKBUFFER_TYPE type, IDirect3DSurface9 **backBuffer) override;
76 long __stdcall GetRasterStatus(unsigned int swapChain, D3DRASTER_STATUS *rasterStatus) override;
78 void __stdcall SetGammaRamp(unsigned int swapChain, unsigned long flags, const D3DGAMMARAMP *ramp) override;
79 void __stdcall GetGammaRamp(unsigned int swapChain, D3DGAMMARAMP *ramp) override;
90 long __stdcall GetFrontBufferData(unsigned int swapChain, IDirect3DSurface9 *destSurface) override;
183 long __stdcall WaitForVBlank(unsigned int swapChain) override;
192 long __stdcall GetDisplayModeEx(unsigned int swapChain, D3DDISPLAYMODEEX *mode, D3DDISPLAYROTATION *rotation) override
    [all...]
Direct3DDevice9.hpp 69 long __stdcall CreateAdditionalSwapChain(D3DPRESENT_PARAMETERS *presentParameters, IDirect3DSwapChain9 **swapChain) override;
94 long __stdcall GetBackBuffer(unsigned int swapChain, unsigned int index, D3DBACKBUFFER_TYPE type, IDirect3DSurface9 **backBuffer) override;
102 long __stdcall GetDisplayMode(unsigned int swapChain ,D3DDISPLAYMODE *mode) override;
103 long __stdcall GetFrontBufferData(unsigned int swapChain, IDirect3DSurface9 *destSurface) override;
105 void __stdcall GetGammaRamp(unsigned int swapChain, D3DGAMMARAMP *ramp) override;
117 long __stdcall GetRasterStatus(unsigned int swapChain, D3DRASTER_STATUS *rasterStatus) override;
126 long __stdcall GetSwapChain(unsigned int index, IDirect3DSwapChain9 **swapChain) override;
149 void __stdcall SetGammaRamp(unsigned int swapChain, unsigned long flags, const D3DGAMMARAMP *ramp) override;
286 Direct3DSwapChain9 *swapChain;
  /frameworks/native/vulkan/doc/implementors_guide/
implementors_guide.adoc 50 Implementations may need swapchain buffers to be allocated with implementation-defined private gralloc usage flags that depend not only on +format+ and +imageUsage+, but also on the intended usage of the swapchain. The swapchain usage bits are defined as
60 Implementations may need swapchain buffers to be allocated with implementation-defined private gralloc usage flags. When creating a swapchain, the platform will ask the driver to translate the requested format and image usage flags into gralloc usage flags by calling
72 The +format+ and +imageUsage+ parameters are taken from the +VkSwapchainCreateInfoKHR+ structure. The driver should fill +*grallocConsumerUsage+ and +*grallocProducerUsage+ with the gralloc usage flags it requires for that format and usage. These will be combined with the usage flags requested by the swapchain consumer when allocating buffers.
85 +VkNativeBufferANDROID+ is a +vkCreateImage+ extension structure for creating an image backed by a gralloc buffer. This structure is provided to +vkCreateImage+ in the +VkImageCreateInfo+ structure chain. Calls to +vkCreateImage+ with this structure will happen during the first call to +vkGetSwapChainInfoWSI(.. VK_SWAP_CHAIN_INFO_TYPE_IMAGES_WSI ..)+. The WSI implementation will allocate the number of native buffers requested for the swapchain, then create a +VkImage+ for each one.
124 Additionally, when any swapchain image usage flags are required for the swapchain, the platform will provide a +VkSwapchainImageCreateInfoANDROID+ extension structure in the +VkImageCreateInfo+ chain provided to +vkCreateImage+, containing the swapchain image usage flags
    [all...]
  /external/deqp/external/vulkancts/framework/vulkan/
vkWsiUtil.hpp 47 SWAPCHAIN_EXTENT_MUST_MATCH_WINDOW_SIZE = 0, //!< Swapchain extent must match window size
48 SWAPCHAIN_EXTENT_SETS_WINDOW_SIZE, //!< Window will be resized to swapchain size when first image is presented
99 VkSwapchainKHR swapchain);
vkDeviceDriverImpl.inl 610 void DeviceDriver::destroySwapchainKHR (VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator) const
612 m_vk.destroySwapchainKHR(device, swapchain, pAllocator);
615 VkResult DeviceDriver::getSwapchainImagesKHR (VkDevice device, VkSwapchainKHR swapchain, deUint32* pSwapchainImageCount, VkImage* pSwapchainImages) const
617 return m_vk.getSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages);
620 VkResult DeviceDriver::acquireNextImageKHR (VkDevice device, VkSwapchainKHR swapchain, deUint64 timeout, VkSemaphore semaphore, VkFence fence, deUint32* pImageIndex) const
622 return m_vk.acquireNextImageKHR(device, swapchain, timeout, semaphore, fence, pImageIndex);
665 VkResult DeviceDriver::getSwapchainStatusKHR (VkDevice device, VkSwapchainKHR swapchain) const
667 return m_vk.getSwapchainStatusKHR(device, swapchain);
    [all...]
  /external/mesa3d/src/vulkan/wsi/
wsi_common.h 58 VkResult (*destroy)(struct wsi_swapchain *swapchain,
60 VkResult (*get_images)(struct wsi_swapchain *swapchain,
90 struct wsi_swapchain **swapchain);
  /external/vulkan-validation-layers/demos/smoke/
Helpers.h 105 inline VkResult get(VkDevice dev, VkSwapchainKHR swapchain, std::vector<VkImage> &images)
108 vk::GetSwapchainImagesKHR(dev, swapchain, &count, nullptr);
111 return vk::GetSwapchainImagesKHR(dev, swapchain, &count, images.data());
Shell.cpp 322 // BackBuffer is used to track which swapchain image and its associated
323 // sync primitives are busy. Having more BackBuffer's than swapchain
365 ctx_.swapchain = VK_NULL_HANDLE;
372 if (ctx_.swapchain != VK_NULL_HANDLE) {
375 vk::DestroySwapchainKHR(ctx_.dev, ctx_.swapchain, nullptr);
376 ctx_.swapchain = VK_NULL_HANDLE;
461 swapchain_info.oldSwapchain = ctx_.swapchain;
463 vk::assert_success(vk::CreateSwapchainKHR(ctx_.dev, &swapchain_info, nullptr, &ctx_.swapchain));
466 // destroy the old swapchain
505 vk::assert_success(vk::AcquireNextImageKHR(ctx_.dev, ctx_.swapchain,
    [all...]
  /prebuilts/ndk/r13/sources/third_party/vulkan/src/build-android/
android-generate.bat 44 mkdir core_validation device_limits image object_tracker parameter_validation swapchain threading unique_objects
48 mkdir core_validation device_limits image object_tracker parameter_validation swapchain threading unique_objects
51 for %%G in (core_validation device_limits image parameter_validation swapchain threading) Do (
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
d3d10misc.h 41 IDXGISwapChain **swapchain, ID3D10Device **device);
  /external/deqp/external/vulkancts/modules/vulkan/wsi/
vktWsiSwapchainTests.cpp 580 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curParams));
584 return tcu::TestStatus::pass("Creating swapchain succeeded");
635 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curParams, failingAllocator.getCallbacks()));
646 log << TestLog::Message << "Creating swapchain succeeded!" << TestLog::EndMessage;
654 results.addResult(QP_TEST_RESULT_QUALITY_WARNING, "Creating swapchain did not succeed, callback limit exceeded");
    [all...]
  /external/vulkan-validation-layers/layers/
swapchain.cpp 27 #include "swapchain.h"
32 namespace swapchain { namespace
59 // TBD: Should we leave error in (since Swapchain really needs this
62 reinterpret_cast<uint64_t>(physicalDevice), __LINE__, SWAPCHAIN_INVALID_HANDLE, "Swapchain",
    [all...]
  /prebuilts/ndk/r13/sources/third_party/vulkan/src/build-android/generated/layer-src/swapchain/
swapchain.cpp 27 #include "swapchain.h"
32 namespace swapchain { namespace
70 // TBD: Should we leave error in (since Swapchain really needs this
73 (uint64_t)physicalDevice, __LINE__, SWAPCHAIN_INVALID_HANDLE, "Swapchain",
    [all...]
  /prebuilts/ndk/r13/sources/third_party/vulkan/src/layers/
swapchain.cpp 27 #include "swapchain.h"
32 namespace swapchain { namespace
70 // TBD: Should we leave error in (since Swapchain really needs this
73 (uint64_t)physicalDevice, __LINE__, SWAPCHAIN_INVALID_HANDLE, "Swapchain",
    [all...]

Completed in 1060 milliseconds

1 2 3 4 5 6