History log of /external/mesa3d/src/gbm/main/gbm.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b4e88b500c93d9728d2a3e30f6b0365bcb224b88 03-Sep-2016 Rob Clark <robdclark@gmail.com> gbm: add missing R8 and GR88 formats

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
/external/mesa3d/src/gbm/main/gbm.h
b293e8b470506f3077b1e5db12308ec929d896e7 23-Jun-2016 Eric Engestrom <eric.engestrom@imgtec.com> gbm: doc fixes

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/gbm/main/gbm.h
8aeb6d768b4285f600d09f38d0b406adf46c251d 04-May-2016 Rob Herring <robh@kernel.org> gbm: Add map/unmap functions

This adds map and unmap functions to GBM utilizing the DRIimage extension
mapImage/unmapImage functions or existing internal mapping for dumb
buffers. Unlike prior attempts, this version provides a region to map and
usage flags for the mapping. The operation follows the same semantics as
the gallium transfer_map() function.

This was tested with GBM based gralloc on Android.

Signed-off-by: Rob Herring <robh@kernel.org>
[Emil Velikov: drop no longer relevant hunk from commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/gbm/main/gbm.h
750da80b34fa712cbc45047184f8b84d2f50b81b 24-Nov-2015 Emil Velikov <emil.velikov@collabora.com> gbm: do not wrap header inclusion in extern "C"

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/src/gbm/main/gbm.h
f3d4d10a1d483cff7b3fbb6db4d6d752dd002243 29-Oct-2015 Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com> gbm.h: Add a missing stddef.h include for size_t.

This was causing compilation issues when one of its providers wasn’t
already included before gbm.h.

Cc: "11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/src/gbm/main/gbm.h
f78b2c432f31a18794b9f62f0a0cfb8eca256151 24-Mar-2015 Flora Cui <flora.cui@amd.com> gbm: Add GBM_BO_USE_LINEAR flag

Signed-off-by: Flora Cui <flora.cui@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gbm/main/gbm.h
8430af5ebe1ee8119e14ae8fe00ec98fda40c57f 15-Jun-2014 Giovanni Campagna <gcampagna@src.gnome.org> Add support for swrast to the DRM EGL platform

Turn GBM into a swrast loader (providing putimage/getimage backed
by a dumb KMS buffer). This allows to run KMS+DRM GL applications
(such as weston or mutter-wayland) unmodified on cards that don't
have any client side HW acceleration component but that can do
modeset (examples include simpledrm and qxl)

[Emil Velikov]
- Fix make check.
- Split dri_open_driver() from dri_load_driver().
- Don't try to bind the swrast extensions when using dri.
- Handle swrast->CreateNewScreen() failure.
- strdup the driver_name, as it's free'd at destruction.
- s/LIBGL_ALWAYS_SOFTWARE/GBM_ALWAYS_SOFTWARE/
- Move gbm_dri_bo_map/unmap to gbm_driiint.h.
- Correct swrast fallback logic.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/mesa3d/src/gbm/main/gbm.h
be5e5b6c9364fcac8f26bc2875ffcfbaa4e17b45 03-Jun-2014 Michel Dänzer <michel.daenzer@amd.com> gbm: Remove 64x64 restriction from GBM_BO_USE_CURSOR

GBM_BO_USE_CURSOR_64X64 is kept so that existing users of GBM continue to
build, but it no longer rejects widths or heights other than 64.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79809

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/gbm/main/gbm.h
a43d286ef7ff65087b1f051d071b829ca7b02073 28-Mar-2014 Kristian Høgsberg <krh@bitplanet.net> gbm: Add import from fd

Add a new import type that lets us create a gbm bo from a
DMA-BUF file descriptor.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/gbm/main/gbm.h
f54f5891be24eea2af2d1c9864a3f74c1e7648fc 28-Mar-2014 Kristian Høgsberg <krh@bitplanet.net> gbm: Add gbm_bo_get_fd()

Add gbm function to get a DMA-BUF file descriptor for a gbm bo.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/gbm/main/gbm.h
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/gbm.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/gbm.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/gbm.h
6c84f2992fee8b866b9f7434c8c26613b67dc2d4 30-Apr-2012 Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> gbm: add gbm_bo_get_device() function
/external/mesa3d/src/gbm/main/gbm.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/gbm.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/gbm.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/gbm.h
baab68e1a607b818c8988e70546fe3e6f97cf572 20-Dec-2011 Rob Bradford <rob@linux.intel.com> gbm: Add documentation for the public facing API
/external/mesa3d/src/gbm/main/gbm.h
496bf3822a724127b2632596dc45648fdeda0afb 19-Jul-2011 Jørgen Lind <jorgen.lind@nokia.com> Make it possible to use gbm with c++

NOTE: This is a candiate for 7.11
/external/mesa3d/src/gbm/main/gbm.h
eddcecbf74da26716509c047b95e85b00c12bab4 26-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> Add gbm (generic/graphics buffer manager)
/external/mesa3d/src/gbm/main/gbm.h