Home
last modified time | relevance | path

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

1234

/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.cpp1519 static bool isSeamlessLinearSampleResultValid (const ConstPixelBufferAccess (&faces)[CUBEFACE_LAST], in isSeamlessLinearSampleResultValid()
1525 const int size = faces[coords.face].getWidth(); in isSeamlessLinearSampleResultValid()
1536 const TextureChannelClass texClass = getTextureChannelClass(faces[coords.face].getFormat().type); in isSeamlessLinearSampleResultValid()
1567 quad.p00 = lookup<float>(faces[c00.face], sampler, c00.s, c00.t, 0); in isSeamlessLinearSampleResultValid()
1568 quad.p10 = lookup<float>(faces[c10.face], sampler, c10.s, c10.t, 0); in isSeamlessLinearSampleResultValid()
1569 quad.p01 = lookup<float>(faces[c01.face], sampler, c01.s, c01.t, 0); in isSeamlessLinearSampleResultValid()
1570 quad.p11 = lookup<float>(faces[c11.face], sampler, c11.s, c11.t, 0); in isSeamlessLinearSampleResultValid()
1773 ConstPixelBufferAccess faces[CUBEFACE_LAST]; in isLookupResultValid() local
1774 getCubeLevelFaces(texture, 0, faces); in isLookupResultValid()
1776 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/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/freetype/src/cache/
Dftcmanag.c325 FTC_MRULIST_LOOKUP_CMP( &manager->faces, face_id, ftc_face_node_compare, in FTC_Manager_LookupFace()
329 error = FTC_MruList_Lookup( &manager->faces, face_id, &mrunode ); in FTC_Manager_LookupFace()
391 FTC_MruList_Init( &manager->faces, in FTC_Manager_New()
441 FTC_MruList_Done( &manager->faces ); in FTC_Manager_Done()
459 FTC_MruList_Reset( &manager->faces ); in FTC_Manager_Reset()
678 FTC_MruList_RemoveSelection( &manager->faces, in FTC_Manager_RemoveFaceID()
Dftcmanag.h104 FTC_MruListRec faces; member
/external/libxcam/modules/ocl/
Dcl_wire_frame_handler.cpp65 _wire_frames [i].pos_x = (uint32_t)(config->faces [i].pos_x / scaler_factor / 2) * 2; in set_wire_frame_config()
66 _wire_frames [i].pos_y = (uint32_t)(config->faces [i].pos_y / scaler_factor / 2) * 2; in set_wire_frame_config()
67 _wire_frames [i].width = (uint32_t)(config->faces [i].width / scaler_factor / 2) * 2; in set_wire_frame_config()
68 _wire_frames [i].height = (uint32_t)(config->faces [i].height / scaler_factor / 2) * 2; in set_wire_frame_config()
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureGatherTests.cpp586 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, in CreateTextureCubeInt() local
596 glTexImage2D(faces[j], i, internal_format, size, size, 0, GL_RGBA_INTEGER, tex_type, 0); in CreateTextureCubeInt()
602 glTexSubImage2D(faces[j], 0, 0, 0, csize, csize, GL_RGBA_INTEGER, tex_type, &pixels[0]); in CreateTextureCubeInt()
609 glTexSubImage2D(faces[j], 0, 22, 25, 2, 2, GL_RGBA_INTEGER, tex_type, data); in CreateTextureCubeInt()
610 glTexSubImage2D(faces[j], 0, 16, 10, 1, 1, GL_RGBA_INTEGER, tex_type, data + 0); in CreateTextureCubeInt()
611 glTexSubImage2D(faces[j], 0, 11, 2, 1, 1, GL_RGBA_INTEGER, tex_type, data + 1); in CreateTextureCubeInt()
612 glTexSubImage2D(faces[j], 0, 24, 13, 1, 1, GL_RGBA_INTEGER, tex_type, data + 2); in CreateTextureCubeInt()
613 glTexSubImage2D(faces[j], 0, 9, 14, 1, 1, GL_RGBA_INTEGER, tex_type, data + 3); in CreateTextureCubeInt()
630 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, in CreateTextureCube() local
641 glTexImage2D(faces[j], i, internal_format, size, size, 0, format, GL_FLOAT, &pixels[0]); in CreateTextureCube()
[all …]
/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/skia/tests/
DFontHostTest.cpp243 static const char* const faces[] = { in test_advances() local
279 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { in test_advances()
280 font.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_advances()
/external/skqp/tests/
DFontHostTest.cpp243 static const char* const faces[] = { in test_advances() local
279 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { in test_advances()
280 font.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_advances()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.c278 SVGA3dSurfaceFace **faces, // OUT in SVGA3D_BeginDefineSurface() argument
295 *faces = &cmd->face[0]; in SVGA3D_BeginDefineSurface()
298 memset(*faces, 0, sizeof **faces * SVGA3D_MAX_SURFACE_FACES); in SVGA3D_BeginDefineSurface()
330 SVGA3dSurfaceFace *faces; in SVGA3D_DefineSurface2D() local
334 sid, 0, format, &faces, &mipSizes, 1); in SVGA3D_DefineSurface2D()
338 faces[0].numMipLevels = 1; in SVGA3D_DefineSurface2D()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureGatherTests.cpp737 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, in CreateTextureCubeInt() local
747 glTexImage2D(faces[j], i, internal_format, size, size, 0, GL_RGBA_INTEGER, GL_INT, 0); in CreateTextureCubeInt()
753 glTexSubImage2D(faces[j], 0, 0, 0, csize, csize, GL_RGBA_INTEGER, GL_INT, &pixels[0]); in CreateTextureCubeInt()
760 glTexSubImage2D(faces[j], 0, 22, 25, 2, 2, GL_RGBA_INTEGER, GL_INT, data); in CreateTextureCubeInt()
761 glTexSubImage2D(faces[j], 0, 16, 10, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 0); in CreateTextureCubeInt()
762 glTexSubImage2D(faces[j], 0, 11, 2, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 1); in CreateTextureCubeInt()
763 glTexSubImage2D(faces[j], 0, 24, 13, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 2); in CreateTextureCubeInt()
764 glTexSubImage2D(faces[j], 0, 9, 14, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 3); in CreateTextureCubeInt()
781 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, in CreateTextureCube() local
791 glTexImage2D(faces[j], i, internal_format, size, size, 0, format, GL_FLOAT, 0); in CreateTextureCube()
[all …]
/external/libxcam/xcore/base/
Dxcam_smart_result.h51 XCamFaceInfo faces[0]; member
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c1957 args.face_id = filt_args->faces[j]; in mip_filter_linear()
2041 args.face_id = filt_args->faces[j]; in mip_filter_nearest()
2102 args.face_id = filt_args->faces[j]; in mip_filter_none()
2147 args.face_id = filt_args->faces[j]; in mip_filter_none_no_filter_select()
2194 const uint faces[TGSI_QUAD_SIZE], in img_filter_2d_ewa()
2275 args.face_id = faces[j]; in img_filter_2d_ewa()
2485 args.face_id = filt_args->faces[j]; in mip_filter_linear_aniso()
2499 s, t, p, filt_args->faces, filt_args->offset, in mip_filter_linear_aniso()
2553 args.face_id = filt_args->faces[j]; in mip_filter_linear_2d_linear_repeat_POT()
3093 uint faces[TGSI_QUAD_SIZE]) in convert_cube()
[all …]
Dsp_tex_sample.h75 const uint *faces; member
/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/harfbuzz_ng/docs/
DMakefile.am80 usermanual-fonts-and-faces.xml \
/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/mesa3d/src/gallium/docs/source/
Dglossary.rst27 3D textures have zslices, cube maps have faces, 1D and 2D array textures

1234