Home
last modified time | relevance | path

Searched refs:faces (Results 1 – 25 of 58) sorted by relevance

123

/external/deqp/framework/common/
DtcuTexVerifierUtil.cpp61 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) in getPossibleCubeFaces() argument
77 if (x >= ex) faces[numFaces++] = CUBEFACE_POSITIVE_X; in getPossibleCubeFaces()
78 if (x <= ex) faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces()
82 if (y >= ey) faces[numFaces++] = CUBEFACE_POSITIVE_Y; in getPossibleCubeFaces()
83 if (y <= ey) faces[numFaces++] = CUBEFACE_NEGATIVE_Y; in getPossibleCubeFaces()
87 if (z >= ez) faces[numFaces++] = CUBEFACE_POSITIVE_Z; in getPossibleCubeFaces()
88 if (z <= ez) faces[numFaces++] = CUBEFACE_NEGATIVE_Z; in getPossibleCubeFaces()
95 faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces()
96 faces[numFaces++] = CUBEFACE_POSITIVE_X; in getPossibleCubeFaces()
101 faces[numFaces++] = CUBEFACE_NEGATIVE_Y; in getPossibleCubeFaces()
[all …]
DtcuTexLookupVerifier.cpp1443 static bool isSeamlessLinearSampleResultValid (const ConstPixelBufferAccess (&faces)[CUBEFACE_LAST], in isSeamlessLinearSampleResultValid()
1449 const int size = faces[coords.face].getWidth(); in isSeamlessLinearSampleResultValid()
1460 const TextureChannelClass texClass = getTextureChannelClass(faces[coords.face].getFormat().type); in isSeamlessLinearSampleResultValid()
1490 quad.p00 = lookup<float>(faces[c00.face], sampler, c00.s, c00.t, 0); in isSeamlessLinearSampleResultValid()
1491 quad.p10 = lookup<float>(faces[c10.face], sampler, c10.s, c10.t, 0); in isSeamlessLinearSampleResultValid()
1492 quad.p01 = lookup<float>(faces[c01.face], sampler, c01.s, c01.t, 0); in isSeamlessLinearSampleResultValid()
1493 quad.p11 = lookup<float>(faces[c11.face], sampler, c11.s, c11.t, 0); in isSeamlessLinearSampleResultValid()
1687 ConstPixelBufferAccess faces[CUBEFACE_LAST]; in isLookupResultValid() local
1688 getCubeLevelFaces(texture, 0, faces); in isLookupResultValid()
1690 if (isCubeLevelSampleResultValid(faces, sampler, sampler.magFilter, prec, faceCoords, result)) in isLookupResultValid()
[all …]
DtcuTexVerifierUtil.hpp97 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces…
DtcuTexCompareVerifier.cpp1025 ConstPixelBufferAccess faces[CUBEFACE_LAST]; in isSeamlessLinearCompareResultValid() local
1027 faces[face] = texture.getLevelFace(levelNdx, CubeFace(face)); in isSeamlessLinearCompareResultValid()
1050 depths[0] = lookupDepthNoBorder(faces[c00.face], sampler, c00.s, c00.t); in isSeamlessLinearCompareResultValid()
1051 depths[1] = lookupDepthNoBorder(faces[c10.face], sampler, c10.s, c10.t); in isSeamlessLinearCompareResultValid()
1052 depths[2] = lookupDepthNoBorder(faces[c01.face], sampler, c01.s, c01.t); in isSeamlessLinearCompareResultValid()
1053 depths[3] = lookupDepthNoBorder(faces[c11.face], sampler, c11.s, c11.t); in isSeamlessLinearCompareResultValid()
1338 ConstPixelBufferAccess faces[CUBEFACE_LAST]; in isGatherCompareResultValid() local
1340 faces[face] = texture.getLevelFace(0, CubeFace(face)); in isGatherCompareResultValid()
1365 const float depth = lookupDepthNoBorder(faces[c.face], sampler, c.s, c.t); in isGatherCompareResultValid()
/external/deqp/modules/gles2/functional/
Des2fFboStateQueryTests.cpp187 const GLenum faces[] = in test() local
194 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) in test()
195 glTexImage2D(faces[ndx], 0, GL_RGB, 64, 64, 0, GL_RGB, GL_UNSIGNED_BYTE, DE_NULL); in test()
198 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) in test()
200 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, faces[ndx], textureID, 0); in test()
201 …ram(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]); in test()
/external/vulkan-validation-layers/demos/smoke/
DMeshes.cpp97 …ld(const std::vector<std::array<float, 6>> &vertices, const std::vector<std::array<int, 3>> &faces) in build() argument
106 faces_.reserve(faces.size()); in build()
107 for (const auto &f : faces) in build()
176 const std::vector<std::array<int, 3>> faces = { in BuildPyramid() local
185 mesh.build(vertices, faces); in BuildPyramid()
259 std::vector<Mesh::Face> faces; in tessellate() local
260 faces.reserve(final_face_count); in tessellate()
277 faces.emplace_back(Mesh::Face{ v0, v01, v20 }); in tessellate()
278 faces.emplace_back(Mesh::Face{ v1, v12, v01 }); in tessellate()
279 faces.emplace_back(Mesh::Face{ v2, v20, v12 }); in tessellate()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c139 lvl->faces[face].offset = *curOffset; in compute_tex_image_offset()
146 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); in compute_tex_image_offset()
156 for(face = 0; face < mt->faces; face++) { in calculate_miptree_layout()
191 mt->faces = _mesa_num_tex_faces(target); in radeon_miptree_create()
384 return (mt->levels[level].faces[face].offset); in radeon_miptree_image_offset()
386 return mt->levels[level].faces[0].offset; in radeon_miptree_image_offset()
410 dest = mt->bo->ptr + dstlvl->faces[face].offset; in migrate_image_to_miptree()
428 image->mt->bo->ptr + srclvl->faces[face].offset, in migrate_image_to_miptree()
541 const unsigned faces = _mesa_num_tex_faces(texObj->Target); in radeon_validate_texture_miptree() local
545 for (face = 0; face < faces; ++face) { in radeon_validate_texture_miptree()
Dradeon_mipmap_tree.h48 radeon_mipmap_image faces[6]; member
70 GLuint faces; /** # of faces: 6 for cubemaps, 1 otherwise */ member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c139 lvl->faces[face].offset = *curOffset; in compute_tex_image_offset()
146 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); in compute_tex_image_offset()
156 for(face = 0; face < mt->faces; face++) { in calculate_miptree_layout()
191 mt->faces = _mesa_num_tex_faces(target); in radeon_miptree_create()
384 return (mt->levels[level].faces[face].offset); in radeon_miptree_image_offset()
386 return mt->levels[level].faces[0].offset; in radeon_miptree_image_offset()
410 dest = mt->bo->ptr + dstlvl->faces[face].offset; in migrate_image_to_miptree()
428 image->mt->bo->ptr + srclvl->faces[face].offset, in migrate_image_to_miptree()
541 const unsigned faces = _mesa_num_tex_faces(texObj->Target); in radeon_validate_texture_miptree() local
545 for (face = 0; face < faces; ++face) { in radeon_validate_texture_miptree()
Dradeon_mipmap_tree.h48 radeon_mipmap_image faces[6]; member
70 GLuint faces; /** # of faces: 6 for cubemaps, 1 otherwise */ member
/external/skia/tests/
DFontObjTest.cpp45 static const char* const faces[] = { in test_cachedfont() local
80 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { in test_cachedfont()
81 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_cachedfont()
DFontHostTest.cpp245 static const char* const faces[] = { in test_advances() local
280 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { in test_advances()
281 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_advances()
/external/mesa3d/src/mesa/swrast/
Ds_texture.c265 const GLuint faces = _mesa_num_tex_faces(texObj->Target); in _swrast_map_texture() local
268 for (face = 0; face < faces; face++) { in _swrast_map_texture()
325 const GLuint faces = _mesa_num_tex_faces(texObj->Target); in _swrast_unmap_texture() local
328 for (face = 0; face < faces; face++) { in _swrast_unmap_texture()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.c276 SVGA3dSurfaceFace **faces, // OUT in SVGA3D_BeginDefineSurface() argument
293 *faces = &cmd->face[0]; in SVGA3D_BeginDefineSurface()
296 memset(*faces, 0, sizeof **faces * SVGA3D_MAX_SURFACE_FACES); in SVGA3D_BeginDefineSurface()
328 SVGA3dSurfaceFace *faces; in SVGA3D_DefineSurface2D() local
332 sid, 0, format, &faces, &mipSizes, 1); in SVGA3D_DefineSurface2D()
336 faces[0].numMipLevels = 1; in SVGA3D_DefineSurface2D()
/external/freetype/src/cache/
Dftcmanag.h104 FTC_MruListRec faces; member
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c1974 args.face_id = filt_args->faces[j]; in mip_filter_linear()
2058 args.face_id = filt_args->faces[j]; in mip_filter_nearest()
2119 args.face_id = filt_args->faces[j]; in mip_filter_none()
2164 args.face_id = filt_args->faces[j]; in mip_filter_none_no_filter_select()
2211 const uint faces[TGSI_QUAD_SIZE], in img_filter_2d_ewa()
2292 args.face_id = faces[j]; in img_filter_2d_ewa()
2502 args.face_id = filt_args->faces[j]; in mip_filter_linear_aniso()
2516 s, t, p, filt_args->faces, filt_args->offset, in mip_filter_linear_aniso()
2570 args.face_id = filt_args->faces[j]; in mip_filter_linear_2d_linear_repeat_POT()
3110 uint faces[TGSI_QUAD_SIZE]) in convert_cube()
[all …]
Dsp_tex_sample.h75 const uint *faces; member
/external/harfbuzz_ng/docs/
DMakefile.am77 usermanual-fonts-and-faces.xml \
/external/mesa3d/src/gallium/docs/source/
Dglossary.rst27 3D textures have zslices, cube maps have faces, 1D and 2D array textures
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.cpp176 int faces[3] = {arrayFace, 0, 0}; in fetchTexel() local
182 faces[1], in fetchTexel()
183 faces[2], in fetchTexel()
194 int cornerLayer = faces[ndx] + arrayLayer * 6; in fetchTexel()
/external/deqp/modules/egl/
DteglImageUtil.cpp305 static const GLenum faces[] = in initTexture() local
315 for (int faceNdx = 0; faceNdx < DE_LENGTH_OF_ARRAY(faces); faceNdx++) in initTexture()
316 …GLU_CHECK_GLW_CALL(gl, texImage2D(faces[faceNdx], 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, … in initTexture()
/external/deqp/doc/testspecs/GLES31/
Dfunctional.texture.cube_map_array.txt46 Specification tests go through all levels, faces, and layers.
/external/deqp/doc/testspecs/GLES3/
Dfunctional.texture.specification.txt46 tested. All texture levels, faces (for cube maps) and slices (for 2D array
/external/deqp/modules/gles3/functional/
Des3fFboStateQueryTests.cpp337 const GLenum faces[] = in test() local
344 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) in test()
346 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, faces[ndx], textureID, 0); in test()
347 …ram(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]); in test()
/external/webrtc/talk/
Dlibjingle_media_unittest.isolate37 'media/testdata/faces.1280x720_P420.yuv',

123