/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Sampler.cpp | 42 Mipmap &mipmap = texture.mipmap[level]; in Sampler() local 44 memset(&mipmap, 0, sizeof(Mipmap)); in Sampler() 48 mipmap.buffer[face] = &zero; in Sampler() 119 Mipmap &mipmap = texture.mipmap[level]; in setTextureLevel() local 122 mipmap.buffer[face] = surface->lockInternal(-border, -border, 0, LOCK_UNLOCKED, PRIVATE); in setTextureLevel() 160 mipmap.fWidth[0] = (float)width / 65536.0f; in setTextureLevel() 161 mipmap.fWidth[1] = (float)width / 65536.0f; in setTextureLevel() 162 mipmap.fWidth[2] = (float)width / 65536.0f; in setTextureLevel() 163 mipmap.fWidth[3] = (float)width / 65536.0f; in setTextureLevel() 165 mipmap.fHeight[0] = (float)height / 65536.0f; in setTextureLevel() [all …]
|
/third_party/mesa3d/src/mesa/drivers/common/ |
D | meta_generate_mipmap.c | 61 struct gen_mipmap_state *mipmap = &ctx->Meta->Mipmap; in fallback_required() local 104 if (mipmap->fb == NULL) { in fallback_required() 105 mipmap->fb = ctx->Driver.NewFramebuffer(ctx, 0xDEADBEEF); in fallback_required() 106 if (mipmap->fb == NULL) { in fallback_required() 113 _mesa_meta_framebuffer_texture_image(ctx, mipmap->fb, in fallback_required() 116 status = _mesa_check_framebuffer_status(ctx, mipmap->fb); in fallback_required() 128 struct gen_mipmap_state *mipmap) in _mesa_meta_glsl_generate_mipmap_cleanup() argument 130 if (mipmap->VAO == 0) in _mesa_meta_glsl_generate_mipmap_cleanup() 132 _mesa_DeleteVertexArrays(1, &mipmap->VAO); in _mesa_meta_glsl_generate_mipmap_cleanup() 133 mipmap->VAO = 0; in _mesa_meta_glsl_generate_mipmap_cleanup() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDescriptorSetLayout.cpp | 329 sw::Mipmap &mipmap = sampledImage[i].texture.mipmap[0]; in WriteDescriptorSet() local 330 mipmap.buffer = bufferView->getPointer(); in WriteDescriptorSet() 331 mipmap.width[0] = mipmap.width[1] = mipmap.width[2] = mipmap.width[3] = numElements; in WriteDescriptorSet() 332 mipmap.height[0] = mipmap.height[1] = mipmap.height[2] = mipmap.height[3] = 1; in WriteDescriptorSet() 333 mipmap.depth[0] = mipmap.depth[1] = mipmap.depth[2] = mipmap.depth[3] = 1; in WriteDescriptorSet() 334 mipmap.pitchP.x = mipmap.pitchP.y = mipmap.pitchP.z = mipmap.pitchP.w = numElements; in WriteDescriptorSet() 335 mipmap.sliceP.x = mipmap.sliceP.y = mipmap.sliceP.z = mipmap.sliceP.w = 0; in WriteDescriptorSet() 336 mipmap.onePitchP[0] = mipmap.onePitchP[2] = 1; in WriteDescriptorSet() 337 mipmap.onePitchP[1] = mipmap.onePitchP[3] = 0; in WriteDescriptorSet() 385 …texture->mipmap[0].buffer = imageView->getOffsetPointer(offset, VK_IMAGE_ASPECT_PLANE_0_BIT, level… in WriteDescriptorSet() [all …]
|
/third_party/flutter/skia/tests/ |
D | SkResourceCacheTest.cpp | 50 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(desc, cache); in test_mipmapcache() local 51 REPORTER_ASSERT(reporter, nullptr == mipmap); in test_mipmapcache() 53 mipmap = SkMipMapCache::AddAndRef(as_IB(img.get()), cache); in test_mipmapcache() 54 REPORTER_ASSERT(reporter, mipmap); in test_mipmapcache() 59 REPORTER_ASSERT(reporter, mm == mipmap); in test_mipmapcache() 63 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache() 65 mipmap->unref(); in test_mipmapcache() 68 check_data(reporter, mipmap, 1, kInCache, kNotLocked); in test_mipmapcache() 71 mipmap = SkMipMapCache::FindAndRef(desc, cache); in test_mipmapcache() 72 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache() [all …]
|
/third_party/skia/tests/ |
D | SkResourceCacheTest.cpp | 49 const SkMipmap* mipmap = SkMipmapCache::FindAndRef(desc, cache); in test_mipmapcache() local 50 REPORTER_ASSERT(reporter, nullptr == mipmap); in test_mipmapcache() 52 mipmap = SkMipmapCache::AddAndRef(as_IB(img.get()), cache); in test_mipmapcache() 53 REPORTER_ASSERT(reporter, mipmap); in test_mipmapcache() 58 REPORTER_ASSERT(reporter, mm == mipmap); in test_mipmapcache() 62 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache() 64 mipmap->unref(); in test_mipmapcache() 67 check_data(reporter, mipmap, 1, kInCache, kNotLocked); in test_mipmapcache() 70 mipmap = SkMipmapCache::FindAndRef(desc, cache); in test_mipmapcache() 71 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache() [all …]
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.6.x/src/ |
D | gles2-driver-issues.txt | 158 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp 159 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp_non_square 160 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat 161 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat_non_square 162 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_mirror 163 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_mirror_non_square 164 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_clamp 165 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_clamp_non_square 166 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_repeat 167 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_repeat_non_square [all …]
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/src/ |
D | gles2-driver-issues.txt | 158 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp 159 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp_non_square 160 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat 161 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat_non_square 162 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_mirror 163 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_mirror_non_square 164 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_clamp 165 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_clamp_non_square 166 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_repeat 167 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_repeat_non_square [all …]
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/master/src/ |
D | gles2-driver-issues.txt | 158 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp 159 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp_non_square 160 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat 161 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat_non_square 162 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_mirror 163 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_mirror_non_square 164 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_clamp 165 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_clamp_non_square 166 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_repeat 167 dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_repeat_non_square [all …]
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/ |
D | gles2-driver-issues.txt | 161 dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_nearest 162 dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_linear 163 dEQP-GLES2.functional.texture.mipmap.cube.projected.linear_nearest 164 dEQP-GLES2.functional.texture.mipmap.cube.projected.linear_linear 165 dEQP-GLES2.functional.texture.mipmap.cube.bias.linear_nearest 166 dEQP-GLES2.functional.texture.mipmap.cube.bias.linear_linear 260 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp 261 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp_non_square 262 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat 263 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat_non_square [all …]
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/ |
D | gles2-driver-issues.txt | 167 dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_nearest 168 dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_linear 169 dEQP-GLES2.functional.texture.mipmap.cube.projected.linear_nearest 170 dEQP-GLES2.functional.texture.mipmap.cube.projected.linear_linear 171 dEQP-GLES2.functional.texture.mipmap.cube.bias.linear_nearest 172 dEQP-GLES2.functional.texture.mipmap.cube.bias.linear_linear 273 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp 274 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp_non_square 275 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat 276 dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat_non_square [all …]
|
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/ |
D | EGL_KHR_gl_image.txt | 190 …| EGL_GL_TEXTURE_LEVEL_KHR | Specifies the mipmap level | EGL_GL_TEXTURE_2D_KHR, | 0 … 226 the type EGLClientBuffer. <attr_list> should specify the mipmap level 228 specified mipmap level must be part of <buffer>. If not specified, the 231 unless the mipmap level to be used is 0, the texture has mipmap level 0 232 specified, and no other mipmap levels are specified. 237 EGLClientBuffer. <attr_list> should specify the mipmap level which will 239 mipmap level must be part of <buffer>. If not specified, the default 242 unless the mipmap level to be used is 0, the texture has mipmap level 0 243 specified for all faces, and no other mipmap levels are specified for any 249 into the type EGLClientBuffer. <attr_list> should specify the mipmap [all …]
|
/third_party/EGL/extensions/KHR/ |
D | EGL_KHR_gl_image.txt | 190 …| EGL_GL_TEXTURE_LEVEL_KHR | Specifies the mipmap level | EGL_GL_TEXTURE_2D_KHR, | 0 … 226 the type EGLClientBuffer. <attr_list> should specify the mipmap level 228 specified mipmap level must be part of <buffer>. If not specified, the 231 unless the mipmap level to be used is 0, the texture has mipmap level 0 232 specified, and no other mipmap levels are specified. 237 EGLClientBuffer. <attr_list> should specify the mipmap level which will 239 mipmap level must be part of <buffer>. If not specified, the default 242 unless the mipmap level to be used is 0, the texture has mipmap level 0 243 specified for all faces, and no other mipmap levels are specified for any 249 into the type EGLClientBuffer. <attr_list> should specify the mipmap [all …]
|
/third_party/skia/include/core/ |
D | SkSamplingOptions.h | 58 const SkMipmapMode mipmap = SkMipmapMode::kNone; member 71 , mipmap(mm) {} in SkSamplingOptions() 76 , mipmap(SkMipmapMode::kNone) {} in SkSamplingOptions() 87 && mipmap == other.mipmap;
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | SamplerCore.cpp | 247 Short4 SamplerCore::offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, int… in offsetSample() argument 249 Short4 offset = *Pointer<Short4>(mipmap + halfOffset); in offsetSample() 456 Pointer<Byte> mipmap; in sampleQuad2D() local 458 selectMipmap(texture, mipmap, buffer, lod, secondLOD); in sampleQuad2D() 460 Short4 uuuu = address(u, state.addressingModeU, mipmap); in sampleQuad2D() 461 Short4 vvvv = address(v, state.addressingModeV, mipmap); in sampleQuad2D() 462 Short4 wwww = address(w, state.addressingModeW, mipmap); in sampleQuad2D() 463 Short4 layerIndex = computeLayerIndex(a, mipmap); in sampleQuad2D() 467 c = sampleTexel(uuuu, vvvv, wwww, layerIndex, offset, sample, mipmap, buffer, function); in sampleQuad2D() 471 …Short4 uuuu0 = offsetSample(uuuu, mipmap, OFFSET(Mipmap, uHalf), state.addressingModeU == ADDRESSI… in sampleQuad2D() [all …]
|
D | SamplerCore.hpp | 68 …Short4 offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, int count, Floa… 85 …beArrayLayer, Vector4i &offset, const Int4 &sample, const Pointer<Byte> &mipmap, SamplerFunction f… 86 …t4 vvvv, Int4 wwww, const Int4 &sample, Int4 valid, const Pointer<Byte> &mipmap, SamplerFunction f… 87 …t4 &cubeArrayLayer, Vector4i &offset, const Int4 &sample, Pointer<Byte> &mipmap, Pointer<Byte> buf… 89 …4 &u, Int4 &v, Int4 &w, Float4 &dRef, const Int4 &sample, Pointer<Byte> &mipmap, Pointer<Byte> buf… 91 …void selectMipmap(const Pointer<Byte> &texture, Pointer<Byte> &mipmap, Pointer<Byte> &buffer, cons… 92 Short4 address(const Float4 &uvw, AddressingMode addressingMode, Pointer<Byte> &mipmap); 93 Short4 computeLayerIndex(const Float4 &a, Pointer<Byte> &mipmap); 94 …void address(const Float4 &uvw, Int4 &xyz0, Int4 &xyz1, Float4 &f, Pointer<Byte> &mipmap, Int4 &of… 95 Int4 computeLayerIndex(const Float4 &a, Pointer<Byte> &mipmap, SamplerFunction function);
|
/third_party/openGLES/extensions/ARB/ |
D | ARB_texture_query_levels.txt | 60 number of accessible mipmap levels in the texture associated with a GLSL 67 unless the texture has a full mipmap chain and is used with a mipmapped 102 ability to query the number of accessible mipmap levels in a texture 117 where <q> is the maximum mipmap level specified in the "Mipmapping" 192 The textureQueryLevels functions return the number of mipmap levels 237 - A texture is "mipmap complete" if it has a full set of mipmaps, from 241 to be mipmap complete. Note that immutable format textures will 242 always be considered mipmap complete. 245 mapping. A texture that is not mipmap complete can still be 250 mipmap levels and are always considered mipmap complete; however, [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | ARB_texture_query_levels.txt | 50 number of accessible mipmap levels in the texture associated with a GLSL 57 unless the texture has a full mipmap chain and is used with a mipmapped 92 ability to query the number of accessible mipmap levels in a texture 107 where <q> is the maximum mipmap level specified in the "Mipmapping" 182 The textureQueryLevels functions return the number of mipmap levels 227 - A texture is "mipmap complete" if it has a full set of mipmaps, from 231 to be mipmap complete. Note that immutable format textures will 232 always be considered mipmap complete. 235 mapping. A texture that is not mipmap complete can still be 240 mipmap levels and are always considered mipmap complete; however, [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | SamplerCore.cpp | 510 Pointer<Byte> mipmap = texture + OFFSET(Texture, mipmap) + index * sizeof(Mipmap); in textureSize() local 511 size.x = Insert(size.x, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, width)))), i); in textureSize() 512 size.y = Insert(size.y, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, height)))), i); in textureSize() 513 size.z = Insert(size.z, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth)))), i); in textureSize() 530 …Short4 SamplerCore::offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, in… in offsetSample() argument 532 Short4 offset = *Pointer<Short4>(mipmap + halfOffset); in offsetSample() 747 Pointer<Byte> mipmap; in sampleQuad2D() local 750 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sampleQuad2D() 754 Short4 uuuu = texelFetch ? Short4(As<Int4>(u)) : address(u, state.addressingModeU, mipmap); in sampleQuad2D() 755 Short4 vvvv = texelFetch ? Short4(As<Int4>(v)) : address(v, state.addressingModeV, mipmap); in sampleQuad2D() [all …]
|
D | SamplerCore.hpp | 55 static Vector4f textureSize(Pointer<Byte> &mipmap, Float4 &lod); 62 …Short4 offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, int count, Floa… 80 …4 uuuu, Short4 vvvv, Short4 wwww, Vector4f &offset, const Pointer<Byte> &mipmap, SamplerFunction f… 81 …(UInt index[4], Int4& uuuu, Int4& vvvv, Int4& wwww, const Pointer<Byte> &mipmap, SamplerFunction f… 82 …Vector4s sampleTexel(Short4 &u, Short4 &v, Short4 &s, Vector4f &offset, Pointer<Byte> &mipmap, Poi… 84 …Vector4f sampleTexel(Int4 &u, Int4 &v, Int4 &s, Float4 &z, Pointer<Byte> &mipmap, Pointer<Byte> bu… 85 …void selectMipmap(Pointer<Byte> &texture, Pointer<Byte> buffer[4], Pointer<Byte> &mipmap, Float &l… 86 Short4 address(Float4 &uw, AddressingMode addressingMode, Pointer<Byte>& mipmap); 87 …void address(Float4 &uw, Int4& xyz0, Int4& xyz1, Float4& f, Pointer<Byte>& mipmap, Float4 &texOffs…
|
/third_party/mesa3d/src/panfrost/ci/ |
D | panfrost-t720-fails.txt | 25 dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_linear,Fail 26 dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_nearest,Fail 27 dEQP-GLES2.functional.texture.mipmap.cube.bias.linear_linear,Fail 28 dEQP-GLES2.functional.texture.mipmap.cube.bias.linear_nearest,Fail 29 dEQP-GLES2.functional.texture.mipmap.cube.projected.linear_linear,Fail 30 dEQP-GLES2.functional.texture.mipmap.cube.projected.linear_nearest,Fail
|
/third_party/mesa3d/src/gallium/drivers/lima/ci/ |
D | lima-fails.txt | 51 dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_linear,Fail 52 dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_nearest,Fail 53 dEQP-GLES2.functional.texture.mipmap.cube.bias.linear_linear,Fail 54 dEQP-GLES2.functional.texture.mipmap.cube.bias.linear_nearest,Fail 55 dEQP-GLES2.functional.texture.mipmap.cube.projected.linear_linear,Fail 56 dEQP-GLES2.functional.texture.mipmap.cube.projected.linear_nearest,Fail
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureSizeTests.cpp | 396 for (int mipmap = 0; mipmap < (isPOT ? 2 : 1); mipmap++) in init() local 399 name << width << "x" << height << "_" << formats[formatNdx].name << (mipmap ? "_mipmap" : ""); in init() 403 width, height, mipmap != 0)); in init() 419 for (int mipmap = 0; mipmap < (isPOT ? 2 : 1); mipmap++) in init() local 422 name << width << "x" << height << "_" << formats[formatNdx].name << (mipmap ? "_mipmap" : ""); in init() 426 width, height, mipmap != 0)); in init()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureSizeTests.cpp | 395 for (int mipmap = 0; mipmap < (isPOT ? 2 : 1); mipmap++) in init() local 398 name << width << "x" << height << "_" << formats[formatNdx].name << (mipmap ? "_mipmap" : ""); in init() 402 width, height, mipmap != 0)); in init() 418 for (int mipmap = 0; mipmap < (isPOT ? 2 : 1); mipmap++) in init() local 421 name << width << "x" << height << "_" << formats[formatNdx].name << (mipmap ? "_mipmap" : ""); in init() 425 width, height, mipmap != 0)); in init()
|
/third_party/vk-gl-cts/doc/testspecs/VK/ |
D | sparse_resources.txt | 13 5. Test partially resident image with mipmaps, put some mipmap levels in mip tail region 98 5. Test partially resident image with mipmaps, put some mipmap levels in mip tail region 100 The test creates image with maximum allowed number of mipmap levels. The sparse memory requirements… 101 Each layer of each mipmap level receives a separate device memory binding. The mipmaps levels that … 102 binding for each mipmap level or one binding for all levels, depending on the value of VK_SPARSE_IM… 104 A compute shader is invoked to fill each mipmap level with data. Afterwards the data is transfered … 133 both images. The mipmap levels that land in the mip tail region have separate memory regions for bo… 137 …ds compute shaders are invoked to write data to each mipmap level of WRITE sparse image. The mipma… 140 The validation part retrieves data back from output buffer to host memory. For each mipmap level th… 141 compared against the expected output from compute shader. On the other hand for each mipmap level t… [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkMipMap.cpp | 403 SkMipMap* mipmap; in Build() local 409 mipmap = new SkMipMap(storageSize, dm); in Build() 411 mipmap = new SkMipMap(sk_malloc_throw(storageSize), storageSize); in Build() 415 mipmap->fCS = sk_ref_sp(src.info().colorSpace()); in Build() 416 mipmap->fCount = countLevels; in Build() 417 mipmap->fLevels = (Level*)mipmap->writable_data(); in Build() 418 SkASSERT(mipmap->fLevels); in Build() 420 Level* levels = mipmap->fLevels; in Build() 489 SkASSERT(mipmap->fLevels); in Build() 490 return mipmap; in Build()
|