History log of /hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3d3705af561ebe7182b23fdc81e0b755d22b11eb 17-Feb-2014 Praveena Pachipulusu <pveena@codeaurora.org> hwc: Use proper typecasts.

- Remove compiler warnings
- Use proper typecasts

Change-Id: I7391f32ae31283239f5cebb93b02f3ce3a5c99f3
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
592d33199d009cd45899728ccae80e8f53c17c83 29-Mar-2014 Saurabh Shah <saurshah@codeaurora.org> hwc: featurize using QCOM_BSP

- Use QCOM_BSP for HWC_BLIT and GPUHint features
- These are not avaliable on all platforms

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

This reverts commit b4216eed261a310a9f93607d68d139518ba516c7.
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.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/libhwcomposer/hwc_copybit.cpp
41fe82df3a2ad45e2f78cea2408ee5db6fbb0cf5 25-Feb-2014 Ramakant Singh <ramaka@codeaurora.org> HWC/copybit: Add ceil value for downscale value

We are dividing (in downscaling case )the src rect value
to get intermediate value of dst. And due to rounding we
may not get exact ratio of src and tmp dst in kernel or
else where.Hence using ceil value.

CRs-Fixed: 618847
Change-Id: I8b95c3e00e83ff986d95e063d5927a3c57a13ff6
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
c9cbe63708025b7aed15e251b2fb3a914fd842a0 01-Feb-2014 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> display: Remove klockwork warnings and errors.

Remove all klockwork warnings and errors for libgralloc,
libhwcomposer, liboverlay, libqdutils, libqservice, libvirtual,
libexternal libraries to avoid buffer overflow and memory leaks.

Change-Id: I078143bcbcf5e4b342156bd8305a644566f7cc4b
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
404047f2c61687024048b04374ea736285ddded1 22-Jan-2014 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: resolve compiler warnings

- remove unused variables.
- fix incorrect castings.

Change-Id: I7661edb4539a3ffc7d4aedbb9f633bc5ba1dc149
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
65442bc0f3a2691d97ec76e826adf2df58b5fd0a 20-Jan-2014 Linux Build Service Account <lnxbuild@localhost> Merge "display : change wormhole calculation for swap rect"
117eea591967994558d52b761bcb02a7bc7a8448 07-Jan-2014 Ramakant Singh <ramaka@codeaurora.org> HWC copybit: Add conditional check for src/dst crop w and h

It's better to check the source/dst crop width and height
for null and -ve value, may cause float exception.

CRs-Fixed: 596099
Change-Id: I34881cf37a99fb52be6429e27deba4ac12ed2474
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
05317317b22f6618cd714fed603530aa87c5f7eb 28-Nov-2013 Ramakant Singh <ramaka@codeaurora.org> display : change wormhole calculation for swap rect

In case of swap rect use case ,wormhole rect will
be same as dirty rect (if has any blending)

Change-Id: Id2ee34d860207c440a033010460723fe964f7074
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
ef49cc7dd1d50a020598a9e821c5aa234503b559 09-Oct-2013 Terence Hampson <thampson@codeaurora.org> hwc: Remove need for intermediate for mdp3 composition

8x10 has a product line that is suppose to use 256MB. The
intermediate buffers allocated are not needed when we can
compose onto fb frame.

Change-Id: I13fd2deb328a3ef4b6738cfe7030fe67ea7bd6c6
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
16107e9870c29bcab6870d4d3b64d0ddfe80bbab 12-Dec-2013 Linux Build Service Account <lnxbuild@localhost> Merge "hwc/copybit: Fix the wrong layer transform check."
22f977503ee026046710b08747e52d97ac89d27b 10-Dec-2013 Linux Build Service Account <lnxbuild@localhost> Merge "hwcomposer : Fixing copybit render buffer fence closing."
873f87ff71856cfb749daadd996ea1390c930ef6 10-Dec-2013 Sushil Chauhan <sushilchauhan@codeaurora.org> hwc/copybit: Fix the wrong layer transform check.

At 90/270 degree rotations, if there is vertical or horizontal flip in
layer transform, it is wrongly interpreted by display HAL due to wrong
check. So Copybit destination rectangle width & height are not swapped
which leads to unwanted out-of-range scaling.

