Home
last modified time | relevance | path

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

12

/external/deqp/framework/common/
DtcuTexVerifierUtil.cpp61 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) in getPossibleCubeFaces() argument
73 numFaces = 0; in getPossibleCubeFaces()
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()
[all …]
DtcuTexVerifierUtil.hpp97 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces
/external/skqp/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.cpp1822 bool SkTypeface_FreeType::Scanner::recognizedFont(SkStreamAsset* stream, int* numFaces) const { in recognizedFont()
1831 *numFaces = face->num_faces; in recognizedFont()
/external/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.cpp81 int numFaces; in load_font_from_data() local
82 if (!scanner.recognizedFont(stream.get(), &numFaces)) { in load_font_from_data()
87 for (int faceIndex = 0; faceIndex < numFaces; ++faceIndex) { in load_font_from_data()
DSkFontHost_FreeType.cpp1851 bool SkTypeface_FreeType::Scanner::recognizedFont(SkStreamAsset* stream, int* numFaces) const { in recognizedFont()
1860 *numFaces = face->num_faces; in recognizedFont()
/external/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()
500 key->numFaces, in svga_screen_surface_create()
559 key->numFaces, in svga_screen_surface_create()
581 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()
515 bs->key.numFaces * bs->key.arraySize, in create_backed_surface_view()
Dsvga_resource_texture.c966 tex->key.numFaces = 1; in svga_texture_create()
996 tex->key.numFaces = 6; in svga_texture_create()
1001 tex->key.numFaces = 1; // arraySize already includes the 6 faces in svga_texture_create()
1015 tex->key.numFaces = 6; in svga_texture_create()
Dsvga_resource_buffer_upload.c205 sbuf->key.numFaces = 1; in svga_buffer_create_host_surface()
/external/mesa3d/src/mesa/main/
Dtexstorage.c147 const GLuint numFaces = _mesa_num_tex_faces(target); in initialize_texture_fields() local
153 for (face = 0; face < numFaces; face++) { in initialize_texture_fields()
184 const GLuint numFaces = _mesa_num_tex_faces(target); in clear_texture_fields() local
189 for (face = 0; face < numFaces; face++) { in clear_texture_fields()
210 const unsigned numFaces = _mesa_num_tex_faces(texObj->Target); in update_fbo_texture() local
212 for (unsigned face = 0; face < numFaces; face++) in update_fbo_texture()
278 const int numFaces = _mesa_num_tex_faces(texObj->Target); in _mesa_AllocTextureStorage_sw() local
286 for (face = 0; face < numFaces; face++) { in _mesa_AllocTextureStorage_sw()
Dtexgetimage.c1394 unsigned firstFace, numFaces, i; in get_texture_image() local
1421 numFaces = depth; in get_texture_image()
1428 numFaces = 1; in get_texture_image()
1433 for (i = 0; i < numFaces; i++) { in get_texture_image()
1769 unsigned firstFace, numFaces, i, imageStride; in get_compressed_texture_image() local
1797 numFaces = depth; in get_compressed_texture_image()
1804 numFaces = 1; in get_compressed_texture_image()
1809 for (i = 0; i < numFaces; i++) { in get_compressed_texture_image()
Dtexobj.c815 const GLuint numFaces = _mesa_num_tex_faces(t->Target); in _mesa_test_texobj_completeness() local
845 for (face = 0; face < numFaces; face++) { in _mesa_test_texobj_completeness()
963 GLuint dims, face, numFaces = 1; in _mesa_get_fallback_texture() local
985 numFaces = 6; in _mesa_get_fallback_texture()
1043 for (face = 0; face < numFaces; face++) { in _mesa_get_fallback_texture()
1082 const GLuint numFaces = _mesa_num_tex_faces(texObj->Target); in texture_size() local
1085 for (face = 0; face < numFaces; face++) { in texture_size()
Dtextureview.c311 const GLuint numFaces = _mesa_num_tex_faces(target); in initialize_texture_fields() local
320 for (face = 0; face < numFaces; face++) { in initialize_texture_fields()
Ddebug.c356 const GLuint numFaces = texObj->Target == GL_TEXTURE_CUBE_MAP ? 6 : 1; in dump_texture() local
363 for (j = 0; j < numFaces; j++) { in dump_texture()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex.c136 const int numFaces = _mesa_num_tex_faces(texobj->Target); in intel_alloc_texture_storage() local
161 for (face = 0; face < numFaces; face++) { in intel_alloc_texture_storage()
276 const int numFaces = _mesa_num_tex_faces(texObj->Target); in intel_texture_view() local
282 for (face = 0; face < numFaces; face++) { in intel_texture_view()
/external/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.h143 uint32 numFaces,
152 uint32 numFaces,
/external/deqp/modules/gles2/functional/
Des2fTextureUnitTests.cpp690 int numFaces = is2d ? 1 : (int)tcu::CUBEFACE_LAST; in init() local
692 for (int face = 0; face < numFaces; face++) in init()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c2937 const GLuint numFaces = _mesa_num_tex_faces(texObj->Target); in st_texture_storage() local
3026 for (face = 0; face < numFaces; face++) { in st_texture_storage()
3126 const int numFaces = _mesa_num_tex_faces(texObj->Target); in st_TextureView() local
3136 for (face = 0; face < numFaces; face++) { in st_TextureView()
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp884 int numFaces = isCubeTex ? (int)tcu::CUBEFACE_LAST : 1; in init() local
886 for (int face = 0; face < numFaces; face++) in init()

12