/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | ImageIndexIterator_unittest.cpp | 29 for (GLint mip = minMip; mip < maxMip; mip++) in TEST() local 37 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST() 56 for (GLint mip = minMip; mip < maxMip; mip++) in TEST() local 65 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST() 80 for (GLint mip = minMip; mip < maxMip; mip++) in TEST() local 89 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST() 108 for (GLint mip = minMip; mip < maxMip; mip++) in TEST() local 110 for (GLint layer = 0; layer < layerCounts[mip]; layer++) in TEST() 117 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST() 134 for (GLint mip = minMip; mip < maxMip; mip++) in TEST() local [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/third_party/ffx_spd/ |
D | ffx_spd.h | 274 void SpdStore(ASU2 p, AF4 value, AU1 mip){} in SpdStore() argument 401 … SpdDownsampleMips_0_1_Intrinsics(AU1 x, AU1 y, AU2 workGroupID, AU1 localInvocationIndex, AU1 mip) in SpdDownsampleMips_0_1_Intrinsics() argument 425 if (mip <= 1) in SpdDownsampleMips_0_1_Intrinsics() 457 void SpdDownsampleMips_0_1_LDS(AU1 x, AU1 y, AU2 workGroupID, AU1 localInvocationIndex, AU1 mip) in SpdDownsampleMips_0_1_LDS() argument 481 if (mip <= 1) in SpdDownsampleMips_0_1_LDS() 510 void SpdDownsampleMips_0_1(AU1 x, AU1 y, AU2 workGroupID, AU1 localInvocationIndex, AU1 mip) in SpdDownsampleMips_0_1() argument 513 SpdDownsampleMips_0_1_LDS(x, y, workGroupID, localInvocationIndex, mip); in SpdDownsampleMips_0_1() 515 SpdDownsampleMips_0_1_Intrinsics(x, y, workGroupID, localInvocationIndex, mip); in SpdDownsampleMips_0_1() 520 void SpdDownsampleMip_2(AU1 x, AU1 y, AU2 workGroupID, AU1 localInvocationIndex, AU1 mip) in SpdDownsampleMip_2() argument 531 SpdStore(ASU2(workGroupID.xy * 8) + ASU2(x, y), v, mip); in SpdDownsampleMip_2() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | NonzeroTextureCreationTests.cpp | 148 uint32_t mip = GetParam().mMip; in Run() local 149 uint32_t mipSize = std::max(kSize >> mip, 1u); in Run() 151 ? std::max(GetParam().mDepthOrArrayLayers >> mip, 1u) in Run() 157 GetParam().mSampleCount, 0, mip, in Run() 161 {mipSize, mipSize, depthOrArrayLayers}, mip); in Run() 168 GetParam().mSampleCount, 0, mip, in Run() 172 {mipSize, mipSize, depthOrArrayLayers}, mip); in Run() 180 GetParam().mSampleCount, 0, mip, in Run() 184 {mipSize, mipSize, depthOrArrayLayers}, mip); in Run() 190 {mipSize, mipSize, depthOrArrayLayers}, mip); in Run() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | IncompleteTextureTest.cpp | 160 for (GLint mip = 0; mip < 7; ++mip) in TEST_P() local 162 const GLsizei mipSize = redTextureSize >> mip; in TEST_P() 164 glTexImage2D(GL_TEXTURE_2D, mip, GL_RGBA, mipSize, mipSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 177 for (GLint mip = 0; mip < 6; ++mip) in TEST_P() local 179 const GLsizei mipSize = greenTextureSize >> mip; in TEST_P() 181 glTexSubImage2D(GL_TEXTURE_2D, mip, mipSize, mipSize, mipSize, mipSize, GL_RGBA, in TEST_P()
|
D | TextureTest.cpp | 487 static constexpr size_t getMipDataSize(size_t mip0Size, size_t mip) in getMipDataSize() argument 489 size_t mipSize = std::max<size_t>(1u, mip0Size >> mip); in getMipDataSize() 496 for (size_t mip = 0; mip < kMipCount; ++mip) in getTotalMipDataSize() local 498 totalCount += getMipDataSize(mip0Size, mip); in getTotalMipDataSize() 503 static constexpr size_t getMipDataOffset(size_t mip0Size, size_t mip) in getMipDataOffset() argument 519 for (size_t m = 0; m < mip; ++m) in getMipDataOffset() 529 for (size_t mip = 0; mip < kMipCount; ++mip) in fillMipData() local 531 size_t offset = getMipDataOffset(mip0Size, mip); in fillMipData() 532 size_t size = getMipDataSize(mip0Size, mip); in fillMipData() 533 std::fill(data + offset, data + offset + size, mipColors[mip]); in fillMipData() [all …]
|
D | MipmapTest.cpp | 454 for (uint32_t mip = 0; textureWidth >> mip >= 1 || textureHeight >> mip >= 1; ++mip) in verifyAllMips() local 456 glUniform1f(lodLoc, mip); in verifyAllMips() 461 EXPECT_PIXEL_COLOR_EQ(0, 0, color) << "Failed on mip " << mip; in verifyAllMips() 462 EXPECT_PIXEL_COLOR_EQ(w, 0, color) << "Failed on mip " << mip; in verifyAllMips() 463 EXPECT_PIXEL_COLOR_EQ(0, h, color) << "Failed on mip " << mip; in verifyAllMips() 464 EXPECT_PIXEL_COLOR_EQ(w, h, color) << "Failed on mip " << mip; in verifyAllMips() 1673 for (int mip = 0; mip < 5; ++mip) in TEST_P() local 1675 int scale = 1 << mip; in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
D | gen_mipmap.metal | 62 // ----- First mip level ------- 83 // ---- Second mip level -------- 100 // If the width of mip is 1, texel2 will equal to texel1: 133 // ---- 3rd mip level -------- 143 // If the width of mip is 1, texel2 will equal to texel1: 179 // ---- 4th mip level -------- 189 // If the width of mip is 1, texel2 will equal to texel1: 242 // ----- First mip level ------- 263 // ---- Second mip level -------- 276 // If the width of mip is 1, texel2 will equal to texel1: [all …]
|
/third_party/mesa3d/src/intel/common/tests/ |
D | mi_builder_test.cpp | 932 emit_cmd(GENX(MI_PREDICATE), mip) { in TEST_F() 933 mip.LoadOperation = LOAD_LOAD; in TEST_F() 934 mip.CombineOperation = COMBINE_SET; in TEST_F() 935 mip.CompareOperation = COMPARE_TRUE; in TEST_F() 942 emit_cmd(GENX(MI_PREDICATE), mip) { in TEST_F() 943 mip.LoadOperation = LOAD_LOAD; in TEST_F() 944 mip.CombineOperation = COMBINE_SET; in TEST_F() 945 mip.CompareOperation = COMPARE_FALSE; in TEST_F() 1057 emit_cmd(GENX(MI_PREDICATE), mip) { in TEST_F() 1058 mip.LoadOperation = LOAD_LOAD; in TEST_F() [all …]
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_resource.c | 167 struct etna_resource_level *mip = &rsc->levels[level]; in setup_miptree() local 169 mip->width = width; in setup_miptree() 170 mip->height = height; in setup_miptree() 171 mip->depth = depth; in setup_miptree() 172 mip->padded_width = align(width * msaa_xscale, paddingX); in setup_miptree() 173 mip->padded_height = align(height * msaa_yscale, paddingY); in setup_miptree() 174 mip->stride = util_format_get_stride(prsc->format, mip->padded_width); in setup_miptree() 175 mip->offset = size; in setup_miptree() 176 mip->layer_stride = mip->stride * util_format_get_nblocksy(prsc->format, mip->padded_height); in setup_miptree() 177 mip->size = prsc->array_size * mip->layer_stride; in setup_miptree() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/ |
D | GenerateMipmap.comp | 81 // Use a linear sampler to sample from mip 0 instead of multiple loads and manual averaging. 98 // Loads the 5th mip level, each value is computed by a different thread group 108 void SpdStoreH(ASU2 p, AH4 value, AU1 mip) 110 imageStore(dst[mip], p, AF4(value)); 139 // Loads the 5th mip level, each value is computed by a different thread group 149 void SpdStore(ASU2 p, AF4 value, AU1 mip) 151 imageStore(dst[mip], p, value);
|
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/ |
D | OES_compressed_paletted_texture.txt | 63 palette data and texture mip-levels 64 The palette data followed by all necessary mip levels are 71 The level value is used to indicate how many mip levels 74 A level of zero indicates a single mip-level. 110 mip levels defined for the paletted texture. 154 palette data following by the mip-levels where the number of mip-levels
|
D | OES_fbo_render_mipmap.txt | 44 allowing implementations to support rendering to any mip-level 49 any mip level of a texture image
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | TexturesPerf.cpp | 230 for (size_t mip = 0; mip < params.textureMipCount; mip++) in initTextures() local 232 GLsizei levelSize = static_cast<GLsizei>(textureSize >> mip); in initTextures() 233 glTexImage2D(GL_TEXTURE_2D, static_cast<GLint>(mip), GL_RGBA, levelSize, levelSize, 0, in initTextures()
|
/third_party/openGLES/extensions/OES/ |
D | OES_compressed_paletted_texture.txt | 73 palette data and texture mip-levels 74 The palette data followed by all necessary mip levels are 81 The level value is used to indicate how many mip levels 84 A level of zero indicates a single mip-level. 120 mip levels defined for the paletted texture. 164 palette data following by the mip-levels where the number of mip-levels
|
D | OES_fbo_render_mipmap.txt | 54 allowing implementations to support rendering to any mip-level 59 any mip level of a texture image
|
/third_party/glslang/Test/ |
D | hlsl.mip.operator.frag | 8 // test float->uint cast on the mip arg 12 // ....outer operator mip level...... .....outer operator coordinate....
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/ |
D | sparsemem.txt | 172 Each image subresource (outside of the <<sparsememory-miptail,mip tail>>) 249 Within each array layer, the set of mip levels that have a smaller size than 255 image's pname:format, then any mip level which has dimensions that are not 257 and all subsequent mip levels, are also included in the mip tail region. 260 how the implementation places mip levels in the mip tail region: 264 Each mip tail region is bound to memory as an opaque region (i.e. must: be 270 An implementation may: choose to allow each array-layer's mip tail region to 271 be bound to memory independently or require that all array-layer's mip tail 285 mip tail region containing texel data for all mip levels smaller than the 298 layers will share a single mip tail region. [all …]
|
D | sparsemem.adoc | 229 Each image subresource (outside of the <<sparsememory-miptail,mip tail>>) 307 Within each array layer, the set of mip levels that have a smaller size than 313 image's pname:format, then any mip level which has dimensions that are not 315 and all subsequent mip levels, are also included in the mip tail region. 318 how the implementation places mip levels in the mip tail region: 322 Each mip tail region is bound to memory as an opaque region (i.e. must: be 328 An implementation may: choose to allow each array-layer's mip tail region to 329 be bound to memory independently or require that all array-layer's mip tail 343 mip tail region containing texel data for all mip levels smaller than the 356 layers will share a single mip tail region. [all …]
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_surfacedefs.h | 1282 uint32 mip) in svga3dsurface_get_image_offset() argument 1301 if (i < mip) { in svga3dsurface_get_image_offset() 1320 uint32 mip; in svga3dsurface_get_serialized_size() local 1322 for (mip = 0; mip < num_mip_levels; mip++) { in svga3dsurface_get_serialized_size() 1324 svga3dsurface_get_mip_size(base_level_size, mip); in svga3dsurface_get_serialized_size()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv84_video.c | 272 struct nv50_miptree mip; in nv84_create_decoder() local 479 surf.base.texture = &mip.base.base; in nv84_create_decoder() 480 mip.level[0].tile_mode = 0; in nv84_create_decoder() 481 mip.level[0].pitch = surf.width * 4; in nv84_create_decoder() 482 mip.base.domain = NOUVEAU_BO_VRAM; in nv84_create_decoder() 483 mip.base.bo = dec->mbring; in nv84_create_decoder() 484 mip.base.address = dec->mbring->offset; in nv84_create_decoder() 489 mip.level[0].pitch = surf.width * 4; in nv84_create_decoder() 490 mip.base.bo = dec->vpring; in nv84_create_decoder() 491 mip.base.address = dec->vpring->offset; in nv84_create_decoder()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | TextureMtl.mm | 764 // Only transfer if this mip & slice image has been defined and in correct size & 864 for (mtl::MipmapNativeLevel mip = mtl::kZeroNativeMipLevel; 865 mip.get() < mNativeTexture->mipmapLevels(); ++mip) 867 if (mNativeLevelViews[mip]) 873 mTexImageDefs[0][mtl::GetGLMipLevel(mip, baseLevel)].image) 876 mNativeLevelViews[mip] = mTexImageDefs[0][mtl::GetGLMipLevel(mip, baseLevel)].image; 880 mNativeLevelViews[mip] = mNativeTexture->createMipView(mip); 930 // Create image view per cube face, per mip level 933 for (mtl::MipmapNativeLevel mip = mtl::kZeroNativeMipLevel; mip.get() < mips; ++mip) 935 GLuint imageMipLevel = mtl::GetGLMipLevel(mip, mCurrentBaseLevel); [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_state_inlines.h | 262 static inline uint32_t r300_translate_tex_filters(int min, int mag, int mip, in r300_translate_tex_filters() argument 293 switch (mip) { in r300_translate_tex_filters() 304 fprintf(stderr, "r300: Unknown texture filter %d\n", mip); in r300_translate_tex_filters()
|
/third_party/openGLES/extensions/AMD/ |
D | AMD_compressed_ATC_texture.txt | 87 OpenGL ES requires that all mip-levels have to be specified when 90 mip-levels. This rule is not followed when loading an ATC texture. The 91 "level" number in this case represents the actual mip-level number,
|
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/ |
D | AMD_compressed_ATC_texture.txt | 87 OpenGL ES requires that all mip-levels have to be specified when 90 mip-levels. This rule is not followed when loading an ATC texture. The 91 "level" number in this case represents the actual mip-level number,
|
/third_party/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 500 for (UINT_32 mip = 0; mip < numMipLevels; mip++) in GetMetaMipInfo() local 504 GetMetaMiptailInfo(&pInfo[mip], mipCoord, numMipLevels - mip, in GetMetaMipInfo() 514 pInfo[mip].inMiptail = FALSE; in GetMetaMipInfo() 515 pInfo[mip].startX = mipCoord.w; in GetMetaMipInfo() 516 pInfo[mip].startY = mipCoord.h; in GetMetaMipInfo() 517 pInfo[mip].startZ = mipCoord.d; in GetMetaMipInfo() 518 pInfo[mip].width = mipWidth; in GetMetaMipInfo() 519 pInfo[mip].height = mipHeight; in GetMetaMipInfo() 520 pInfo[mip].depth = dataThick ? mipDepth : 1; in GetMetaMipInfo() 522 if ((mip >= 3) || (mip & 1)) in GetMetaMipInfo() [all …]
|