Change-Id: Ib917b907d1284b91b7d6c25038050bbcb503a792
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
db6ac5126b3c012adbaeda7c51acc741844d7213 08-Dec-2013 Linux Build Service Account <lnxbuild@localhost> Merge "copybit: Set default value on COPYBIT_TRANSFORM for Color layer."
c4aeb6a47160792212f22edecdf1ed45e5f575f3 30-Oct-2013 Saurabh Shah <saurshah@codeaurora.org> hwc: Do not use fb handle in hwc_prepare

Do not use fb handle in prepare. Use displayFrame for dimensions,
align them and hardcode format

Change-Id: I5c494a74a807d3a52a1c88257494b58c583700f5
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
4dbb002937f5fe623f2bea7916d05e226697063a 05-Dec-2013 Sushil Chauhan <sushilchauhan@codeaurora.org> copybit: Set default value on COPYBIT_TRANSFORM for Color layer.

1. For Color layer, set zero transform value on COPYBIT_TRANSFORM
otherwise it causes MDP IOMMU page fault at 90/270 degree rotation.
2. Color layer is part of Copybit context list, so no need to call
msm_copybit() explicitly for it, that will be called during flush.

Change-Id: I4421b4bddfeca56b0ad8534d921c3d743a7d92bb
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
cacc5bcb5393f17c74da7aa2a45365fcba335a00 27-Nov-2013 Ramakant Singh <ramaka@codeaurora.org> copybit: Use rounded integer crop value.

We are getting floating crop value in layer
but need to convert as integer for MDP.
Change-Id: Id1de7f61804295df40f3f699446c69860752b867
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
a82f5d684a451ba02df94533381b6659800e0549 22-Nov-2013 Radhika Ranjan Soni <rrsoni@codeaurora.org> hwcomposer : Fixing copybit render buffer fence closing.

While closing the fence, correct index is not used.
Fixing the same.

Change-Id: I654ec4e649c247dca9c038e5b15184a01833bdc4
CRs-Fixed: 578408
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
9cb4c41a7688c3f5b979fcb6cc8f220b37b90732 22-Nov-2013 Linux Build Service Account <lnxbuild@localhost> Merge "hwc: Fallback to gpu comp when copybit cannot handle scaling"
503386673b68e63ee15b576703e9b0a140cc5401 06-Nov-2013 Terence Hampson <thampson@codeaurora.org> hwc: Fallback to gpu comp when copybit cannot handle scaling

For MDP3 we cannot support scaling more/less then 4 times. Copybit
will use intermediate buffer to run scaling operation between 4
and 16, by going through MDP3 twice. But will not continue to do
so for scaling factors greater than 16 because operation takes too
long. It is in this case that we will fallback to gpu composition.

Change-Id: I99c05f6c70307823d0497cc8f9469bcc15178fea
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
e2340954ff2b3a9bcefc09b52f636fc427c9d43b 20-Nov-2013 Linux Build Service Account <lnxbuild@localhost> Merge "hwcomposer : Fix copybit render buffer fence usage."
e8f8302303800fd6c13a3120954dd991606aa0db 29-Oct-2013 Radhika Ranjan Soni <rrsoni@codeaurora.org> Revert "hwc: Fix Flicker on video start on MDP3 target"

This reverts commit 8f45bf6467fa1e06ee91cea1794c17b46139100b.
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
bf5bd0784e67c95c5ce4bf1ab063c1b178525592 21-Oct-2013 radhakrishna <radhakrishna@codeaurora.org> display : Add wormholeRegion Calculation

For copybit cases we should clear wormhole region
rather than nonwormhole. Adding support to calculate
and clear the same.

Change-Id: Ie85d1b484174199e35f43ce95b30de1fac9c30b2
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
4c149fa8c0d3d9a5b5dee191afc421750d97cd3d 17-Oct-2013 Ramakant Singh <ramaka@codeaurora.org> HWC : Add support for solid fill color

We are using the solid fill feature for
clearing the wormhole region using black
color.
Using the src buffer same as dst buffer to
avoid kernel checks for this use case.

Change-Id: Ia46aded9b067ece83c9df1f2c2cdd6b017fa64ea
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
b67303f4ba6edc01c9e255f841a36b13043105f3 31-Oct-2013 Prabhanjan Kandula <pkandula@codeaurora.org> hwcomposer : Fix copybit render buffer fence usage.

Fixing array size to hold fence fd to count of render
buffers used in copybit and use it to store
fence of corresponding render buffer at the index.

