Home
last modified time | relevance | path

Searched refs:tile_cache (Results 1 – 25 of 76) sorted by relevance

1234

/dports/games/flightgear/flightgear-2020.3.11/src/Scenery/
H A Dtilecache.cxx37 tile_cache.clear(); in TileCache()
43 tile_map_iterator it = tile_cache.begin(); in ~TileCache()
44 for (; it != tile_cache.end(); ++it) { in ~TileCache()
55 TileEntry *tile = tile_cache[tile_index]; in entry_free()
57 tile_cache.erase( tile_index ); in entry_free()
69 << tile_cache.size() ); in init()
82 return ( it != tile_cache.end() ); in exists()
94 tile_map_iterator end = tile_cache.end(); in get_drop_tile()
151 tile_map_iterator end = tile_cache.end(); in clear_current_view()
167 tile_cache.erase( tile_index ); in clear_entry()
[all …]
H A Dtilecache.hxx42 tile_map tile_cache; member in TileCache
56 tile_map_iterator begin() { return tile_cache.begin(); } in begin()
57 tile_map_iterator end() { return tile_cache.end(); } in end()
58 const_tile_map_iterator begin() const { return tile_cache.begin(); } in begin()
59 const_tile_map_iterator end() const { return tile_cache.end(); } in end()
91 const_tile_map_iterator it = tile_cache.find( tile_index ); in get_tile()
92 if ( it != tile_cache.end() ) { in get_tile()
105 inline size_t get_size() const { return tile_cache.size(); } in get_size()
108 inline void reset_traversal() { current = tile_cache.begin(); } in reset_traversal()
109 inline bool at_end() { return current == tile_cache.end(); } in at_end()
H A Dtilemgr.cxx247 tile_cache.init(); in reinit()
275 TileEntry *t = tile_cache.get_tile( b ); in sched_tile()
284 if ( tile_cache.insert_tile( t ) ) in sched_tile()
345 tile_cache.clear_current_view(); in schedule_needed()
392 tile_cache.set_current_time( current_time ); in update_queues()
393 tile_cache.reset_traversal(); in update_queues()
395 while ( ! tile_cache.at_end() ) in update_queues()
397 e = tile_cache.get_current(); in update_queues()
423 tile_cache.next(); in update_queues()
446 tile_cache.clear_entry(drop_index); in update_queues()
[all …]
/dports/graphics/libchamplain/libchamplain-0.12.20/champlain/
H A Dchamplain-tile-cache.c93 champlain_tile_cache_init (ChamplainTileCache *tile_cache) in champlain_tile_cache_init() argument
110 champlain_tile_cache_store_tile (ChamplainTileCache *tile_cache, in champlain_tile_cache_store_tile() argument
115 g_return_if_fail (CHAMPLAIN_IS_TILE_CACHE (tile_cache)); in champlain_tile_cache_store_tile()
117 CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->store_tile (tile_cache, tile, contents, size); in champlain_tile_cache_store_tile()
131 champlain_tile_cache_refresh_tile_time (ChamplainTileCache *tile_cache, in champlain_tile_cache_refresh_tile_time() argument
134 g_return_if_fail (CHAMPLAIN_IS_TILE_CACHE (tile_cache)); in champlain_tile_cache_refresh_tile_time()
136 CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->refresh_tile_time (tile_cache, tile); in champlain_tile_cache_refresh_tile_time()
156 champlain_tile_cache_on_tile_filled (ChamplainTileCache *tile_cache, in champlain_tile_cache_on_tile_filled() argument
159 g_return_if_fail (CHAMPLAIN_IS_TILE_CACHE (tile_cache)); in champlain_tile_cache_on_tile_filled()
161 CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->on_tile_filled (tile_cache, tile); in champlain_tile_cache_on_tile_filled()
H A Dchamplain-tile-cache.h72 void (*store_tile)(ChamplainTileCache *tile_cache,
76 void (*refresh_tile_time)(ChamplainTileCache *tile_cache,
78 void (*on_tile_filled)(ChamplainTileCache *tile_cache,
84 void champlain_tile_cache_store_tile (ChamplainTileCache *tile_cache,
88 void champlain_tile_cache_refresh_tile_time (ChamplainTileCache *tile_cache,
90 void champlain_tile_cache_on_tile_filled (ChamplainTileCache *tile_cache,
H A Dchamplain-memory-cache.c63 static void store_tile (ChamplainTileCache *tile_cache,
67 static void refresh_tile_time (ChamplainTileCache *tile_cache,
69 static void on_tile_filled (ChamplainTileCache *tile_cache,
375 store_tile (ChamplainTileCache *tile_cache, in store_tile() argument
380 g_return_if_fail (CHAMPLAIN_IS_MEMORY_CACHE (tile_cache)); in store_tile()
382 ChamplainMapSource *map_source = CHAMPLAIN_MAP_SOURCE (tile_cache); in store_tile()
422 refresh_tile_time (ChamplainTileCache *tile_cache, in refresh_tile_time() argument
425 g_return_if_fail (CHAMPLAIN_IS_MEMORY_CACHE (tile_cache)); in refresh_tile_time()
427 ChamplainMapSource *map_source = CHAMPLAIN_MAP_SOURCE (tile_cache); in refresh_tile_time()
456 on_tile_filled (ChamplainTileCache *tile_cache, in on_tile_filled() argument
[all …]
H A Dchamplain-map-source-chain.c264 ChamplainTileCache *tile_cache) in assign_cache_of_next_source_sequence() argument
277 champlain_tile_source_set_cache (CHAMPLAIN_TILE_SOURCE (map_source), tile_cache); in assign_cache_of_next_source_sequence()
325 ChamplainTileCache *tile_cache = CHAMPLAIN_TILE_CACHE (map_source); in champlain_map_source_chain_push() local
326 assign_cache_of_next_source_sequence (source_chain, priv->stack_top, tile_cache); in champlain_map_source_chain_push()
351 ChamplainTileCache *tile_cache = NULL; in champlain_map_source_chain_pop() local
354 tile_cache = CHAMPLAIN_TILE_CACHE (next_source); in champlain_map_source_chain_pop()
358 assign_cache_of_next_source_sequence (source_chain, priv->stack_top, tile_cache); in champlain_map_source_chain_pop()
H A Dchamplain-file-cache.c74 static void store_tile (ChamplainTileCache *tile_cache,
78 static void refresh_tile_time (ChamplainTileCache *tile_cache,
80 static void on_tile_filled (ChamplainTileCache *tile_cache,
706 refresh_tile_time (ChamplainTileCache *tile_cache, in refresh_tile_time() argument
709 g_return_if_fail (CHAMPLAIN_IS_FILE_CACHE (tile_cache)); in refresh_tile_time()
711 ChamplainMapSource *map_source = CHAMPLAIN_MAP_SOURCE (tile_cache); in refresh_tile_time()
713 ChamplainFileCache *file_cache = CHAMPLAIN_FILE_CACHE (tile_cache); in refresh_tile_time()
745 store_tile (ChamplainTileCache *tile_cache, in store_tile() argument
750 g_return_if_fail (CHAMPLAIN_IS_FILE_CACHE (tile_cache)); in store_tile()
827 on_tile_filled (ChamplainTileCache *tile_cache, in on_tile_filled() argument
[all …]
H A Dchamplain-null-tile-source.c113 ChamplainTileCache *tile_cache = champlain_tile_source_get_cache (tile_source); in tile_rendered_cb() local
115 if (tile_cache && data) in tile_rendered_cb()
116 champlain_tile_cache_store_tile (tile_cache, tile, data, size); in tile_rendered_cb()
H A Dchamplain-file-tile-source.c168 ChamplainTileCache *tile_cache = champlain_tile_source_get_cache (tile_source); in tile_rendered_cb() local
170 if (tile_cache && data) in tile_rendered_cb()
171 champlain_tile_cache_store_tile (tile_cache, tile, data, size); in tile_rendered_cb()
H A Dchamplain-network-tile-source.c683 ChamplainTileCache *tile_cache = champlain_tile_source_get_cache (tile_source); in tile_rendered_cb() local
688 if (tile_cache && data) in tile_rendered_cb()
689 champlain_tile_cache_store_tile (tile_cache, tile, data, size); in tile_rendered_cb()
712 ChamplainTileCache *tile_cache = champlain_tile_source_get_cache (tile_source); in tile_loaded_cb() local
733 if (tile_cache) in tile_loaded_cb()
734 champlain_tile_cache_refresh_tile_time (tile_cache, tile); in tile_loaded_cb()
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/webrender/src/
H A Dvisibility.rs49 pub tile_cache: Option<Box<TileCacheInstance>>, field
189 let mut tile_cache = tile_caches in update_primitive_visibility() localVariable
196 world_culling_rect = tile_cache.pre_update( in update_primitive_visibility()
207 &tile_cache.shared_clips, in update_primitive_visibility()
210 frame_state.tile_cache = Some(tile_cache); in update_primitive_visibility()
222 frame_state.tile_cache.as_mut().unwrap().push_surface( in update_primitive_visibility()
469 frame_state.tile_cache in update_primitive_visibility()
609 let mut tile_cache = frame_state.tile_cache.take().unwrap(); in update_primitive_visibility() localVariable
612 tile_cache.post_update( in update_primitive_visibility()
617 tile_caches.insert(SliceId::new(tile_cache.slice), tile_cache); in update_primitive_visibility()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wr/webrender/src/
H A Dvisibility.rs49 pub tile_cache: Option<Box<TileCacheInstance>>, field
189 let mut tile_cache = tile_caches in update_primitive_visibility() localVariable
196 world_culling_rect = tile_cache.pre_update( in update_primitive_visibility()
207 &tile_cache.shared_clips, in update_primitive_visibility()
210 frame_state.tile_cache = Some(tile_cache); in update_primitive_visibility()
222 frame_state.tile_cache.as_mut().unwrap().push_surface( in update_primitive_visibility()
469 frame_state.tile_cache in update_primitive_visibility()
609 let mut tile_cache = frame_state.tile_cache.take().unwrap(); in update_primitive_visibility() localVariable
612 tile_cache.post_update( in update_primitive_visibility()
617 tile_caches.insert(SliceId::new(tile_cache.slice), tile_cache); in update_primitive_visibility()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/tileview/src/
H A Dmain.rs50 pub tile_cache: TileCacheInstanceSerializer field
118 background = slice.tile_cache.background_color in tile_to_svg()
137 slice.tile_cache.slice, key.x, key.y, in tile_to_svg()
145 slice.tile_cache.slice, in tile_to_svg()
299 key.x, key.y, slice.tile_cache.slice); in tile_to_svg()
364 let tile_cache = &slice.tile_cache; in slices_to_svg() localVariable
365 …*max_slice_index = if tile_cache.slice > *max_slice_index { tile_cache.slice } else { *max_slice_i… in slices_to_svg()
375 tile_cache.slice); in slices_to_svg()
383 if prev_search.tile_cache.slice == tile_cache.slice { in slices_to_svg()
390 for (key, tile) in &tile_cache.tiles { in slices_to_svg()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/tileview/src/
H A Dmain.rs49 pub tile_cache: TileCacheInstanceSerializer field
117 background = slice.tile_cache.background_color in tile_to_svg()
136 slice.tile_cache.slice, key.x, key.y, in tile_to_svg()
144 slice.tile_cache.slice, in tile_to_svg()
303 key.x, key.y, slice.tile_cache.slice); in tile_to_svg()
368 let tile_cache = &slice.tile_cache; in slices_to_svg() localVariable
369 …*max_slice_index = if tile_cache.slice > *max_slice_index { tile_cache.slice } else { *max_slice_i… in slices_to_svg()
379 tile_cache.slice); in slices_to_svg()
387 if prev_search.tile_cache.slice == tile_cache.slice { in slices_to_svg()
394 for (key, tile) in &tile_cache.tiles { in slices_to_svg()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wr/tileview/src/
H A Dmain.rs50 pub tile_cache: TileCacheInstanceSerializer field
118 background = slice.tile_cache.background_color in tile_to_svg()
137 slice.tile_cache.slice, key.x, key.y, in tile_to_svg()
145 slice.tile_cache.slice, in tile_to_svg()
299 key.x, key.y, slice.tile_cache.slice); in tile_to_svg()
364 let tile_cache = &slice.tile_cache; in slices_to_svg() localVariable
365 …*max_slice_index = if tile_cache.slice > *max_slice_index { tile_cache.slice } else { *max_slice_i… in slices_to_svg()
375 tile_cache.slice); in slices_to_svg()
383 if prev_search.tile_cache.slice == tile_cache.slice { in slices_to_svg()
390 for (key, tile) in &tile_cache.tiles { in slices_to_svg()
[all …]
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dmap_memory.cpp7 return tile_cache.get( pos, default_tile ); in get_tile()
13 tile_cache.insert( limit, pos, memorized_terrain_tile{ ter, subtile, rotation } ); in memorize_tile()
28 tile_cache.remove( pos ); in clear_memorized_tile()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dmap_memory.cpp7 return tile_cache.get( pos, default_tile ); in get_tile()
13 tile_cache.insert( limit, pos, memorized_terrain_tile{ ter, subtile, rotation } ); in memorize_tile()
28 tile_cache.remove( pos ); in clear_memorized_tile()
/dports/graphics/p5-Gimp/Gimp-2.33/examples/
H A Dimage_tile34 my %tile_cache; # Tied to image tile database
42 if (!defined($db = tie(%tile_cache, 'DB_File',
73 if (defined $tile_cache{"$dir/$file"}) {
95 $tile_cache{$file} = $$cells;
174 substr($tile_cache{$subfile},($xcell*$ycells+$ycell)*3,3);
218 untie %tile_cache;
/dports/www/firefox/firefox-99.0/gfx/wr/webrender/src/
H A Dframe_builder.rs388 let tile_cache = tile_caches in build_layer_screen_rects_and_cull_layers() localVariable
407 let world_culling_rect = tile_cache.pre_update( in build_layer_screen_rects_and_cull_layers()
419 &tile_cache.shared_clips, in build_layer_screen_rects_and_cull_layers()
433 tile_cache, in build_layer_screen_rects_and_cull_layers()
437 tile_cache.post_update( in build_layer_screen_rects_and_cull_layers()
751 let tile_cache = &ctx.tile_caches[&slice_id]; in build_composite_pass() localVariable
754 tile_cache.spatial_node_index, in build_composite_pass()
759 .map(&tile_cache.local_clip_rect) in build_composite_pass()
764 tile_cache, in build_composite_pass()
905 … let (root_spatial_node_index, surface_spatial_node_index, tile_cache) = match pic.raster_config { in build_render_pass()
[all …]
H A Dvisibility.rs174 tile_cache: &mut TileCacheInstance, in update_prim_visibility()
194 tile_cache.push_surface( in update_prim_visibility()
274 tile_cache, in update_prim_visibility()
356 tile_cache.update_prim_dependencies( in update_prim_visibility()
386 tile_cache.pop_surface(); in update_prim_visibility()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/webrender/src/
H A Dcomposite.rs466 tile_cache: &TileCacheInstance, in push_surface()
478 for tile in tile_cache.tiles.values() { in push_surface()
500 let surface = descriptor.resolve(resource_cache, tile_cache.current_tile_size); in push_surface()
507 tile.is_opaque || (!tile.has_compositor_surface && tile_cache.is_opaque()), in push_surface()
543 surface_id: tile_cache.native_surface.as_ref().map(|s| s.opaque), in push_surface()
544 offset: tile_cache.device_position, in push_surface()
554 for external_surface in &tile_cache.external_surfaces { in push_surface()
704 surface_id: tile_cache.native_surface.as_ref().map(|s| s.alpha), in push_surface()
705 offset: tile_cache.device_position, in push_surface()
H A Dpicture.rs4576 pub tile_cache: Option<Box<TileCacheInstance>>, field
4669 if let Some(tile_cache) = self.tile_cache.take() { in destroy()
4670 if !tile_cache.tiles.is_empty() { in destroy()
4672 tile_cache.slice, in destroy()
4674 tiles: tile_cache.tiles, in destroy()
4708 tile_cache: Option<Box<TileCacheInstance>>, in new_image()
4726 tile_cache, in new_image()
5238 let tile_cache = self.tile_cache.as_mut().unwrap(); in take_context() localVariable
5524 tile_cache.print(); in take_context()
5633 if let Some(ref tile_cache) = self.tile_cache in take_context()
[all …]
/dports/games/libretro-quicknes/QuickNES_Core-901248a/nes_emu/
H A DNes_Ppu_Impl.cpp31 tile_cache = NULL; in Nes_Ppu_Impl()
89 tile_cache = (cached_tile_t*) (tile_cache_mem + cache_line_size - in open_chr()
91 flipped_tiles = tile_cache + tile_count; in open_chr()
295 uint8_t* out = (uint8_t*) tile_cache [index]; in update_tile()
/dports/science/gramps/gramps-5.1.4/gramps/plugins/lib/maps/
H A Dosmgps.py185 self.osm = osmgpsmap.Map(tile_cache=tiles_path,
190 self.osm = osmgpsmap.Map(tile_cache=tiles_path,
193 self.osm.props.tile_cache = osmgpsmap.MAP_CACHE_AUTO
248 self.osm = osmgpsmap.Map(tile_cache=tiles_path,
252 self.osm = osmgpsmap.Map(tile_cache=tiles_path,
254 self.osm.props.tile_cache = osmgpsmap.MAP_CACHE_AUTO

1234