| /xsrc/external/mit/MesaLib/dist/src/freedreno/fdl/ |
| freedreno_layout.c | 33 fdl_layout_buffer(struct fdl_layout *layout, uint32_t size) 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, int level [all...] |
| fd_layout_test.c | 35 struct fdl_layout layout = { local 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.height0, 1) [all...] |
| fd5_layout.c | 33 fdl5_layout(struct fdl_layout *layout, enum pipe_format format, 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->nr_samples = nr_samples [all...] |
| fd6_layout.c | 33 is_r8g8(struct fdl_layout *layout) 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, 57 if (is_r8g8(layout)) { 63 uint32_t cpp = fdl_cpp_shift(layout); 70 fdl6_tile_alignment(struct fdl_layout *layout, uint32_t *heightalign) 72 layout->pitchalign = fdl_cpp_shift(layout); 75 if (is_r8g8(layout) || layout->cpp == 1) [all...] |
| freedreno_layout.h | 34 /* Shared freedreno mipmap layout helper 46 /* Texture Layout on a3xx: 55 * Texture Layout on a4xx+: 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) 138 assert(util_is_power_of_two_or_zero(layout->cpp)); 139 return layout->cpp_shift [all...] |
| /xsrc/external/mit/ctwm/dist/ |
| xparsegeometry.h | 10 int RLayoutXParseGeometry(RLayout *layout, const char *geometry, int *x, int *y,
|
| /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/ |
| 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);
|
| vn_ring.c | 122 struct vn_ring_layout *layout) 125 struct layout { struct 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, buffer) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| pan_texture.c | 114 panfrost_get_layer_stride(const struct pan_image_layout *layout, 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, 133 return layout->slices[level].offset + 134 (array_idx * layout->array_stride) + 135 (surface_idx * layout->slices[level].surface_stride) 599 const struct pan_image_layout *layout = &iview->image->layout; local 712 const struct pan_image_layout *layout = &iview->image->layout; local [all...] |
| /xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/ |
| 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 140 layout = calloc(1, size); 141 if (!layout) 144 layout->connected = connected 238 struct vmwgfx_layout *layout; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| brw_rt.h | 194 brw_rt_compute_scratch_layout(struct brw_rt_scratch_layout *layout, 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/MesaLib/dist/src/gallium/frontends/lavapipe/ |
| lvp_lower_vulkan_resource.h | 30 struct lvp_pipeline_layout *layout,
|
| lvp_lower_vulkan_resource.c | 56 struct lvp_pipeline_layout *layout = data_cb; local 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->binding[binding_idx] 162 struct lvp_pipeline_layout *layout = data_cb; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/ |
| nouveau_surface.h | 40 enum nouveau_surface_layout layout; member in struct:nouveau_surface 50 enum nouveau_surface_layout layout,
|
| nouveau_surface.c | 35 enum nouveau_surface_layout layout, 45 .layout = layout, 53 if (layout == TILED) { 81 dst->layout = src->layout;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/ |
| 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/gallium/drivers/swr/rasterizer/jitter/ |
| 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.old/dist/src/gallium/drivers/swr/rasterizer/jitter/ |
| 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/ |
| 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(points, max_vertices = 0) out [all...] |
| /xsrc/external/mit/xorg-server/dist/test/ |
| 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/xorg-server.old/dist/test/ |
| 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/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/ |
| 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/tests/ |
| 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 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/ |
| fd2_resource.c | 38 fdl_set_pitchalign(&rsc->layout, fdl_cpp_shift(&rsc->layout) + 5); 42 uint32_t pitch = fdl2_pitch(&rsc->layout, level);
|
| /xsrc/external/mit/xkeyboard-config/dist/rules/compat/ |
| map-variants.py | 9 class Layout(object): 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) [all...] |