Change-Id: Ic5e7f264c2a81ded2a0f61ef138e59a093b0023a
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
905042d4ea8c4c736ea248b694d93ef2f59866d5 22-Oct-2013 Sushil Chauhan <sushilchauhan@codeaurora.org> hwc/copybit: Add Color layer support in MDP Copybit composition.

1. Color layer has a destination rectangle, RGBA color and plane
alpha. There is no gralloc buffer. Layer flag HWC_COLOR_FILL
denotes color layer. MDP BLIT happens via MDP_SOLID_FILL mode.
2. There is no color member in HWC layer, so RGBA color value is
passed via "tranform" member from framework to HAL.
3. Update HWC query to enable framework to query for Color layer
support in HAL, at run-time.

Change-Id: I2c698007c1689779fe86d549093bb5285432dc5f
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
8f42508dc1e3bf24da360d5fbefd8c6574f82868 17-Sep-2013 Saurabh Shah <saurshah@codeaurora.org> hwc: Bump up version to 1.3

Increment hwc version to 1.3.
Create and use a converter from float source crop to integers.

Change-Id: I5e185195c975b3a9434c5d9dce9ae4757ff98739
(cherry picked from commit 7e5637c850bcdbe21784ca3bfa9668870306adff)
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
46e985ec9b6229c416db2006c0a3cd87f9c0d593 04-Nov-2013 Linux Build Service Account <lnxbuild@localhost> Merge "hwc: remove gpu fallback when there is rotation"
ca0e4bf967a8d0d8bdbc93041f2a97bddaaa44d8 02-Nov-2013 Linux Build Service Account <lnxbuild@localhost> Merge "hwc: Ignore force overlay_set on mdp3 targets"
0ba4c1d6ac1b48697b6464f6450665836e50baeb 17-Oct-2013 Terence Hampson <thampson@codeaurora.org> hwc: Ignore force overlay_set on mdp3 targets

Since mdp3 only has one dma pipe for overlay, which in the driver
is just a sw overlay, there is no need to force a overlay_set call
when HWC_GEOMETRY_CHANGED is set.
Also we are moving the wait for distination buffer fence to
wait inside the blit call for mdp3.

Change-Id: Id0aed8732dc49b1041d8174a5ff38703c8023abf
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
0d530c8c754e9ccb1f122ee2818d9d1d47d7d4da 05-Jun-2013 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> hwc: Add support to smooth streaming feature.

update the source video width and height set by the video decoder
for secure video smooth streaming usecase from metadata.

Change-Id: I73a3804d90557034604142481a232787dbc08f23
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
f01e10a58786e9cb3200a757f65547868a29773d 11-Oct-2013 Sushil Chauhan <sushilchauhan@codeaurora.org> hwc/copybit: Handle "R/B swap" for RGBA and RGBX color formats.

1.Framework notifies HAL with "HWC_FORMAT_RB_SWAP" layer flag to handle
a limitation where R and B components were swapped in Rendering phase.
2.Add "R/B swap" in hwc query to enable framework to query for support
in display HAL, at run-time.

Change-Id: I3b44d15b51b4f24939048fee9d1bac2b9009c97c
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
3b26fdc72f04cc1a3d9e7bdc753ed5131909f2b4 03-Sep-2013 Terence Hampson <thampson@codeaurora.org> hwc: change error logs to debug logs

There was an error message that should just be a warning messages.
These error logs can cause automation testing to fail.

Change-Id: Ifb205d9f893012e9693628fcd24b2493d7ea51b8
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
4f88fb42a26ec8a5be214b2997a296f4250c5493 18-Sep-2013 Terence Hampson <thampson@codeaurora.org> hwc: remove gpu fallback when there is rotation

A sw workaround was created in mdp3 so composition of layers with
rotation and roi that is not divisible by 16 is now possible to
be done by ppp.

Change-Id: Iada3707da1b85e58dad398b8271d7a26725e0d22
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
c952ee31cd0239ba6c7115ba8aff13671798ef79 03-Sep-2013 Linux Build Service Account <lnxbuild@localhost> Merge "HWC/copybit::Add condition for video layer composition"
fd052ac2c5b1188e0e89dc41e186bca25063b4ed 03-Sep-2013 Linux Build Service Account <lnxbuild@localhost> Merge "hwc:Change the flip value in case of MDP3.0 based target."
1dfbaa0caa628d7eebe97554dfbcd930b33d6eb6 28-Aug-2013 Radhika Ranjan Soni <rrsoni@codeaurora.org> HWC/copybit::Add condition for video layer composition

