OSDN Git Service

android-x86/frameworks-native.git
12 years agoam 20128300: make sure to repaint the screen when unblank()ing
Mathias Agopian [Tue, 14 Aug 2012 01:34:27 +0000 (18:34 -0700)]
am 20128300: make sure to repaint the screen when unblank()ing

* commit '20128300e0cb7f459a60cfbcddb48190ce6545ed':
  make sure to repaint the screen when unblank()ing

12 years agomake sure to repaint the screen when unblank()ing
Mathias Agopian [Tue, 14 Aug 2012 01:32:13 +0000 (18:32 -0700)]
make sure to repaint the screen when unblank()ing

Change-Id: I38e3a8e6bb31ef3d2f1fcaec7490cb92a4427db2

12 years agoam 8b736f13: xdpi / ydpi were reported as 0
Mathias Agopian [Tue, 14 Aug 2012 00:58:12 +0000 (17:58 -0700)]
am 8b736f13: xdpi / ydpi were reported as 0

* commit '8b736f138cfd9b239a2c7073347a13c489534ae1':
  xdpi / ydpi were reported as 0

12 years agoxdpi / ydpi were reported as 0
Mathias Agopian [Tue, 14 Aug 2012 00:54:26 +0000 (17:54 -0700)]
xdpi / ydpi were reported as 0

Bug: 6975723
Change-Id: Ia7fa37ec11e2308804f5034959a37e508d292d31

12 years agoam 670d24a8: Merge "improve [un]marshalling of non-binder objects" into jb-mr1-dev
Mathias Agopian [Mon, 13 Aug 2012 21:29:38 +0000 (14:29 -0700)]
am 670d24a8: Merge "improve [un]marshalling of non-binder objects" into jb-mr1-dev

* commit '670d24a8aeffee2788680be665bd74e0275cc2cf':
  improve [un]marshalling of non-binder objects

12 years agoMerge "improve [un]marshalling of non-binder objects" into jb-mr1-dev
Mathias Agopian [Mon, 13 Aug 2012 21:28:24 +0000 (14:28 -0700)]
Merge "improve [un]marshalling of non-binder objects" into jb-mr1-dev

12 years agoam 7e5099a9: Add compile-time option to systrace GL-ES calls
Jesse Hall [Mon, 13 Aug 2012 19:14:29 +0000 (12:14 -0700)]
am 7e5099a9: Add compile-time option to systrace GL-ES calls

* commit '7e5099a9ece6a3ed7edb1b5bf60a43422428326c':
  Add compile-time option to systrace GL-ES calls

12 years agoAdd compile-time option to systrace GL-ES calls
Jesse Hall [Thu, 2 Aug 2012 00:10:25 +0000 (17:10 -0700)]
Add compile-time option to systrace GL-ES calls

Change-Id: Ibec103bbf159626ad9745d0e071192ad424bc0e9

12 years agoimprove [un]marshalling of non-binder objects
Mathias Agopian [Mon, 13 Aug 2012 02:37:16 +0000 (19:37 -0700)]
improve [un]marshalling of non-binder objects

this change introduces a new class LightFlattenable<> which is
a protocol to flatten simple objects that don't require
binders or file descriptors; the benefit of this protocol is that
it doesn't require the objects to have a virtual table and give us
a consitant way of doing this.

we also introduce an implementation of this protocol for
POD structures, LightFlattenablePod<>.

Parcel has been update to handle this protocol automatically.

Sensor, Rect, Point and Region now use this new protocol.

Change-Id: Icb3ce7fa1d785249eb666f39c2129f2fc143ea4a

12 years agoam e57f2925: make multi-display more real
Mathias Agopian [Sat, 11 Aug 2012 01:53:14 +0000 (18:53 -0700)]
am e57f2925: make multi-display more real

* commit 'e57f292595bec48f65c8088b00ff6beea01217e9':
  make multi-display more real

12 years agomake multi-display more real
Mathias Agopian [Thu, 9 Aug 2012 23:29:12 +0000 (16:29 -0700)]
make multi-display more real

- displays are represented by a binder on the client side
- c++ clients can now create and modify displays

Change-Id: I203ea5b4beae0819d742ec5171c27568f4e8354b

