History log of /hardware/intel/img/hwcomposer/include/GraphicBuffer.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd727f537d5085eec7f1b8f9c1d33922d4de75d4 24-Jul-2014 Prodyut Hazarika <prodyut.hazarika@intel.com> Change license headers to Apache

BZ: 209178

Change-Id: I4933f49129b085ef5a76c28ae4a775cef5b1b636
Signed-off-by: Prodyut Hazarika <prodyut.hazarika@intel.com>
/hardware/intel/img/hwcomposer/include/GraphicBuffer.h
9f379685f09ddd7c4d98b23121487e8ac4b4dd40 05-Jan-2014 Jackie Li <yaodong.li@intel.com> hwc: enabled FBDC for compressed data buffers.

BZ: 164299

This is 3/4 patch for FBC/DC enabling.

updated RGB plane to support compressed data buffers.
Currently, FBC/FBDC only take effect on non framebuffer
layers since HDMI primary plane (sprite B) doesn't
support FBDC.

Change-Id: Ib1c7a8e1ee1d3e83498d6da38a21888b70fb0f6f
Signed-off-by: Jackie Li <yaodong.li@intel.com>
/hardware/intel/img/hwcomposer/include/GraphicBuffer.h
eb726af21649d79ed720bdf329e0849270995c45 31-May-2013 Andy Qiu <junhai.qiu@intel.com> Miscellaneous optimization on HWC

BZ: 97852

1) new lockDataBuffer and unlockDataBuffer to avoid frequent memory allocation and de-allocation
2) move hotplug control and vsync control to HotplugEventObserver and VsyncEventObserver to make them self-contained
3) new event queue to handle hotplug event, video event and phone event
4) dynamic vsync source management can be easily disabled or enabled. (disabling it will cause UI hang)
5) eliminate using of "goto" design
6) make destructor virtual, not necessary for derived class but is a common practice
7) disable overlay use when video playback starts, to avoid potential scrambled RGB overlay
8) vsync status is committed only when it is scussefully enabled or disabled
9) fix memory leak (DataBuffer allocated but not released)
10) many other small improvements

Change-Id: I43eeb5c4ea4f991c5d68de14d4fe73ea4a55bb4c
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/113693
Tested-by: Patel, Hitesh K <hitesh.k.patel@intel.com>
Reviewed-by: Patel, Hitesh K <hitesh.k.patel@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/include/GraphicBuffer.h
25caf44022e04f4dc131e51b85b2fb8f966d57e7 24-Apr-2013 Andy Qiu <junhai.qiu@intel.com> Handle protected video playback.

BZ: 103301

This patch contains the following changes:

1) Define GraphicBuffer class and make it part of common library.
This class wraps buffer format and buffer usage as for now and provides
helper to check whether buffer is protected.

2) Avoid overhead of multiple data buffer creation during prepare, buffer is created
only once and attributes of buffer is stored internally for later use.

3) Ensure protected video is always rendered using harrdware overlay. IED needs to
be enabled when protected layer is received, a special hint is set in backbuffer
(OSTART_0Y) such that display controller can enable IED decryption during flip.

Change-Id: I32c4cf5f72e4fd650678264aaa9f0f63376f998b
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/102513
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Jin, Fu <fu.jin@intel.com>
Reviewed-by: Bish, Jim <jim.bish@intel.com>
Reviewed-by: Stimson, Dale B <dale.b.stimson@intel.com>
Tested-by: Stimson, Dale B <dale.b.stimson@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/include/GraphicBuffer.h