In case of non overlay target composition of the video
layer should be based on composition of UI layer as well.
(if taget has dynamic composition)

Change-Id: I6f312978f9168dddcf6ad0b1ac72f347b94d6920
CRs-fixed: 516630
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
4a446dc85bd0500f431b7c8b1f065dd306ae7bdb 26-Aug-2013 shuoy <shuoy@codeaurora.org> hwc:Change the flip value in case of MDP3.0 based target.

When flip and rotation(90) are present alter the flip,
as GPU is doing the flip and rotation in opposite order
to that of MDP3.0
For 270 degrees, we get 90 + (H+V) which is same as doing
flip first and then rotation (H+V) + 90

Change-Id: I89fb4633342ae71bfdaa21837b0f16784e439147
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
95a0d2b859bda7a5392b1d37141d4737508e3edf 22-Aug-2013 Pawan Kumar <pavaku@codeaurora.org> hwc: Fix Flicker on video start on MDP3 target

Fall back to GPU on MDP3 when Non WormholeRegion is
not of frame buffer size as artifact is seen in
WormholeRegion of previous frame.

CRs-fixed: 531081
Change-Id: Ic597ee9f75178276dd5498400648bfefc990188f
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
1713e9d0302ca565f2f1ac92a647e5e89f6099db 16-Aug-2013 Linux Build Service Account <lnxbuild@localhost> Merge "hwc: change error logs to debug logs"
75bdf5dc5e6f84706f79440a072879d9646cb1bd 15-Aug-2013 Linux Build Service Account <lnxbuild@localhost> Merge "HWC/copybit : Add support to indicate driver on layer with Zorder 0"
06e7446984f4e8c752a918f60331b99c1ff55b2b 05-Aug-2013 Shivaraj Shetty <shivaraj@codeaurora.org> HWC/copybit : Add support to indicate driver on layer with Zorder 0

Some applications send RGBA layer with constant alpha 0xFF and
isOpaque=1. For these types of layer we don't get any wormHole
regions. Hence we see the previous content (framebuffer) due to
wrong selection of blending logic at kernel side.

To fix these kind of issues on MDP3 we make layer with Z order
zero as FG layer. This makes sure that proper blending logic
is chosen in kernel.

CRs-fixed: 521638
CRs-fixed: 517944
Change-Id: I172a46c3284916264a1413a6a16875afea2b1aad
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
9b8d222703019342c8870bbd00fe1bc69df64107 08-Aug-2013 Terence Hampson <thampson@codeaurora.org> hwc: change error logs to debug logs

There were error message that should just be debug messages.
These error logs can cause automation testing to fail.

Change-Id: I4ba681a737e8324da9ef8e7984efa57f70ee8637
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
a418c4622bc2ad16bacffd11d837dbb9efbe8dc7 06-Aug-2013 Radhika Ranjan Soni <rrsoni@codeaurora.org> hwc/copybit: Use gpu composition for plane alpha

MDP3 doesn't support plane alpha. So falling back to
gpu whenever there is plane alpha in the list of layers.

Change-Id: Iec40e5160f4320b7393d937444645d1a243bd83b
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
92f1631a8d647ae389343deefaa0aba6ff5df8f1 23-Jul-2013 Linux Build Service Account <lnxbuild@localhost> Merge "copybit: Ensure that copybit is not generating alpha values"
8f66d03c96ba37719ee52672fd24c351cb2e58e0 23-Jul-2013 Linux Build Service Account <lnxbuild@localhost> Merge "copybit: Pass in proper acquire fence count to blit call"
0f06e8ab3d1fcd1b20b6fc812fd78ff651f149b2 12-Jul-2013 Terence Hampson <thampson@codeaurora.org> hwc: Use gpu composition when there is rotation

Mdp3 has a hw issue where it cannot handle rotation and blending,
when roi height or width is not divisible by 16. When roi is not
divisible by 16 mdp3 would read memory that it is beyond the
image. This leads to page faults, which further leads to poor
performance.

