/third_party/skia/src/codec/ |
D | SkIcoCodec.cpp | 60 const uint16_t numImages = get_short(data->bytes(), 4); in MakeFromStream() local 61 if (0 == numImages) { in MakeFromStream() 74 SkAutoFree dirEntryBuffer(sk_malloc_canfail(sizeof(Entry) * numImages)); in MakeFromStream() 77 numImages); in MakeFromStream() 84 for (uint32_t i = 0; i < numImages; i++) { in MakeFromStream() 124 SkTQSort(directoryEntries, directoryEntries + numImages, lessThan); in MakeFromStream() 127 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in MakeFromStream() 129 new SkTArray<std::unique_ptr<SkCodec>, true>(numImages)); in MakeFromStream() 130 for (uint32_t i = 0; i < numImages; i++) { in MakeFromStream()
|
/third_party/flutter/skia/src/codec/ |
D | SkIcoCodec.cpp | 44 const uint16_t numImages = get_short(dirBuffer.get(), 4); in MakeFromStream() local 45 if (0 == numImages) { in MakeFromStream() 58 SkAutoFree dirEntryBuffer(sk_malloc_canfail(sizeof(Entry) * numImages)); in MakeFromStream() 61 numImages); in MakeFromStream() 68 for (uint32_t i = 0; i < numImages; i++) { in MakeFromStream() 108 SkTQSort(directoryEntries, &directoryEntries[numImages - 1], lessThan); in MakeFromStream() 111 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in MakeFromStream() 113 new SkTArray<std::unique_ptr<SkCodec>, true>(numImages)); in MakeFromStream() 114 for (uint32_t i = 0; i < numImages; i++) { in MakeFromStream()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiSwapchainTests.cpp | 1004 deUint32 numImages = 0; in testImageSwapchainCreateInfo() local 1005 VK_CHECK(devHelper.vkd.getSwapchainImagesKHR(*devHelper.device, *swapchain, &numImages, DE_NULL)); in testImageSwapchainCreateInfo() 1006 if (numImages == 0) in testImageSwapchainCreateInfo() 1042 std::vector<ImageSp> images (numImages); in testImageSwapchainCreateInfo() 1043 std::vector<VkBindImageMemorySwapchainInfoKHR> bindImageMemorySwapchainInfo(numImages); in testImageSwapchainCreateInfo() 1044 std::vector<VkBindImageMemoryInfo> bindImageMemoryInfos (numImages); in testImageSwapchainCreateInfo() 1046 for (deUint32 idx = 0; idx < numImages; ++idx) in testImageSwapchainCreateInfo() 1072 VK_CHECK(devHelper.vkd.bindImageMemory2(*devHelper.device, numImages, &bindImageMemoryInfos[0])); in testImageSwapchainCreateInfo() 1989 deUint32 numImages = 0; in deviceGroupRenderTest2() local 1990 VK_CHECK(vkd.getSwapchainImagesKHR(*groupDevice, *swapchain, &numImages, DE_NULL)); in deviceGroupRenderTest2() [all …]
|
/third_party/flutter/skia/gm/ |
D | gradient_matrix.cpp | 80 const SkPoint ptsArray[][2], int numImages) { in draw_gradients() argument 92 for (int i = 0; i < numImages; i++) { in draw_gradients()
|
/third_party/skia/gm/ |
D | gradient_matrix.cpp | 80 const SkPoint ptsArray[][2], int numImages) { in draw_gradients() argument 92 for (int i = 0; i < numImages; i++) { in draw_gradients()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkWsiUtil.cpp | 447 deUint32 numImages = 0; in getSwapchainImages() local 449 VK_CHECK(vkd.getSwapchainImagesKHR(device, swapchain, &numImages, DE_NULL)); in getSwapchainImages() 451 if (numImages > 0) in getSwapchainImages() 453 std::vector<VkImage> images (numImages); in getSwapchainImages() 455 VK_CHECK(vkd.getSwapchainImagesKHR(device, swapchain, &numImages, &images[0])); in getSwapchainImages()
|
/third_party/flutter/skia/bench/ |
D | CompositingImagesBench.cpp | 98 int numImages = fLayerCnt * fTileGridSize.fWidth * fTileGridSize.fHeight; in onPerCanvasPreDraw() local 99 fImages.reset(new sk_sp<SkImage>[numImages]); in onPerCanvasPreDraw() 100 for (int i = 0; i < numImages; ++i) { in onPerCanvasPreDraw()
|
/third_party/skia/bench/ |
D | CompositingImagesBench.cpp | 102 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/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinitionUtil.hpp | 123 int numImages; member
|
D | es31fProgramInterfaceQueryTestCase.cpp | 2524 { 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()
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 1758 retVal.numImages = getNumTypeInstances(shader, glu::STORAGE_UNIFORM, glu::isDataTypeImage); in getShaderResourceUsage()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTexture.cpp | 449 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/ |
D | teximage.c | 5158 int i, numImages; in _mesa_ClearTexSubImage() local 5168 numImages = get_tex_images_for_clear(ctx, "glClearTexSubImage", in _mesa_ClearTexSubImage() 5170 if (numImages == 0) in _mesa_ClearTexSubImage() 5173 if (numImages == 1) { in _mesa_ClearTexSubImage() 5177 assert(numImages == MAX_FACES); in _mesa_ClearTexSubImage() 5179 maxDepth = numImages; in _mesa_ClearTexSubImage() 5196 if (numImages == 1) { in _mesa_ClearTexSubImage() 5235 int i, numImages; in _mesa_ClearTexImage() local 5244 numImages = get_tex_images_for_clear(ctx, "glClearTexImage", in _mesa_ClearTexImage() 5247 for (i = 0; i < numImages; i++) { in _mesa_ClearTexImage() [all …]
|
D | fbobject.c | 1093 GLuint numImages; in _mesa_test_framebuffer_completeness() local 1115 numImages = 0; in _mesa_test_framebuffer_completeness() 1200 numImages++; in _mesa_test_framebuffer_completeness() 1233 numImages++; in _mesa_test_framebuffer_completeness() 1299 if (numImages == 1) { in _mesa_test_framebuffer_completeness() 1458 if (numImages == 0) { in _mesa_test_framebuffer_completeness() 1536 if (numImages != 0) { in _mesa_test_framebuffer_completeness()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | StateManager11.cpp | 609 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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | StateManager11.cpp | 598 const int numImages = programD3D.getUsedImageRange(shaderType, false).length(); in updateBuffer() local 603 (mNumActiveShaderImages[shaderType] < numImages); in updateBuffer() 614 const size_t imageDataSize = sizeof(ImageMetadata) * numImages; in updateBuffer() 618 mNumActiveShaderImages[shaderType] = numImages; in updateBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 3575 int numImages, 3580 static std::vector<tcu::TextureLevelPyramid> createSourceImages (int numImages, 3657 int numImages, in ImageInstanceImages() argument 3664 , m_sourceImage (createSourceImages(numImages, viewType, m_imageFormat)) in ImageInstanceImages() 3671 std::vector<tcu::TextureLevelPyramid> ImageInstanceImages::createSourceImages (int numImages, in createSourceImages() argument 3675 …std::vector<tcu::TextureLevelPyramid> sourceImages(numImages, tcu::TextureLevelPyramid(imageFormat… in createSourceImages() 3677 for (int imageNdx = 0; imageNdx < numImages; imageNdx++) in createSourceImages() 5324 …const deUint32 numImages = (isSamplerCase) ? 1 : getInterfaceNumResources(m_shaderInterfac… in fetchSampleValue() local 5325 const tcu::TextureLevelPyramid& sampleSrcA = getSourceImage(setNdx * numImages); in fetchSampleValue() 5326 …Interface == SHADER_INPUT_SINGLE_DESCRIPTOR) ? sampleSrcA : getSourceImage(setNdx * numImages + 1); in fetchSampleValue()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/ |
D | glcSubgroupsTestsUtils.cpp | 814 int numImages = context.getDeqpContext().getContextInfo().getInt(stageQuery); in isImageSupportedForStageOnDevice() local 816 return (numImages > 0) ? true : false; in isImageSupportedForStageOnDevice()
|