/external/deqp/framework/common/ |
D | tcuTexVerifierUtil.cpp | 61 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 …]
|
D | tcuTexLookupVerifier.cpp | 1443 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 …]
|
D | tcuTexVerifierUtil.hpp | 97 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces…
|
/external/deqp/modules/gles2/functional/ |
D | es2fFboStateQueryTests.cpp | 187 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/ |
D | Meshes.cpp | 90 …(const std::vector<std::array<float, 6>> &vertices, const std::vector<std::array<int, 3>> &faces) { in build() argument 98 faces_.reserve(faces.size()); in build() 99 for (const auto &f : faces) faces_.emplace_back(Face{f[0], f[1], f[2]}); in build() 150 const std::vector<std::array<int, 3>> faces = { in BuildPyramid() local 154 mesh.build(vertices, faces); in BuildPyramid() 248 std::vector<Mesh::Face> faces; in tessellate() local 249 faces.reserve(final_face_count); in tessellate() 266 faces.emplace_back(Mesh::Face{v0, v01, v20}); in tessellate() 267 faces.emplace_back(Mesh::Face{v1, v12, v01}); in tessellate() 268 faces.emplace_back(Mesh::Face{v2, v20, v12}); in tessellate() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 139 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()
|
D | radeon_mipmap_tree.h | 48 radeon_mipmap_image faces[6]; member 70 GLuint faces; /** # of faces: 6 for cubemaps, 1 otherwise */ member
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 139 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()
|
D | radeon_mipmap_tree.h | 48 radeon_mipmap_image faces[6]; member 70 GLuint faces; /** # of faces: 6 for cubemaps, 1 otherwise */ member
|
/external/skqp/tests/ |
D | FontObjTest.cpp | 45 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()
|
D | FontHostTest.cpp | 245 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/skia/tests/ |
D | FontObjTest.cpp | 45 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()
|
D | FontHostTest.cpp | 245 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/freetype/src/cache/ |
D | ftcmanag.c | 329 FTC_MRULIST_LOOKUP_CMP( &manager->faces, face_id, ftc_face_node_compare, in FTC_Manager_LookupFace() 333 error = FTC_MruList_Lookup( &manager->faces, face_id, &mrunode ); in FTC_Manager_LookupFace() 395 FTC_MruList_Init( &manager->faces, in FTC_Manager_New() 445 FTC_MruList_Done( &manager->faces ); in FTC_Manager_Done() 463 FTC_MruList_Reset( &manager->faces ); in FTC_Manager_Reset() 682 FTC_MruList_RemoveSelection( &manager->faces, in FTC_Manager_RemoveFaceID()
|
D | ftcmanag.h | 104 FTC_MruListRec faces; member
|
/external/libxcam/modules/ocl/ |
D | cl_wire_frame_handler.cpp | 65 _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/ |
D | es31cTextureGatherTests.cpp | 586 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/ |
D | s_texture.c | 265 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/ |
D | svga_cmd.c | 276 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/deqp/external/openglcts/modules/gl/ |
D | gl4cTextureGatherTests.cpp | 737 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/ |
D | xcam_smart_result.h | 51 XCamFaceInfo faces[0]; member
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 1974 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 …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifier.cpp | 176 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/ |
D | Makefile.am | 78 usermanual-fonts-and-faces.xml \
|
/external/deqp/modules/egl/ |
D | teglImageUtil.cpp | 305 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()
|