Change-Id: I2cd1b77c21c407503399630cdb702b575aa4e64e
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
cd6c05fb594474b9841cd88e479a018ff7d76269 18-Jul-2013 Terence Hampson <thampson@codeaurora.org> copybit: Ensure that copybit is not generating alpha values

When image was being up scaled beyond 4 times and intermediate
buffer is used, alpha value would be 0 in intermediate buffer.
This would then be blitted onto final buffer that contained alpha
value. Since fg had alpha value of 0 entire image would be blended
out.

Change-Id: I6daf03e93719212ee597c218655ae8692ae79e72
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
0fb1eeb979174d1a8e18a0f1557f2246dc55f4e5 17-Jul-2013 Terence Hampson <thampson@codeaurora.org> copybit: Pass in proper acquire fence count to blit call

The counter that was incremented when an acquire fence was provided
was not the counter that was passed into the blit call. Due to
blit requests being processed in order that it is submitted, it is
not need to pass in previous release fence as acquire fence for
next blit request.

Change-Id: Ic259af24b33e5e69440d481c92788107ff639bed
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
152b2da5552fffb5aa2306af027c361c110528a8 07-Jun-2013 Linux Build Service Account <lnxbuild@localhost> Merge "copybit: Enable copy bit to use sync pt"
d9381b134ed518570554296fbfab8fd1175ecdb8 06-Jun-2013 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> hwc: Fix to avoid heap corruption

- Check for MAX_NUM_APP_LAYERS before updating yuv indices array.
- Fall back to GPU composition when number of app layers exceeds
MAX_NUM_APP_LAYERS to avoid heap corruption.

Change-Id: Ieb91b705a0a5f50ce2f8829d1f1ee048d44b7d2e
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
a045710d7abd6a68f4b6ff47d8e88447ba1ba804 04-Jun-2013 Linux Build Service Account <lnxbuild@localhost> Merge "hwc: Allow for yuv content to go through ppp on 8x10"
eeeb8882b7cbc673c225bf21accad7b58688b2e2 29-May-2013 Terence Hampson <thampson@codeaurora.org> hwc: Allow for yuv content to go through ppp on 8x10

8x10 has overlay but it also allows for composition to go through
copybit.

Change-Id: I086aab118b03c1cbc7fa0dbc080ceb906310deab
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
ac791ef899d93baf8bc2545b2e81f6a71d9bfbc1 23-May-2013 Terence Hampson <thampson@codeaurora.org> copybit: Enable copy bit to use sync pt

Since mdp composition is now an async call, the waiting for fences
is now no longer needed inside copybit. In addition, how
composition ioctl is called is slightly different as a result
needing to pass in aquire fences device performing compsition

Change-Id: Ia12dfb2960ba2fc78b14e776984ffe0c3fe45fdb
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
2a79315eb36445c707bc43c4e8a9d3b46b32dfc7 25-May-2013 Linux Build Service Account <lnxbuild@localhost> Merge "hwc: Do not include Framebuffer area in calculating total area"
29e99788dd84893e174ca3df74b742759930dbbd 21-May-2013 Terence Hampson <thampson@codeaurora.org> hwc: Do not include Framebuffer area in calculating total area

In dynamic composition, While calculating total render area of
application layers to decide on which composition to choose,
FrameBuffer layer area shall not be added to the total render area.

Change-Id: Ibfa23130864ebae514ab94e75813bfaa4a61528c
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
0c3cc78a939cbb9f9770670cd224a2dabd6d1a41 21-May-2013 Linux Build Service Account <lnxbuild@localhost> Merge "display: Enable copybit on msm8610"
9ee1fcd75e50f365572a2b4e32eeef685845d323 19-Apr-2013 Terence Hampson <thampson@codeaurora.org> display: Enable copybit on msm8610

This change is the hwc and copybit changes need to enable
composition to go through mdp on msm8610.

Change-Id: If0df3a247c5f4f4310966d14fe8fd839bf84b9d5
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
ae2425e753369c4940288e280d4e743ca8227c19 30-Apr-2013 Sushil Chauhan <sushilchauhan@codeaurora.org> hwc/copybit: Add check for Max layers support.

Add check in copybit for Max. layers supported by HWC. Increase
max. RGB surfaces to MAX_NUM_LAYERS to support known use cases.

