Home
last modified time | relevance | path

Searched refs:faces (Results 1 - 25 of 33) sorted by relevance

12

/third_party/vk-gl-cts/framework/common/
H A DtcuTexVerifierUtil.cpp73 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) in getPossibleCubeFaces() argument
89 if (x >= ex) faces[numFaces++] = CUBEFACE_POSITIVE_X; in getPossibleCubeFaces()
90 if (x <= ex) faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces()
94 if (y >= ey) faces[numFaces++] = CUBEFACE_POSITIVE_Y; in getPossibleCubeFaces()
95 if (y <= ey) faces[numFaces++] = CUBEFACE_NEGATIVE_Y; in getPossibleCubeFaces()
99 if (z >= ez) faces[numFaces++] = CUBEFACE_POSITIVE_Z; in getPossibleCubeFaces()
100 if (z <= ez) faces[numFaces++] = CUBEFACE_NEGATIVE_Z; in getPossibleCubeFaces()
104 // One or more components are equal (or within error bounds). Allow all faces where major axis is not zero. in getPossibleCubeFaces()
107 faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces()
108 faces[numFace in getPossibleCubeFaces()
[all...]
H A DtcuTexLookupVerifier.cpp1519 static bool isSeamlessLinearSampleResultValid (const ConstPixelBufferAccess (&faces)[CUBEFACE_LAST],
1525 const int size = faces[coords.face].getWidth();
1536 const TextureChannelClass texClass = getTextureChannelClass(faces[coords.face].getFormat().type);
1567 quad.p00 = lookup<float>(faces[c00.face], sampler, c00.s, c00.t, 0);
1568 quad.p10 = lookup<float>(faces[c10.face], sampler, c10.s, c10.t, 0);
1569 quad.p01 = lookup<float>(faces[c01.face], sampler, c01.s, c01.t, 0);
1570 quad.p11 = lookup<float>(faces[c11.face], sampler, c11.s, c11.t, 0);
1773 ConstPixelBufferAccess faces[CUBEFACE_LAST]; in isLookupResultValid() local
1774 getCubeLevelFaces(texture, 0, faces); in isLookupResultValid()
1776 if (isCubeLevelSampleResultValid(faces, sample in isLookupResultValid()
1822 ConstPixelBufferAccess faces[CUBEFACE_LAST]; isLookupResultValid() local
1831 ConstPixelBufferAccess faces[CUBEFACE_LAST]; isLookupResultValid() local
2125 ConstPixelBufferAccess faces[CUBEFACE_LAST]; isLookupResultValid() local
2174 ConstPixelBufferAccess faces[CUBEFACE_LAST]; isLookupResultValid() local
2183 ConstPixelBufferAccess faces[CUBEFACE_LAST]; isLookupResultValid() local
2583 ConstPixelBufferAccess faces[CUBEFACE_LAST]; isGatherResultValid() local
[all...]
H A DtcuTexVerifierUtil.hpp116 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces);
H A DtcuTexture.cpp3130 // Find correct faces and coordinates for out-of-bounds sample coordinates.
3202 static Vec4 sampleLevelArrayCubeSeamless (const ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float s, float t, int depth, float lod, ImageViewMinLodParams* minLodParams)
3227 tcu::Vec4 t0 = sampleCubeSeamlessNearest(faces[face][level0], sampler, s, t, depth);
3234 tcu::Vec4 t1 = sampleCubeSeamlessNearest(faces[face][level1], sampler, s, t, depth);
3244 faceAccesses[i] = faces[i][index];
3257 faceAccessesNext[i] = faces[i][index + 1];
3274 return sampleCubeSeamlessNearest(faces[face][level], sampler, s, t, depth);
3281 faceAccesses[i] = faces[i][level];
3303 t0 = sampleCubeSeamlessNearest(faces[face][level0], sampler, s, t, depth);
3304 t1 = sampleCubeSeamlessNearest(faces[fac
[all...]
H A DtcuTexCompareVerifier.cpp134 // lookup depth value at a point that is guaranteed to not sample border such as cube map faces.
1031 ConstPixelBufferAccess faces[CUBEFACE_LAST];
1033 faces[face] = texture.getLevelFace(levelNdx, CubeFace(face));
1056 depths[0] = lookupDepthNoBorder(faces[c00.face], sampler, c00.s, c00.t);
1057 depths[1] = lookupDepthNoBorder(faces[c10.face], sampler, c10.s, c10.t);
1058 depths[2] = lookupDepthNoBorder(faces[c01.face], sampler, c01.s, c01.t);
1059 depths[3] = lookupDepthNoBorder(faces[c11.face], sampler, c11.s, c11.t);
1889 ConstPixelBufferAccess faces[CUBEFACE_LAST];
1891 faces[face] = texture.getLevelFace(0, CubeFace(face));
1916 const float depth = lookupDepthNoBorder(faces[
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A 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 checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]); in test()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A 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[ in CreateTextureCube()
[all...]
/third_party/skia/third_party/externals/freetype/src/cache/
H A Dftcmanag.c324 FTC_MRULIST_LOOKUP_CMP( &manager->faces, face_id, ftc_face_node_compare, in FT_EXPORT_DEF()
328 error = FTC_MruList_Lookup( &manager->faces, face_id, &mrunode ); in FT_EXPORT_DEF()
390 FTC_MruList_Init( &manager->faces, in FT_EXPORT_DEF()
442 /* discard faces and sizes */ in FTC_Manager_Done()
444 FTC_MruList_Done( &manager->faces ); in FTC_Manager_Done()
462 FTC_MruList_Reset( &manager->faces ); in FTC_Manager_Reset()
681 FTC_MruList_RemoveSelection( &manager->faces, in FTC_Manager_RemoveFaceID()
H A Dftcmanag.h103 FTC_MruListRec faces; member
/third_party/skia/tests/
H A DFontHostTest.cpp201 static const char* const faces[] = { in test_advances() local
238 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { in test_advances()
239 font.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_advances()
260 // faces[i], SkScalarToFloat(width1), SkScalarToFloat(width2)); in test_advances()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A 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[ in CreateTextureCube()
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_cmd.c69 id->face = s->real_layer; /* faces have the same order */ in surface_to_surfaceid()
223 * the FIFO, and returns pointers to the command's faces and
227 * The faces and mipSizes arrays are initialized to zero.
236 * - Surface may have multiple faces (for cube maps)
264 * Returns pointers to arrays allocated in the FIFO for 'faces'
278 SVGA3dSurfaceFace **faces, // OUT in SVGA3D_BeginDefineSurface()
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
274 SVGA3D_BeginDefineSurface(struct svga_winsys_context *swc, struct svga_winsys_surface *sid, SVGA3dSurface1Flags flags, SVGA3dSurfaceFormat format, SVGA3dSurfaceFace **faces, SVGA3dSize **mipSizes, uint32 numMipSizes) SVGA3D_BeginDefineSurface() argument
[all...]
/third_party/mesa3d/include/android_stub/system/
H A Dcamera.h128 * faces in the preview frame. The detected faces may be the same as the
295 * The number of detected faces in the frame.
300 * An array of the detected faces. The length is number_of_faces.
302 camera_face_t *faces; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A 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()
/third_party/vk-gl-cts/modules/gles3/functional/
H A 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 checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]); in test()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A 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()
/third_party/vk-gl-cts/modules/egl/
H A DteglImageUtil.cpp306 // Specify mipmap level 0 for all faces in initTexture()
307 static const GLenum faces[] = in initTexture() local
317 for (int faceNdx = 0; faceNdx < DE_LENGTH_OF_ARRAY(faces); faceNdx++) in initTexture()
318 GLU_CHECK_GLW_CALL(gl, texImage2D(faces[faceNdx], 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, 0, m_format, m_type, DE_NULL)); in initTexture()
/third_party/gn/misc/emacs/
H A Dgn-mode.el44 (defgroup gn-faces nil
47 :group 'faces)
52 :group 'gn-faces)
59 :group 'gn-faces)
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.h79 const uint *faces; member
H A Dsp_tex_sample.c1051 * per-pixel faces we can actually have multiple corner texels per pixel, in get_texel_cube_seamless()
2113 args.face_id = filt_args->faces[j]; in mip_filter_linear()
2194 args.face_id = filt_args->faces[j]; in mip_filter_nearest()
2253 args.face_id = filt_args->faces[j]; in mip_filter_none()
2299 args.face_id = filt_args->faces[j]; in mip_filter_none_no_filter_select()
2346 const uint faces[TGSI_QUAD_SIZE], in img_filter_2d_ewa()
2427 args.face_id = faces[j]; in img_filter_2d_ewa()
2637 args.face_id = filt_args->faces[j]; in mip_filter_linear_aniso()
2651 s, t, p, filt_args->faces, filt_args->offset, in mip_filter_linear_aniso()
2702 args.face_id = filt_args->faces[ in mip_filter_linear_2d_linear_repeat_POT()
2339 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]) img_filter_2d_ewa() argument
3220 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]) convert_cube() argument
3767 uint faces[TGSI_QUAD_SIZE]; sp_tgsi_get_samples() local
[all...]
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_texture.c119 /* Cubemaps have 6 faces as "layers" in between each actual layer. We
153 unsigned faces = 1 + last_face - first_face; in panfrost_texture_num_elements() local
155 return levels * layers * faces * MAX2(nr_samples, 1); in panfrost_texture_num_elements()
472 * cube faces, and strides in that order. On Bifrost and older, each in panfrost_emit_texture_payload()
/third_party/skia/samplecode/
H A DSample3D.cpp135 const Face faces[] = { variable
282 for (auto f : faces) {
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcLayoutLocationTests.cpp144 GLenum faces[] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, in createCubeMap() local
148 gl.texSubImage2D(faces[i], 0, 0, 0, WIDTH, HEIGHT, format, type, &data[0]); in createCubeMap()
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sSpecialFloatTests.cpp1086 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]);
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftobjs.c1209 /* destructor for faces list */
2465 FT_TRACE3(( "Requesting number of faces and named instances\n")); in ft_open_face_internal()
4901 * all child faces.
5440 * Close all faces in the library. If we don't do this, we can have in FT_EXPORT_DEF()
5450 * Some faces are dependent on other faces, like Type42 faces that in FT_EXPORT_DEF()
5451 * depend on TrueType faces synthesized internally. in FT_EXPORT_DEF()
5468 FT_List faces; in FT_EXPORT_DEF() local
5478 FT_TRACE7(( "FT_Done_Library: close faces fo in FT_EXPORT_DEF()
[all...]

Completed in 42 milliseconds

12