History log of /hardware/qcom/display/msm8084/libgralloc/mapper.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4d7187b19bdf0413b7266a471e725aef7def40e3 09-Apr-2014 Naseer Ahmed <naseer@codeaurora.org> gralloc: Report YUV plane info

The android_ycbcr structure in graphics.h is populated to give
the luma and chroma addresses. Use the same structure to give
this information to graphics via a gralloc perform call.

Change-Id: Ib42866a9ea90873886dcb60a1aac6cb375292642
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
11349e1dd46e6fee2a6f82667d15d811d8a3f378 04-Mar-2014 Raj Kamal <rkamal@codeaurora.org> gralloc: Perform func to return stride and height

The custom stride and height can be set by video
decoder for smooth streaming. Return this in
perform so that graphics can use it

Change-Id: I44c814b2bae1f61d3ec5c36a22d1c6119542b10a
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
0ccf355cb0faeae5e91c3d52a8ab698fec14a290 12-Apr-2014 Naseer Ahmed <naseer@codeaurora.org> gralloc: Remove pmem includes

Remove android_pmem as it is no longer used

Change-Id: Ib4328c57306da1ef87f9b822e70ff91da302c99a
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
cbc630614b5f9a3299bfde07377b991b4a87ae16 08-May-2013 Naseer Ahmed <naseer@codeaurora.org> gralloc: Add support for lock_ycbcr

Fill the android_ycbcr struct for HAL_PIXEL_FORMAT_YCbCr_*_888
formats.
This is a flexible YUV format that allows gralloc to set a
hardware specific YUV format based on the usage flags passed in.
Here we set the format similar to how we set the implementation
defined format and set the android_ycbcr structure to point to
the appropriate plane offsets.
Reference: HAL_PIXEL_FORMAT_YCbCr_420_888 definition in
system/core/include/system/graphics.h

Change-Id: If0c7abf5e206bf982ad333da2dae57cbac302733
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
7a09f5d1465b17a920bbc877ce1b8c63a754aa67 22-Jan-2014 Arun Kumar K.R <akumarkr@codeaurora.org> libgralloc: use proper types and type casts

- Use proper types for pointers
- Resolve compiler errors
- handle proper type casts
- remove unused variables

Change-Id: I628ebe174485d30abadea4ca40b67f9aab1a0652
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
72ec5996469f52df964b4ea4ed8f1cc3f7fbb330 15-May-2014 Naseer Ahmed <naseer@codeaurora.org> Revert "fixed msm8084 display HAL compilation"

This reverts commit b4216eed261a310a9f93607d68d139518ba516c7.
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
54df445a5148c4c03c5079ab97f29a31a1185f2d 14-May-2014 Naseer Ahmed <naseer@codeaurora.org> display: Remove ashmem header includes

Ashmem use in gralloc has been deprecated for some time. Remove
the stale headers.

Change-Id: Ic51d550e205256b6e707d33756bad9ba6a006c9e
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
b4216eed261a310a9f93607d68d139518ba516c7 28-Apr-2014 Vineeta Srivastava <vsrivastava@google.com> fixed msm8084 display HAL compilation

1. Updated Makefiles for it to compile.
2. Removed ANDROID_JB_MR2 flag
3. Removed HWC_BLIT
4. Included sync.h header

Change-Id: Ic8d713e9a68cecd961505a20ff55b8b173f2ee8d
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
85b1615c5a11a14fe9fcb0e74e7c8843af2b0733 29-Jan-2014 Shuzhen Wang <shuzhenw@codeaurora.org> gralloc: add GRALLOC_MODULE_PERFORM_GET_COLOR_SPACE_FROM_HANDLE

Provide query for graphics to determine the color space.

Change-Id: Ib710f44845f7449db6c62906b424d4a1b54400cb
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
c38cdae859e0ee12ad3284a308eaeef9d2708c74 10-Oct-2013 Manoj Kumar AVM <manojavm@codeaurora.org> hwc: Add support for Macro Tile feature

Macro tile is enabled only if all the conditions are met:
1. GPU hardware should support Macro Tiling.
2. MDSS hardware should support Macro Tiling.
3. USAGE flags shouldnt contain GRALLOC_USAGE_SW_READ_OFTEN and
GRALLOC_USAGE_SW_WRITE_OFTEN.
4. RGB 16bit and 32bit formats.
5. persist.hwc.macro_tile_enable flag should be enabled.

PRIV_FLAGS_TILE_RENDERED flag is added to indicate whether the layer
is rendered/composited in Macro Tiling or Linear format.

Change-Id: Ie3139839c84d76c5d1a2300f33910a09eb7336f4
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
cba13e265e04a01c0095e3bdfb9896a613891265 04-Nov-2013 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> libgralloc: Use new GFX API to calculate stride

Use new GFX API compute_aligned_width_and_height to get the stride
value for RGB surfaces.
Backward compatible with GFX old API when old GFX library is used.

Change-Id: I15b0954602b816bf4e88f48622494144fc77c14f
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
51fd2ca95bed3fa28515ca05a4e6b38865c60961 26-Sep-2013 Naseer Ahmed <naseer@codeaurora.org> gralloc: Perform function to return custom stride

The custom stride can be set by video for smooth streaming.
Return this in perform so that graphics can use it.

Change-Id: I798fc0894b8d9662e93769a53a540cb61b527a44
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
67aa558115b4d484ff2328ca19387613bde57ed2 28-Aug-2013 Naseer Ahmed <naseer@codeaurora.org> gralloc: Move getAllocator in unlock

Call it where it is actually needed, as it may lead to
unnecessary logs in software composition