CRs-Fixed: 481226
Change-Id: Ie30ab0ef3047a304133cb547902ae11fecc5db22
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
80d8a5cb55d1036b37c88924db1ea1298a3e4287 15-Mar-2013 Prabhanjan Kandula <pkandula@codeaurora.org> libhwcomposer: add dynamic thresold support for copybit.

copybit blit may not be effective if data for composition
is high. Add configurable threshold support beyond which
we can avoid copybit blit. set default threshold value to
2 times of fb resolution.

CRs-fixed: 462450

Change-Id: I0ee77ea1d761dc370d82ade1724caefbecfa01f5
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
347ca48efbcf8055f1ae733d9c0126bb5a9db8c6 15-Mar-2013 Naseer Ahmed <naseer@codeaurora.org> hwc: Add support for clearing with c2d

When blending translucent layers or transitioning with c2d,
sometimes the frame is blended with stale framebuffer content.
Clear the frame with C2D fill surface before drawing.

CRs-fixed: 462461
Change-Id: I1dca477fe88d77f4f0fa4846b155404f348e911d
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
04a2afbd65e9f8bc580a637bf44bfc4e627edce0 14-Feb-2013 Naseer Ahmed <naseer@codeaurora.org> hwc: Use intermediate buffers for copybit

The earlier copybit solution involved blitting directly into
the SurfaceFlinger's framebuffer target. That solution involved
unnecessary framework changes and caused issues when the
framebuffer was being written to both by GL and copybit.
Update hwc_copybit to use our own buffers for this purpose.
We also make sure we display only the region we're interested in
so that unnecessary artifacts from previous blits do not show up
on the display. This way, we can avoid clearing the intermediate
buffers every frame.

Change-Id: I713b3fc606e0768444c621af76853ece41964da1
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.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/libhwcomposer/hwc_copybit.cpp
4019c64ad8721cd9f3dc5c4e7be260a5f0706e34 28-Nov-2012 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: Add support for copybit(C2D) composition

- Add CopybitEngine to hwc_context
- draw the layer on the HWC_FRAMEBUFFER_TARGET using
copybit(c2d) if it qualifies for C2D composition.
- use fence returned from the copybit during c2d
composition

Change-Id: I052da015cd031f7abd6411d83d7944c335caeff7
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
c2dafd0dc70559422d91ff6828f769c0d5ab4cae 31-Aug-2012 Saurabh Shah <saurshah@codeaurora.org> hwc: Do not create copybit.

Do not create copybit instance.
Fix copybit init and deinit sequence.

Change-Id: Ia669f4cc89c85294a040400a750aa72a93e579b8
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
660267c43bb3370ab49f4e95562c027171d8fb83 02-Aug-2012 Naseer Ahmed <naseer@codeaurora.org> hwc: Update to new API

* Updates HWC to use the Jellybean MR1 API
* Remove qcom_ui which was using parts of the old API

Change-Id: I663363547b193d2318aae88f2256a9baed1e3d4b
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
e2cb361a1ac1df575a6316b691f49b6bad177a2e 01-Aug-2012 Naseer Ahmed <naseer@codeaurora.org> libhwcomposer: Add C2D support to copybit

Change-Id: I2f2c915bb92d5c459428078149a9709356ae83f1
Acked-by: Neti Ravi Kumar <ravineti@codeaurora.org>
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
b3c6e058ce1dbc689f27e7d7acbf1529d37307d8 26-Jul-2012 Naseer Ahmed <naseer@codeaurora.org> display: Get panel type from framebuffer

Change-Id: I3b7cb78d7c6019482ae698b30d553ca782f5022b
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
1589dee5c27293d278d3e549af8a4bda27e080f8 21-Jul-2012 Naseer Ahmed <naseer@codeaurora.org> display: Enable vsync

* Use the vsync uevents from the kernel to start
surfaceflinger composition.
* This patch also does some code cleanup
- Move copybit specific functions to copybit files.
- Cleanup verbose logging.

Change-Id: I36936e4b0a082cfb0347d8ee7d2bc936e01808e6
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp
bd4704d4b447bd4aa59e4894d68a7162ce4f99fd 01-Aug-2012 Naseer Ahmed <naseer@codeaurora.org> display : Add support for copybit composition

This change add support for copybit composition in display HAL
for MDP3 targets.

Change-Id: I9bc8e40f624b0760f4faa223cb03a13695611bb3
Acked-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
/hardware/qcom/display/msm8084/libhwcomposer/hwc_copybit.cpp