History log of /external/mesa3d/src/gbm/main/gbmint.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7250cd506baa0bd4649b30d87509cdd0cbc06a57 16-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> gbm: Rename gbm_bo_get_pitch to gbm_bo_get_stride

We use pitch for 'pixels per row' and stride for 'bytes per row' pretty
consistently in mesa and most other places, so rename the gbm API.
/external/mesa3d/src/gbm/main/gbmint.h
44f066b9ffb7749e872c9cc44ab4d6e2973c2372 13-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> gbm: Add new gbm_bo_import entry point

This generalizes and replaces gbm_bo_create_for_egl_image. gbm_bo_import
will create a gbm_bo from either an EGLImage or a struct wl_buffer.
/external/mesa3d/src/gbm/main/gbmint.h
4fddb2ba21add1c1968330e5224ecead59da3995 02-May-2012 Kristian Høgsberg <krh@bitplanet.net> gbm: Add gbm_bo_write entry point

This new gbm entry point allows writing data into a gbm bo. The bo has
to be created with the GBM_BO_USE_WRITE flag, and it's only required to
work for GBM_BO_USE_CURSOR_64X64 bos.

The gbm API is designed to be the glue layer between EGL and KMS, but there
was never a mechanism initialize a buffer suitable for use with KMS
hw cursors. The hw cursor bo is typically not compatible with anything EGL
can render to, and thus there's no way to get data into such a bo.

gbm_bo_write() fills that gap while staying out of the efficient
cpu->gpu pixel transfer business.

Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
/external/mesa3d/src/gbm/main/gbmint.h
310d8d189d14eb6c29be205bf2c9e98187b2fa84 30-Apr-2012 Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> gbm: add gbm_bo_get/set_user_data()

This allows the user to associate some data to a gbm_bo and get a
callback when the bo is destroyed.
/external/mesa3d/src/gbm/main/gbmint.h
0d1ef1f57f9011fd2bc3354d60fb19db29af7363 25-Jan-2012 Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> gbm: Add gbm_surface interface

The idea here is to be able to create an egl window surface from a
gbm_surface. This avoids the need for the surfaceless extension and
lets the EGL platform handle buffer allocation, while keeping the user
in charge of somehow presenting the buffers (using kms page flipping,
for example).

gbm_surface_lock_front_buffer() locks a surface's front buffer and
returns a gbm bo representing it. This bo should later be returned
to the gbm surface using gbm_surface_release_buffer().
/external/mesa3d/src/gbm/main/gbmint.h
8de5c355fa2bf0f30df2c7cf39aee01e793284bf 21-Feb-2012 Jesse Barnes <jbarnes@virtuousgeek.org> gbm: track buffer format through DRI drivers

GBM needs the buffer format in order to communicate with DRM and clients
for things like scanout.

So track the DRI format requested in the various back ends and use it to
return the DRI format back to GBM when requested. GBM will then map
this into the GBM surface type (which is in turn based on the DRM fb
format list).

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
/external/mesa3d/src/gbm/main/gbmint.h
baab68e1a607b818c8988e70546fe3e6f97cf572 20-Dec-2011 Rob Bradford <rob@linux.intel.com> gbm: Add documentation for the public facing API
/external/mesa3d/src/gbm/main/gbmint.h
eddcecbf74da26716509c047b95e85b00c12bab4 26-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> Add gbm (generic/graphics buffer manager)
/external/mesa3d/src/gbm/main/gbmint.h