Commit Graph

18 Commits

Author SHA1 Message Date
Ramakant Singh
dcda8a5f27 HWC/copybit::Add condition for video layer composition
In case of non overlay target composition of the video
layer should base on composition of UI layer as well.
(if taget has dynamic composition)

Change-Id: I5eb91adec340297fdc4b0560f01f74aaf8459586
CRs-fixed: 397517
2012-10-14 15:47:48 -07:00
Naomi Luis
7181de24ab hardware/qcom/display: Remove glfinish call
There is no need to do a glFinish on every composition complete.
glFinish needs to be called for composition cycles where GPU and
copybit are both used for composition. This is because the GPU and
copybit operate on the same framebuffer.

(cherry picked from commit 7983c275ae3eb15fab931d301e6338f83ad4a75a)

Change-Id: If06da4ca60ec17122c3dd698558cbf08fec73251
2012-10-14 15:47:48 -07:00
Jeykumar Sankaran
cfb095ef61 libqdutils: Add copybit support to qdutils
- Introduce cbutils for copybit utilities
- Don't use qcomuiclearregion if GPU is used
- Check for qcom composition types updating FB
- Dont show YUV information to copybit
- Fallback to GPU in the presence of SKIP layers

This change adds support in qdutils to check for FB
updating composition type.

Change-Id: I200d3798a27836a51f4b2e6c79cdd9d8b155fad8
2012-10-06 00:49:06 -05:00
Arun Kumar K.R
db76cc05a0 display: Add support for video rotation on Ext display
- sourceTransform in the hwc_layer_t has the source buffer transform,
  use this transform for external display.
- This helps in showing videos with source orientation properly on the
  external display
- Remove unsed flag FINAL_TRANSFORM_MASK

Change-Id: I66f7db95166c51ecee8b6b5cc126a67df3dd4602
CRs-fixed: 387357
2012-10-06 00:48:59 -05:00
Neti Ravi Kumar
4c01c36778 hwcomposer : Use system property to set DYN composition threshold
Change-Id: I15c82d46ec846ff2bff7a1fc7a924bb7fcf844f9
2012-09-12 23:08:23 -05:00
Sravan Kumar D.V.N
dc733193ef display : Do not use copybit for composition when YUV layer is present.
Do not use copybit for composition when YUV layer is present only in
overlay targets & use copybit in non-overlay targets.

CRs-Fixed : 385992
Change-Id: I671bc5f37b924160e32e900207fb81634dee0929
(cherry picked from commit 1f05b5ef18723bc73a21259ca7c5f112228a5c85)
2012-09-12 23:06:49 -05:00
Ramakant Singh
cefb36db5c libqdutils::Add support for qcomuiClearRegion
Add support for qcomuiClearRegion for draw
wormhole regions via CPU.

* Added separate singaltone class for getting
eglGetRenderBufferANDROID handle that can be
used by both copybit and clear_regions modules

CRs-Fixed: 383115

Change-Id: Ibeb5bdda87a60950889416e5b4d53e6eb5a3682e

Conflicts:
	libqdutils/Android.mk
2012-09-12 23:05:06 -05:00
Sravan Kumar D.V.N
857f8a5f0b display : Avoid calling eglGetRenderBufferANDROID for each layer
Currently eglGetRenderBufferANDROID is being called for each layer
which is not needed. This change calls this API once in set call,
and passes the 'render buffer' to drawLayerUsingCopybit.

Change-Id: I310163db02df13e8c03b51d73f291588fbf08160
2012-08-21 16:11:44 -05:00
Andrew Sutherland
e25f40c946 bring back pmem/ashmem allocators
o removed RefBase usages
o ifdef for TARGET_USES_ION

Change-Id: Ief331f4c847b86be0e37d24983097af1f53234a2
2012-08-02 23:16:45 -05:00
Andrew Sutherland
87f0aec7e0 git checkout caf/jb . (starting over)
per be02ab0... display: Clean up gralloc

Change-Id: I3857046362703bacf3c4c1bcad831bfaa92387e7
2012-08-02 23:16:08 -05:00
Andrew Sutherland
1ccdbea036 Merge remote-tracking branch 'caf/jb' into jelly
Conflicts:
	common.mk
	libgralloc/alloc_controller.cpp
	libgralloc/pmem_bestfit_alloc.cpp
	libgralloc/pmemalloc.cpp
	libhwcomposer/hwc_external.cpp
	libqdutils/mdp_version.cpp

Change-Id: I1a0182faeb5e3c10153a5236434b55ff78b0eada
2012-08-02 23:02:46 -05:00
Neti Ravi Kumar
97d3484b12 libhwcomposer: Add C2D support to copybit
Change-Id: Icb1a010f8079bb3f2122d8520c87d60b757d73bd
2012-07-31 10:36:51 +05:30
Andrew Sutherland
124b191c09 Revert "hwc_copybit: temp hack for working display"
This reverts commit c0e59806e6.
2012-07-29 22:01:48 -05:00
Naseer Ahmed
912842f62d display: Get panel type from framebuffer
Change-Id: I5dc16125bbb7d864dcb7106166e91b950a44d686
2012-07-27 08:23:40 -07:00
Naseer Ahmed
9ccb3975c7 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: I8ca3cd7a7ceb53655ed0fcf39ac2cb35e6cbe890
2012-07-27 08:23:23 -07:00
Andrew Sutherland
c0e59806e6 hwc_copybit: temp hack for working display
Change-Id: Ie564fa6876f860f70bb8d34b54b1fa8d6fcac05e
2012-07-24 23:13:21 -05:00
Andrew Sutherland
37f4aeb3c6 hwc_copybit: add back adsp heap usage
Change-Id: I0204a0a5181043097a00925b50386cf612d88f07
2012-07-24 23:13:14 -05:00
Sravan Kumar D.V.N
c80da70cbe display : Add support for copybit composition
This change add support for copybit composition in display HAL
for MDP3 targets.

Change-Id: I80144619f39a895d2f214adb6ca92d0a7f5ed9a5
2012-07-20 19:56:54 +05:30