Change-Id: Ie0e266ee0710229f3cf15f8314e2ae4b4dc1ac94
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
d2b1b25bd45c1135668ce06b7643b5bb72b23200 14-Jun-2013 Naseer Ahmed <naseer@codeaurora.org> gralloc: Fixes for software composition

Check that the buffer is actually an ion buffer
before calling clean. This is needed for the case
where the physically contiguous framebuffer is mapped.
That framebuffer memory is used for bringup.

Change-Id: I2db84d4bfc3465d995f12e0860be3cafa0d4a81b
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
2a0417549a81c49b4826c27edd90e0bae3902233 21-Mar-2013 Naseer Ahmed <naseer@codeaurora.org> display: Use cache invalidate and clean correctly

Make sure cache is invalidated before reading in software and
cleaned after writing in software.

Change-Id: I91c471c47a5f1ff11f9960f08091a17ffe575534
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
17412ead5d762cfc0c8f9c9c15a8c9ab3e8f7e33 18-Mar-2013 Naseer Ahmed <naseer@codeaurora.org> gralloc: Stride information fix

The perform enum for the stride is defined in gralloc_priv so it
is OK to keep the case outside.

Change-Id: Id31556f76c2a2ae93a15a2e2dc4169b07360e4e6
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
83b98f3b7c3c458707c95b854a3669c98d28d1f5 12-Feb-2013 Naseer Ahmed <naseer@codeaurora.org> display: Remove genlock usage

genlock is no-op from Android 4.2 onwards since the sync framework
is used for explicit synchronization.

Change-Id: Idd1df589516534a683e0fa1ef0cfbb7f0e411f67
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
b178eeae07d5fdd3c6e5fa0bf1360143cc4e2c70 08-Feb-2013 Naomi Luis <nluis@codeaurora.org> libgralloc: Add Perform function to get the stride.

- Introduce a new class to Get the Adreno computed stride information.
This class has been added to allow adreno library computed strides to
be propagated to the allocation function as well as those clients
requesting it.
- Add a new Perform function to get the stride. The width and the format
can be passed from the calling functions (like EGL) to get the stride of
the buffer.

Change-Id: I4c2b4a02deff327f0ea5558c478997527fe9d3cf
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
736f2b25c5dc2be95de68574efb1d094e5fdb4a0 13-Feb-2013 Linux Build Service Account <lnxbuild@localhost> Merge "display: Reconcile display HALs"
5070c694011ddc30673ec68a9d1d74dc713c49f2 10-Feb-2013 Duy Truong <dtruong@codeaurora.org> Update copyright to The Linux Foundation

Change-Id: I145b66896159ff9886ed73507f17b3165ba0266d
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
59644b2127280052ca410cb053f0a41c3181a97a 09-Feb-2013 Naseer Ahmed <naseer@codeaurora.org> display: Reconcile display HALs

Make the display HALs compile with/without the Qualcomm BSP
specific features so they can work with pure AOSP.
Change-Id: I1ad7282c4fe1fe7e3309afb530a07735f165ffbe
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
a0b7f4e1300ee86ca60c40fb238ed5d3f518941e 29-Jan-2013 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> display: Reset metadata pointer to NULL during unmap.

Initialize metadata pointer in the buffer handle to NULL after
unmapping the buffer pointer

Change-Id: I930a2d21a6f259426949d7aa58bd07f1f58839c0
CRs-Fixed: 434388
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
d9540d2b12538965e83044dcf62f01ffb3bdadfb 13-Jan-2013 Linux Build Service Account <lnxbuild@localhost> Merge "Update buffer dimensions with new dimension"
591f83eb35f33cf108720d9bb30cb56933e1e724 07-Nov-2012 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> display: Add display metadata in buffer handle

Allocate extra space for metadata in buffer handles
Provide api to map this space in client process and set the metadata

Change-Id: I8bca8448670d4aa88d439320faf402dae30458f8
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
5fd30e6b24fdb48b95c1aab8546da63a07a58043 08-Nov-2012 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> Update buffer dimensions with new dimension

Add case GRALLOC_MODULE_PERFORM_UPDATE_BUFFER_GEOMETRY in
gralloc_perform function to update the new buffer dimensions.

Change-Id: I7a855dc017dd042dda2abdc28c51ce5ec919fceb
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
77a5ae0adc2e220228a988c65696757b37d0826e 10-Sep-2012 Kinjal Bhavsar <kbhavsar@codeaurora.org> libgralloc: remove pid checks

These pid checks seem to have been left over from PMEM days.

Change-Id: I1e504bc889b90d8fed6e0be47fd21d1e3f42c50b
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
be2e1bb9057c8d0666de057743eeb898c78f34b0 15-Jul-2012 Naseer Ahmed <naseer@codeaurora.org> display: Clean up gralloc

* Remove pmem and ashmem implementations
* Remove usage of RefBase
* Reduce log verbosity

Change-Id: If8ef543d236e5305bd5430f4f9c62c51b3a13787
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
befc466069680cb8a65b1f22ad44723d949128c8 14-Jun-2012 Naseer Ahmed <naseer@codeaurora.org> qcom/display: Update HALs

- Update the display HAL from Code Aurora Forum
- Add updated overlay library
- Enable HWC with basic video going through overlay
- Cleanup some files

Change-Id: I65c687c51be458cee71213c79e03eeda962d9086
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp
a19f21d925628239ef52c8ce392fa4ada91df6fc 11-Jun-2012 Iliyan Malchev <malchev@google.com> initial GL libraries for msm8960

Change-Id: I16451c70a079894ac326d3564d96f1fbafcd4f1b
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/display/msm8084/libgralloc/mapper.cpp