/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleBase.cpp | 39 const tcu::UVec3& imageSize) const in validateImageSize() 48 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension1D; in validateImageSize() 51 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension1D && in validateImageSize() 52 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in validateImageSize() 55 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize() 56 imageSize.y() <= deviceProperties.limits.maxImageDimension2D; in validateImageSize() 59 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize() 60 imageSize.y() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize() 61 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in validateImageSize() 64 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimensionCube && in validateImageSize() [all …]
|
D | vktPipelineMultisampleTestsUtil.cpp | 40 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint3… in getShaderGridSize() argument 42 const deUint32 mipLevelX = std::max(imageSize.x() >> mipLevel, 1u); in getShaderGridSize() 43 const deUint32 mipLevelY = std::max(imageSize.y() >> mipLevel, 1u); in getShaderGridSize() 44 const deUint32 mipLevelZ = std::max(imageSize.z() >> mipLevel, 1u); in getShaderGridSize() 52 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 55 return tcu::UVec3(mipLevelX, imageSize.z(), 1u); in getShaderGridSize() 61 return tcu::UVec3(mipLevelX, mipLevelY, imageSize.z()); in getShaderGridSize() 70 return tcu::UVec3(mipLevelX, mipLevelY, 6u * imageSize.z()); in getShaderGridSize() 78 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 85 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize() [all …]
|
D | vktPipelineMultisampleBase.hpp | 39 …k::VkSampleCountFlagBits samples, const tcu::UVec3& size) : numSamples(samples), imageSize(size) {} in ImageMSParams() 42 tcu::UVec3 imageSize; member 88 const tcu::UVec3& imageSize) const; 123 const tcu::UVec3 imageSize = imageSizes[imageSizeNdx]; in makeMSGroup() local 126 imageSizeStream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z(); in makeMSGroup() 133 const multisample::ImageMSParams imageMSParams = multisample::ImageMSParams(samples, imageSize); in makeMSGroup()
|
D | vktPipelineRenderToImageTests.cpp | 763 const IVec4 imageSize = getMaxImageSize(caseDef.viewType, caseDef.imageSizeHint); in getMemoryTypeNdx() local 767 imageSize.swizzle(0, 1, 2), 1u, imageSize.w(), imageUsage); in getMemoryTypeNdx() 903 IVec4 imageSize = getMaxImageSize(caseDef.viewType, caseDef.imageSizeHint); in testWithSizeReduction() local 904 …VkDeviceSize colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFor… in testWithSizeReduction() 905 …VkDeviceSize depthStencilSize = (useDepthStencil ? product(imageSize) * tcu::getPixelSize(mapV… in testWithSizeReduction() 918 imageSize = getReducedImageSize(caseDef, imageSize); in testWithSizeReduction() 920 if (imageSize == IVec4()) in testWithSizeReduction() 923 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction() 924 …depthStencilSize = (useDepthStencil ? product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.d… in testWithSizeReduction() 944 imageSize = getReducedImageSize(caseDef, imageSize); in testWithSizeReduction() [all …]
|
D | vktPipelineMultisampleTestsUtil.hpp | 65 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const de… 67 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); 69 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); 71 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize);
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsSampled.hpp | 40 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseSampledBase() argument 42 … : SparseShaderIntrinsicsCaseBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledBase() 60 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseSampledExplicit() argument 62 … : SparseShaderIntrinsicsCaseSampledBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledExplicit() 74 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseSampleExplicitLod() argument 76 …parseShaderIntrinsicsCaseSampledExplicit (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseSampleExplicitLod() 92 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseSampledImplicit() argument 94 … : SparseShaderIntrinsicsCaseSampledBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledImplicit() 106 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseSampleImplicitLod() argument 108 …parseShaderIntrinsicsCaseSampledImplicit (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseSampleImplicitLod() [all …]
|
D | vktSparseResourcesTestsUtil.cpp | 55 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint3… in getShaderGridSize() argument 57 const deUint32 mipLevelX = std::max(imageSize.x() >> mipLevel, 1u); in getShaderGridSize() 58 const deUint32 mipLevelY = std::max(imageSize.y() >> mipLevel, 1u); in getShaderGridSize() 59 const deUint32 mipLevelZ = std::max(imageSize.z() >> mipLevel, 1u); in getShaderGridSize() 67 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 70 return tcu::UVec3(mipLevelX, imageSize.z(), 1u); in getShaderGridSize() 76 return tcu::UVec3(mipLevelX, mipLevelY, imageSize.z()); in getShaderGridSize() 85 return tcu::UVec3(mipLevelX, mipLevelY, 6u * imageSize.z()); in getShaderGridSize() 93 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 100 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize() [all …]
|
D | vktSparseResourcesShaderIntrinsics.cpp | 90 const tcu::UVec3 imageSize = imageParametersArray[imageTypeNdx].imageSizes[imageSizeNdx]; in createSparseResourcesShaderIntrinsicsTests() local 93 stream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z(); in createSparseResourcesShaderIntrinsicsTests() 111 …d(new SparseCaseOpImageSparseFetch(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests() 114 …ld(new SparseCaseOpImageSparseRead(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests() 117 …CaseOpImageSparseSampleExplicitLod(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests() 120 …CaseOpImageSparseSampleImplicitLod(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests() 123 …(new SparseCaseOpImageSparseGather(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests()
|
D | vktSparseResourcesShaderIntrinsicsStorage.hpp | 40 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseStorage() argument 42 … : SparseShaderIntrinsicsCaseBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseStorage() 63 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseFetch() argument 65 … : SparseShaderIntrinsicsCaseStorage (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseFetch() 86 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseRead() argument 88 … : SparseShaderIntrinsicsCaseStorage (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseRead()
|
D | vktSparseResourcesImageSparseBinding.cpp | 62 const tcu::UVec3& imageSize, 79 const tcu::UVec3& imageSize, in ImageSparseBindingCase() argument 86 , m_imageSize (imageSize) in ImageSparseBindingCase() 96 const tcu::UVec3& imageSize, 111 const tcu::UVec3& imageSize, in ImageSparseBindingInstance() argument 118 , m_imageSize (imageSize) in ImageSparseBindingInstance() 434 const tcu::UVec3 imageSize = imageParametersArray[imageTypeNdx].imageSizes[imageSizeNdx]; in createImageSparseBindingTestsCommon() local 436 stream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z(); in createImageSparseBindingTestsCommon() 438 …dChild(new ImageSparseBindingCase(testCtx, stream.str(), "", imageType, imageSize, format, useDevi… in createImageSparseBindingTestsCommon()
|
D | vktSparseResourcesShaderIntrinsicsBase.hpp | 107 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseBase() argument 112 , m_imageSize(imageSize) in SparseShaderIntrinsicsCaseBase() 130 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsInstanceBase() argument 135 , m_imageSize(imageSize) in SparseShaderIntrinsicsInstanceBase()
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 73 const tcu::UVec3& imageSize, 91 const tcu::UVec3& imageSize, in MipmapSparseResidencyCase() argument 97 , m_imageSize (imageSize) in MipmapSparseResidencyCase() 107 const tcu::UVec3& imageSize, 123 const tcu::UVec3& imageSize, in MipmapSparseResidencyInstance() argument 129 , m_imageSize (imageSize) in MipmapSparseResidencyInstance() 549 const tcu::UVec3 imageSize = imageParametersArray[imageTypeNdx].imageSizes[imageSizeNdx]; in createMipmapSparseResidencyTestsCommon() local 552 stream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z(); in createMipmapSparseResidencyTestsCommon() 554 …ild(new MipmapSparseResidencyCase(testCtx, stream.str(), "", imageType, imageSize, format, useDevi… in createMipmapSparseResidencyTestsCommon()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 696 …er& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, deUint32 textur… in setTextureStorage() argument 705 const int numBytes = format.getPixelSize() * imageSize.x(); in setTextureStorage() 710 DE_ASSERT(imageSize.y() == 1 && imageSize.z() == 1); in setTextureStorage() 718 glLog.glTexStorage2D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y()); in setTextureStorage() 719 DE_ASSERT(imageSize.z() == 1); in setTextureStorage() 724 …glLog.glTexStorage3D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y(), imageSize.z()… in setTextureStorage() 736 const IVec3& imageSize = src.getSize(); in uploadTexture() local 738 setTextureStorage(glLog, src.getImageType(), internalFormat, imageSize, textureBufGL); in uploadTexture() 755 …glLog.glBufferData(GL_TEXTURE_BUFFER, src.getFormat().getPixelSize() * imageSize.x(), src.getAcces… in uploadTexture() 758 …glLog.glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageSize.x(), imageSize.y(), transferFormat.format,… in uploadTexture() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.cpp | 154 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize) in getShaderGridSize() argument 160 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 163 return tcu::UVec3(imageSize.x(), imageSize.z(), 1u); in getShaderGridSize() 166 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u); in getShaderGridSize() 170 return tcu::UVec3(imageSize.x(), imageSize.y(), imageSize.z()); in getShaderGridSize() 173 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u); in getShaderGridSize() 176 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u * imageSize.z()); in getShaderGridSize() 184 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 191 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize() 197 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u); in getLayerSize() [all …]
|
D | vktImageQualifiersTests.cpp | 68 const tcu::UVec3 getLocalWorkGroupSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLocalWorkGroupSize() argument 70 const tcu::UVec3 computeGridSize = getShaderGridSize(imageType, imageSize); in getLocalWorkGroupSize() 78 const tcu::UVec3 getNumWorkGroups (const ImageType imageType, const tcu::UVec3& imageSize) in getNumWorkGroups() argument 80 const tcu::UVec3 computeGridSize = getShaderGridSize(imageType, imageSize); in getNumWorkGroups() 81 const tcu::UVec3 localWorkGroupSize = getLocalWorkGroupSize(imageType, imageSize); in getNumWorkGroups() 115 const tcu::UVec3& imageSize, in comparePixelBuffers() argument 126 for (deUint32 layerNdx = 0; layerNdx < getNumLayers(imageType, imageSize); ++layerNdx) in comparePixelBuffers() 160 return passedLayers == getNumLayers(imageType, imageSize); in comparePixelBuffers() 207 const tcu::UVec3& imageSize, 230 const tcu::UVec3& imageSize, in MemoryQualifierTestCase() argument [all …]
|
D | vktImageLoadStoreUtil.cpp | 35 float computeStoreColorScale (const vk::VkFormat format, const tcu::IVec3 imageSize) in computeStoreColorScale() argument 37 const int maxImageDimension = de::max(imageSize.x(), de::max(imageSize.y(), imageSize.z())); in computeStoreColorScale()
|
D | vktImageTestsUtil.hpp | 112 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size… 113 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size of … 114 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of … 115 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of … 200 inline vk::VkDeviceSize getImageSizeBytes (const tcu::IVec3& imageSize, const vk::VkFormat format) in getImageSizeBytes() argument 202 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
|
D | vktImageAtomicOperationTests.cpp | 255 const tcu::UVec3& imageSize, 275 const tcu::UVec3& imageSize, in BinaryAtomicEndResultCase() argument 281 , m_imageSize (imageSize) in BinaryAtomicEndResultCase() 329 const tcu::UVec3& imageSize, 349 const tcu::UVec3& imageSize, in BinaryAtomicIntermValuesCase() argument 355 , m_imageSize (imageSize) in BinaryAtomicIntermValuesCase() 405 const tcu::UVec3& imageSize, 439 const tcu::UVec3& imageSize, in BinaryAtomicInstanceBase() argument 445 , m_imageSize (imageSize) in BinaryAtomicInstanceBase() 600 const tcu::UVec3& imageSize, in BinaryAtomicEndResultInstance() argument [all …]
|
/external/mesa3d/src/glx/ |
D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 210 start = ((const GLubyte *) userdata) + skipImages * imageSize + in __glFillImage() 230 itera += imageSize; in __glFillImage() 250 itera += imageSize; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage() 437 start = ((GLubyte *) userdata) + skipImages * imageSize + in __glEmptyImage() 458 itera += imageSize; in __glEmptyImage()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBitmapRegionDecoder.java | 48 Point imageSize = ImageUtil.getImageSizeFromStream(is); in fillWidthAndHeight() local 49 if (imageSize != null) { in fillWidthAndHeight() 50 shadowDecoder.width = imageSize.x; in fillWidthAndHeight() 51 shadowDecoder.height = imageSize.y; in fillWidthAndHeight()
|
/external/mesa3d/src/mesa/main/ |
D | teximage.h | 241 GLenum format, GLsizei imageSize, 389 GLint border, GLsizei imageSize, 395 GLsizei height, GLint border, GLsizei imageSize, 402 GLsizei imageSize, const GLvoid *data); 407 GLsizei imageSize, const GLvoid *data); 412 GLsizei imageSize, const GLvoid *data); 417 GLenum format, GLsizei imageSize, 424 GLenum format, GLsizei imageSize, 431 GLsizei imageSize, const GLvoid *data); 438 GLenum format, GLsizei imageSize,
|
/external/skia/bench/ |
D | MultitextureImageBench.cpp | 19 MultitextureImages(int imageSize, int dstRectSize, bool disableMultitexturing, bool aa) in MultitextureImages() argument 20 : fImageSize(imageSize) in MultitextureImages() 24 fName.appendf("multitexture_images_%dx%d_image_%dx%d_rect", imageSize, imageSize, in MultitextureImages()
|
/external/skqp/bench/ |
D | MultitextureImageBench.cpp | 19 MultitextureImages(int imageSize, int dstRectSize, bool disableMultitexturing, bool aa) in MultitextureImages() argument 20 : fImageSize(imageSize) in MultitextureImages() 24 fName.appendf("multitexture_images_%dx%d_image_%dx%d_rect", imageSize, imageSize, in MultitextureImages()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Texture.cpp | 182 void Texture::setCompressedImage(GLsizei imageSize, const void *pixels, Image *image) in setCompressedImage() argument 184 …if(pixels && image && (imageSize > 0)) // imageSize's correlation to width and height is already v… in setCompressedImage() 186 image->loadCompressedData(0, 0, 0, image->getWidth(), image->getHeight(), 1, imageSize, pixels); in setCompressedImage() 218 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… in subImageCompressed() argument 235 …if(pixels && (imageSize > 0)) // imageSize's correlation to width and height is already validated … in subImageCompressed() 237 image->loadCompressedData(xoffset, yoffset, 0, width, height, 1, imageSize, pixels); in subImageCompressed() 386 …mage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… in setCompressedImage() argument 400 Texture::setCompressedImage(imageSize, pixels, image[level]); in setCompressedImage() 408 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… in subImageCompressed() argument 410 …Texture::subImageCompressed(xoffset, yoffset, width, height, format, imageSize, pixels, image[leve… in subImageCompressed() [all …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Texture.cpp | 240 void Texture::setCompressedImage(GLsizei imageSize, const void *pixels, egl::Image *image) in setCompressedImage() argument 242 …if(pixels && image && (imageSize > 0)) // imageSize's correlation to width and height is already v… in setCompressedImage() 244 image->loadCompressedData(0, 0, 0, image->getWidth(), image->getHeight(), 1, imageSize, pixels); in setCompressedImage() 263 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… in subImageCompressed() argument 270 …if(pixels && (imageSize > 0)) // imageSize's correlation to width and height is already validated … in subImageCompressed() 272 image->loadCompressedData(xoffset, yoffset, 0, width, height, 1, imageSize, pixels); in subImageCompressed() 469 …mage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… in setCompressedImage() argument 483 Texture::setCompressedImage(imageSize, pixels, image[level]); in setCompressedImage() 491 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… in subImageCompressed() argument 493 …Texture::subImageCompressed(xoffset, yoffset, width, height, format, imageSize, pixels, image[leve… in subImageCompressed()
|