/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 2471 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...] |
/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 | 140 lvl->faces[face].offset = *curOffset; 147 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); 166 for(face = 0; face < mt->faces; face++) { 201 mt->faces = _mesa_num_tex_faces(target); 394 return (mt->levels[level].faces[face].offset); 396 return mt->levels[level].faces[0].offset; 420 dest = mt->bo->ptr + dstlvl->faces[face].offset; 438 image->mt->bo->ptr + srclvl->faces[face].offset, 572 const unsigned faces = _mesa_num_tex_faces(texObj->Target); local 576 for (face = 0; face < faces; [all...] |
H A D | radeon_texture.c | 171 image->base.Map = image->mt->bo->ptr + lvl->faces[image->base.Base.Face].offset; 255 base = mt->bo->ptr + lvl->faces[image->base.Base.Face].offset; 729 image->base.Map = mt->bo->ptr + lvl->faces[face].offset;
|
/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 | 140 lvl->faces[face].offset = *curOffset; 147 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); 166 for(face = 0; face < mt->faces; face++) { 201 mt->faces = _mesa_num_tex_faces(target); 394 return (mt->levels[level].faces[face].offset); 396 return mt->levels[level].faces[0].offset; 420 dest = mt->bo->ptr + dstlvl->faces[face].offset; 438 image->mt->bo->ptr + srclvl->faces[face].offset, 572 const unsigned faces = _mesa_num_tex_faces(texObj->Target); local 576 for (face = 0; face < faces; [all...] |
H A D | radeon_texture.c | 171 image->base.Map = image->mt->bo->ptr + lvl->faces[image->base.Base.Face].offset; 255 base = mt->bo->ptr + lvl->faces[image->base.Base.Face].offset; 729 image->base.Map = mt->bo->ptr + lvl->faces[face].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 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(faces[i], SkTypeface::kNormal));
|
H A D | FontHostTest.cpp | 244 static const char* const faces[] = { local 279 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { 280 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(faces[i], SkTypeface::kNormal)); 302 // faces[i], SkScalarToFloat(width1), SkScalarToFloat(width2));
|
/external/vulkan-validation-layers/demos/smoke/ |
H A D | Meshes.cpp | 103 void build(const std::vector<std::array<float, 6>> &vertices, const std::vector<std::array<int, 3>> &faces) argument 112 faces_.reserve(faces.size()); 113 for (const auto &f : faces) 182 const std::vector<std::array<int, 3>> faces = { local 191 mesh.build(vertices, faces); 265 std::vector<Mesh::Face> faces; local 266 faces.reserve(final_face_count); 283 faces.emplace_back(Mesh::Face{ v0, v01, v20 }); 284 faces.emplace_back(Mesh::Face{ v1, v12, v01 }); 285 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 | 250 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 253 for (face = 0; face < faces; face++) { 271 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 274 for (face = 0; face < faces; face++) {
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tex_sample.h | 111 unsigned faces[TGSI_QUAD_SIZE]; member in struct:sp_sampler_variant
|
H A D | sp_tex_sample.c | 1477 samp->mag_img_filter(tgsi_sampler, s[j], t[j], p[j], samp->view->u.tex.first_level, samp->faces[j], tgsi_sampler_lod_bias, &rgba[0][j]); 1480 samp->min_img_filter(tgsi_sampler, s[j], t[j], p[j], texture->last_level, samp->faces[j], tgsi_sampler_lod_bias, &rgba[0][j]); 1487 samp->min_img_filter(tgsi_sampler, s[j], t[j], p[j], level0, samp->faces[j], tgsi_sampler_lod_bias, &rgbax[0][0]); 1488 samp->min_img_filter(tgsi_sampler, s[j], t[j], p[j], level0+1, samp->faces[j], tgsi_sampler_lod_bias, &rgbax[0][1]); 1532 samp->mag_img_filter(tgsi_sampler, s[j], t[j], p[j], samp->view->u.tex.first_level, samp->faces[j], tgsi_sampler_lod_bias, &rgba[0][j]); 1536 samp->min_img_filter(tgsi_sampler, s[j], t[j], p[j], level, samp->faces[j], tgsi_sampler_lod_bias, &rgba[0][j]); 1570 samp->mag_img_filter(tgsi_sampler, s[j], t[j], p[j], samp->view->u.tex.first_level, samp->faces[j], tgsi_sampler_lod_bias, &rgba[0][j]); 1573 samp->min_img_filter(tgsi_sampler, s[j], t[j], p[j], samp->view->u.tex.first_level, samp->faces[j], tgsi_sampler_lod_bias, &rgba[0][j]); 1592 samp->mag_img_filter(tgsi_sampler, s[j], t[j], p[j], samp->view->u.tex.first_level, samp->faces[j], tgsi_sampler_lod_bias, &rgba[0][j]); 1745 samp->min_img_filter(tgsi_sampler, s_buffer[jj], t_buffer[jj], p[jj], level, samp->faces[ [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_cmd.c | 66 id->face = s->real_face; /* faces have the same order */ 216 * the FIFO, and returns pointers to the command's faces and 220 * The faces and mipSizes arrays are initialized to zero. 229 * - Surface may have multiple faces (for cube maps) 257 * Returns pointers to arrays allocated in the FIFO for 'faces' 271 SVGA3dSurfaceFace **faces, // OUT 287 *faces = &cmd->face[0]; 290 memset(*faces, 0, sizeof **faces * SVGA3D_MAX_SURFACE_FACES); 322 SVGA3dSurfaceFace *faces; local 267 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 | 82 SVGA3dSurfaceFace **faces,
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/ |
H A D | OBJLoader.java | 71 protected final ArrayList<Face> faces = new ArrayList<Face>(); field in class:OBJLoader 152 // }else if (faces.size() > 0){ 154 // Geometry geom = createGeometry(faces, null); 166 faces.clear(); 282 faces.add(f); // faces that belong to the default material 368 // use material from MTL lib for the following faces 392 // Create mesh from the faces 580 }else if (faces.size() > 0){ 582 Geometry geom = createGeometry(faces, nul [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/skia/third_party/ktx/ |
H A D | ktx.cpp | 302 int faces = SkMax32(fHeader.fNumberOfFaces, 1); local 303 SkASSERT(faces == 1); 324 for (int face = 0; face < faces; ++face) {
|
/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/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]);
|