12 years agoam ef7b9c7e: screenshots could stop working after camera was used
Mathias Agopian [Fri, 10 Aug 2012 22:27:01 +0000 (15:27 -0700)]
am ef7b9c7e: screenshots could stop working after camera was used

* commit 'ef7b9c7eac036cc1230c64821039d18f8cbd2c1c':
  screenshots could stop working after camera was used

12 years agoscreenshots could stop working after camera was used
Mathias Agopian [Fri, 10 Aug 2012 22:22:19 +0000 (15:22 -0700)]
screenshots could stop working after camera was used

once a secure window is put on screen the display
would retain its "secure" flag forever, preventing
screenshots from being taken.

Bug: 6933967
Change-Id: I5be8355145ca7d580d84552311642f8fa912fe6a

12 years agoam 748f3df6: avoid crashing when we don\'t have an h/w composer
Mathias Agopian [Fri, 10 Aug 2012 21:40:37 +0000 (14:40 -0700)]
am 748f3df6: avoid crashing when we don\'t have an h/w composer

* commit '748f3df66f6695681cde44461e2548e6e1dbc1bb':
  avoid crashing when we don't have an h/w composer

12 years agoavoid crashing when we don't have an h/w composer
Mathias Agopian [Fri, 10 Aug 2012 21:36:40 +0000 (14:36 -0700)]
avoid crashing when we don't have an h/w composer

should fix the emulator

Bug: 6956162
Change-Id: I38247b59d276b8db078c4dc2caba7d3fb545912c

12 years agoam 3165cc21: libgui includes refactoring
Mathias Agopian [Fri, 10 Aug 2012 20:45:15 +0000 (13:45 -0700)]
am 3165cc21: libgui includes refactoring

* commit '3165cc21cfea781988407b19bd83292b19f05f55':
  libgui includes refactoring

12 years agoam 1e260874: Add a display parameter to HWComposer where needed
Mathias Agopian [Fri, 10 Aug 2012 20:43:42 +0000 (13:43 -0700)]
am 1e260874: Add a display parameter to HWComposer where needed

* commit '1e26087493ac0e7d7dc6dea8ad85cfef08b3271f':
  Add a display parameter to HWComposer where needed

12 years agoam 28947d7f: now able to set the layer stack on a DisplayDevice
Mathias Agopian [Fri, 10 Aug 2012 20:40:13 +0000 (13:40 -0700)]
am 28947d7f: now able to set the layer stack on a DisplayDevice

* commit '28947d7fbf9f486539322e8e12dd057568e180c2':
  now able to set the layer stack on a DisplayDevice

12 years agoam 69973992: improve Vector<> safety checks
Mathias Agopian [Fri, 10 Aug 2012 20:40:12 +0000 (13:40 -0700)]
am 69973992: improve Vector<> safety checks

* commit '69973992d531ae7df20916c6fb3034b08a6d53c4':
  improve Vector<> safety checks

12 years agolibgui includes refactoring
Mathias Agopian [Thu, 9 Aug 2012 02:42:09 +0000 (19:42 -0700)]
libgui includes refactoring

Change-Id: I1d24ec17f5003ec2abab5f7472daaff4cc4cc2d3

12 years agoAdd a display parameter to HWComposer where needed
Mathias Agopian [Thu, 9 Aug 2012 01:35:12 +0000 (18:35 -0700)]
Add a display parameter to HWComposer where needed

- also replace C casts with C++ casts
- only the interface is changed, HWComposer still doesn't
  fully handle multiple displays

Change-Id: I48eb89bff2edb76bf1d4d41f46802b9b2a7166a8

12 years agonow able to set the layer stack on a DisplayDevice
Mathias Agopian [Thu, 9 Aug 2012 01:51:15 +0000 (18:51 -0700)]
now able to set the layer stack on a DisplayDevice

Change-Id: Ia9691cf221b9444c243eb468d9e276a30e600b6b

12 years agoimprove Vector<> safety checks
Mathias Agopian [Fri, 10 Aug 2012 02:39:15 +0000 (19:39 -0700)]
improve Vector<> safety checks

- make errors that will always cause a memory corruption always fatal
  (for eg: KeyedVector<>::editValue{For|At}() failure)
- make other errors fatal in debug mode, those that can be caught by
  the caller.
- fix typos

