Home
last modified time | relevance | path

Searched refs:mipmap (Results 1 – 25 of 132) sorted by relevance

123456

/external/swiftshader/src/Device/
DSampler.cpp41 Mipmap &mipmap = texture.mipmap[level]; in Sampler() local
43 memset(&mipmap, 0, sizeof(Mipmap)); in Sampler()
47 mipmap.buffer[face] = &zero; in Sampler()
118 Mipmap &mipmap = texture.mipmap[level]; in setTextureLevel() local
121 mipmap.buffer[face] = surface->lockInternal(-border, -border, 0, LOCK_UNLOCKED, PRIVATE); in setTextureLevel()
159 mipmap.fWidth[0] = (float)width / 65536.0f; in setTextureLevel()
160 mipmap.fWidth[1] = (float)width / 65536.0f; in setTextureLevel()
161 mipmap.fWidth[2] = (float)width / 65536.0f; in setTextureLevel()
162 mipmap.fWidth[3] = (float)width / 65536.0f; in setTextureLevel()
164 mipmap.fHeight[0] = (float)height / 65536.0f; in setTextureLevel()
[all …]
/external/swiftshader/src/Renderer/
DSampler.cpp42 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 …]
/external/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c61 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 …]
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/src/
Dgles2-driver-issues.txt158 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 …]
Dgles3-hw-issues.txt12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest
13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
/external/skqp/tests/
DSkResourceCacheTest.cpp51 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(desc, cache); in test_mipmapcache() local
52 REPORTER_ASSERT(reporter, nullptr == mipmap); in test_mipmapcache()
54 mipmap = SkMipMapCache::AddAndRef(provider, cache); in test_mipmapcache()
55 REPORTER_ASSERT(reporter, mipmap); in test_mipmapcache()
60 REPORTER_ASSERT(reporter, mm == mipmap); in test_mipmapcache()
64 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache()
66 mipmap->unref(); in test_mipmapcache()
69 check_data(reporter, mipmap, 1, kInCache, kNotLocked); in test_mipmapcache()
72 mipmap = SkMipMapCache::FindAndRef(desc, cache); in test_mipmapcache()
73 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache()
[all …]
/external/skia/tests/
DSkResourceCacheTest.cpp51 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(desc, cache); in test_mipmapcache() local
52 REPORTER_ASSERT(reporter, nullptr == mipmap); in test_mipmapcache()
54 mipmap = SkMipMapCache::AddAndRef(provider, cache); in test_mipmapcache()
55 REPORTER_ASSERT(reporter, mipmap); in test_mipmapcache()
60 REPORTER_ASSERT(reporter, mm == mipmap); in test_mipmapcache()
64 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache()
66 mipmap->unref(); in test_mipmapcache()
69 check_data(reporter, mipmap, 1, kInCache, kNotLocked); in test_mipmapcache()
72 mipmap = SkMipMapCache::FindAndRef(desc, cache); in test_mipmapcache()
73 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache()
[all …]
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/
Dgles2-driver-issues.txt167 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 …]
Dgles3-hw-issues.txt12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest
13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/
Dgles2-driver-issues.txt161 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 …]
Dgles3-hw-issues.txt12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest
13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
/external/swiftshader/src/Pipeline/
DSamplerCore.cpp418 …Pointer<Byte> mipmap = texture + OFFSET(Texture, mipmap) + (As<Int>(Extract(lod, i)) + baseLevel) … in textureSize() local
419 size.x = Insert(size.x, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, width)))), i); in textureSize()
420 size.y = Insert(size.y, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, height)))), i); in textureSize()
421 size.z = Insert(size.z, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth)))), i); in textureSize()
438 …Short4 SamplerCore::offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, in… in offsetSample() argument
440 Short4 offset = *Pointer<Short4>(mipmap + halfOffset); in offsetSample()
655 Pointer<Byte> mipmap; in sampleQuad2D() local
658 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sampleQuad2D()
662 Short4 uuuu = texelFetch ? Short4(As<Int4>(u)) : address(u, state.addressingModeU, mipmap); in sampleQuad2D()
663 Short4 vvvv = texelFetch ? Short4(As<Int4>(v)) : address(v, state.addressingModeV, mipmap); in sampleQuad2D()
[all …]
DSamplerCore.hpp55 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…
/external/swiftshader/src/Shader/
DSamplerCore.cpp509 …Pointer<Byte> mipmap = texture + OFFSET(Texture, mipmap) + (As<Int>(Extract(lod, i)) + baseLevel) … in textureSize() local
510 size.x = Insert(size.x, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, width)))), i); in textureSize()
511 size.y = Insert(size.y, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, height)))), i); in textureSize()
512 size.z = Insert(size.z, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth)))), i); in textureSize()
529 …Short4 SamplerCore::offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, in… in offsetSample() argument
531 Short4 offset = *Pointer<Short4>(mipmap + halfOffset); in offsetSample()
746 Pointer<Byte> mipmap; in sampleQuad2D() local
749 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sampleQuad2D()
753 Short4 uuuu = texelFetch ? Short4(As<Int4>(u)) : address(u, state.addressingModeU, mipmap); in sampleQuad2D()
754 Short4 vvvv = texelFetch ? Short4(As<Int4>(v)) : address(v, state.addressingModeV, mipmap); in sampleQuad2D()
[all …]
DSamplerCore.hpp55 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…
/external/deqp/modules/gles2/functional/
Des2fTextureSizeTests.cpp395 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()
/external/deqp/modules/gles3/functional/
Des3fTextureSizeTests.cpp396 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()
/external/deqp/doc/testspecs/VK/
Dsparse_resources.txt13 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 …]
/external/skqp/src/core/
DSkMipMap.cpp402 SkMipMap* mipmap; in Build() local
408 mipmap = new SkMipMap(storageSize, dm); in Build()
410 mipmap = new SkMipMap(sk_malloc_throw(storageSize), storageSize); in Build()
414 mipmap->fCS = sk_ref_sp(src.info().colorSpace()); in Build()
415 mipmap->fCount = countLevels; in Build()
416 mipmap->fLevels = (Level*)mipmap->writable_data(); in Build()
417 SkASSERT(mipmap->fLevels); in Build()
419 Level* levels = mipmap->fLevels; in Build()
488 SkASSERT(mipmap->fLevels); in Build()
489 return mipmap; in Build()
/external/skia/src/core/
DSkMipMap.cpp403 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()
/external/deqp/android/cts/nyc/src/
Dvk-master.txt32720 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.equal_min_3_max_3
32721 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_min_1
32722 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_max_4
32723 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_1
32724 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_5
32725 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_1
32726 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_7
32727 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.equal_min_3_max_3
32728 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.select_min_1
32729 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.select_max_4
[all …]
/external/deqp/external/vulkancts/mustpass/1.0.0/src/
Dmaster.txt35185 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.equal_min_3_max_3
35186 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_min_1
35187 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_max_4
35188 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_1
35189 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_5
35190 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_1
35191 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_7
35192 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.equal_min_3_max_3
35193 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.select_min_1
35194 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.select_max_4
[all …]
/external/deqp/external/vulkancts/mustpass/1.0.0/
Dvk-default.txt35185 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.equal_min_3_max_3
35186 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_min_1
35187 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_max_4
35188 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_1
35189 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_5
35190 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_1
35191 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_7
35192 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.equal_min_3_max_3
35193 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.select_min_1
35194 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.select_max_4
[all …]
/external/deqp/android/cts/nyc/
Dvk-master.txt35192 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.equal_min_3_max_3
35193 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_min_1
35194 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_max_4
35195 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_1
35196 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_5
35197 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_1
35198 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_7
35199 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.equal_min_3_max_3
35200 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.select_min_1
35201 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.linear.lod.select_max_4
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.texture.mipmap.txt22 + dEQP-GLES3.functional.texture.mipmap.*
25 + All mipmap filtering modes
42 Each texture level is filled with single color. However, each mipmap level

123456