Home
last modified time | relevance | path

Searched refs:mipSize (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c163 SVGA3dSize mipSize = size; in vmw_ioctl_surface_create() local
167 cur_size->width = mipSize.width; in vmw_ioctl_surface_create()
168 cur_size->height = mipSize.height; in vmw_ioctl_surface_create()
169 cur_size->depth = mipSize.depth; in vmw_ioctl_surface_create()
170 mipSize.width = MAX2(mipSize.width >> 1, 1); in vmw_ioctl_surface_create()
171 mipSize.height = MAX2(mipSize.height >> 1, 1); in vmw_ioctl_surface_create()
172 mipSize.depth = MAX2(mipSize.depth >> 1, 1); in vmw_ioctl_surface_create()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp1280 const IVec4& mipSize, in drawToMipLevel() argument
1318 …vk, device, basePipeline, pipelineLayout, *renderPass, vertexModule, fragmentModule, mipSize.swizz… in drawToMipLevel()
1336 static_cast<deUint32>(mipSize.x()), static_cast<deUint32>(mipSize.y()))); in drawToMipLevel()
1351 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, mipSize.x(), mipSize.y… in drawToMipLevel()
1512 const IVec4& mipSize = mipLevelSizes[mipLevel]; in testRenderToMipMaps() local
1513 const int levelSlices = maxLayersOrDepth(mipSize); in testRenderToMipMaps()
1515 …drawToMipLevel (context, caseDef, mipLevel, mipSize, levelSlices, *colorImage, *depthStencilImage,… in testRenderToMipMaps()
1613 const IVec4& mipSize = mipLevelSizes[mipLevel]; in testRenderToMipMaps() local
1615 const int levelDepth = maxLayersOrDepth(mipSize); in testRenderToMipMaps()
1616 …const tcu::ConstPixelBufferAccess resultImage (format, mipSize.x(), mipSize.y(), levelDepth, pLev… in testRenderToMipMaps()
[all …]
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_surfacedefs.h1058 SVGA3dSize mipSize; in svga3dsurface_get_image_offset() local
1066 mipSize = svga3dsurface_get_mip_size(baseLevelSize, i); in svga3dsurface_get_image_offset()
1067 bytes = svga3dsurface_get_image_buffer_size(desc, &mipSize, 0); in svga3dsurface_get_image_offset()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp421 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/core/
Daddrlib2.cpp1216 UINT_32 mipSize = 0; in ComputeSurfaceCoordFromAddrLinear() local
1222 mipSize = localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear()
1227 mipSize = currentMipHeight * localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear()
1230 if (mipSize == 0) in ComputeSurfaceCoordFromAddrLinear()
1235 else if ((mipSize + mipOffsetInSlice) > offsetInSlice) in ComputeSurfaceCoordFromAddrLinear()
1241 mipOffsetInSlice += mipSize; in ComputeSurfaceCoordFromAddrLinear()
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp420 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws() local
426 if (mipSize < kIdealMinMIP) { in onPrepareDraws()
427 SkScalar newMipSize = mipSize; in onPrepareDraws()
431 while (newMipSize > 4 * mipSize) { in onPrepareDraws()
434 mipSize = newMipSize; in onPrepareDraws()
436 SkScalar desiredDimension = SkTMin(mipSize, kMaxMIP); in onPrepareDraws()
/external/skqp/src/core/
DSkMipMap.cpp393 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/
DSkMipMap.cpp394 SkISize mipSize = ComputeLevelSize(src.width(), src.height(), currentMipLevel); in Build() local
395 size += SkColorTypeMinRowBytes(ct, mipSize.fWidth) * mipSize.fHeight; in Build()
/external/mesa3d/src/amd/addrlib/gfx9/
Dgfx9addrlib.cpp4184 UINT_32 mipSize; in GetMipChainInfo() local
4188 mipSize = mipPitch * mipHeight * mipDepth * (bpp >> 3); in GetMipChainInfo()
4192 mipSize = mipPitch * mipHeight * (bpp >> 3); in GetMipChainInfo()
4195 if (mipSize <= 256) in GetMipChainInfo()