Change-Id: I65cc7d81035c37ce2906fc4500c50e5d5b5c49eb

12 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Fri, 10 Aug 2012 15:52:49 +0000 (08:52 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Ie9a1491c6957ea87bd50d4e19342b5f086ff08ee

12 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 9 Aug 2012 16:29:52 +0000 (09:29 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

12 years agoam 599d4882: Merge "SurfaceTexture: Fix a fence fd leak." into jb-mr1-dev
Jamie Gennis [Wed, 8 Aug 2012 23:15:11 +0000 (16:15 -0700)]
am 599d4882: Merge "SurfaceTexture: Fix a fence fd leak." into jb-mr1-dev

* commit '599d48825f040c074027ffaf9e4b5490428adacb':
  SurfaceTexture: Fix a fence fd leak.

12 years agoMerge "SurfaceTexture: Fix a fence fd leak." into jb-mr1-dev
Jamie Gennis [Wed, 8 Aug 2012 23:13:20 +0000 (16:13 -0700)]
Merge "SurfaceTexture: Fix a fence fd leak." into jb-mr1-dev

12 years agoSurfaceTexture: Fix a fence fd leak.
Jamie Gennis [Wed, 8 Aug 2012 22:39:55 +0000 (15:39 -0700)]
SurfaceTexture: Fix a fence fd leak.

Bug: 6949010
Change-Id: I289992c964504b4fe5458dbd19b248a841ef043f

12 years agoam 85aea748: add /d/sync to dumpstate
Mathias Agopian [Wed, 8 Aug 2012 22:33:45 +0000 (15:33 -0700)]
am 85aea748: add /d/sync to dumpstate

* commit '85aea748861b5665e68b786b55f1c798f56fc0da':
  add /d/sync to dumpstate

12 years agoadd /d/sync to dumpstate
Mathias Agopian [Wed, 8 Aug 2012 22:32:02 +0000 (15:32 -0700)]
add /d/sync to dumpstate

Change-Id: I24f8f3e0420c2198ae3981fc067fb660898655e8

12 years agoam a610da90: Merge "enable java/jni build in PDK if supported" into jb-mr1-dev
Keun young Park [Wed, 8 Aug 2012 19:26:18 +0000 (12:26 -0700)]
am a610da90: Merge "enable java/jni build in PDK if supported" into jb-mr1-dev

* commit 'a610da900cf67f0cbd323c60a0dd55827df8313a':
  enable java/jni build in PDK if supported

12 years agoMerge "enable java/jni build in PDK if supported" into jb-mr1-dev
Keun young Park [Wed, 8 Aug 2012 19:25:15 +0000 (12:25 -0700)]
Merge "enable java/jni build in PDK if supported" into jb-mr1-dev

12 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 8 Aug 2012 15:17:08 +0000 (08:17 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I939b3c749ca86343996e1d4aefb32a7f30df037a

12 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 8 Aug 2012 13:47:25 +0000 (06:47 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

12 years agoenable java/jni build in PDK if supported
Keun young Park [Wed, 8 Aug 2012 00:09:19 +0000 (17:09 -0700)]
enable java/jni build in PDK if supported

- testFramerate requires platform java API
  while all other tests only need SDK support

Change-Id: Iaefe23c41b3ace87522b5deefd6db2f5d80ed872

12 years agoam b685c542: Changes to support multi-display HWC
Jesse Hall [Tue, 7 Aug 2012 20:50:44 +0000 (13:50 -0700)]
am b685c542: Changes to support multi-display HWC

* commit 'b685c542836b93c99cd85053e07696406ea37adb':
  Changes to support multi-display HWC

12 years agoChanges to support multi-display HWC
Jesse Hall [Tue, 31 Jul 2012 21:32:56 +0000 (14:32 -0700)]
Changes to support multi-display HWC

Change-Id: I07efff54f2980dcb013935747b03e099b8f1181b

12 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Tue, 7 Aug 2012 18:03:48 +0000 (11:03 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I699a2310b14b3168c32dca19e4c9055eeab79d1a

12 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 7 Aug 2012 13:34:29 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

12 years agoam 14bd369e: Merge changes Ic3d35a93,I46ec942d into jb-mr1-dev
Jamie Gennis [Tue, 7 Aug 2012 02:17:34 +0000 (19:17 -0700)]
am 14bd369e: Merge changes Ic3d35a93,I46ec942d into jb-mr1-dev

* commit '14bd369e4b711bfb267279c2161358542ed75b29':
  SurfaceTexture: fix an out of bounds array access
  surfaceflinger: refactor FrambufferSurface

12 years agoam 92516c84: fix pdk build
Greg Hackmann [Tue, 7 Aug 2012 02:16:06 +0000 (19:16 -0700)]
am 92516c84: fix pdk build

* commit '92516c84ef2a167524007a0584fb26018b5cb9c4':
  fix pdk build

12 years agoMerge changes Ic3d35a93,I46ec942d into jb-mr1-dev
Jamie Gennis [Tue, 7 Aug 2012 02:15:51 +0000 (19:15 -0700)]
Merge changes Ic3d35a93,I46ec942d into jb-mr1-dev

* changes:
  SurfaceTexture: fix an out of bounds array access
  surfaceflinger: refactor FrambufferSurface

12 years agoSurfaceTexture: fix an out of bounds array access
Jamie Gennis [Tue, 7 Aug 2012 00:10:57 +0000 (17:10 -0700)]
SurfaceTexture: fix an out of bounds array access

Bug: 6879028
Change-Id: Ic3d35a9384c0a6dfa4000e7743a6f6859608b0bf

12 years agosurfaceflinger: refactor FrambufferSurface
Jamie Gennis [Fri, 3 Aug 2012 03:11:05 +0000 (20:11 -0700)]
surfaceflinger: refactor FrambufferSurface

This change refactors the FramebufferSurface class to inherit from the new
ConsumerBase class.

Bug: 6620200
Change-Id: I46ec942ddb019658e3c5e79465548b171b2261f2

12 years agofix pdk build
Greg Hackmann [Mon, 6 Aug 2012 20:55:56 +0000 (13:55 -0700)]
fix pdk build

Change-Id: Ia4db8e1e8ee18ac112bf13a5ab2a75edb08fc70f
Signed-off-by: Greg Hackmann <ghackmann@google.com>
12 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Mon, 6 Aug 2012 20:34:52 +0000 (13:34 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I4761d711f0886ee4e81496a0068e35bcb91bf8b3

12 years agoam 53095e25: libutils cleanup: remove unused or seldom used code from misc.{cpp|h}
Mathias Agopian [Mon, 6 Aug 2012 20:16:39 +0000 (13:16 -0700)]
am 53095e25: libutils cleanup: remove unused or seldom used code from misc.{cpp|h}

* commit '53095e25d69206bea1ac15a7382ab8b61155c0c1':
  libutils cleanup: remove unused or seldom used code from misc.{cpp|h}

12 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 6 Aug 2012 13:28:31 +0000 (06:28 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

12 years agolibutils cleanup: remove unused or seldom used code from misc.{cpp|h}
Mathias Agopian [Sun, 5 Aug 2012 19:41:16 +0000 (12:41 -0700)]
libutils cleanup: remove unused or seldom used code from misc.{cpp|h}

Change-Id: I72206f16619d81887e3b85603494563faab3b445

12 years agoam 028a7572: DisplayDevice doesn\'t need weak pointers or polymorphism
Mathias Agopian [Sun, 5 Aug 2012 08:33:09 +0000 (01:33 -0700)]
am 028a7572: DisplayDevice doesn\'t need weak pointers or polymorphism

* commit '028a7572c81f91e4039b694cde1f55fdb3e483c7':
  DisplayDevice doesn't need weak pointers or polymorphism

12 years agoDisplayDevice doesn't need weak pointers or polymorphism
Mathias Agopian [Sun, 5 Aug 2012 08:23:51 +0000 (01:23 -0700)]
DisplayDevice doesn't need weak pointers or polymorphism

let's use a LightRefBase for now.

Change-Id: Ida068fa902343a8f89ffb6d34c2cd4627ab43c6c

12 years agoam 4297734c: turn DisplayDevice into a reference-counted object
Mathias Agopian [Sun, 5 Aug 2012 07:44:58 +0000 (00:44 -0700)]
am 4297734c: turn DisplayDevice into a reference-counted object

* commit '4297734c1156fd8ede7e9c61b1e439f9e1c18cd9':
  turn DisplayDevice into a reference-counted object

12 years agoturn DisplayDevice into a reference-counted object
Mathias Agopian [Sun, 5 Aug 2012 07:40:46 +0000 (00:40 -0700)]
turn DisplayDevice into a reference-counted object

it's safer this way because this object owns an
EGLSurface which cannot be easily reference-counted.

it also gives us the ability to sub-class it, which
we might want to do soon.

Change-Id: I07358bb052dc5a13b4f2196b2c2b6e6e94c4bb4f

12 years agoam d8552d79: DisplayDevice only needs ANativeWindow not SurfaceTextureClient
Mathias Agopian [Sun, 5 Aug 2012 04:43:07 +0000 (21:43 -0700)]
am d8552d79: DisplayDevice only needs ANativeWindow not SurfaceTextureClient

* commit 'd8552d796cbcb9a89711fc8f97b34838da5cbdb7':
  DisplayDevice only needs ANativeWindow not SurfaceTextureClient

12 years agoDisplayDevice only needs ANativeWindow not SurfaceTextureClient
Mathias Agopian [Sun, 5 Aug 2012 04:39:11 +0000 (21:39 -0700)]
DisplayDevice only needs ANativeWindow not SurfaceTextureClient

Change-Id: Ib5be5af8bede435c8d5d9fabf586d28d0e74c2cb

12 years agoam 888c822c: remove a dependency of DisplayDevice on the refresh rate
Mathias Agopian [Sun, 5 Aug 2012 04:33:29 +0000 (21:33 -0700)]
am 888c822c: remove a dependency of DisplayDevice on the refresh rate

* commit '888c822c4cb6976aab9256c58bae9e17e3e55c5c':
  remove a dependency of DisplayDevice on the refresh rate

12 years agoremove a dependency of DisplayDevice on the refresh rate
Mathias Agopian [Sun, 5 Aug 2012 04:10:38 +0000 (21:10 -0700)]
remove a dependency of DisplayDevice on the refresh rate

this remove a dependency (not all) on FramebufferSurface

Change-Id: Ie07ce70760cdcedfb41b5b41bea8da45637bf474

12 years agoam 72131d9e: remove unneeded dependencies in libhardware
Mathias Agopian [Sun, 5 Aug 2012 03:25:31 +0000 (20:25 -0700)]
am 72131d9e: remove unneeded dependencies in libhardware

* commit '72131d9ef13ffaf3af4ca2fe700426b82baac9fa':
  remove unneeded dependencies in libhardware

12 years agoremove unneeded dependencies in libhardware
Mathias Agopian [Sun, 5 Aug 2012 03:22:32 +0000 (20:22 -0700)]
remove unneeded dependencies in libhardware

Change-Id: Ibb8d698d594216d0746b0e7270cf87d7e5acab2b

12 years agoam c1d359d4: break SF dependencies on libdvm and libandroid_runtime
Mathias Agopian [Sun, 5 Aug 2012 03:16:52 +0000 (20:16 -0700)]
am c1d359d4: break SF dependencies on libdvm and libandroid_runtime

* commit 'c1d359d42b753fcc2426d66a0f782f7c300893bc':
  break SF dependencies on libdvm and libandroid_runtime

12 years agobreak SF dependencies on libdvm and libandroid_runtime
Mathias Agopian [Sun, 5 Aug 2012 03:09:03 +0000 (20:09 -0700)]
break SF dependencies on libdvm and libandroid_runtime

these libraries are only needed for debugging and are now
linked at runtime if needed.

Change-Id: I03f138523c6de166a1e2700d4454d4a854aee145

12 years agoam 92efd84f: screen-off animation won\'t be handled by SF anymore
Mathias Agopian [Sat, 4 Aug 2012 00:14:55 +0000 (17:14 -0700)]
am 92efd84f: screen-off animation won\'t be handled by SF anymore

* commit '92efd84f37ce5a8aae74dc9086f825a67b6894e9':
  screen-off animation won't be handled by SF anymore

12 years agoam 92a979a9: We now have a real list of displays.
Mathias Agopian [Sat, 4 Aug 2012 00:14:54 +0000 (17:14 -0700)]
am 92a979a9: We now have a real list of displays.

* commit '92a979a92c34b7de609ce2b1662c73bb8a2728b9':
  We now have a real list of displays.

12 years agoam fcb239d3: don\'t filter when capturing a screenshot unless needed
Mathias Agopian [Sat, 4 Aug 2012 00:14:53 +0000 (17:14 -0700)]
am fcb239d3: don\'t filter when capturing a screenshot unless needed

* commit 'fcb239d3dac8bc80f28177f1951611c1d43286ff':
  don't filter when capturing a screenshot unless needed

12 years agoam d3ee231e: cleanups in preparation of bigger changes
Mathias Agopian [Sat, 4 Aug 2012 00:14:52 +0000 (17:14 -0700)]
am d3ee231e: cleanups in preparation of bigger changes

* commit 'd3ee231eddce0b69ec5e35188dbd0f4a2c3b9ac3':
  cleanups in preparation of bigger changes

12 years agoam 0f2f5ff7: rename DisplayHardware to DisplayDevice
Mathias Agopian [Sat, 4 Aug 2012 00:14:52 +0000 (17:14 -0700)]
am 0f2f5ff7: rename DisplayHardware to DisplayDevice

* commit '0f2f5ff75b7b48ceb64270655ee6b62d09bf4d00':
  rename DisplayHardware to DisplayDevice

12 years agoam be246f86: Layers are now sorted by layer-stack first, then by z-order
Mathias Agopian [Sat, 4 Aug 2012 00:14:51 +0000 (17:14 -0700)]
am be246f86: Layers are now sorted by layer-stack first, then by z-order

* commit 'be246f86bd6378a5110e81e9d9068ab03c3b077e':
  Layers are now sorted by layer-stack first, then by z-order

12 years agoam 52bbb1ae: getting closer to final main composition loop
Mathias Agopian [Sat, 4 Aug 2012 00:14:50 +0000 (17:14 -0700)]
am 52bbb1ae: getting closer to final main composition loop

* commit '52bbb1ae239c8a4d05543a23fa8c08467d09c3b2':
  getting closer to final main composition loop

12 years agoam 87baae10: get rid of global regions that should be tracked per display
Mathias Agopian [Sat, 4 Aug 2012 00:14:49 +0000 (17:14 -0700)]
am 87baae10: get rid of global regions that should be tracked per display

* commit '87baae104a3e4c2059990b01c393476065c558b0':
  get rid of global regions that should be tracked per display

12 years agoscreen-off animation won't be handled by SF anymore
Mathias Agopian [Fri, 3 Aug 2012 04:27:56 +0000 (21:27 -0700)]
screen-off animation won't be handled by SF anymore

Change-Id: Idc41386804ae7d7eb981c36e1bc55c270870c8d0

12 years agoWe now have a real list of displays.
Mathias Agopian [Fri, 3 Aug 2012 01:32:23 +0000 (18:32 -0700)]
We now have a real list of displays.

displays can be dynamically added or removed, and the
list is part of the SF's transaction.

Change-Id: I4186ea39f1317c0e7c044f869004017738968fab

12 years agodon't filter when capturing a screenshot unless needed
Mathias Agopian [Thu, 2 Aug 2012 23:01:34 +0000 (16:01 -0700)]
don't filter when capturing a screenshot unless needed

bug: 6919952
Change-Id: Ia6fbe9bc7e533a64cfdd6ef7f0cd6b9f11feb947

12 years agocleanups in preparation of bigger changes
Mathias Agopian [Thu, 2 Aug 2012 21:01:42 +0000 (14:01 -0700)]
cleanups in preparation of bigger changes

- fix typo drawForSreenshot misspelled
- get rid of DisplayDeviceBase
- removed unused or unneeded code
- always pass a DisplayDevice to Layer methods that are called
  on a per-display basis (to make it clear that this could be
  called more than once per composition).

Change-Id: Id948b7e09fe5c06db0e42d40d6ed75dd095c7f44

12 years agorename DisplayHardware to DisplayDevice
Mathias Agopian [Wed, 1 Aug 2012 06:09:07 +0000 (23:09 -0700)]
rename DisplayHardware to DisplayDevice

Change-Id: I3f7250cd914e0da4f9ec2c9403587bbe12f3cc62

12 years agoLayers are now sorted by layer-stack first, then by z-order
Mathias Agopian [Wed, 1 Aug 2012 05:59:38 +0000 (22:59 -0700)]
Layers are now sorted by layer-stack first, then by z-order

Change-Id: I7a82929df5ba87b9d88cc5be87e1a233bc4628e9

12 years agogetting closer to final main composition loop
Mathias Agopian [Wed, 1 Aug 2012 02:01:53 +0000 (19:01 -0700)]
getting closer to final main composition loop

Change-Id: Icd63782366ffd11d9ea00c925ae5783ed7440cdb

12 years agoget rid of global regions that should be tracked per display
Mathias Agopian [Tue, 31 Jul 2012 19:38:26 +0000 (12:38 -0700)]
get rid of global regions that should be tracked per display

Change-Id: I3b871860cc29f1b2fdcc22b0c577a6eae65d9296

12 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 2 Aug 2012 18:26:38 +0000 (11:26 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Ied7fb684e20303e807cb5f06d7cdcdf8e2e16276

12 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 2 Aug 2012 14:16:59 +0000 (07:16 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

12 years agoam 53f10b7b: Merge "Add missing break in switch statement" into jb-mr1-dev
Romain Guy [Thu, 2 Aug 2012 02:20:44 +0000 (19:20 -0700)]
am 53f10b7b: Merge "Add missing break in switch statement" into jb-mr1-dev

* commit '53f10b7b13363e6d017985ead704494fe79c9e09':
  Add missing break in switch statement

12 years agoMerge "Add missing break in switch statement" into jb-mr1-dev
Romain Guy [Thu, 2 Aug 2012 02:18:10 +0000 (19:18 -0700)]
Merge "Add missing break in switch statement" into jb-mr1-dev

12 years agoam 22ea9b37: Dalvik heap size for a 10" xhdpi tablet.
Dianne Hackborn [Thu, 2 Aug 2012 02:17:59 +0000 (19:17 -0700)]
am 22ea9b37: Dalvik heap size for a 10" xhdpi tablet.

* commit '22ea9b37e2a2b5e3e0e2e1d556f499fc20a9de17':
  Dalvik heap size for a 10" xhdpi tablet.

12 years agoAdd missing break in switch statement
Romain Guy [Thu, 2 Aug 2012 02:16:59 +0000 (19:16 -0700)]
Add missing break in switch statement

Change-Id: I6206cc9ca46c4e2f125d3d820256280586ad66a1

12 years agoDalvik heap size for a 10" xhdpi tablet.
Dianne Hackborn [Thu, 2 Aug 2012 01:14:45 +0000 (18:14 -0700)]
Dalvik heap size for a 10" xhdpi tablet.

Change-Id: Ie47702cda764817e023464944cd6dc5352fc439e

12 years agoam 1dd2003f: Merge "libgui: enable EGL_fence_sync usage for exynos5" into jb-mr1-dev
Jamie Gennis [Wed, 1 Aug 2012 00:15:28 +0000 (17:15 -0700)]
am 1dd2003f: Merge "libgui: enable EGL_fence_sync usage for exynos5" into jb-mr1-dev

* commit '1dd2003f1a9a7a4826da7a4b565d41b941b7cc5d':
  libgui: enable EGL_fence_sync usage for exynos5

12 years agoMerge "libgui: enable EGL_fence_sync usage for exynos5" into jb-mr1-dev
Jamie Gennis [Wed, 1 Aug 2012 00:13:31 +0000 (17:13 -0700)]
Merge "libgui: enable EGL_fence_sync usage for exynos5" into jb-mr1-dev

12 years agolibgui: enable EGL_fence_sync usage for exynos5
Jamie Gennis [Tue, 31 Jul 2012 21:01:57 +0000 (14:01 -0700)]
libgui: enable EGL_fence_sync usage for exynos5

Bug: 6876502
Change-Id: I2ec2800881dcba9e4f6ff32ffa1341a2de01f0a2

12 years agoam cbc388ca: Merge "Move eglSwapBuffers out of HWComposer" into jb-mr1-dev
Jesse Hall [Tue, 31 Jul 2012 23:20:18 +0000 (16:20 -0700)]
am cbc388ca: Merge "Move eglSwapBuffers out of HWComposer" into jb-mr1-dev

* commit 'cbc388ca6a363d5228e69fdab5c583877a760280':
  Move eglSwapBuffers out of HWComposer

12 years agoMerge "Move eglSwapBuffers out of HWComposer" into jb-mr1-dev
Jesse Hall [Tue, 31 Jul 2012 23:17:52 +0000 (16:17 -0700)]
Merge "Move eglSwapBuffers out of HWComposer" into jb-mr1-dev

12 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Tue, 31 Jul 2012 22:03:17 +0000 (15:03 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I198408ef678851f19476836b10a2fc002dd11a95

12 years agoRevert "Minimal changes to support multi-display HWC"
Jesse Hall [Tue, 31 Jul 2012 19:16:31 +0000 (12:16 -0700)]
Revert "Minimal changes to support multi-display HWC"

This reverts commit bddd724b178b1263c16e41b564165fcd0e93ff83

Change-Id: Ib7db20b5b3de4779b6e173473a33976ae398abd4

12 years agoam b6ae16f0: Merge "Revert "Minimal changes to support multi-display HWC"" into jb...
Jesse Hall [Tue, 31 Jul 2012 19:25:36 +0000 (12:25 -0700)]
am b6ae16f0: Merge "Revert "Minimal changes to support multi-display HWC"" into jb-mr1-dev

* commit 'b6ae16f04e0655f938cd511c3965fa00e2ae6763':
  Revert "Minimal changes to support multi-display HWC"

12 years agoMerge "Revert "Minimal changes to support multi-display HWC"" into jb-mr1-dev
Jesse Hall [Tue, 31 Jul 2012 19:24:16 +0000 (12:24 -0700)]
Merge "Revert "Minimal changes to support multi-display HWC"" into jb-mr1-dev

12 years agoRevert "Minimal changes to support multi-display HWC"
Jesse Hall [Tue, 31 Jul 2012 19:16:31 +0000 (12:16 -0700)]
Revert "Minimal changes to support multi-display HWC"

This reverts commit bddd724b178b1263c16e41b564165fcd0e93ff83

Change-Id: Ib7db20b5b3de4779b6e173473a33976ae398abd4

12 years agoSync with jb-mr1-dev
The Android Open Source Project [Tue, 31 Jul 2012 14:51:52 +0000 (07:51 -0700)]
Sync with jb-mr1-dev

Change-Id: I8ad322a285ffbcda32be279f3e06fdb2908789d9

12 years agoMerge "Minimal changes to support multi-display HWC" into jb-mr1-dev
Jesse Hall [Tue, 31 Jul 2012 04:20:04 +0000 (21:20 -0700)]
Merge "Minimal changes to support multi-display HWC" into jb-mr1-dev

12 years agoMove eglSwapBuffers out of HWComposer
Jesse Hall [Mon, 30 Jul 2012 05:35:34 +0000 (22:35 -0700)]
Move eglSwapBuffers out of HWComposer

Commit 8630320 moved the eglSwapBuffers fallback (for devices with no
HWC implementation) from DisplayHardware to HWComposer. But HWComposer
only knows about the framebuffer EGL display and surface handles if
there is a HWC, so it was always passing bogus handles.

This change moves the eglSwapBuffers fallback up to SurfaceFlinger,
which has access to the framebuffer EGL handles.

Bug: 6886613
Change-Id: Iad3f5ff7c90ee48d7053999e6a4548d6794b6ebd

12 years agoMerge "log more info on fence sync_merge error" into jb-mr1-dev
Mathias Agopian [Mon, 30 Jul 2012 22:21:59 +0000 (15:21 -0700)]
Merge "log more info on fence sync_merge error" into jb-mr1-dev

12 years agolog more info on fence sync_merge error
Mathias Agopian [Mon, 30 Jul 2012 22:10:35 +0000 (15:10 -0700)]
log more info on fence sync_merge error

also fix a typo where the wrong value was passed to sterror.

Change-Id: I4df2abe582e14c8f816b65818f4593a6bd3c23ea

12 years agoMerge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev
Ed Heyl [Sat, 28 Jul 2012 16:55:54 +0000 (09:55 -0700)]
Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev

Conflicts:
include/media/hardware/CryptoAPI.h

Change-Id: I84bf34edbef000558f088bbf1d1e5b55d6217d2e