/external/deqp/framework/common/ |
H A D | tcuTexVerifierUtil.cpp | 61 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) argument 77 if (x >= ex) faces[numFaces++] = CUBEFACE_POSITIVE_X; 78 if (x <= ex) faces[numFaces++] = CUBEFACE_NEGATIVE_X; 82 if (y >= ey) faces[numFaces++] = CUBEFACE_POSITIVE_Y; 83 if (y <= ey) faces[numFaces++] = CUBEFACE_NEGATIVE_Y; 87 if (z >= ez) faces[numFaces++] = CUBEFACE_POSITIVE_Z; 88 if (z <= ez) faces[numFaces++] = CUBEFACE_NEGATIVE_Z; 92 // One or more components are equal (or within error bounds). Allow all faces where major axis is not zero. 95 faces[numFaces++] = CUBEFACE_NEGATIVE_X; 96 faces[numFace [all...] |
H A D | tcuTexVerifierUtil.hpp | 97 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces);
|
H A D | tcuTexLookupVerifier.cpp | 1443 static bool isSeamlessLinearSampleResultValid (const ConstPixelBufferAccess (&faces)[CUBEFACE_LAST], 1449 const int size = faces[coords.face].getWidth(); 1460 const TextureChannelClass texClass = getTextureChannelClass(faces[coords.face].getFormat().type); 1490 quad.p00 = lookup<float>(faces[c00.face], sampler, c00.s, c00.t, 0); 1491 quad.p10 = lookup<float>(faces[c10.face], sampler, c10.s, c10.t, 0); 1492 quad.p01 = lookup<float>(faces[c01.face], sampler, c01.s, c01.t, 0); 1493 quad.p11 = lookup<float>(faces[c11.face], sampler, c11.s, c11.t, 0); 1687 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 1688 getCubeLevelFaces(texture, 0, faces); 1690 if (isCubeLevelSampleResultValid(faces, sample 1736 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 1745 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2039 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2088 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2097 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2492 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local [all...] |
H A D | tcuTexCompareVerifier.cpp | 142 // lookup depth value at a point that is guaranteed to not sample border such as cube map faces. 1025 ConstPixelBufferAccess faces[CUBEFACE_LAST]; 1027 faces[face] = texture.getLevelFace(levelNdx, CubeFace(face)); 1050 depths[0] = lookupDepthNoBorder(faces[c00.face], sampler, c00.s, c00.t); 1051 depths[1] = lookupDepthNoBorder(faces[c10.face], sampler, c10.s, c10.t); 1052 depths[2] = lookupDepthNoBorder(faces[c01.face], sampler, c01.s, c01.t); 1053 depths[3] = lookupDepthNoBorder(faces[c11.face], sampler, c11.s, c11.t); 1338 ConstPixelBufferAccess faces[CUBEFACE_LAST]; 1340 faces[face] = texture.getLevelFace(0, CubeFace(face)); 1365 const float depth = lookupDepthNoBorder(faces[ [all...] |
H A D | tcuTexture.cpp | 2591 // Find correct faces and coordinates for out-of-bounds sample coordinates. 2663 static Vec4 sampleLevelArrayCubeSeamless (const ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float s, float t, int depth, float lod) 2671 return sampleCubeSeamlessNearest(faces[face][0], sampler, s, t, depth); 2677 faceAccesses[i] = faces[i][0]; 2690 return sampleCubeSeamlessNearest(faces[face][level], sampler, s, t, depth); 2697 faceAccesses[i] = faces[i][level]; 2716 t0 = sampleCubeSeamlessNearest(faces[face][level0], sampler, s, t, depth); 2717 t1 = sampleCubeSeamlessNearest(faces[face][level1], sampler, s, t, depth); 2727 faceAccesses0[i] = faces[i][level0]; 2728 faceAccesses1[i] = faces[ [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_mipmap_tree.h | 48 radeon_mipmap_image faces[6]; member in struct:_radeon_mipmap_level 70 GLuint faces; /** # of faces: 6 for cubemaps, 1 otherwise */ member in struct:_radeon_mipmap_tree
|
H A D | radeon_mipmap_tree.c | 139 lvl->faces[face].offset = *curOffset; 146 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); 156 for(face = 0; face < mt->faces; face++) { 191 mt->faces = _mesa_num_tex_faces(target); 384 return (mt->levels[level].faces[face].offset); 386 return mt->levels[level].faces[0].offset; 410 dest = mt->bo->ptr + dstlvl->faces[face].offset; 428 image->mt->bo->ptr + srclvl->faces[face].offset, 541 const unsigned faces = _mesa_num_tex_faces(texObj->Target); local 545 for (face = 0; face < faces; [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_mipmap_tree.h | 48 radeon_mipmap_image faces[6]; member in struct:_radeon_mipmap_level 70 GLuint faces; /** # of faces: 6 for cubemaps, 1 otherwise */ member in struct:_radeon_mipmap_tree
|
H A D | radeon_mipmap_tree.c | 139 lvl->faces[face].offset = *curOffset; 146 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); 156 for(face = 0; face < mt->faces; face++) { 191 mt->faces = _mesa_num_tex_faces(target); 384 return (mt->levels[level].faces[face].offset); 386 return mt->levels[level].faces[0].offset; 410 dest = mt->bo->ptr + dstlvl->faces[face].offset; 428 image->mt->bo->ptr + srclvl->faces[face].offset, 541 const unsigned faces = _mesa_num_tex_faces(texObj->Target); local 545 for (face = 0; face < faces; [all...] |
H A D | radeon_state_init.c | 449 OUT_BATCH_RELOC(lvl->faces[j].offset, t->mt->bo, lvl->faces[j].offset, 487 OUT_BATCH_RELOC(lvl->faces[5].offset, t->mt->bo, lvl->faces[5].offset,
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fFboStateQueryTests.cpp | 187 const GLenum faces[] = local 194 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) 195 glTexImage2D(faces[ndx], 0, GL_RGB, 64, 64, 0, GL_RGB, GL_UNSIGNED_BYTE, DE_NULL); 198 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) 200 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, faces[ndx], textureID, 0); 201 checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]);
|
/external/skia/tests/ |
H A D | FontObjTest.cpp | 45 static const char* const faces[] = { local 80 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { 81 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle()));
|
H A D | FontHostTest.cpp | 245 static const char* const faces[] = { local 280 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { 281 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); 302 // faces[i], SkScalarToFloat(width1), SkScalarToFloat(width2));
|
/external/vulkan-validation-layers/demos/smoke/ |
H A D | Meshes.cpp | 97 void build(const std::vector<std::array<float, 6>> &vertices, const std::vector<std::array<int, 3>> &faces) argument 106 faces_.reserve(faces.size()); 107 for (const auto &f : faces) 176 const std::vector<std::array<int, 3>> faces = { local 185 mesh.build(vertices, faces); 259 std::vector<Mesh::Face> faces; local 260 faces.reserve(final_face_count); 277 faces.emplace_back(Mesh::Face{ v0, v01, v20 }); 278 faces.emplace_back(Mesh::Face{ v1, v12, v01 }); 279 faces [all...] |
/external/freetype/src/cache/ |
H A D | ftcmanag.h | 104 FTC_MruListRec faces; member in struct:FTC_ManagerRec_
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_texture.c | 265 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 268 for (face = 0; face < faces; face++) { 325 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 328 for (face = 0; face < faces; face++) {
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tex_sample.h | 75 const uint *faces; member in struct:filter_args
|
H A D | sp_tex_sample.c | 915 * per-pixel faces we can actually have multiple corner texels per pixel, 1974 args.face_id = filt_args->faces[j]; 2058 args.face_id = filt_args->faces[j]; 2119 args.face_id = filt_args->faces[j]; 2164 args.face_id = filt_args->faces[j]; 2211 const uint faces[TGSI_QUAD_SIZE], 2292 args.face_id = faces[j]; 2502 args.face_id = filt_args->faces[j]; 2516 s, t, p, filt_args->faces, filt_args->offset, 2570 args.face_id = filt_args->faces[ 2204 img_filter_2d_ewa(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, img_filter_func min_filter, img_filter_func mag_filter, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const uint faces[TGSI_QUAD_SIZE], const int8_t *offset, unsigned level, const float dudx, const float dvdx, const float dudy, const float dvdy, float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument 3101 convert_cube(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const float c0[TGSI_QUAD_SIZE], float ssss[TGSI_QUAD_SIZE], float tttt[TGSI_QUAD_SIZE], float pppp[TGSI_QUAD_SIZE], uint faces[TGSI_QUAD_SIZE]) argument 3604 uint faces[TGSI_QUAD_SIZE]; local [all...] |
/external/opencv/ |
H A D | cvjni.cpp | 455 // Identify all of the faces in the source image and return an array
467 LOGE("Error find faces was not initialized.");
566 LOGE("Error find faces was not initialized.");
629 bool highlightFaces(IplImage *sourceImage, CvSeq *faces, double scale = 1.0) {
argument 630 if (faces == 0 || faces->total <= 0) {
631 LOGV("No faces were highlighted!");
637 for (int i = 0; i < faces->total; i++) {
638 face = (CvRect*)cvGetSeqElem(faces, i);
646 // Highlight the faces tha [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_cmd.c | 69 id->face = s->real_layer; /* faces have the same order */ 221 * the FIFO, and returns pointers to the command's faces and 225 * The faces and mipSizes arrays are initialized to zero. 234 * - Surface may have multiple faces (for cube maps) 262 * Returns pointers to arrays allocated in the FIFO for 'faces' 276 SVGA3dSurfaceFace **faces, // OUT 293 *faces = &cmd->face[0]; 296 memset(*faces, 0, sizeof **faces * SVGA3D_MAX_SURFACE_FACES); 328 SVGA3dSurfaceFace *faces; local 272 SVGA3D_BeginDefineSurface(struct svga_winsys_context *swc, struct svga_winsys_surface *sid, SVGA3dSurfaceFlags flags, SVGA3dSurfaceFormat format, SVGA3dSurfaceFace **faces, SVGA3dSize **mipSizes, uint32 numMipSizes) argument [all...] |
H A D | svga_cmd.h | 104 SVGA3dSurfaceFace **faces,
|
/external/deqp/modules/egl/ |
H A D | teglImageUtil.cpp | 304 // Specify mipmap level 0 for all faces 305 static const GLenum faces[] = local 315 for (int faceNdx = 0; faceNdx < DE_LENGTH_OF_ARRAY(faces); faceNdx++) 316 GLU_CHECK_GLW_CALL(gl, texImage2D(faces[faceNdx], 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, 0, m_format, m_type, DE_NULL));
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktSampleVerifier.cpp | 176 int faces[3] = {arrayFace, 0, 0}; local 182 faces[1], 183 faces[2], 194 int cornerLayer = faces[ndx] + arrayLayer * 6;
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fFboStateQueryTests.cpp | 337 const GLenum faces[] = local 344 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) 346 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, faces[ndx], textureID, 0); 347 checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]);
|
/external/deqp/modules/gles2/stress/ |
H A D | es2sSpecialFloatTests.cpp | 1086 static const GLenum faces[] = 1100 for (int faceNdx = 0; faceNdx < DE_LENGTH_OF_ARRAY(faces); ++faceNdx) 1101 gl.texImage2D(faces[faceNdx], 0, GL_RGBA, TEST_TEXTURE_CUBE_SIZE, TEST_TEXTURE_CUBE_SIZE, 0, GL_RGBA, GL_UNSIGNED_BYTE, &texData[0]);
|