[Mesa-dev] [PATCH 6/6] i965: Allow Y-tiled allocations for large surfaces

2015-08-10 Thread Ben Widawsky
This patch will use a new calculation to determine if a surface can be blitted from or to. Previously, the "total_height" member was used. Total_height in the case of 2d, 3d, and cube map arrays is the height of each slice/layer/face. Since the GL map APIS only ever deal with a slice at a time howe

Re: [Mesa-dev] [PATCH 6/6] i965: Allow Y-tiled allocations for large surfaces

2015-03-25 Thread Ben Widawsky
On Mon, Mar 23, 2015 at 02:52:50PM +, Neil Roberts wrote: > Sorry for the delay in replying to this. > > Ben Widawsky writes: > > >> > +static inline uint32_t > >> > +intel_miptree_blit_height(struct intel_mipmap_tree *mt) > >> > +{ > >> > + switch (mt->target) { > >> > + case GL_TEXTURE

Re: [Mesa-dev] [PATCH 6/6] i965: Allow Y-tiled allocations for large surfaces

2015-03-23 Thread Neil Roberts
Sorry for the delay in replying to this. Ben Widawsky writes: >> > +static inline uint32_t >> > +intel_miptree_blit_height(struct intel_mipmap_tree *mt) >> > +{ >> > + switch (mt->target) { >> > + case GL_TEXTURE_CUBE_MAP: >> > + case GL_TEXTURE_1D_ARRAY: >> > + case GL_TEXTURE_2D_ARRAY:

Re: [Mesa-dev] [PATCH 6/6] i965: Allow Y-tiled allocations for large surfaces

2015-03-11 Thread Ben Widawsky
On Tue, Mar 10, 2015 at 05:39:24PM +, Neil Roberts wrote: > Ben Widawsky writes: > > > This patch will use a new calculation to determine if a surface can be > > blitted > > from or to. Previously, the "total_height" member was used. Total_height in > > the > > case of 2d, 3d, and cube map

Re: [Mesa-dev] [PATCH 6/6] i965: Allow Y-tiled allocations for large surfaces

2015-03-10 Thread Neil Roberts
Ben Widawsky writes: > This patch will use a new calculation to determine if a surface can be blitted > from or to. Previously, the "total_height" member was used. Total_height in > the > case of 2d, 3d, and cube map arrays is the height of each slice/layer/face. > Since the GL map APIS only eve

[Mesa-dev] [PATCH 6/6] i965: Allow Y-tiled allocations for large surfaces

2015-03-09 Thread Ben Widawsky
This patch will use a new calculation to determine if a surface can be blitted from or to. Previously, the "total_height" member was used. Total_height in the case of 2d, 3d, and cube map arrays is the height of each slice/layer/face. Since the GL map APIS only ever deal with a slice at a time howe