SYMBOL INDEX (206 symbols across 7 files) FILE: TestApp/GenTypes.h function uint (line 7) | inline uint extract_8bit_value(uint bit_shift, uint package) { function uint (line 14) | inline uint extract_16bit_value(uint bit_shift, uint package) { type uint (line 21) | typedef uint SimpleGroupRef; type uint (line 22) | typedef uint PietCircleRef; type uint (line 23) | typedef uint PietStrokeLineRef; type uint (line 24) | typedef uint PietFillRef; type uint (line 25) | typedef uint PietStrokePolyLineRef; type uint (line 26) | typedef uint PietItemRef; type SimpleGroupPacked (line 28) | struct SimpleGroupPacked { function SimpleGroupPacked (line 34) | inline SimpleGroupPacked SimpleGroup_read(const device char *buf, Simple... function uint (line 49) | inline uint SimpleGroup_n_items(const device char *buf, SimpleGroupRef r... function PietItemRef (line 54) | inline PietItemRef SimpleGroup_items_ix(const device char *buf, SimpleGr... function uint2 (line 59) | inline uint2 SimpleGroup_bbox(const device char *buf, SimpleGroupRef ref) { function uint4 (line 64) | inline uint4 SimpleGroup_unpack_bbox(uint2 bbox) { type SimpleGroup (line 74) | struct SimpleGroup { function SimpleGroup (line 80) | inline SimpleGroup SimpleGroup_unpack(SimpleGroupPacked packed_form) { type PietCirclePacked (line 90) | struct PietCirclePacked { function PietCirclePacked (line 94) | inline PietCirclePacked PietCircle_read(const device char *buf, PietCirc... type PietCircle (line 100) | struct PietCircle { function PietCircle (line 103) | inline PietCircle PietCircle_unpack(PietCirclePacked packed_form) { type PietStrokeLinePacked (line 110) | struct PietStrokeLinePacked { function PietStrokeLinePacked (line 119) | inline PietStrokeLinePacked PietStrokeLine_read(const device char *buf, ... function uint (line 140) | inline uint PietStrokeLine_flags(const device char *buf, PietStrokeLineR... function uint (line 145) | inline uint PietStrokeLine_rgba_color(const device char *buf, PietStroke... function PietStrokeLine_width (line 150) | inline float PietStrokeLine_width(const device char *buf, PietStrokeLine... function float2 (line 155) | inline float2 PietStrokeLine_start(const device char *buf, PietStrokeLin... function float2 (line 160) | inline float2 PietStrokeLine_end(const device char *buf, PietStrokeLineR... type PietStrokeLine (line 165) | struct PietStrokeLine { function PietStrokeLine (line 173) | inline PietStrokeLine PietStrokeLine_unpack(PietStrokeLinePacked packed_... type PietFillPacked (line 185) | struct PietFillPacked { function PietFillPacked (line 193) | inline PietFillPacked PietFill_read(const device char *buf, PietFillRef ... function uint (line 211) | inline uint PietFill_flags(const device char *buf, PietFillRef ref) { function uint (line 216) | inline uint PietFill_rgba_color(const device char *buf, PietFillRef ref) { function uint (line 221) | inline uint PietFill_n_points(const device char *buf, PietFillRef ref) { function uint (line 226) | inline uint PietFill_points_ix(const device char *buf, PietFillRef ref) { type PietFill (line 231) | struct PietFill { function PietFill (line 238) | inline PietFill PietFill_unpack(PietFillPacked packed_form) { type PietStrokePolyLinePacked (line 249) | struct PietStrokePolyLinePacked { function PietStrokePolyLinePacked (line 257) | inline PietStrokePolyLinePacked PietStrokePolyLine_read(const device cha... function uint (line 275) | inline uint PietStrokePolyLine_rgba_color(const device char *buf, PietSt... function PietStrokePolyLine_width (line 280) | inline float PietStrokePolyLine_width(const device char *buf, PietStroke... function uint (line 285) | inline uint PietStrokePolyLine_n_points(const device char *buf, PietStro... function uint (line 290) | inline uint PietStrokePolyLine_points_ix(const device char *buf, PietStr... type PietStrokePolyLine (line 295) | struct PietStrokePolyLine { function PietStrokePolyLine (line 302) | inline PietStrokePolyLine PietStrokePolyLine_unpack(PietStrokePolyLinePa... type PietItem (line 313) | struct PietItem { function uint (line 317) | inline uint PietItem_tag(const device char *buf, PietItemRef ref) { type uint (line 332) | typedef uint CmdCircleRef; type uint (line 333) | typedef uint CmdLineRef; type uint (line 334) | typedef uint CmdStrokeRef; type uint (line 335) | typedef uint CmdFillRef; type uint (line 336) | typedef uint CmdFillEdgeRef; type uint (line 337) | typedef uint CmdDrawFillRef; type uint (line 338) | typedef uint CmdSolidRef; type uint (line 339) | typedef uint CmdRef; type CmdCirclePacked (line 340) | struct CmdCirclePacked { function CmdCirclePacked (line 344) | CmdCirclePacked CmdCircle_read(const device char *buf, CmdCircleRef ref) { function ushort4 (line 347) | ushort4 CmdCircle_bbox(const device char *buf, CmdCircleRef ref) { type CmdLinePacked (line 350) | struct CmdLinePacked { function CmdLinePacked (line 355) | CmdLinePacked CmdLine_read(const device char *buf, CmdLineRef ref) { function float2 (line 358) | float2 CmdLine_start(const device char *buf, CmdLineRef ref) { function float2 (line 361) | float2 CmdLine_end(const device char *buf, CmdLineRef ref) { type CmdStrokePacked (line 364) | struct CmdStrokePacked { function CmdStrokePacked (line 369) | CmdStrokePacked CmdStroke_read(const device char *buf, CmdStrokeRef ref) { function CmdStroke_halfWidth (line 372) | float CmdStroke_halfWidth(const device char *buf, CmdStrokeRef ref) { function uint (line 375) | uint CmdStroke_rgba_color(const device char *buf, CmdStrokeRef ref) { type CmdFillPacked (line 378) | struct CmdFillPacked { function CmdFillPacked (line 383) | CmdFillPacked CmdFill_read(const device char *buf, CmdFillRef ref) { function float2 (line 386) | float2 CmdFill_start(const device char *buf, CmdFillRef ref) { function float2 (line 389) | float2 CmdFill_end(const device char *buf, CmdFillRef ref) { type CmdFillEdgePacked (line 392) | struct CmdFillEdgePacked { function CmdFillEdgePacked (line 397) | CmdFillEdgePacked CmdFillEdge_read(const device char *buf, CmdFillEdgeRe... function CmdFillEdge_sign (line 400) | int CmdFillEdge_sign(const device char *buf, CmdFillEdgeRef ref) { function CmdFillEdge_y (line 403) | float CmdFillEdge_y(const device char *buf, CmdFillEdgeRef ref) { type CmdDrawFillPacked (line 406) | struct CmdDrawFillPacked { function CmdDrawFillPacked (line 411) | CmdDrawFillPacked CmdDrawFill_read(const device char *buf, CmdDrawFillRe... function CmdDrawFill_backdrop (line 414) | int CmdDrawFill_backdrop(const device char *buf, CmdDrawFillRef ref) { function uint (line 417) | uint CmdDrawFill_rgba_color(const device char *buf, CmdDrawFillRef ref) { type CmdSolidPacked (line 420) | struct CmdSolidPacked { function CmdSolidPacked (line 424) | CmdSolidPacked CmdSolid_read(const device char *buf, CmdSolidRef ref) { function uint (line 427) | uint CmdSolid_rgba_color(const device char *buf, CmdSolidRef ref) { type Cmd (line 430) | struct Cmd { function Cmd (line 434) | Cmd Cmd_read(const device char *buf, CmdRef ref) { function uint (line 437) | uint Cmd_tag(const device char *buf, CmdRef ref) { function CmdCirclePacked (line 442) | CmdCirclePacked CmdCircle_load(const thread Cmd &s) { function CmdLinePacked (line 449) | CmdLinePacked CmdLine_load(const thread Cmd &s) { function CmdFillPacked (line 457) | CmdFillPacked CmdFill_load(const thread Cmd &s) { function CmdStrokePacked (line 465) | CmdStrokePacked CmdStroke_load(const thread Cmd &s) { function CmdFillEdgePacked (line 473) | CmdFillEdgePacked CmdFillEdge_load(const thread Cmd &s) { function CmdDrawFillPacked (line 481) | CmdDrawFillPacked CmdDrawFill_load(const thread Cmd &s) { function CmdSolidPacked (line 489) | CmdSolidPacked CmdSolid_load(const thread Cmd &s) { function CmdCircle_write (line 497) | void CmdCircle_write(device char *buf, CmdCircleRef ref, CmdCirclePacked... function CmdLine_write (line 500) | void CmdLine_write(device char *buf, CmdLineRef ref, CmdLinePacked s) { function CmdStroke_write (line 503) | void CmdStroke_write(device char *buf, CmdStrokeRef ref, CmdStrokePacked... function CmdFill_write (line 506) | void CmdFill_write(device char *buf, CmdFillRef ref, CmdFillPacked s) { function CmdFillEdge_write (line 509) | void CmdFillEdge_write(device char *buf, CmdFillEdgeRef ref, CmdFillEdge... function CmdDrawFill_write (line 512) | void CmdDrawFill_write(device char *buf, CmdDrawFillRef ref, CmdDrawFill... function CmdSolid_write (line 515) | void CmdSolid_write(device char *buf, CmdSolidRef ref, CmdSolidPacked s) { function Cmd_write_tag (line 518) | void Cmd_write_tag(device char *buf, CmdRef ref, uint tag) { FILE: TestApp/PietShaderTypes.h type RenderVertex (line 3) | typedef struct type RenderVertexInputIndex (line 11) | typedef enum RenderVertexInputIndex FILE: TestApp/SceneEncoder.h type SimpleGroup (line 21) | struct SimpleGroup { type PietCircle (line 28) | typedef struct PietCircle { type PietStrokeLine (line 33) | typedef struct PietStrokeLine { type PietFill (line 42) | typedef struct PietFill { type PietStrokePolyLine (line 50) | typedef struct PietStrokePolyLine { type PietItem (line 58) | typedef union PietItem { FILE: piet-gpu-derive/src/lib.rs type TargetLang (line 24) | enum TargetLang { method buf_arg (line 72) | fn buf_arg(self) -> &'static str { method load_expr (line 80) | fn load_expr(self, offset: usize, size: usize) -> String { type GpuScalar (line 31) | enum GpuScalar { method unpacked_type (line 102) | fn unpacked_type(self, target: TargetLang) -> GpuScalar { method typename (line 113) | fn typename(self, target: TargetLang) -> &'static str { method size (line 131) | fn size(self) -> usize { method cvt (line 140) | fn cvt(self, inner: &str, target: TargetLang) -> String { method cvt_vec (line 145) | fn cvt_vec(self, inner: &str, size: usize, target: TargetLang) -> Stri... method from_syn (line 157) | fn from_syn(ty: &syn::Type) -> Option { method fmt (line 172) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type GpuType (line 44) | enum GpuType { method unpacked_typename (line 837) | fn unpacked_typename(&self, target: TargetLang) -> String { method size (line 864) | fn size(&self, module: &GpuModule) -> usize { method alignment (line 873) | fn alignment(&self, module: &GpuModule) -> usize { method is_small (line 884) | fn is_small(&self) -> bool { method from_syn (line 893) | fn from_syn(ty: &syn::Type) -> Result { type GpuEnum (line 52) | struct GpuEnum { type GpuTypeDef (line 57) | enum GpuTypeDef { method from_syn (line 940) | fn from_syn(item: &syn::Item) -> Result { method name (line 982) | fn name(&self) -> &str { method collect_refs (line 989) | fn collect_refs(&self, enum_variants: &mut HashSet) { method size (line 1000) | fn size(&self, module: &GpuModule) -> usize { method alignment (line 1035) | fn alignment(&self, module: &GpuModule) -> usize { method to_shader (line 1119) | fn to_shader(&self, module: &GpuModule, target: TargetLang) -> String { type GpuModule (line 62) | struct GpuModule { method from_syn (line 1206) | fn from_syn(module: &syn::ItemMod) -> Result { method resolve_by_name (line 1224) | fn resolve_by_name(&self, name: &str) -> Result<&GpuTypeDef, String> { method to_shader (line 1233) | fn to_shader(&self, target: TargetLang) -> String { function simplified_add (line 186) | fn simplified_add(var_name: &str, c: usize) -> String { function vector_size_str (line 199) | fn vector_size_str(size: usize) -> &'static str { function size_in_uints (line 210) | fn size_in_uints(num_bytes: usize) -> usize { function generate_value_extractor (line 216) | fn generate_value_extractor(size_in_bits: u32) -> String { type StoredField (line 243) | struct StoredField { method generate_unpacker (line 282) | fn generate_unpacker( type PackedField (line 252) | struct PackedField { method new (line 368) | fn new() -> PackedField { method pack (line 377) | fn pack( method is_empty (line 413) | fn is_empty(&self) -> bool { method is_closed (line 417) | fn is_closed(&self) -> bool { method is_packed (line 422) | fn is_packed(&self, struct_result: bool) -> bool { method close (line 434) | fn close(&mut self, module: &GpuModule) -> Result<(), String> { method generate_reader (line 464) | fn generate_reader( method generate_accessor (line 523) | fn generate_accessor( method generate_unpackers (line 568) | fn generate_unpackers(&self, packed_struct_name: &str, target: TargetL... method size (line 583) | fn size(&self, module: &GpuModule) -> Result { type PackResult (line 262) | enum PackResult { type PackedStruct (line 269) | struct PackedStruct { method new (line 593) | fn new(module: &GpuModule, name: &str, fields: &Vec<(String, GpuType)>... method generate_functions (line 630) | fn generate_functions(&self, module: &GpuModule, target: TargetLang) -... method generate_structure_def (line 693) | fn generate_structure_def(&self, target: TargetLang) -> String { method to_shader (line 726) | fn to_shader(&self, module: &GpuModule, target: TargetLang) -> String { type SpecifiedStruct (line 275) | struct SpecifiedStruct { method new (line 737) | fn new(module: &GpuModule, name: &str, fields: Vec<(String, GpuType)>)... method generate_structure_def (line 747) | fn generate_structure_def(&self, target: TargetLang) -> String { method generate_unpacker (line 767) | fn generate_unpacker(&self) -> String { method to_shader (line 825) | fn to_shader(&self, target: TargetLang) -> String { function ty_as_single_ident (line 1278) | fn ty_as_single_ident(ty: &syn::Type) -> Option { function expr_int_lit (line 1294) | fn expr_int_lit(e: &Expr) -> Option { function align_padding (line 1306) | fn align_padding(offset: usize, alignment: usize) -> usize { function piet_gpu (line 1338) | pub fn piet_gpu(input: TokenStream) -> TokenStream { function to_snake_case (line 1357) | fn to_snake_case(mut str: &str) -> String { FILE: src/flatten.rs function flatten_path (line 10) | pub fn flatten_path(path: &BezPath, tolerance: f64) -> Vec> { FILE: src/lib.rs type SimpleGroup (line 17) | struct SimpleGroup { type ShortBbox (line 24) | struct ShortBbox([u16; 4]); method from_rect (line 89) | fn from_rect(rect: Rect) -> ShortBbox { type PietCircle (line 35) | struct PietCircle { type PietStrokeLine (line 41) | struct PietStrokeLine { type PietFill (line 52) | struct PietFill { type PietStrokePolyLine (line 62) | struct PietStrokePolyLine { type ItemType (line 72) | enum ItemType { type Encoder (line 79) | pub struct Encoder<'a> { function point_to_f32s (line 99) | fn point_to_f32s(point: Point) -> (f32, f32) { function new (line 104) | pub fn new(buf: &mut [u8]) -> Encoder { function alloc (line 114) | pub fn alloc(&mut self, size: usize) -> usize { function write_struct (line 122) | pub unsafe fn write_struct(&mut self, ix: usize, s: &T) { function begin_group (line 132) | pub fn begin_group(&mut self, n_items: usize) { function end_group (line 146) | pub fn end_group(&mut self) { function add_item (line 151) | unsafe fn add_item(&mut self, item: &T, bbox: ShortBbox) { function circle (line 167) | pub fn circle(&mut self, circle: &Circle) { function stroke_line (line 177) | pub fn stroke_line(&mut self, line: Line, width: f32, rgba: u32) { function fill (line 195) | pub fn fill(&mut self, points: &[Point], rgba: u32) { function polyline (line 209) | pub fn polyline(&mut self, points: &[Point], rgba: u32, width: f32) { function encode_points (line 224) | pub fn encode_points(&mut self, points: &[Point]) -> (usize, Rect) { function debug_print (line 243) | fn debug_print(&self) { function make_cardioid (line 257) | fn make_cardioid(encoder: &mut Encoder) { function make_path_test (line 273) | fn make_path_test(encoder: &mut Encoder) { function make_tiger (line 286) | fn make_tiger(encoder: &mut Encoder) { constant TOLERANCE (line 330) | const TOLERANCE: f64 = 0.1; function count_fill_items (line 332) | fn count_fill_items(bezpath: &BezPath) -> usize { function count_stroke_items (line 337) | fn count_stroke_items(bezpath: &BezPath) -> usize { function encode_path (line 342) | fn encode_path(encoder: &mut Encoder, bezpath: &BezPath, rgba: u32) { constant THIN_LINE (line 351) | const THIN_LINE: f32 = 0.7; function encode_path_stroke (line 353) | fn encode_path_stroke(encoder: &mut Encoder, bezpath: &BezPath, mut widt... function make_test_scene (line 369) | fn make_test_scene(encoder: &mut Encoder) { function parse_color (line 375) | fn parse_color(color: &str) -> u32 { function init_test_scene (line 388) | pub unsafe extern "C" fn init_test_scene(scene_buf: *mut u8, buf_size: u... FILE: src/main.rs type SimpleGroup (line 5) | struct SimpleGroup { function main (line 95) | fn main() {