/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_tex_layout.c | 44 struct intel_mipmap_tree *mt) 50 h0 = ALIGN(mt->height0, mt->align_h); 51 h1 = ALIGN(minify(mt->height0), mt->align_h); 52 if (mt->array_spacing_lod0) 55 qpitch = (h0 + h1 + (intel->gen >= 7 ? 12 : 11) * mt->align_h); 56 if (mt->compressed) 59 i945_miptree_layout_2d(mt); 61 for (level = mt 43 brw_miptree_layout_texture_array(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 70 brw_miptree_layout(struct intel_context *intel, struct intel_mipmap_tree *mt) argument [all...] |
H A D | intel_tex_layout.c | 141 void i945_miptree_layout_2d(struct intel_mipmap_tree *mt) argument 146 GLuint width = mt->width0; 147 GLuint height = mt->height0; 148 GLuint depth = mt->depth0; /* number of array layers. */ 150 mt->total_width = mt->width0; 152 if (mt->compressed) { 153 mt->total_width = ALIGN(mt->width0, mt [all...] |
H A D | brw_blorp.cpp | 32 : mt(NULL), 47 brw_blorp_mip_info::set(struct intel_mipmap_tree *mt, argument 50 intel_miptree_check_level_layer(mt, level, layer); 52 this->mt = mt; 53 this->width = mt->level[level].width; 54 this->height = mt->level[level].height; 58 rb.mt = mt; 68 struct intel_mipmap_tree *mt, 67 set(struct brw_context *brw, struct intel_mipmap_tree *mt, unsigned int level, unsigned int layer) argument 157 intel_hiz_exec(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int layer, gen6_hiz_op op) argument 183 brw_hiz_op_params(struct intel_mipmap_tree *mt, unsigned int level, unsigned int layer, gen6_hiz_op op) argument [all...] |
H A D | intel_mipmap_tree.c | 87 struct intel_mipmap_tree *mt = calloc(sizeof(*mt), 1); local 93 first_level, last_level, mt); 98 mt->target = target_to_target(target); 99 mt->format = format; 100 mt->first_level = first_level; 101 mt->last_level = last_level; 102 mt->width0 = width0; 103 mt->height0 = height0; 104 mt 199 struct intel_mipmap_tree *mt; local 284 struct intel_mipmap_tree *mt; local 401 struct intel_mipmap_tree *mt; local 514 intel_miptree_release(struct intel_mipmap_tree **mt) argument 566 intel_miptree_match_image(struct intel_mipmap_tree *mt, struct gl_texture_image *image) argument 602 intel_miptree_set_level_info(struct intel_mipmap_tree *mt, GLuint level, GLuint x, GLuint y, GLuint w, GLuint h, GLuint d) argument 625 intel_miptree_set_image_offset(struct intel_mipmap_tree *mt, GLuint level, GLuint img, GLuint x, GLuint y) argument 650 intel_miptree_get_image_offset(struct intel_mipmap_tree *mt, GLuint level, GLuint face, GLuint layer, GLuint *x, GLuint *y) argument 761 intel_miptree_alloc_mcs(struct intel_context *intel, struct intel_mipmap_tree *mt, GLuint num_samples) argument 830 intel_miptree_alloc_hiz(struct intel_context *intel, struct intel_mipmap_tree *mt, GLuint num_samples) argument 870 intel_miptree_slice_set_needs_hiz_resolve(struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 885 intel_miptree_slice_set_needs_depth_resolve(struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 899 intel_miptree_slice_resolve(struct intel_context *intel, struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer, enum gen6_hiz_op need) argument 919 intel_miptree_slice_resolve_hiz(struct intel_context *intel, struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 929 intel_miptree_slice_resolve_depth(struct intel_context *intel, struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 939 intel_miptree_all_slices_resolve(struct intel_context *intel, struct intel_mipmap_tree *mt, enum gen6_hiz_op need) argument 960 intel_miptree_all_slices_resolve_hiz(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 968 intel_miptree_all_slices_resolve_depth(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 1012 assert_is_flat(struct intel_mipmap_tree *mt) argument 1025 intel_miptree_downsample(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 1053 intel_miptree_upsample(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 1068 intel_miptree_map_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1110 intel_miptree_unmap_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1120 intel_miptree_map_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1181 intel_miptree_unmap_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1194 intel_miptree_map_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1240 intel_miptree_unmap_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1270 intel_miptree_map_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1301 intel_miptree_unmap_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1335 intel_miptree_map_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1405 intel_miptree_unmap_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1467 intel_miptree_attach_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode) argument 1497 intel_miptree_release_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument 1509 intel_miptree_map_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument 1560 intel_miptree_unmap_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument 1591 intel_miptree_map_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument 1650 intel_miptree_unmap_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument 1675 intel_miptree_map(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument 1702 intel_miptree_unmap(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument [all...] |
H A D | intel_tex_validate.c | 68 if (intelObj->mt && 69 (!intel_miptree_match_image(intelObj->mt, &firstImage->base.Base) || 70 intelObj->mt->first_level != tObj->BaseLevel || 71 intelObj->mt->last_level < intelObj->_MaxLevel)) { 72 intel_miptree_release(&intelObj->mt); 78 if (!intelObj->mt) { 82 intelObj->mt = intel_miptree_create(intel, 93 if (!intelObj->mt) 108 if (intelObj->mt != intelImage->mt) { 127 struct intel_mipmap_tree *mt; local [all...] |
H A D | brw_clear.c | 98 struct intel_mipmap_tree *mt = depth_irb->mt; local 103 if (!mt->hiz_mt) 119 if (mt->level[depth_irb->mt_level].width % 8 != 0 || 120 mt->level[depth_irb->mt_level].height % 4 != 0) { 124 mt->level[depth_irb->mt_level].width, 125 mt->level[depth_irb->mt_level].height); 130 switch (mt->format) { 157 if (intel->gen == 6 && (mt->level[depth_irb->mt_level].width % 16) != 0) 169 if (mt [all...] |
/external/mesa3d/src/glx/ |
H A D | indirect_transpose_matrix.c | 54 GLdouble mt[16]; local 56 TransposeMatrixd(m, mt); 57 __indirect_glLoadMatrixd(mt); 63 GLfloat mt[16]; local 65 TransposeMatrixf(m, mt); 66 __indirect_glLoadMatrixf(mt); 72 GLdouble mt[16]; local 74 TransposeMatrixd(m, mt); 75 __indirect_glMultMatrixd(mt); 81 GLfloat mt[1 local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_tex_layout.c | 141 void i945_miptree_layout_2d(struct intel_mipmap_tree *mt) argument 146 GLuint width = mt->width0; 147 GLuint height = mt->height0; 148 GLuint depth = mt->depth0; /* number of array layers. */ 150 mt->total_width = mt->width0; 152 if (mt->compressed) { 153 mt->total_width = ALIGN(mt->width0, mt [all...] |
H A D | i915_tex_layout.c | 115 i915_miptree_layout_cube(struct intel_mipmap_tree * mt) argument 117 const GLuint dim = mt->width0; 119 GLuint lvlWidth = mt->width0, lvlHeight = mt->height0; 125 mt->total_width = dim * 2; 126 mt->total_height = dim * 4; 128 for (level = mt->first_level; level <= mt->last_level; level++) { 129 intel_miptree_set_level_info(mt, level, 142 for (level = mt 157 i915_miptree_layout_3d(struct intel_mipmap_tree * mt) argument 200 i915_miptree_layout_2d(struct intel_mipmap_tree * mt) argument 228 i915_miptree_layout(struct intel_mipmap_tree * mt) argument 313 i945_miptree_layout_cube(struct intel_mipmap_tree * mt) argument 403 i945_miptree_layout_3d(struct intel_mipmap_tree * mt) argument 457 i945_miptree_layout(struct intel_mipmap_tree * mt) argument [all...] |
H A D | intel_mipmap_tree.c | 87 struct intel_mipmap_tree *mt = calloc(sizeof(*mt), 1); local 93 first_level, last_level, mt); 98 mt->target = target_to_target(target); 99 mt->format = format; 100 mt->first_level = first_level; 101 mt->last_level = last_level; 102 mt->width0 = width0; 103 mt->height0 = height0; 104 mt 199 struct intel_mipmap_tree *mt; local 284 struct intel_mipmap_tree *mt; local 401 struct intel_mipmap_tree *mt; local 514 intel_miptree_release(struct intel_mipmap_tree **mt) argument 566 intel_miptree_match_image(struct intel_mipmap_tree *mt, struct gl_texture_image *image) argument 602 intel_miptree_set_level_info(struct intel_mipmap_tree *mt, GLuint level, GLuint x, GLuint y, GLuint w, GLuint h, GLuint d) argument 625 intel_miptree_set_image_offset(struct intel_mipmap_tree *mt, GLuint level, GLuint img, GLuint x, GLuint y) argument 650 intel_miptree_get_image_offset(struct intel_mipmap_tree *mt, GLuint level, GLuint face, GLuint layer, GLuint *x, GLuint *y) argument 761 intel_miptree_alloc_mcs(struct intel_context *intel, struct intel_mipmap_tree *mt, GLuint num_samples) argument 830 intel_miptree_alloc_hiz(struct intel_context *intel, struct intel_mipmap_tree *mt, GLuint num_samples) argument 870 intel_miptree_slice_set_needs_hiz_resolve(struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 885 intel_miptree_slice_set_needs_depth_resolve(struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 899 intel_miptree_slice_resolve(struct intel_context *intel, struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer, enum gen6_hiz_op need) argument 919 intel_miptree_slice_resolve_hiz(struct intel_context *intel, struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 929 intel_miptree_slice_resolve_depth(struct intel_context *intel, struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 939 intel_miptree_all_slices_resolve(struct intel_context *intel, struct intel_mipmap_tree *mt, enum gen6_hiz_op need) argument 960 intel_miptree_all_slices_resolve_hiz(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 968 intel_miptree_all_slices_resolve_depth(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 1012 assert_is_flat(struct intel_mipmap_tree *mt) argument 1025 intel_miptree_downsample(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 1053 intel_miptree_upsample(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 1068 intel_miptree_map_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1110 intel_miptree_unmap_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1120 intel_miptree_map_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1181 intel_miptree_unmap_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1194 intel_miptree_map_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1240 intel_miptree_unmap_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1270 intel_miptree_map_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1301 intel_miptree_unmap_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1335 intel_miptree_map_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1405 intel_miptree_unmap_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1467 intel_miptree_attach_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode) argument 1497 intel_miptree_release_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument 1509 intel_miptree_map_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument 1560 intel_miptree_unmap_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument 1591 intel_miptree_map_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument 1650 intel_miptree_unmap_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument 1675 intel_miptree_map(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument 1702 intel_miptree_unmap(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument [all...] |
H A D | intel_tex_validate.c | 68 if (intelObj->mt && 69 (!intel_miptree_match_image(intelObj->mt, &firstImage->base.Base) || 70 intelObj->mt->first_level != tObj->BaseLevel || 71 intelObj->mt->last_level < intelObj->_MaxLevel)) { 72 intel_miptree_release(&intelObj->mt); 78 if (!intelObj->mt) { 82 intelObj->mt = intel_miptree_create(intel, 93 if (!intelObj->mt) 108 if (intelObj->mt != intelImage->mt) { 127 struct intel_mipmap_tree *mt; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_tex_layout.c | 141 void i945_miptree_layout_2d(struct intel_mipmap_tree *mt) argument 146 GLuint width = mt->width0; 147 GLuint height = mt->height0; 148 GLuint depth = mt->depth0; /* number of array layers. */ 150 mt->total_width = mt->width0; 152 if (mt->compressed) { 153 mt->total_width = ALIGN(mt->width0, mt [all...] |
H A D | intel_mipmap_tree.c | 87 struct intel_mipmap_tree *mt = calloc(sizeof(*mt), 1); local 93 first_level, last_level, mt); 98 mt->target = target_to_target(target); 99 mt->format = format; 100 mt->first_level = first_level; 101 mt->last_level = last_level; 102 mt->width0 = width0; 103 mt->height0 = height0; 104 mt 199 struct intel_mipmap_tree *mt; local 284 struct intel_mipmap_tree *mt; local 401 struct intel_mipmap_tree *mt; local 514 intel_miptree_release(struct intel_mipmap_tree **mt) argument 566 intel_miptree_match_image(struct intel_mipmap_tree *mt, struct gl_texture_image *image) argument 602 intel_miptree_set_level_info(struct intel_mipmap_tree *mt, GLuint level, GLuint x, GLuint y, GLuint w, GLuint h, GLuint d) argument 625 intel_miptree_set_image_offset(struct intel_mipmap_tree *mt, GLuint level, GLuint img, GLuint x, GLuint y) argument 650 intel_miptree_get_image_offset(struct intel_mipmap_tree *mt, GLuint level, GLuint face, GLuint layer, GLuint *x, GLuint *y) argument 761 intel_miptree_alloc_mcs(struct intel_context *intel, struct intel_mipmap_tree *mt, GLuint num_samples) argument 830 intel_miptree_alloc_hiz(struct intel_context *intel, struct intel_mipmap_tree *mt, GLuint num_samples) argument 870 intel_miptree_slice_set_needs_hiz_resolve(struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 885 intel_miptree_slice_set_needs_depth_resolve(struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 899 intel_miptree_slice_resolve(struct intel_context *intel, struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer, enum gen6_hiz_op need) argument 919 intel_miptree_slice_resolve_hiz(struct intel_context *intel, struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 929 intel_miptree_slice_resolve_depth(struct intel_context *intel, struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 939 intel_miptree_all_slices_resolve(struct intel_context *intel, struct intel_mipmap_tree *mt, enum gen6_hiz_op need) argument 960 intel_miptree_all_slices_resolve_hiz(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 968 intel_miptree_all_slices_resolve_depth(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 1012 assert_is_flat(struct intel_mipmap_tree *mt) argument 1025 intel_miptree_downsample(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 1053 intel_miptree_upsample(struct intel_context *intel, struct intel_mipmap_tree *mt) argument 1068 intel_miptree_map_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1110 intel_miptree_unmap_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1120 intel_miptree_map_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1181 intel_miptree_unmap_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1194 intel_miptree_map_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1240 intel_miptree_unmap_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1270 intel_miptree_map_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1301 intel_miptree_unmap_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1335 intel_miptree_map_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1405 intel_miptree_unmap_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument 1467 intel_miptree_attach_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode) argument 1497 intel_miptree_release_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument 1509 intel_miptree_map_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument 1560 intel_miptree_unmap_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument 1591 intel_miptree_map_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument 1650 intel_miptree_unmap_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument 1675 intel_miptree_map(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument 1702 intel_miptree_unmap(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument [all...] |
H A D | intel_tex_validate.c | 68 if (intelObj->mt && 69 (!intel_miptree_match_image(intelObj->mt, &firstImage->base.Base) || 70 intelObj->mt->first_level != tObj->BaseLevel || 71 intelObj->mt->last_level < intelObj->_MaxLevel)) { 72 intel_miptree_release(&intelObj->mt); 78 if (!intelObj->mt) { 82 intelObj->mt = intel_miptree_create(intel, 93 if (!intelObj->mt) 108 if (intelObj->mt != intelImage->mt) { 127 struct intel_mipmap_tree *mt; local [all...] |
H A D | intel_tex_obj.h | 51 struct intel_mipmap_tree *mt; member in struct:intel_texture_object 63 /* If intelImage->mt != NULL, image data is stored here. 67 struct intel_mipmap_tree *mt; member in struct:intel_texture_image
|
H A D | intel_mipmap_tree.h | 132 * x = mt->level[l].slice[s].x_offset 133 * y = mt->level[l].slice[s].y_offset 196 * MESA_FORMAT_Z32_FLOAT_X24S8, then mt->format will be 279 * miptree (back_irb->mt) and a child singlesample miptree 280 * (back_irb->mt->singlesample_mt). The DRM buffer shared with DRI2 281 * belongs to `back_irb->mt->singlesample_mt` and contains singlesample 287 * `back_rb->mt` to `back_rb->mt->singlesample_mt` when necessary. 296 * Suppose the intel_miptree_map is called on a multisample miptree, `mt`, 297 * for which case 1 does not apply (that is, `mt` doe 413 intel_miptree_check_level_layer(struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) argument 592 intel_hiz_exec(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int layer, enum gen6_hiz_op op) argument [all...] |
/external/toybox/toys/posix/ |
H A D | df.c | 36 static void show_mt(struct mtab_list *mt) argument 43 if (!mt) return; 50 if (!strcmp(mt->type, al->arg)) break; 56 if (!(toys.optflags & FLAG_a) && !mt->statvfs.f_blocks) return; 60 block = mt->statvfs.f_bsize ? mt->statvfs.f_bsize : 1; 61 size = (block * mt->statvfs.f_blocks) / TT.units; 62 used = (block * (mt->statvfs.f_blocks-mt->statvfs.f_bfree)) / TT.units; 63 avail = (block*(getuid()?mt 84 struct mtab_list *mt, *mtstart, *mtend; local [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
H A D | nv50_miptree.c | 38 nv50_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) argument 40 const unsigned ms = mt->ms_x + mt->ms_y; 44 if (unlikely(mt->base.base.flags & NOUVEAU_RESOURCE_FLAG_LINEAR)) 46 if (unlikely(mt->base.base.bind & PIPE_BIND_CURSOR)) 49 switch (mt->base.base.format) { 67 switch (util_format_get_blocksizebits(mt->base.base.format)) { 82 if (mt->base.base.bind & PIPE_BIND_SCANOUT) { 102 if (mt->base.base.bind & PIPE_BIND_CURSOR) 115 struct nv50_miptree *mt local 130 struct nv50_miptree *mt = nv50_miptree(pt); local 157 nv50_miptree_init_ms_mode(struct nv50_miptree *mt) argument 186 nv50_miptree_init_layout_linear(struct nv50_miptree *mt) argument 207 nv50_miptree_init_layout_tiled(struct nv50_miptree *mt) argument 258 struct nv50_miptree *mt = CALLOC_STRUCT(nv50_miptree); local 309 struct nv50_miptree *mt; local 347 nv50_mt_zslice_offset(const struct nv50_miptree *mt, unsigned l, unsigned z) argument 370 nv50_surface_from_miptree(struct nv50_miptree *mt, const struct pipe_surface *templ) argument 408 struct nv50_miptree *mt = nv50_miptree(pt); local [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
H A D | nvc0_miptree.c | 60 nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) argument 62 const unsigned ms = util_logbase2(mt->base.base.nr_samples); 68 if (unlikely(mt->base.base.bind & PIPE_BIND_CURSOR)) 70 if (unlikely(mt->base.base.flags & NOUVEAU_RESOURCE_FLAG_LINEAR)) 73 switch (mt->base.base.format) { 106 switch (util_format_get_blocksizebits(mt->base.base.format)) { 155 nvc0_miptree_init_ms_mode(struct nv50_miptree *mt) argument 157 switch (mt->base.base.nr_samples) { 159 mt->ms_mode = NVC0_3D_MULTISAMPLE_MODE_MS8; 160 mt 187 nvc0_miptree_init_layout_video(struct nv50_miptree *mt) argument 212 nvc0_miptree_init_layout_tiled(struct nv50_miptree *mt) argument 275 struct nv50_miptree *mt = CALLOC_STRUCT(nv50_miptree); local 328 nvc0_mt_zslice_offset(const struct nv50_miptree *mt, unsigned l, unsigned z) argument [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
H A D | MersenneTwister.java | 36 * href="http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/ARTICLES/mt.pdf">Mersenne 97 private int[] mt; field in class:MersenneTwister 107 mt = new int[N]; 115 mt = new int[N]; 124 mt = new int[N]; 132 mt = new int[N]; 145 mt[0]= (int) longMT; 150 mt[mti]= (int) longMT; 173 long l0 = (mt[i] & 0x7fffffffl) | ((mt[ [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_mipmap_tree.c | 127 static void compute_tex_image_offset(radeonContextPtr rmesa, radeon_mipmap_tree *mt, argument 130 radeon_mipmap_level *lvl = &mt->levels[level]; 135 lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt->target); 136 lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebits); 159 static void calculate_miptree_layout(radeonContextPtr rmesa, radeon_mipmap_tree *mt) argument 163 assert(mt->numLevels <= rmesa->glCtx->Const.MaxTextureLevels); 166 for(face = 0; face < mt 192 radeon_mipmap_tree *mt = CALLOC_STRUCT(_radeon_mipmap_tree); local 219 radeon_miptree_reference(radeon_mipmap_tree *mt, radeon_mipmap_tree **ptr) argument 231 radeon_mipmap_tree *mt = *ptr; local 300 radeon_miptree_matches_image(radeon_mipmap_tree *mt, struct gl_texture_image *texImage) argument 321 radeon_miptree_matches_texture(radeon_mipmap_tree *mt, struct gl_texture_object *texObj) argument 390 radeon_miptree_image_offset(radeon_mipmap_tree *mt, GLuint face, GLuint level) argument 402 migrate_image_to_miptree(radeon_mipmap_tree *mt, radeon_texture_image *image, int face, int level) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_mipmap_tree.c | 127 static void compute_tex_image_offset(radeonContextPtr rmesa, radeon_mipmap_tree *mt, argument 130 radeon_mipmap_level *lvl = &mt->levels[level]; 135 lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt->target); 136 lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebits); 159 static void calculate_miptree_layout(radeonContextPtr rmesa, radeon_mipmap_tree *mt) argument 163 assert(mt->numLevels <= rmesa->glCtx->Const.MaxTextureLevels); 166 for(face = 0; face < mt 192 radeon_mipmap_tree *mt = CALLOC_STRUCT(_radeon_mipmap_tree); local 219 radeon_miptree_reference(radeon_mipmap_tree *mt, radeon_mipmap_tree **ptr) argument 231 radeon_mipmap_tree *mt = *ptr; local 300 radeon_miptree_matches_image(radeon_mipmap_tree *mt, struct gl_texture_image *texImage) argument 321 radeon_miptree_matches_texture(radeon_mipmap_tree *mt, struct gl_texture_object *texObj) argument 390 radeon_miptree_image_offset(radeon_mipmap_tree *mt, GLuint face, GLuint level) argument 402 migrate_image_to_miptree(radeon_mipmap_tree *mt, radeon_texture_image *image, int face, int level) argument [all...] |
/external/openfst/src/bin/ |
H A D | fstmap.cc | 63 s::MapType mt; local 65 mt = s::ARC_SUM_MAPPER; 67 mt = s::IDENTITY_MAPPER; 69 mt = s::INVERT_MAPPER; 71 mt = s::PLUS_MAPPER; 73 mt = s::QUANTIZE_MAPPER; 75 mt = s::RMWEIGHT_MAPPER; 77 mt = s::SUPERFINAL_MAPPER; 79 mt = s::TIMES_MAPPER; 81 mt [all...] |
/external/clang/test/Modules/Inputs/PR20786/ |
H A D | random.h | 9 mersenne_twister_engine<int> mt; // require complete type member in struct:std::random_device
|
/external/fio/ |
H A D | ghelpers.c | 144 void multitext_add_entry(struct multitext_widget *mt, const char *text) argument 146 mt->text = realloc(mt->text, (mt->max_text + 1) * sizeof(char *)); 147 mt->text[mt->max_text] = strdup(text); 148 mt->max_text++; 151 void multitext_set_entry(struct multitext_widget *mt, unsigned int index) argument 153 if (index >= mt->max_text) 155 if (!mt 162 multitext_update_entry(struct multitext_widget *mt, unsigned int index, const char *text) argument 176 multitext_free(struct multitext_widget *mt) argument [all...] |