Searched refs:mt (Results 1 - 25 of 394) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_tex_layout.c44 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 Dintel_tex_layout.c141 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 Dbrw_blorp.cpp32 : 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 Dintel_mipmap_tree.c87 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...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_tex_layout.c44 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 Dintel_tex_layout.c141 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 Dbrw_blorp.cpp32 : 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 Dintel_mipmap_tree.c87 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...]
/external/chromium_org/third_party/mt19937ar/
H A Dmt19937ar.cc53 MersenneTwister::MersenneTwister() : mt(N), mti(N+1) {
59 /* initializes mt[N] with a seed */
62 mt[0]= s & 0xffffffffUL;
64 mt[mti] =
65 (1812433253UL * (mt[mti-1] ^ (mt[mti-1] >> 30)) + mti);
68 /* only MSBs of the array mt[]. */
70 mt[mti] &= 0xffffffffUL;
86 mt[i] = (mt[
[all...]
/external/chromium_org/third_party/mesa/src/src/glx/
H A Dindirect_transpose_matrix.c54 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/glx/
H A Dindirect_transpose_matrix.c54 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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_tex_layout.c141 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 Di915_tex_layout.c115 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 Dintel_mipmap_tree.c87 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...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_tex_layout.c141 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 Dintel_mipmap_tree.c87 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...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_tex_layout.c141 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 Di915_tex_layout.c115 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 Dintel_mipmap_tree.c87 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...]
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_tex_layout.c141 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 Dintel_mipmap_tree.c87 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...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_miptree.c38 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/nv50/
H A Dnv50_miptree.c38 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/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
H A Dnvc0_miptree.c60 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/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_miptree.c60 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...]

Completed in 399 milliseconds

1234567891011>>