Home
last modified time | relevance | path

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

/third_party/skia/src/codec/
DSkIcoCodec.cpp60 const uint16_t numImages = get_short(data->bytes(), 4); in MakeFromStream() local
61 if (0 == numImages) { in MakeFromStream()
79 SkAutoFree dirEntryBuffer(sk_malloc_canfail(sizeof(Entry) * numImages)); in MakeFromStream()
82 numImages); in MakeFromStream()
89 for (uint32_t i = 0; i < numImages; i++) { in MakeFromStream()
150 SkTQSort(directoryEntries, directoryEntries + numImages, greaterThan); in MakeFromStream()
158 SkTQSort(directoryEntries, directoryEntries + numImages, lessThan); in MakeFromStream()
162 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in MakeFromStream()
164 new SkTArray<std::unique_ptr<SkCodec>, true>(numImages)); in MakeFromStream()
165 for (uint32_t i = 0; i < numImages; i++) { in MakeFromStream()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiSwapchainTests.cpp1008 deUint32 numImages = 0; in testImageSwapchainCreateInfo() local
1009 VK_CHECK(devHelper.vkd.getSwapchainImagesKHR(*devHelper.device, *swapchain, &numImages, DE_NULL)); in testImageSwapchainCreateInfo()
1010 if (numImages == 0) in testImageSwapchainCreateInfo()
1046 std::vector<ImageSp> images (numImages); in testImageSwapchainCreateInfo()
1047 std::vector<VkBindImageMemorySwapchainInfoKHR> bindImageMemorySwapchainInfo(numImages); in testImageSwapchainCreateInfo()
1048 std::vector<VkBindImageMemoryInfo> bindImageMemoryInfos (numImages); in testImageSwapchainCreateInfo()
1050 for (deUint32 idx = 0; idx < numImages; ++idx) in testImageSwapchainCreateInfo()
1076 VK_CHECK(devHelper.vkd.bindImageMemory2(*devHelper.device, numImages, &bindImageMemoryInfos[0])); in testImageSwapchainCreateInfo()
2000 deUint32 numImages = 0; in deviceGroupRenderTest2() local
2001 VK_CHECK(vkd.getSwapchainImagesKHR(*groupDevice, *swapchain, &numImages, DE_NULL)); in deviceGroupRenderTest2()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSwapchainTests.cpp1008 deUint32 numImages = 0; in testImageSwapchainCreateInfo() local
1009 VK_CHECK(devHelper.vkd.getSwapchainImagesKHR(*devHelper.device, *swapchain, &numImages, DE_NULL)); in testImageSwapchainCreateInfo()
1010 if (numImages == 0) in testImageSwapchainCreateInfo()
1046 std::vector<ImageSp> images (numImages); in testImageSwapchainCreateInfo()
1047 std::vector<VkBindImageMemorySwapchainInfoKHR> bindImageMemorySwapchainInfo(numImages); in testImageSwapchainCreateInfo()
1048 std::vector<VkBindImageMemoryInfo> bindImageMemoryInfos (numImages); in testImageSwapchainCreateInfo()
1050 for (deUint32 idx = 0; idx < numImages; ++idx) in testImageSwapchainCreateInfo()
1076 VK_CHECK(devHelper.vkd.bindImageMemory2(*devHelper.device, numImages, &bindImageMemoryInfos[0])); in testImageSwapchainCreateInfo()
2000 deUint32 numImages = 0; in deviceGroupRenderTest2() local
2001 VK_CHECK(vkd.getSwapchainImagesKHR(*groupDevice, *swapchain, &numImages, DE_NULL)); in deviceGroupRenderTest2()
[all …]
/third_party/skia/gm/
Dgradient_matrix.cpp80 const SkPoint ptsArray[][2], int numImages) { in draw_gradients() argument
92 for (int i = 0; i < numImages; i++) { in draw_gradients()
/third_party/skia/bench/
DCompositingImagesBench.cpp102 int numImages = fLayerCnt * fTileGridSize.fWidth * fTileGridSize.fHeight; in onPerCanvasPreDraw() local
103 fImages = std::make_unique<sk_sp<SkImage>[]>(numImages); in onPerCanvasPreDraw()
104 for (int i = 0; i < numImages; ++i) { in onPerCanvasPreDraw()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp583 deUint32 numImages = 0; in getSwapchainImages() local
585 VK_CHECK(vkd.getSwapchainImagesKHR(device, swapchain, &numImages, DE_NULL)); in getSwapchainImages()
587 if (numImages > 0) in getSwapchainImages()
589 std::vector<VkImage> images (numImages); in getSwapchainImages()
591 VK_CHECK(vkd.getSwapchainImagesKHR(device, swapchain, &numImages, &images[0])); in getSwapchainImages()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.hpp123 int numImages; member
Des31fProgramInterfaceQueryTestCase.cpp2524 { GL_MAX_VERTEX_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
2553 { GL_MAX_FRAGMENT_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
2580 { GL_MAX_COMPUTE_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
2612 { GL_MAX_GEOMETRY_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
2644 { GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
2674 { GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
Des31fProgramInterfaceDefinitionUtil.cpp1758 retVal.numImages = getNumTypeInstances(shader, glu::STORAGE_UNIFORM, glu::isDataTypeImage); in getShaderResourceUsage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
DvktVideoBaseDecodeUtils.hpp189 uint32_t numImages,
234 uint32_t numImages,
DvktVideoBaseDecodeUtils.cpp3810 uint32_t numImages, in init() argument
3818 DE_ASSERT(numImages > m_size); in init()
3820 DE_ASSERT(numImages < DE_LENGTH_OF_ARRAY(m_frameDecodeImages)); in init()
3822 for (uint32_t imageIndex = firstIndex; imageIndex < numImages; imageIndex++) in init()
3834 …DE_ASSERT(pDpbImageCreateInfo->arrayLayers == 1 || pDpbImageCreateInfo->arrayLayers >= numImages -… in init()
3851 m_size = numImages; in init()
3914 uint32_t numImages, in InitImagePool() argument
3920 if (numImages && pDecodeProfile && m_queryPool.get() == DE_NULL) in InitImagePool()
3923 if (numImages && pOutImageCreateInfo) in InitImagePool()
3927 …return m_perFrameDecodeImageSet.init(vkd, device, queueFamilyIndex, allocator, numImages, pOutImag… in InitImagePool()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
DvktVideoBaseDecodeUtils.hpp189 uint32_t numImages,
234 uint32_t numImages,
DvktVideoBaseDecodeUtils.cpp3810 uint32_t numImages, in init() argument
3818 DE_ASSERT(numImages > m_size); in init()
3820 DE_ASSERT(numImages < DE_LENGTH_OF_ARRAY(m_frameDecodeImages)); in init()
3822 for (uint32_t imageIndex = firstIndex; imageIndex < numImages; imageIndex++) in init()
3834 …DE_ASSERT(pDpbImageCreateInfo->arrayLayers == 1 || pDpbImageCreateInfo->arrayLayers >= numImages -… in init()
3851 m_size = numImages; in init()
3914 uint32_t numImages, in InitImagePool() argument
3920 if (numImages && pDecodeProfile && m_queryPool.get() == DE_NULL) in InitImagePool()
3923 if (numImages && pOutImageCreateInfo) in InitImagePool()
3927 …return m_perFrameDecodeImageSet.init(vkd, device, queueFamilyIndex, allocator, numImages, pOutImag… in InitImagePool()
/third_party/vk-gl-cts/framework/opengl/
DgluTexture.cpp449 int numImages = numLevels*tcu::CUBEFACE_LAST; in create() local
450 vector<tcu::CompressedTexture> levels (numImages); in create()
452 for (int ndx = 0; ndx < numImages; ndx++) in create()
/third_party/mesa3d/src/mesa/main/
Dteximage.c5122 int i, numImages; in _mesa_ClearTexSubImage() local
5132 numImages = get_tex_images_for_clear(ctx, "glClearTexSubImage", in _mesa_ClearTexSubImage()
5134 if (numImages == 0) in _mesa_ClearTexSubImage()
5137 if (numImages == 1) { in _mesa_ClearTexSubImage()
5141 assert(numImages == MAX_FACES); in _mesa_ClearTexSubImage()
5143 maxDepth = numImages; in _mesa_ClearTexSubImage()
5160 if (numImages == 1) { in _mesa_ClearTexSubImage()
5199 int i, numImages; in _mesa_ClearTexImage() local
5208 numImages = get_tex_images_for_clear(ctx, "glClearTexImage", in _mesa_ClearTexImage()
5211 for (i = 0; i < numImages; i++) { in _mesa_ClearTexImage()
[all …]
Dfbobject.c1264 GLuint numImages; in _mesa_test_framebuffer_completeness() local
1286 numImages = 0; in _mesa_test_framebuffer_completeness()
1371 numImages++; in _mesa_test_framebuffer_completeness()
1404 numImages++; in _mesa_test_framebuffer_completeness()
1472 if (numImages == 1) { in _mesa_test_framebuffer_completeness()
1631 if (numImages == 0) { in _mesa_test_framebuffer_completeness()
1707 if (numImages != 0) { in _mesa_test_framebuffer_completeness()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp609 const int numImages = programD3D.getUsedImageRange(shaderType, false).length(); in updateBuffer() local
614 (mNumActiveShaderImages[shaderType] < numImages); in updateBuffer()
625 const size_t imageDataSize = sizeof(ImageMetadata) * numImages; in updateBuffer()
629 mNumActiveShaderImages[shaderType] = numImages; in updateBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp3659 int numImages,
3664 static std::vector<tcu::TextureLevelPyramid> createSourceImages (int numImages,
3741 int numImages, in ImageInstanceImages() argument
3748 , m_sourceImage (createSourceImages(numImages, viewType, m_imageFormat)) in ImageInstanceImages()
3755 std::vector<tcu::TextureLevelPyramid> ImageInstanceImages::createSourceImages (int numImages, in createSourceImages() argument
3759 …std::vector<tcu::TextureLevelPyramid> sourceImages(numImages, tcu::TextureLevelPyramid(imageFormat… in createSourceImages()
3761 for (int imageNdx = 0; imageNdx < numImages; imageNdx++) in createSourceImages()
5455 …const deUint32 numImages = (isSamplerCase) ? 1 : getInterfaceNumResources(m_shaderInterfac… in fetchSampleValue() local
5456 const tcu::TextureLevelPyramid& sampleSrcA = getSourceImage(setNdx * numImages); in fetchSampleValue()
5457 …Interface == SHADER_INPUT_SINGLE_DESCRIPTOR) ? sampleSrcA : getSourceImage(setNdx * numImages + 1); in fetchSampleValue()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp3659 int numImages,
3664 static std::vector<tcu::TextureLevelPyramid> createSourceImages (int numImages,
3741 int numImages, in ImageInstanceImages() argument
3748 , m_sourceImage (createSourceImages(numImages, viewType, m_imageFormat)) in ImageInstanceImages()
3755 std::vector<tcu::TextureLevelPyramid> ImageInstanceImages::createSourceImages (int numImages, in createSourceImages() argument
3759 …std::vector<tcu::TextureLevelPyramid> sourceImages(numImages, tcu::TextureLevelPyramid(imageFormat… in createSourceImages()
3761 for (int imageNdx = 0; imageNdx < numImages; imageNdx++) in createSourceImages()
5455 …const deUint32 numImages = (isSamplerCase) ? 1 : getInterfaceNumResources(m_shaderInterfac… in fetchSampleValue() local
5456 const tcu::TextureLevelPyramid& sampleSrcA = getSourceImage(setNdx * numImages); in fetchSampleValue()
5457 …Interface == SHADER_INPUT_SINGLE_DESCRIPTOR) ? sampleSrcA : getSourceImage(setNdx * numImages + 1); in fetchSampleValue()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp814 int numImages = context.getDeqpContext().getContextInfo().getInt(stageQuery); in isImageSupportedForStageOnDevice() local
816 return (numImages > 0) ? true : false; in isImageSupportedForStageOnDevice()