Re: [Mesa-dev] [PATCH 2/2] i965: Implement the ARB_map_buffer_alignment extension.

2012-10-29 Thread Eric Anholt
Kenneth Graunke writes: > (This extension became core in OpenGL 4.2.) > > On Gen4+, all of our buffer objects are backed by GEM bos, which are > aligned to multiples of PAGE_SIZE (typically 4096, definitely >= 64). > > Gen3 uses malloc'd memory for some buffers, so don't expose this > extension t

[Mesa-dev] [PATCH 2/2] i965: Implement the ARB_map_buffer_alignment extension.

2012-10-28 Thread Kenneth Graunke
(This extension became core in OpenGL 4.2.) On Gen4+, all of our buffer objects are backed by GEM bos, which are aligned to multiples of PAGE_SIZE (typically 4096, definitely >= 64). Gen3 uses malloc'd memory for some buffers, so don't expose this extension there. It's not likely to be useful an