83088693116b65d1b5fcdc0a4d7d432b5448d092 |
|
25-Feb-2012 |
Eric Anholt <eric@anholt.net> |
intel: Drop the tracking of bo_map vs bo_map_gtt for unmapping. drm_intel_bo_unmap() supports both in the current libdrm version. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
2e5a1a254ed81b1d3efa6064f48183eefac784d0 |
|
07-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Convert from GLboolean to 'bool' from stdbool.h. I initially produced the patch using this bash command: for file in {intel,i915,i965}/*.{c,cpp,h}; do [ ! -h $file ] && sed -i 's/GLboolean/bool/g' $file && sed -i 's/GL_TRUE/true/g' $file && sed -i 's/GL_FALSE/false/g' $file; done Then I manually added #include <stdbool.h> to fix compilation errors, and converted a few functions back to GLboolean that were used in core Mesa's function pointer table to avoid "incompatible pointer" warnings. Finally, I cleaned up some whitespace issues introduced by the change. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Chad Versace <chad@chad-versace.us> Acked-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
d58a3182b1e680105731897fe2d84928daf89fce |
|
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove stale comment about non-intel gl_buffer_objects. This hasn't been true since dd26899ca39111e0866afed9df94bfb1618dd363 in 2009. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
bc0335fc0e0bd6a777ef16ad5245d35ccf7adcf6 |
|
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove the pbo zero-copy code. There were notes about the possibility of slowdowns due to zcopy from a PBO due to thrashing around of the region. Slowdowns are even more likely now that textures are generally tiled, which a zcopy wouldn't get. Additionally, there were no checks on the buffer size to ensure that the hardware-required rounding was present, which could result in GPU hangs on large zcopy PBOs. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
5b6264b42ec7e76565695b452801b775f820955e |
|
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence "warning: unused parameter ‘intel’" The intel_context was not used in any of these functions, so remove it.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
1546291e5b8d3ac02f5bee38252f9d479bcf95cc |
|
03-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Align index to type size and flush if the type changes Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
a07e4811794051dc65187d17b7f85e340e61854e |
|
18-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Use specified alignment for writes into the upload buffer Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
3630d5b69afcecc3142d2c4897835175886f4bd8 |
|
11-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: combine short memcpy using a temporary allocated buffer Using a temporary buffer for large discontiguous uploads into the common buffer and a single buffered upload is faster than performing the discontiguous copies through a mapping into the GTT. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
8a9e67b8df9836408270a4bc3660ec45b622ae56 |
|
10-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Buffered upload Rather than performing lots of little writes to update the common bo upon each update, write those into a static buffer and flush that when full (or at the end of the batch). Doing so gives a dramatic performance improvement over and above using mmaped access. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
abb37861d9f3310fe2d16194d893682092f41087 |
|
08-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Combine vb upload buffer with the general upload buffer Reuse the new common upload buffer for uploading temporary indices and rebuilt vertex arrays. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
e476e122207e6195a16a8c7d2cab90eeba227934 |
|
08-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Pack dynamic draws together Dynamic arrays have the tendency to be small and so allocating a bo for each one is overkill and we can exploit many efficiency gains by packing them together. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e |
|
07-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Change dri_bo_* to drm_intel_bo* to consistently use new API. The slightly less mechanical change of converting the emit_reloc calls will follow.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
ec32ef12b3a496008cc982acfefca570a88e92eb |
|
02-Sep-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for FlushMappedBufferRange for ARB_map_buffer_range. This should help for the usage by the VBO module, where we would upload the whole remaining chunk of the buffer for a series of range maps that should cover just a segment of it.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
2d5c74fac3cc0f9d45a9e11b2fcdea1bc67928c4 |
|
27-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for GL_ARB_map_buffer_range. Passes glean's bufferObject test, and should provide good performance in the cases applications are expected to use.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
dd26899ca39111e0866afed9df94bfb1618dd363 |
|
19-Jun-2009 |
Michel Dänzer <daenzer@vmware.com> |
intel: Fixups for 'mesa: create/destroy buffer objects via driver functions'. Initialize all driver function hooks before calling _mesa_initialize_context(), and handle all buffer objects in intel_buffer_object(). Fixes assertion failure when running glxinfo.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
a945e203d4fe254593bc0c5c5d6caca45e65f9f7 |
|
02-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i915: Don't put VBOs in graphics memory unless required for an operation. This saves doing swtnl from uncached memory, which is painful. Improves clutter test-text performance by 10% since it started using VBOs.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
aa422b262509bc0763a50f63a51a1730139ea52f |
|
10-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Map write-only buffer objects through the GTT when possible. This looks to be a win of a few percent in cairogears with new vbo code, thanks to not polluting caches.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
ecadb51bbcb972a79f3ed79e65a7986b9396e757 |
|
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
bea6b5fe5aa3138cec8d057766ae48da4aa57dee |
|
20-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Enable EXT_framebuffer_object. To do so, merge the remainnig necessary code from the buffers, blit, span, and screen code to shared, and replace it with those.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|
77a5bcaff43df8d54e0e0ef833726e4b41d7eb36 |
|
07-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Move over files that will be shared with 965-fbo work.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_buffer_objects.h
|