/external/angle/src/tests/gl_tests/ |
D | IncompleteTextureTest.cpp | 143 const GLsizei mipSize = redTextureSize >> mip; in TEST_P() local 145 glTexImage2D(GL_TEXTURE_2D, mip, GL_RGBA, mipSize, mipSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 160 const GLsizei mipSize = greenTextureSize >> mip; in TEST_P() local 162 glTexSubImage2D(GL_TEXTURE_2D, mip, mipSize, mipSize, mipSize, mipSize, GL_RGBA, in TEST_P()
|
D | ReadPixelsTest.cpp | 531 GLint mipSize = 4 >> level; in initializeTextureData() local 532 GLint layers = (textureTarget == GL_TEXTURE_3D ? mipSize : 4); in initializeTextureData() 534 size_t layerSize = mipSize * mipSize; in initializeTextureData() 545 glTexSubImage3D(textureTarget, level, 0, 0, 0, mipSize, mipSize, layers, GL_RGBA, in initializeTextureData()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 1279 const IVec4& mipSize, in drawToMipLevel() argument 1317 …vk, device, basePipeline, pipelineLayout, *renderPass, vertexModule, fragmentModule, mipSize.swizz… in drawToMipLevel() 1335 static_cast<deUint32>(mipSize.x()), static_cast<deUint32>(mipSize.y()))); in drawToMipLevel() 1350 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, mipSize.x(), mipSize.y… in drawToMipLevel() 1511 const IVec4& mipSize = mipLevelSizes[mipLevel]; in testRenderToMipMaps() local 1512 const int levelSlices = maxLayersOrDepth(mipSize); in testRenderToMipMaps() 1514 …drawToMipLevel (context, caseDef, mipLevel, mipSize, levelSlices, *colorImage, *depthStencilImage,… in testRenderToMipMaps() 1612 const IVec4& mipSize = mipLevelSizes[mipLevel]; in testRenderToMipMaps() local 1614 const int levelDepth = maxLayersOrDepth(mipSize); in testRenderToMipMaps() 1615 …const tcu::ConstPixelBufferAccess resultImage (format, mipSize.x(), mipSize.y(), levelDepth, pLev… in testRenderToMipMaps() [all …]
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_ioctl.c | 168 SVGA3dSize mipSize = size; in vmw_ioctl_surface_create() local 172 cur_size->width = mipSize.width; in vmw_ioctl_surface_create() 173 cur_size->height = mipSize.height; in vmw_ioctl_surface_create() 174 cur_size->depth = mipSize.depth; in vmw_ioctl_surface_create() 175 mipSize.width = MAX2(mipSize.width >> 1, 1); in vmw_ioctl_surface_create() 176 mipSize.height = MAX2(mipSize.height >> 1, 1); in vmw_ioctl_surface_create() 177 mipSize.depth = MAX2(mipSize.depth >> 1, 1); in vmw_ioctl_surface_create()
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_surfacedefs.h | 1061 SVGA3dSize mipSize; in svga3dsurface_get_image_offset() local 1069 mipSize = svga3dsurface_get_mip_size(baseLevelSize, i); in svga3dsurface_get_image_offset() 1070 bytes = svga3dsurface_get_image_buffer_size(desc, &mipSize, 0); in svga3dsurface_get_image_offset()
|
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTestsUtils.cpp | 160 …deUint32 mipSize = extent.width * extent.height * extent.depth * vk::mapVkFormat(format).getPixelS… in computeImageSize() local 179 mipSize += tmpSize; in computeImageSize() 183 mipSize = tmpSize; in computeImageSize() 188 return mipSize; in computeImageSize()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 421 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws() local 427 if (mipSize < kIdealMinMIP) { in onPrepareDraws() 428 SkScalar newMipSize = mipSize; in onPrepareDraws() 432 while (newMipSize > 4 * mipSize) { in onPrepareDraws() 435 mipSize = newMipSize; in onPrepareDraws() 437 SkScalar desiredDimension = SkTMin(mipSize, kMaxMIP); in onPrepareDraws()
|
/external/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib2.cpp | 1253 UINT_32 mipSize = 0; in ComputeSurfaceCoordFromAddrLinear() local 1259 mipSize = localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear() 1264 mipSize = currentMipHeight * localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear() 1267 if (mipSize == 0) in ComputeSurfaceCoordFromAddrLinear() 1272 else if ((mipSize + mipOffsetInSlice) > offsetInSlice) in ComputeSurfaceCoordFromAddrLinear() 1278 mipOffsetInSlice += mipSize; in ComputeSurfaceCoordFromAddrLinear()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 419 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws() local 425 if (mipSize < kIdealMinMIP) { in onPrepareDraws() 426 SkScalar newMipSize = mipSize; in onPrepareDraws() 430 while (newMipSize > 4 * mipSize) { in onPrepareDraws() 433 mipSize = newMipSize; in onPrepareDraws() 435 SkScalar desiredDimension = std::min(mipSize, kMaxMIP); in onPrepareDraws()
|
/external/skqp/src/core/ |
D | SkMipMap.cpp | 393 SkISize mipSize = ComputeLevelSize(src.width(), src.height(), currentMipLevel); in Build() local 394 size += SkColorTypeMinRowBytes(ct, mipSize.fWidth) * mipSize.fHeight; in Build()
|
/external/skia/src/core/ |
D | SkMipMap.cpp | 554 SkISize mipSize = ComputeLevelSize(src.width(), src.height(), currentMipLevel); in Build() local 555 size += SkColorTypeMinRowBytes(ct, mipSize.fWidth) * mipSize.fHeight; in Build()
|
/external/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 4260 UINT_32 mipSize; in GetMipChainInfo() local 4264 mipSize = mipPitch * mipHeight * mipDepth * (bpp >> 3); in GetMipChainInfo() 4268 mipSize = mipPitch * mipHeight * (bpp >> 3); in GetMipChainInfo() 4271 if (mipSize <= 256) in GetMipChainInfo()
|
/external/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.cpp | 3283 UINT_64 mipSize[MaxMipLevels]; in ComputeSurfaceInfoMacroTiled() local 3313 mipSize[i] = sliceSize * depth; in ComputeSurfaceInfoMacroTiled() 3354 offset += mipSize[i]; in ComputeSurfaceInfoMacroTiled()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 1983 GLsizei mipSize = std::max(1, size.width >> level); in setStorage() local 1987 gl::Extents(mipSize, mipSize, 1), true); in setStorage()
|