/external/e2fsprogs/lib/ext2fs/ |
D | openfs.c | 35 blk64_t ext2fs_descriptor_block_loc2(ext2_filsys fs, blk64_t group_block, in ext2fs_descriptor_block_loc2() argument 42 if (!(fs->super->s_feature_incompat & EXT2_FEATURE_INCOMPAT_META_BG) || in ext2fs_descriptor_block_loc2() 43 (i < fs->super->s_first_meta_bg)) in ext2fs_descriptor_block_loc2() 46 bg = EXT2_DESC_PER_BLOCK(fs->super) * i; in ext2fs_descriptor_block_loc2() 47 if (ext2fs_bg_has_super(fs, bg)) in ext2fs_descriptor_block_loc2() 49 ret_blk = ext2fs_group_first_block2(fs, bg) + has_super; in ext2fs_descriptor_block_loc2() 58 if (group_block != fs->super->s_first_data_block && in ext2fs_descriptor_block_loc2() 59 ((ret_blk + fs->super->s_blocks_per_group) < in ext2fs_descriptor_block_loc2() 60 ext2fs_blocks_count(fs->super))) in ext2fs_descriptor_block_loc2() 61 ret_blk += fs->super->s_blocks_per_group; in ext2fs_descriptor_block_loc2() [all …]
|
D | rw_bitmaps.c | 30 static errcode_t write_bitmaps(ext2_filsys fs, int do_inode, int do_block) in write_bitmaps() argument 40 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in write_bitmaps() 43 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); in write_bitmaps() 45 if (!(fs->flags & EXT2_FLAG_RW)) in write_bitmaps() 48 if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in write_bitmaps() 54 block_nbytes = EXT2_CLUSTERS_PER_GROUP(fs->super) / 8; in write_bitmaps() 55 retval = io_channel_alloc_buf(fs->io, 0, &block_buf); in write_bitmaps() 58 memset(block_buf, 0xff, fs->blocksize); in write_bitmaps() 62 ((EXT2_INODES_PER_GROUP(fs->super)+7) / 8); in write_bitmaps() 63 retval = io_channel_alloc_buf(fs->io, 0, &inode_buf); in write_bitmaps() [all …]
|
D | mmp.c | 33 errcode_t ext2fs_mmp_read(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_read() argument 38 if ((mmp_blk <= fs->super->s_first_data_block) || in ext2fs_mmp_read() 39 (mmp_blk >= ext2fs_blocks_count(fs->super))) in ext2fs_mmp_read() 47 if (fs->mmp_fd <= 0) { in ext2fs_mmp_read() 48 fs->mmp_fd = open(fs->device_name, O_RDWR | O_DIRECT); in ext2fs_mmp_read() 49 if (fs->mmp_fd < 0) { in ext2fs_mmp_read() 55 if (fs->mmp_cmp == NULL) { in ext2fs_mmp_read() 56 int align = ext2fs_get_dio_alignment(fs->mmp_fd); in ext2fs_mmp_read() 58 retval = ext2fs_get_memalign(fs->blocksize, align, in ext2fs_mmp_read() 59 &fs->mmp_cmp); in ext2fs_mmp_read() [all …]
|
D | closefs.c | 35 int ext2fs_bg_has_super(ext2_filsys fs, dgrp_t group) in ext2fs_bg_has_super() argument 37 if (!(fs->super->s_feature_ro_compat & in ext2fs_bg_has_super() 63 errcode_t ext2fs_super_and_bgd_loc2(ext2_filsys fs, in ext2fs_super_and_bgd_loc2() argument 76 group_block = ext2fs_group_first_block2(fs, group); in ext2fs_super_and_bgd_loc2() 77 if (group_block == 0 && fs->blocksize == 1024) in ext2fs_super_and_bgd_loc2() 80 if (fs->super->s_feature_incompat & EXT2_FEATURE_INCOMPAT_META_BG) in ext2fs_super_and_bgd_loc2() 81 old_desc_blocks = fs->super->s_first_meta_bg; in ext2fs_super_and_bgd_loc2() 84 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_super_and_bgd_loc2() 86 has_super = ext2fs_bg_has_super(fs, group); in ext2fs_super_and_bgd_loc2() 92 meta_bg_size = EXT2_DESC_PER_BLOCK(fs->super); in ext2fs_super_and_bgd_loc2() [all …]
|
D | alloc_tables.c | 37 static blk64_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk, in flexbg_offset() argument 45 flexbg_size = 1 << fs->super->s_log_groups_per_flex; in flexbg_offset() 49 if (size > (int) (fs->super->s_blocks_per_group / 8)) in flexbg_offset() 50 size = (int) fs->super->s_blocks_per_group / 8; in flexbg_offset() 60 start_blk = ext2fs_group_first_block2(fs, flexbg_size * flexbg); in flexbg_offset() 62 if (last_grp > fs->group_desc_count-1) in flexbg_offset() 63 last_grp = fs->group_desc_count-1; in flexbg_offset() 64 last_blk = ext2fs_group_last_block2(fs, last_grp); in flexbg_offset() 67 if (ext2fs_get_free_blocks2(fs, start_blk, last_blk, size, in flexbg_offset() 71 if (ext2fs_get_free_blocks2(fs, start_blk, last_blk, elem_size, in flexbg_offset() [all …]
|
D | blknum.c | 19 dgrp_t ext2fs_group_of_blk2(ext2_filsys fs, blk64_t blk) in ext2fs_group_of_blk2() argument 21 return (blk - fs->super->s_first_data_block) / in ext2fs_group_of_blk2() 22 fs->super->s_blocks_per_group; in ext2fs_group_of_blk2() 28 blk64_t ext2fs_group_first_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_first_block2() argument 30 return fs->super->s_first_data_block + in ext2fs_group_first_block2() 31 ((blk64_t)group * fs->super->s_blocks_per_group); in ext2fs_group_first_block2() 37 blk64_t ext2fs_group_last_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_last_block2() argument 39 return (group == fs->group_desc_count - 1 ? in ext2fs_group_last_block2() 40 ext2fs_blocks_count(fs->super) - 1 : in ext2fs_group_last_block2() 41 ext2fs_group_first_block2(fs, group) + in ext2fs_group_last_block2() [all …]
|
D | alloc.c | 31 static void check_block_uninit(ext2_filsys fs, ext2fs_block_bitmap map, in check_block_uninit() argument 38 if (!(EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in check_block_uninit() 40 !(ext2fs_bg_flags_test(fs, group, EXT2_BG_BLOCK_UNINIT))) in check_block_uninit() 43 blk = ext2fs_group_first_block2(fs, group); in check_block_uninit() 45 ext2fs_super_and_bgd_loc2(fs, group, &super_blk, in check_block_uninit() 48 if (fs->super->s_feature_incompat & in check_block_uninit() 50 old_desc_blocks = fs->super->s_first_meta_bg; in check_block_uninit() 52 old_desc_blocks = fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in check_block_uninit() 54 for (i=0; i < fs->super->s_blocks_per_group; i++, blk++) in check_block_uninit() 57 blk = ext2fs_group_first_block2(fs, group); in check_block_uninit() [all …]
|
D | alloc_stats.c | 17 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inode_alloc_stats2() argument 20 int group = ext2fs_group_of_ino(fs, ino); in ext2fs_inode_alloc_stats2() 23 if (ino > fs->super->s_inodes_count) { in ext2fs_inode_alloc_stats2() 30 ext2fs_mark_inode_bitmap2(fs->inode_map, ino); in ext2fs_inode_alloc_stats2() 32 ext2fs_unmark_inode_bitmap2(fs->inode_map, ino); in ext2fs_inode_alloc_stats2() 33 ext2fs_bg_free_inodes_count_set(fs, group, ext2fs_bg_free_inodes_count(fs, group) - inuse); in ext2fs_inode_alloc_stats2() 35 ext2fs_bg_used_dirs_count_set(fs, group, ext2fs_bg_used_dirs_count(fs, group) + inuse); in ext2fs_inode_alloc_stats2() 39 ext2fs_bg_flags_clear(fs, group, EXT2_BG_INODE_UNINIT); in ext2fs_inode_alloc_stats2() 40 if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in ext2fs_inode_alloc_stats2() 42 ext2_ino_t first_unused_inode = fs->super->s_inodes_per_group - in ext2fs_inode_alloc_stats2() [all …]
|
D | inode.c | 34 ext2_filsys fs; member 47 errcode_t (*done_group)(ext2_filsys fs, 60 errcode_t ext2fs_flush_icache(ext2_filsys fs) in ext2fs_flush_icache() argument 64 if (!fs->icache) in ext2fs_flush_icache() 67 for (i=0; i < fs->icache->cache_size; i++) in ext2fs_flush_icache() 68 fs->icache->cache[i].ino = 0; in ext2fs_flush_icache() 70 fs->icache->buffer_blk = 0; in ext2fs_flush_icache() 74 static errcode_t create_icache(ext2_filsys fs) in create_icache() argument 78 if (fs->icache) in create_icache() 80 retval = ext2fs_get_mem(sizeof(struct ext2_inode_cache), &fs->icache); in create_icache() [all …]
|
D | csum.c | 32 __u16 ext2fs_group_desc_csum(ext2_filsys fs, dgrp_t group) in ext2fs_group_desc_csum() argument 34 struct ext2_group_desc *desc = ext2fs_group_desc(fs, fs->group_desc, in ext2fs_group_desc_csum() 36 size_t size = EXT2_DESC_SIZE(fs->super); in ext2fs_group_desc_csum() 40 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) { in ext2fs_group_desc_csum() 53 ext2fs_swap_group_desc2(fs, in ext2fs_group_desc_csum() 59 crc = ext2fs_crc16(~0, fs->super->s_uuid, in ext2fs_group_desc_csum() 60 sizeof(fs->super->s_uuid)); in ext2fs_group_desc_csum() 85 int ext2fs_group_desc_csum_verify(ext2_filsys fs, dgrp_t group) in ext2fs_group_desc_csum_verify() argument 87 if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in ext2fs_group_desc_csum_verify() 89 (ext2fs_bg_checksum(fs, group) != in ext2fs_group_desc_csum_verify() [all …]
|
D | freefs.c | 22 void ext2fs_free(ext2_filsys fs) in ext2fs_free() argument 24 if (!fs || (fs->magic != EXT2_ET_MAGIC_EXT2FS_FILSYS)) in ext2fs_free() 26 if (fs->image_io != fs->io) { in ext2fs_free() 27 if (fs->image_io) in ext2fs_free() 28 io_channel_close(fs->image_io); in ext2fs_free() 30 if (fs->io) { in ext2fs_free() 31 io_channel_close(fs->io); in ext2fs_free() 33 if (fs->device_name) in ext2fs_free() 34 ext2fs_free_mem(&fs->device_name); in ext2fs_free() 35 if (fs->super) in ext2fs_free() [all …]
|
D | imager.c | 61 errcode_t ext2fs_image_inode_write(ext2_filsys fs, int fd, int flags) in ext2fs_image_inode_write() argument 70 buf = malloc(fs->blocksize * BUF_BLOCKS); in ext2fs_image_inode_write() 74 for (group = 0; group < fs->group_desc_count; group++) { in ext2fs_image_inode_write() 75 blk = ext2fs_inode_table_loc(fs, (unsigned)group); in ext2fs_image_inode_write() 80 left = fs->inode_blocks_per_group; in ext2fs_image_inode_write() 85 retval = io_channel_read_blk64(fs->io, blk, c, buf); in ext2fs_image_inode_write() 95 if (check_zero_block(cp, fs->blocksize)) { in ext2fs_image_inode_write() 99 cp += fs->blocksize; in ext2fs_image_inode_write() 100 r = lseek(fd, fs->blocksize, SEEK_CUR); in ext2fs_image_inode_write() 109 if (check_zero_block(cp + d*fs->blocksize, fs->blocksize)) in ext2fs_image_inode_write() [all …]
|
D | dupfs.c | 24 ext2_filsys fs; in ext2fs_dup_handle() local 29 retval = ext2fs_get_mem(sizeof(struct struct_ext2_filsys), &fs); in ext2fs_dup_handle() 33 *fs = *src; in ext2fs_dup_handle() 34 fs->device_name = 0; in ext2fs_dup_handle() 35 fs->super = 0; in ext2fs_dup_handle() 36 fs->orig_super = 0; in ext2fs_dup_handle() 37 fs->group_desc = 0; in ext2fs_dup_handle() 38 fs->inode_map = 0; in ext2fs_dup_handle() 39 fs->block_map = 0; in ext2fs_dup_handle() 40 fs->badblocks = 0; in ext2fs_dup_handle() [all …]
|
D | initialize.c | 53 static unsigned int calc_reserved_gdt_blocks(ext2_filsys fs) in calc_reserved_gdt_blocks() argument 55 struct ext2_super_block *sb = fs->super; in calc_reserved_gdt_blocks() 72 rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - fs->desc_blocks; in calc_reserved_gdt_blocks() 87 ext2_filsys fs; in ext2fs_initialize() local 108 retval = ext2fs_get_mem(sizeof(struct struct_ext2_filsys), &fs); in ext2fs_initialize() 112 memset(fs, 0, sizeof(struct struct_ext2_filsys)); in ext2fs_initialize() 113 fs->magic = EXT2_ET_MAGIC_EXT2FS_FILSYS; in ext2fs_initialize() 114 fs->flags = flags | EXT2_FLAG_RW; in ext2fs_initialize() 115 fs->umask = 022; in ext2fs_initialize() 116 fs->default_bitmap_type = EXT2FS_BMAP64_RBTREE; in ext2fs_initialize() [all …]
|
D | mkjournal.c | 44 errcode_t ext2fs_create_journal_superblock(ext2_filsys fs, in ext2fs_create_journal_superblock() argument 54 if ((retval = ext2fs_get_mem(fs->blocksize, &jsb))) in ext2fs_create_journal_superblock() 57 memset (jsb, 0, fs->blocksize); in ext2fs_create_journal_superblock() 64 jsb->s_blocksize = htonl(fs->blocksize); in ext2fs_create_journal_superblock() 69 memcpy(jsb->s_uuid, fs->super->s_uuid, sizeof(fs->super->s_uuid)); in ext2fs_create_journal_superblock() 74 if (fs->super->s_feature_incompat & in ext2fs_create_journal_superblock() 77 if (fs->blocksize == 1024) in ext2fs_create_journal_superblock() 92 static errcode_t write_journal_file(ext2_filsys fs, char *filename, in write_journal_file() argument 100 if ((retval = ext2fs_create_journal_superblock(fs, num_blocks, flags, in write_journal_file() 112 ret_size = write(fd, buf, fs->blocksize); in write_journal_file() [all …]
|
D | ext2fs.h | 225 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks); 226 errcode_t (*check_directory)(ext2_filsys fs, ext2_ino_t ino); 227 errcode_t (*write_bitmaps)(ext2_filsys fs); 228 errcode_t (*read_inode)(ext2_filsys fs, ext2_ino_t ino, 230 errcode_t (*write_inode)(ext2_filsys fs, ext2_ino_t ino, 261 errcode_t (*get_alloc_block)(ext2_filsys fs, blk64_t goal, 263 void (*block_alloc_stats)(ext2_filsys fs, blk64_t blk, int inuse); 615 #define EXT2FS_CLUSTER_RATIO(fs) (1 << (fs)->cluster_ratio_bits) argument 616 #define EXT2FS_CLUSTER_MASK(fs) (EXT2FS_CLUSTER_RATIO(fs) - 1) argument 617 #define EXT2FS_B2C(fs, blk) ((blk) >> (fs)->cluster_ratio_bits) argument [all …]
|
/external/e2fsprogs/debugfs/ |
D | filefrag.c | 68 static void print_header(struct filefrag_struct *fs) in print_header() argument 70 if (fs->options & VERBOSE_OPT) { in print_header() 71 fprintf(fs->f, "%4s %*s %*s %*s %*s\n", "ext", in print_header() 72 fs->logical_width, "logical", fs->physical_width, in print_header() 73 "physical", fs->physical_width, "expected", in print_header() 74 fs->logical_width, "length"); in print_header() 78 static void report_filefrag(struct filefrag_struct *fs) in report_filefrag() argument 80 if (fs->num == 0) in report_filefrag() 82 if (fs->options & VERBOSE_OPT) { in report_filefrag() 83 if (fs->expected) in report_filefrag() [all …]
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 43 static void fix_uninit_block_bitmaps(ext2_filsys fs); 50 static errcode_t fix_resize_inode(ext2_filsys fs); 51 static errcode_t ext2fs_calculate_summary_stats(ext2_filsys fs); 52 static errcode_t fix_sb_journal_backup(ext2_filsys fs); 53 static errcode_t mark_table_blocks(ext2_filsys fs, 59 #define IS_BLOCK_BM(fs, i, blk) ((blk) == ext2fs_block_bitmap_loc((fs),(i))) argument 60 #define IS_INODE_BM(fs, i, blk) ((blk) == ext2fs_inode_bitmap_loc((fs),(i))) argument 62 #define IS_INODE_TB(fs, i, blk) (((blk) >= ext2fs_inode_table_loc((fs), (i))) && \ argument 63 ((blk) < (ext2fs_inode_table_loc((fs), (i)) + \ 64 (fs)->inode_blocks_per_group))) [all …]
|
/external/e2fsprogs/e2fsck/ |
D | super.c | 58 static int release_inode_block(ext2_filsys fs, in release_inode_block() argument 81 if ((blk < fs->super->s_first_data_block) || in release_inode_block() 82 (blk >= ext2fs_blocks_count(fs->super))) { in release_inode_block() 89 if (!ext2fs_test_block_bitmap2(fs->block_map, blk)) { in release_inode_block() 108 pb->errcode = io_channel_read_blk64(fs->io, blk, 1, in release_inode_block() 113 limit = fs->blocksize >> 2; in release_inode_block() 130 pb->errcode = io_channel_read_blk64(fs->io, blk, 1, in release_inode_block() 135 fs->blocksize - pb->truncate_offset); in release_inode_block() 136 pb->errcode = io_channel_write_blk64(fs->io, blk, 1, in release_inode_block() 146 ext2fs_block_alloc_stats2(fs, blk, -1); in release_inode_block() [all …]
|
D | pass5.c | 41 init_resource_track(&rtrack, ctx->fs->io); in e2fsck_pass5() 48 if ((ctx->progress)(ctx, 5, 0, ctx->fs->group_desc_count*2)) in e2fsck_pass5() 73 print_resource_track(ctx, _("Pass 5"), &rtrack, ctx->fs->io); in e2fsck_pass5() 79 ext2_filsys fs = ctx->fs; in e2fsck_discard_blocks() local 87 if (ext2fs_test_changed(fs)) in e2fsck_discard_blocks() 91 (io_channel_discard(fs->io, start, count))) in e2fsck_discard_blocks() 104 ext2_filsys fs = ctx->fs; in e2fsck_discard_inodes() local 110 if ((start < 1) || (start > EXT2_INODES_PER_GROUP(fs->super))) { in e2fsck_discard_inodes() 128 !io_channel_discard_zeroes_data(fs->io)) in e2fsck_discard_inodes() 142 EXT2_INODES_PER_BLOCK(fs->super)); in e2fsck_discard_inodes() [all …]
|
/external/opencv3/modules/core/src/ |
D | persistence.cpp | 191 typedef void (*CvStartWriteStruct)( struct CvFileStorage* fs, const char* key, 193 typedef void (*CvEndWriteStruct)( struct CvFileStorage* fs ); 194 typedef void (*CvWriteInt)( struct CvFileStorage* fs, const char* key, int value ); 195 typedef void (*CvWriteReal)( struct CvFileStorage* fs, const char* key, double value ); 196 typedef void (*CvWriteString)( struct CvFileStorage* fs, const char* key, 198 typedef void (*CvWriteComment)( struct CvFileStorage* fs, const char* comment, int eol_comment ); 199 typedef void (*CvStartNextStream)( struct CvFileStorage* fs ); 245 static void icvPuts( CvFileStorage* fs, const char* str ) in icvPuts() argument 247 if( fs->outbuf ) in icvPuts() 248 std::copy(str, str + strlen(str), std::back_inserter(*fs->outbuf)); in icvPuts() [all …]
|
/external/opencv/cxcore/src/ |
D | cxpersistence.cpp | 108 typedef void (*CvStartWriteStruct)( struct CvFileStorage* fs, const char* key, 110 typedef void (*CvEndWriteStruct)( struct CvFileStorage* fs ); 111 typedef void (*CvWriteInt)( struct CvFileStorage* fs, const char* key, int value ); 112 typedef void (*CvWriteReal)( struct CvFileStorage* fs, const char* key, double value ); 113 typedef void (*CvWriteString)( struct CvFileStorage* fs, const char* key, 115 typedef void (*CvWriteComment)( struct CvFileStorage* fs, const char* comment, int eol_comment ); 116 typedef void (*CvStartNextStream)( struct CvFileStorage* fs ); 163 #define CV_IS_FILE_STORAGE(fs) ((fs) != 0 && (fs)->flags == CV_FILE_STORAGE) argument 165 #define CV_CHECK_FILE_STORAGE(fs) \ argument 167 if( !CV_IS_FILE_STORAGE(fs) ) \ [all …]
|
/external/libopus/celt/ |
D | laplace.c | 51 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay) in ec_laplace_encode() argument 62 fl = fs; in ec_laplace_encode() 63 fs = ec_laplace_get_freq1(fs, decay); in ec_laplace_encode() 65 for (i=1; fs > 0 && i < val; i++) in ec_laplace_encode() 67 fs *= 2; in ec_laplace_encode() 68 fl += fs+2*LAPLACE_MINP; in ec_laplace_encode() 69 fs = (fs*(opus_int32)decay)>>15; in ec_laplace_encode() 72 if (!fs) in ec_laplace_encode() 80 fs = IMIN(LAPLACE_MINP, 32768-fl); in ec_laplace_encode() 85 fs += LAPLACE_MINP; in ec_laplace_encode() [all …]
|
/external/e2fsprogs/misc/ |
D | tune2fs.c | 179 static int remove_journal_device(ext2_filsys fs) in remove_journal_device() argument 193 uuid_unparse(fs->super->s_journal_uuid, buf); in remove_journal_device() 198 ext2fs_find_block_device(fs->super->s_journal_dev); in remove_journal_device() 212 fs->blocksize, io_ptr, &jfs); in remove_journal_device() 242 if (memcmp(fs->super->s_uuid, &jsb->s_users[i * 16], 16) == 0) in remove_journal_device() 272 fs->super->s_journal_dev = 0; in remove_journal_device() 273 uuid_clear(fs->super->s_journal_uuid); in remove_journal_device() 274 ext2fs_mark_super_dirty(fs); in remove_journal_device() 282 static int release_blocks_proc(ext2_filsys fs, blk64_t *blocknr, in release_blocks_proc() argument 292 ext2fs_unmark_block_bitmap2(fs->block_map, block); in release_blocks_proc() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_feedback.c | 121 struct feedback_stage *fs = feedback_stage(stage); in feedback_tri() local 123 _mesa_feedback_token(fs->ctx, (GLfloat) GL_POLYGON_TOKEN); in feedback_tri() 124 _mesa_feedback_token(fs->ctx, (GLfloat) 3); /* three vertices */ in feedback_tri() 125 feedback_vertex(fs->ctx, draw, prim->v[0]); in feedback_tri() 126 feedback_vertex(fs->ctx, draw, prim->v[1]); in feedback_tri() 127 feedback_vertex(fs->ctx, draw, prim->v[2]); in feedback_tri() 134 struct feedback_stage *fs = feedback_stage(stage); in feedback_line() local 136 if (fs->reset_stipple_counter) { in feedback_line() 137 _mesa_feedback_token(fs->ctx, (GLfloat) GL_LINE_RESET_TOKEN); in feedback_line() 138 fs->reset_stipple_counter = GL_FALSE; in feedback_line() [all …]
|