/external/swiftshader/src/D3D9/ |
Direct3DDevice9Ex.cpp | 124 long Direct3DDevice9Ex::CreateAdditionalSwapChain(D3DPRESENT_PARAMETERS *presentParameters, IDirect3DSwapChain9 **swapChain) 126 TRACE("D3DPRESENT_PARAMETERS *presentParameters = 0x%0.8p, IDirect3DSwapChain9 **swapChain = 0x%0.8p", presentParameters, swapChain); 128 return Direct3DDevice9::CreateAdditionalSwapChain(presentParameters, swapChain); 460 long Direct3DDevice9Ex::GetRasterStatus(unsigned int swapChain, D3DRASTER_STATUS *rasterStatus) 462 TRACE("unsigned int swapChain = %d, D3DRASTER_STATUS *rasterStatus = 0x%0.8p", swapChain, rasterStatus); 464 return Direct3DDevice9::GetRasterStatus(swapChain, rasterStatus); 523 long Direct3DDevice9Ex::GetSwapChain(unsigned int index, IDirect3DSwapChain9 **swapChain) 525 TRACE("unsigned int index = %d, IDirect3DSwapChain9 **swapChain = 0x%0.8p", index, swapChain) [all...] |
/cts/tests/tests/graphics/jni/ |
android_graphics_cts_VulkanPreTransformCtsActivity.cpp | 62 ASSERT(!swapchainInfo.init(setPreTransform), "Failed to initialize Vulkan swapchain");
|
VulkanPreTransformTestHelpers.cpp | 317 ALOGD("Swapchain length = %u", mSwapchainLength); 410 VK_CALL(vkGetSwapchainImagesKHR(mDeviceInfo->device(), mSwapchainInfo->swapchain(), [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
vktWsiTests.cpp | 46 addTestGroup(testGroup, "swapchain", "VkSwapchain Tests", createSwapchainTests, wsiType);
|
vktWsiSharedPresentableImageTests.cpp | 449 // swapchain image remains in IMAGE_LAYOUT_SHARED_PRESENT_KHR all 781 vk::VkImage m_swapchainImage; // NOTE: not owning. lifetime managed by swapchain 871 1, // Always 1 image for a shared presentable image swapchain. 999 // Unlike a traditional swapchain, where we'd acquire a new image from the 1000 // PE every frame, a shared image swapchain has a single image that is [all...] |
vktWsiDisplayTimingTests.cpp | 1061 vk::VkSwapchainKHR swapchain) 1066 vkd.getPastPresentationTimingGOOGLE(device, swapchain, &numPastPresentationTimings, DE_NULL); 1071 vkd.getPastPresentationTimingGOOGLE(device, swapchain, &numPastPresentationTimings, &pastPresentationTimings[0]); [all...] |
/external/skia/tools/sk_app/ |
VulkanWindowContext.h | 110 VkImage* fImages; // images in the swapchain
|
/external/skqp/tools/sk_app/ |
VulkanWindowContext.h | 110 VkImage* fImages; // images in the swapchain
|
/external/vulkan-validation-layers/demos/smoke/ |
Shell.h | 62 VkSwapchainKHR swapchain; member in struct:Shell::Context
|
Smoke.h | 174 void prepare_framebuffers(VkSwapchainKHR swapchain);
|
Smoke.cpp | 129 // we will render to the swapchain images 538 prepare_framebuffers(ctx.swapchain); 566 void Smoke::prepare_framebuffers(VkSwapchainKHR swapchain) { 567 // get swapchain images 568 vk::get(dev_, swapchain, images_);
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/layers/ |
swapchain.h | 33 // Swapchain ERROR codes 76 const char * swapchain_layer_name = "Swapchain"; 78 #define LAYER_NAME (char *) "Swapchain" 241 VkSwapchainKHR swapchain; member in struct:SwpSwapchain
|
core_validation_types.h | 212 bool valid; // If this is a swapchain image backing memory track valid here as it doesn't have DEVICE_MEM_INFO 213 bool acquired; // If this is a swapchain image, has it been acquired by the app. 252 void *object; // Dispatchable object used to create this memory (device of swapchain) 277 VkSwapchainKHR swapchain; member in class:SWAPCHAIN_NODE 279 SWAPCHAIN_NODE(const VkSwapchainCreateInfoKHR *pCreateInfo, VkSwapchainKHR swapchain) 280 : createInfo(pCreateInfo), swapchain(swapchain) {}
|
README.md | 60 ### Swapchain 61 layers/swapchain.cpp (name=`VK_LAYER_LUNARG_swapchain`) - Check that WSI extensions are being used correctly.
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkNullDriverImpl.inl | 362 VKAPI_ATTR void VKAPI_CALL destroySwapchainKHR (VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator) 365 freeNonDispHandle<SwapchainKHR, VkSwapchainKHR>(swapchain, pAllocator); [all...] |
vkFunctionPointerTypes.inl | 175 typedef VKAPI_ATTR void (VKAPI_CALL* DestroySwapchainKHRFunc) (VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator); 176 typedef VKAPI_ATTR VkResult (VKAPI_CALL* GetSwapchainImagesKHRFunc) (VkDevice device, VkSwapchainKHR swapchain, deUint32* pSwapchainImageCount, VkImage* pSwapchainImages); 177 typedef VKAPI_ATTR VkResult (VKAPI_CALL* AcquireNextImageKHRFunc) (VkDevice device, VkSwapchainKHR swapchain, deUint64 timeout, VkSemaphore semaphore, VkFence fence, deUint32* pImageIndex); [all...] |
vkVirtualDeviceInterface.inl | 141 virtual void destroySwapchainKHR (VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator) const = 0; 142 virtual VkResult getSwapchainImagesKHR (VkDevice device, VkSwapchainKHR swapchain, deUint32* pSwapchainImageCount, VkImage* pSwapchainImages) const = 0; 143 virtual VkResult acquireNextImageKHR (VkDevice device, VkSwapchainKHR swapchain, deUint64 timeout, VkSemaphore semaphore, VkFence fence, deUint32* pImageIndex) const = 0; 159 virtual VkResult getSwapchainStatusKHR (VkDevice device, VkSwapchainKHR swapchain) const = 0; 184 virtual VkResult getSwapchainCounterEXT (VkDevice device, VkSwapchainKHR swapchain, VkSurfaceCounterFlagBitsEXT counter, deUint64* pCounterValue) const = 0; 185 virtual VkResult getRefreshCycleDurationGOOGLE (VkDevice device, VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties) const = 0; 186 virtual VkResult getPastPresentationTimingGOOGLE (VkDevice device, VkSwapchainKHR swapchain, deUint32* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings) const = 0;
|
/external/swiftshader/src/D3D8/ |
Direct3DDevice8.cpp | 60 swapChain.push_back(0); 171 for(unsigned int i = 0; i < swapChain.size(); i++) 173 if(swapChain[i]) 175 swapChain[i]->unbind(); 176 swapChain[i] = 0; 495 long Direct3DDevice8::CreateAdditionalSwapChain(D3DPRESENT_PARAMETERS *presentParameters, IDirect3DSwapChain8 **swapChain) 499 *swapChain = 0; 501 if(!presentParameters || !swapChain) 518 *swapChain = new Direct3DSwapChain8(this, &present); 520 if(!*swapChain) [all...] |
/external/vulkan-validation-layers/layers/ |
object_tracker.h | 109 // Special-case map for swapchain images 146 void CreateSwapchainImageObject(VkDevice dispatchable_object, VkImage swapchain_image, VkSwapchainKHR swapchain); 168 // If object is an image, also look for it in the swapchain image map
|
threading.cpp | 176 VKAPI_ATTR VkResult VKAPI_CALL GetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t *pSwapchainImageCount, 185 startReadObject(my_data, swapchain); 187 result = pTable->GetSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages); 190 finishReadObject(my_data, swapchain);
|
core_validation_types.h | 247 bool valid; // If this is a swapchain image backing memory track valid here as it doesn't have DEVICE_MEM_INFO 248 bool acquired; // If this is a swapchain image, has it been acquired by the app. 249 bool shared_presentable; // True for a front-buffered swapchain image 317 void *object; // Dispatchable object used to create this memory (device of swapchain) 349 VkSwapchainKHR swapchain; member in class:SWAPCHAIN_NODE 355 SWAPCHAIN_NODE(const VkSwapchainCreateInfoKHR *pCreateInfo, VkSwapchainKHR swapchain) 356 : createInfo(pCreateInfo), swapchain(swapchain) {} [all...] |
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemWsiSwapchainTests.cpp | 243 // Estimate how much memory each swapchain image consumes. This isn't perfect, since 244 // swapchain images may have additional constraints that equivalent non-swapchain 295 // worth of slack for alignment, swapchain-specific constraints, etc. 507 const vk::Unique<vk::VkSwapchainKHR> swapchain (createSwapchainKHR(context.getDeviceDriver(), context.getDevice(), &curParams)); 511 return tcu::TestStatus::pass("Creating swapchain succeeded"); [all...] |
/external/mesa3d/docs/relnotes/ |
13.0.2.html | 69 <li>radv: don't crash on null swapchain destroy.</li> 75 <li>vulkan/wsi: store present mode in swapchain base class</li>
|
/external/vulkan-validation-layers/demos/ |
cube.c | 401 VkSwapchainKHR swapchain; member in struct:demo 834 demo->swapchain, 842 demo->swapchain, 853 // actualPresentTime for this swapchain. In order to not [all...] |
/frameworks/native/vulkan/doc/implementors_guide/ |
implementors_guide.html | 796 <div class="paragraph"><p>Implementations may need swapchain buffers to be allocated with implementation-defined private gralloc usage flags that depend not only on <span class="monospaced">format</span> and <span class="monospaced">imageUsage</span>, but also on the intended usage of the swapchain. The swapchain usage bits are defined as</p></div> 807 <div class="paragraph"><p>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</p></div> 821 <div class="paragraph"><p>The <span class="monospaced">format</span> and <span class="monospaced">imageUsage</span> parameters are taken from the <span class="monospaced">VkSwapchainCreateInfoKHR</span> structure. The driver should fill <span class="monospaced">*grallocConsumerUsage</span> and <span class="monospaced">*grallocProducerUsage</span> 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.</p></div> 834 <div class="paragraph"><p><span class="monospaced">VkNativeBufferANDROID</span> is a <span class="monospaced">vkCreateImage</span> extension structure for creating an image backed by a gralloc buffer. This structure is provided to <span class="monospaced">vkCreateImage</span> in the <span class="monospaced">VkImageCreateInfo</span> structure chain. Calls to <span class="monospaced">vkCreateImage</span> with this structure will happen during the first call to <span class="monospaced">vkGetSwapChainInfoWSI(.. VK_SWAP_CHAIN_INFO_TYPE_IMAGES_WSI ..)</span>. The WSI implementation will allocate the number of native buffers requested for the swapchain, then create a <span class="monospaced">VkImage</span> for each one.</p></div> [all...] |