| /xsrc/external/mit/MesaLib/dist/src/freedreno/fdl/ |
| H A D | freedreno_layout.c | 33 fdl_layout_buffer(struct fdl_layout *layout, uint32_t size) argument 35 layout->width0 = size; 36 layout->height0 = 1; 37 layout->depth0 = 1; 38 layout->cpp = 1; 39 layout->cpp_shift = 0; 40 layout->size = size; 41 layout->format = PIPE_FORMAT_R8_UINT; 42 layout->nr_samples = 1; 46 fdl_tile_mode_desc(const struct fdl_layout *layout, in argument 57 fdl_dump_layout(struct fdl_layout * layout) argument [all...] |
| H A D | fd_layout_test.c | 35 struct fdl_layout layout = { local in function:fdl_test_layout 36 .ubwc = testcase->layout.ubwc, 37 .tile_mode = testcase->layout.tile_mode, 41 int max_size = MAX2(testcase->layout.width0, testcase->layout.height0); 43 while (max_size > 1 && testcase->layout.slices[mip_levels].pitch) { 49 fdl6_layout(&layout, testcase->format, 50 MAX2(testcase->layout.nr_samples, 1), testcase->layout.width0, 51 MAX2(testcase->layout [all...] |
| H A D | fd5_layout.c | 33 fdl5_layout(struct fdl_layout *layout, enum pipe_format format, argument 39 layout->width0 = width0; 40 layout->height0 = height0; 41 layout->depth0 = depth0; 43 layout->cpp = util_format_get_blocksize(format); 44 layout->cpp *= nr_samples; 45 layout->cpp_shift = ffs(layout->cpp) - 1; 47 layout->format = format; 48 layout [all...] |
| H A D | fd6_layout.c | 33 is_r8g8(struct fdl_layout *layout) argument 35 return layout->cpp == 2 && 36 util_format_get_nr_components(layout->format) == 2; 40 fdl6_get_ubwc_blockwidth(struct fdl_layout *layout, uint32_t *blockwidth, argument 57 if (is_r8g8(layout)) { 63 uint32_t cpp = fdl_cpp_shift(layout); 70 fdl6_tile_alignment(struct fdl_layout *layout, uint32_t *heightalign) argument 72 layout->pitchalign = fdl_cpp_shift(layout); 75 if (is_r8g8(layout) || layou 98 fdl6_layout(struct fdl_layout * layout,enum pipe_format format,uint32_t nr_samples,uint32_t width0,uint32_t height0,uint32_t depth0,uint32_t mip_levels,uint32_t array_size,bool is_3d,struct fdl_explicit_layout * explicit_layout) argument [all...] |
| H A D | freedreno_layout.h | 34 /* Shared freedreno mipmap layout helper 59 * levels (layer_first layout). 64 * but in layer_first layout it only includes the first layer, and 85 /* parameters for explicit (imported) layout */ 92 * Encapsulates the layout of a resource, including position of given 2d 136 fdl_cpp_shift(const struct fdl_layout *layout) argument 138 assert(util_is_power_of_two_or_zero(layout->cpp)); 139 return layout->cpp_shift; 143 fdl_pitch(const struct fdl_layout *layout, unsigned level) argument 145 return align(u_minify(layout 153 fdl_ubwc_pitch(const struct fdl_layout * layout,unsigned level) argument 161 fdl_layer_stride(const struct fdl_layout * layout,unsigned level) argument 171 fdl2_pitch(const struct fdl_layout * layout,unsigned level) argument 180 fdl2_pitch_pixels(const struct fdl_layout * layout,unsigned level) argument 186 fdl_surface_offset(const struct fdl_layout * layout,unsigned level,unsigned layer) argument 194 fdl_ubwc_offset(const struct fdl_layout * layout,unsigned level,unsigned layer) argument 204 fdl_level_linear(const struct fdl_layout * layout,int level) argument 217 fdl_tile_mode(const struct fdl_layout * layout,int level) argument 226 fdl_ubwc_enabled(const struct fdl_layout * layout,int level) argument 246 fdl_set_pitchalign(struct fdl_layout * layout,unsigned pitchalign) argument [all...] |
| /xsrc/external/mit/ctwm/dist/ |
| H A D | xparsegeometry.h | 10 int RLayoutXParseGeometry(RLayout *layout, const char *geometry, int *x, int *y,
|
| /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/ |
| H A D | vn_descriptor_set.h | 36 /* bindings must be the last field in the layout */ 75 struct vn_descriptor_set_layout *layout; member in struct:vn_descriptor_set 105 struct vn_descriptor_set_layout *layout); 109 struct vn_descriptor_set_layout *layout) 111 vn_refcount_inc(&layout->refcount); 112 return layout; 117 struct vn_descriptor_set_layout *layout) 119 if (vn_refcount_dec(&layout->refcount)) 120 vn_descriptor_set_layout_destroy(dev, layout); 108 vn_descriptor_set_layout_ref(struct vn_device * dev,struct vn_descriptor_set_layout * layout) argument 116 vn_descriptor_set_layout_unref(struct vn_device * dev,struct vn_descriptor_set_layout * layout) argument
|
| H A D | vn_ring.c | 122 struct vn_ring_layout *layout) 125 struct layout { struct in function:vn_ring_get_layout 135 layout->head_offset = offsetof(struct layout, head); 136 layout->tail_offset = offsetof(struct layout, tail); 137 layout->status_offset = offsetof(struct layout, status); 139 layout->buffer_offset = offsetof(struct layout, buffe 120 vn_ring_get_layout(size_t buf_size,size_t extra_size,struct vn_ring_layout * layout) argument 149 vn_ring_init(struct vn_ring * ring,struct vn_renderer * renderer,const struct vn_ring_layout * layout,void * shared) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| H A D | pan_texture.c | 114 panfrost_get_layer_stride(const struct pan_image_layout *layout, argument 117 if (layout->dim != MALI_TEXTURE_DIMENSION_3D) 118 return layout->array_stride; 119 else if (drm_is_afbc(layout->modifier)) 120 return layout->slices[level].afbc.surface_stride; 122 return layout->slices[level].surface_stride; 129 panfrost_texture_offset(const struct pan_image_layout *layout, argument 133 return layout->slices[level].offset + 134 (array_idx * layout->array_stride) + 135 (surface_idx * layout 139 pan_image_layout_init(const struct panfrost_device * dev,struct pan_image_layout * layout,uint64_t modifier,enum pipe_format format,enum mali_texture_dimension dim,unsigned width,unsigned height,unsigned depth,unsigned array_size,unsigned nr_samples,unsigned nr_slices,enum pan_image_crc_mode crc_mode,const struct pan_image_explicit_layout * explicit_layout) argument 556 panfrost_get_surface_strides(const struct pan_image_layout * layout,unsigned l,int32_t * row_stride,int32_t * surf_stride) argument 574 panfrost_get_surface_pointer(const struct pan_image_layout * layout,enum mali_texture_dimension dim,mali_ptr base,unsigned l,unsigned w,unsigned f,unsigned s) argument 599 const struct pan_image_layout *layout = &iview->image->layout; local in function:panfrost_emit_texture_payload 712 const struct pan_image_layout *layout = &iview->image->layout; local in function:GENX [all...] |
| /xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/ |
| H A D | vmwgfx_layout.c | 42 * struct vmwgfx_layout_box - Struct representing a GUI layout rect 54 * struct vmwgfx_layout - Struct representing a complete GUI layout 59 * @boxes: Array of GUI layout rects. 69 * vmwgfx_layout_debug - Log debug info of a layout struct. 72 * layout should be logged for. 80 xf86DrvMsg(pScrn->scrnIndex, X_DEBUG, "New layout.\n"); 123 struct vmwgfx_layout *layout; local in function:vmwgfx_layout_from_kms 140 layout = calloc(1, size); 141 if (!layout) 144 layout 181 vmwgfx_layout_configuration(ScrnInfoPtr pScrn,struct vmwgfx_layout * layout) argument 238 struct vmwgfx_layout *layout; local in function:vmwgfx_layout_handler [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_rt.h | 194 brw_rt_compute_scratch_layout(struct brw_rt_scratch_layout *layout, argument 199 layout->stack_ids_per_dss = stack_ids_per_dss; 215 layout->ray_stack_start = size; 216 layout->ray_stack_stride = BRW_RT_ASYNC_STACK_STRIDE; 217 size += num_stack_ids * layout->ray_stack_stride; 224 layout->sw_stack_start = size; 225 layout->sw_stack_size = ALIGN(sw_stack_size, 64); 226 size += num_stack_ids * layout->sw_stack_size; 228 layout->total_size = size;
|
| /xsrc/external/mit/xkeyboard-config/dist/tests/ |
| H A D | test_rules_xml.py | 28 Return an iterator of type (layout, variant) for each element in the XML 33 for layout in root.iter('layout'): 34 yield layout, None 36 for variant in layout.iter('variant'): 37 yield layout, variant 55 # for any test_foo function with an argument named layout, 56 # make it a Layout wrapper class for all layout(variant) combinations 57 elif 'layout' in metafunc.fixturenames: 64 metafunc.parametrize('layout', layout [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/ |
| H A D | lvp_lower_vulkan_resource.h | 30 struct lvp_pipeline_layout *layout,
|
| H A D | lvp_lower_vulkan_resource.c | 56 struct lvp_pipeline_layout *layout = data_cb; local in function:lower_vri_intrin_vri 57 struct lvp_descriptor_set_binding_layout *binding = &layout->set[desc_set_idx].layout->binding[binding_idx]; 64 value += layout->set[s].layout->stage[b->shader->info.stage].const_buffer_count; 66 value += layout->set[s].layout->stage[b->shader->info.stage].shader_buffer_count; 107 struct lvp_pipeline_layout *layout) 119 struct lvp_descriptor_set_binding_layout *binding = &layout->set[desc_set_idx].layout 104 lower_vri_instr_tex_deref(nir_tex_instr * tex,nir_tex_src_type deref_src_type,gl_shader_stage stage,struct lvp_pipeline_layout * layout) argument 162 struct lvp_pipeline_layout *layout = data_cb; local in function:lower_vri_instr_tex 208 lvp_lower_pipeline_layout(const struct lvp_device * device,struct lvp_pipeline_layout * layout,nir_shader * shader) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/ |
| H A D | nouveau_surface.h | 40 enum nouveau_surface_layout layout; member in struct:nouveau_surface 50 enum nouveau_surface_layout layout,
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/common/ |
| H A D | README.rst | 5 registers, layout or the compiler), e.g UUID generation.
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/ |
| H A D | nouveau_surface.h | 40 enum nouveau_surface_layout layout; member in struct:nouveau_surface 50 enum nouveau_surface_layout layout,
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/jitter/ |
| H A D | fetch_jit.h | 99 INPUT_ELEMENT_DESC layout[SWR_VTX_NUM_SLOTS]; member in struct:FETCH_COMPILE_STATE 140 if ((layout[i].bits != other.layout[i].bits) || 141 (((layout[i].InstanceEnable == 1) || (layout[i].InstanceStrideEnable == 1)) && 142 (layout[i].InstanceAdvancementState != other.layout[i].InstanceAdvancementState)))
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/jitter/ |
| H A D | fetch_jit.h | 99 INPUT_ELEMENT_DESC layout[SWR_VTX_NUM_SLOTS]; member in struct:FETCH_COMPILE_STATE 140 if ((layout[i].bits != other.layout[i].bits) || 141 (((layout[i].InstanceEnable == 1) || (layout[i].InstanceStrideEnable == 1)) && 142 (layout[i].InstanceAdvancementState != other.layout[i].InstanceAdvancementState)))
|
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/ |
| H A D | test_isel.cpp | 33 layout(location = 0) in vec4 in_color; 34 layout(location = 0) out vec4 out_color; 40 layout(location = 0) in vec4 in_color; 41 layout(location = 0) out vec4 out_color; 67 layout(local_size_x=1) in; 68 layout(binding=0) buffer Buf { 94 layout(points) in; 95 layout(points, max_vertices = 1) out; 123 layout(points) in; 124 layout(point [all...] |
| /xsrc/external/mit/xorg-server.old/dist/test/ |
| H A D | xkb.c | 67 g_assert(rmlvo.layout); 72 g_assert(strcmp(rmlvo.layout, XKB_DFLT_LAYOUT) == 0); 88 .layout = "test-layout", 100 g_assert(rmlvo.layout != rmlvo_new.layout); 106 g_assert(strcmp(rmlvo.layout, rmlvo_new.layout) == 0); 138 rmlvo_backup.layout = strdup(rmlvo.layout); [all...] |
| /xsrc/external/mit/xorg-server/dist/test/ |
| H A D | test_xkb.c | 71 assert(rmlvo.layout); 76 assert(strcmp(rmlvo.layout, XKB_DFLT_LAYOUT) == 0); 93 XkbInitRules(&rmlvo, "test-rules", "test-model", "test-layout", 97 assert(rmlvo.layout); 107 assert(rmlvo.layout != rmlvo_new.layout); 113 assert(strcmp(rmlvo.layout, rmlvo_new.layout) == 0); 147 rmlvo_backup.layout = strdup(rmlvo.layout); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_resource.c | 39 /* in layer_first layout, the level (slice) contains just one 45 rsc->layout.layer_first = false; 49 rsc->layout.layer_first = true; 55 fdl_set_pitchalign(&rsc->layout, fdl_cpp_shift(&rsc->layout) + 5); 59 uint32_t pitch = fdl_pitch(&rsc->layout, level);
|
| /xsrc/external/mit/xkeyboard-config/dist/rules/compat/ |
| H A D | map-variants.py | 10 def __init__(self, layout, variant=None): 11 self.layout = layout 13 if '(' in layout: 15 # parse a layout(variant) string 16 match = re.match(r'([^(]+)\(([^)]+)\)', layout) 17 self.layout = match.groups()[0] 22 return '{}({})'.format(self.layout, self.variant) 24 return '{}'.format(self.layout) 28 '''Returns a list of two-layout tuple [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/ |
| H A D | fd2_resource.c | 38 fdl_set_pitchalign(&rsc->layout, fdl_cpp_shift(&rsc->layout) + 5); 42 uint32_t pitch = fdl2_pitch(&rsc->layout, level);
|