Home
last modified time | relevance | path

Searched refs:numFaces (Results 1 – 25 of 26) sorted by relevance

12

/third_party/vk-gl-cts/framework/common/
DtcuTexVerifierUtil.cpp73 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) in getPossibleCubeFaces() argument
85 numFaces = 0; in getPossibleCubeFaces()
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()
107 faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces()
108 faces[numFaces++] = CUBEFACE_POSITIVE_X; in getPossibleCubeFaces()
[all …]
DtcuTexVerifierUtil.hpp116 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces
/third_party/flutter/skia/src/ports/
DSkFontMgr_custom_embedded.cpp53 int numFaces; in load_embedded_font() local
54 if (!scanner.recognizedFont(stream.get(), &numFaces)) { in load_embedded_font()
59 for (int faceIndex = 0; faceIndex < numFaces; ++faceIndex) { in load_embedded_font()
DSkFontMgr_custom_directory.cpp60 int numFaces; in load_directory_fonts() local
61 if (!scanner.recognizedFont(stream.get(), &numFaces)) { in load_directory_fonts()
66 for (int faceIndex = 0; faceIndex < numFaces; ++faceIndex) { in load_directory_fonts()
DSkFontHost_FreeType.cpp1851 bool SkTypeface_FreeType::Scanner::recognizedFont(SkStreamAsset* stream, int* numFaces) const { in recognizedFont()
1860 *numFaces = face->num_faces; in recognizedFont()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_sampler_view.c183 unsigned numFaces; in svga_validate_sampler_view() local
197 numFaces = 6; in svga_validate_sampler_view()
199 numFaces = 1; in svga_validate_sampler_view()
202 for (k = 0; k < numFaces; k++) { in svga_validate_sampler_view()
Dsvga_screen_cache.c50 assert(key->numFaces > 0); in svga_surface_size()
72 total_size *= key->numFaces * key->arraySize * MAX2(1, key->sampleCount); in svga_surface_size()
507 key->numFaces, in svga_screen_surface_create()
566 key->numFaces, in svga_screen_surface_create()
588 key->numFaces * key->arraySize, in svga_screen_surface_create()
Dsvga_screen_cache.h66 uint32_t numFaces:3; member
Dsvga_surface.c214 key->numFaces = 1; in svga_texture_view_surface()
226 key->numFaces = 6; in svga_texture_view_surface()
266 key->numFaces * key->arraySize, in svga_texture_view_surface()
517 bs->key.numFaces * bs->key.arraySize, in create_backed_surface_view()
Dsvga_resource_texture.c901 tex->key.numFaces = 1; in svga_texture_create()
931 tex->key.numFaces = 6; in svga_texture_create()
936 tex->key.numFaces = 1; // arraySize already includes the 6 faces in svga_texture_create()
950 tex->key.numFaces = 6; in svga_texture_create()
Dsvga_resource_buffer_upload.c217 sbuf->key.numFaces = 1; in svga_buffer_create_host_surface()
/third_party/skia/src/ports/
DSkFontMgr_custom_directory.cpp60 int numFaces; in load_directory_fonts() local
61 if (!scanner.recognizedFont(stream.get(), &numFaces)) { in load_directory_fonts()
66 for (int faceIndex = 0; faceIndex < numFaces; ++faceIndex) { in load_directory_fonts()
DSkFontMgr_custom_embedded.cpp80 int numFaces; in load_font_from_data() local
81 if (!scanner.recognizedFont(stream.get(), &numFaces)) { in load_font_from_data()
86 for (int faceIndex = 0; faceIndex < numFaces; ++faceIndex) { in load_font_from_data()
DSkFontHost_FreeType.cpp1827 bool SkTypeface_FreeType::Scanner::recognizedFont(SkStreamAsset* stream, int* numFaces) const { in recognizedFont()
1836 *numFaces = face->num_faces; in recognizedFont()
/third_party/mesa3d/src/mesa/main/
Dtexstorage.c148 const GLuint numFaces = _mesa_num_tex_faces(target); in initialize_texture_fields() local
154 for (face = 0; face < numFaces; face++) { in initialize_texture_fields()
185 const GLuint numFaces = _mesa_num_tex_faces(target); in clear_texture_fields() local
190 for (face = 0; face < numFaces; face++) { in clear_texture_fields()
211 const unsigned numFaces = _mesa_num_tex_faces(texObj->Target); in update_fbo_texture() local
213 for (unsigned face = 0; face < numFaces; face++) in update_fbo_texture()
Dtexgetimage.c1395 unsigned firstFace, numFaces, i; in get_texture_image() local
1422 numFaces = depth; in get_texture_image()
1429 numFaces = 1; in get_texture_image()
1437 for (i = 0; i < numFaces; i++) { in get_texture_image()
1773 unsigned firstFace, numFaces, i, imageStride; in get_compressed_texture_image() local
1801 numFaces = depth; in get_compressed_texture_image()
1808 numFaces = 1; in get_compressed_texture_image()
1816 for (i = 0; i < numFaces; i++) { in get_compressed_texture_image()
Dtexobj.c793 const GLuint numFaces = _mesa_num_tex_faces(t->Target); in _mesa_test_texobj_completeness() local
823 for (face = 0; face < numFaces; face++) { in _mesa_test_texobj_completeness()
942 GLuint dims, face, numFaces = 1; in _mesa_get_fallback_texture() local
964 numFaces = 6; in _mesa_get_fallback_texture()
1025 for (face = 0; face < numFaces; face++) { in _mesa_get_fallback_texture()
1063 const GLuint numFaces = _mesa_num_tex_faces(texObj->Target); in texture_size() local
1066 for (face = 0; face < numFaces; face++) { in texture_size()
Ddebug.c359 const GLuint numFaces = texObj->Target == GL_TEXTURE_CUBE_MAP ? 6 : 1; in dump_texture() local
366 for (j = 0; j < numFaces; j++) { in dump_texture()
Dtextureview.c315 const GLuint numFaces = _mesa_num_tex_faces(target); in initialize_texture_fields() local
324 for (face = 0; face < numFaces; face++) { in initialize_texture_fields()
Dteximage.c5084 int numFaces, i; in get_tex_images_for_clear() local
5093 numFaces = MAX_FACES; in get_tex_images_for_clear()
5097 numFaces = 1; in get_tex_images_for_clear()
5100 for (i = 0; i < numFaces; i++) { in get_tex_images_for_clear()
5108 return numFaces; in get_tex_images_for_clear()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c143 uint32_t numFaces, uint32_t numMipLevels, in vmw_ioctl_surface_create() argument
164 assert(numFaces * numMipLevels < DRM_VMW_MAX_SURFACE_FACES* in vmw_ioctl_surface_create()
167 for (iFace = 0; iFace < numFaces; ++iFace) { in vmw_ioctl_surface_create()
181 for (iFace = numFaces; iFace < SVGA3D_MAX_SURFACE_FACES; ++iFace) { in vmw_ioctl_surface_create()
205 uint32_t numFaces, in vmw_ioctl_gb_surface_create() argument
262 req->base.array_size = numFaces; in vmw_ioctl_gb_surface_create()
265 assert(numFaces * numMipLevels < DRM_VMW_MAX_SURFACE_FACES* in vmw_ioctl_gb_surface_create()
301 req->array_size = numFaces; in vmw_ioctl_gb_surface_create()
304 assert(numFaces * numMipLevels < DRM_VMW_MAX_SURFACE_FACES* in vmw_ioctl_gb_surface_create()
Dvmw_screen.h156 uint32 numFaces,
165 uint32 numFaces,
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureUnitTests.cpp692 int numFaces = is2d ? 1 : (int)tcu::CUBEFACE_LAST; in init() local
694 for (int face = 0; face < numFaces; face++) in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureUnitTests.cpp886 int numFaces = isCubeTex ? (int)tcu::CUBEFACE_LAST : 1; in init() local
888 for (int face = 0; face < numFaces; face++) in init()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c3182 const GLuint numFaces = _mesa_num_tex_faces(texObj->Target); in st_texture_storage() local
3272 for (face = 0; face < numFaces; face++) { in st_texture_storage()
3374 const int numFaces = _mesa_num_tex_faces(texObj->Target); in st_TextureView() local
3384 for (face = 0; face < numFaces; face++) { in st_TextureView()

12