Commit Graph

47434 Commits

Author SHA1 Message Date
Eino-Ville Talvala
4214402aa2 am 33baee5d: Merge "Add android.hardware.camera.any feature to camera permissions." into jb-mr1-dev
* commit '33baee5d88974a3b668f9d7f0716eed815966773':
  Add android.hardware.camera.any feature to camera permissions.
2012-09-24 09:26:03 -07:00
Mathias Agopian
511572b465 am 9e2463e7: add/remove displays properly on hotplug events
* commit '9e2463e71796964cfaa06bf09a880875ac3537bc':
  add/remove displays properly on hotplug events
2012-09-24 09:26:02 -07:00
The Android Automerger
7fd6694905 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-09-23 18:59:59 -07:00
Ian Rogers
720501c8ef Configure GC free to be 8MB for devices with >512MB RAM.
b/6606849

Change-Id: Idad46032b4b5d309db0319caeb7a1dfc0550f9f7
2012-09-23 16:41:57 -07:00
Eino-Ville Talvala
33baee5d88 Merge "Add android.hardware.camera.any feature to camera permissions." into jb-mr1-dev 2012-09-23 10:20:54 -07:00
Eino-Ville Talvala
e95822715e Add android.hardware.camera.any feature to camera permissions.
Bug: 6847310
Change-Id: I9283932a7c211cd08b3b9fe6a93d8f219e6c9767
2012-09-23 09:53:51 -07:00
The Android Automerger
0615c8aba8 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-09-22 09:41:58 -07:00
Mathias Agopian
9e2463e717 add/remove displays properly on hotplug events
Bug: 7191563
Change-Id: I8f0fbf3b29658c9479443141798e6f288a1f2d52
2012-09-21 18:26:16 -07:00
Mathias Agopian
6995433214 am ff28e201: Display events now always carry the display id they happened on
* commit 'ff28e201ec0c6d620eaaa29814ab52958487dc31':
  Display events now always carry the display id they happened on
2012-09-21 14:55:43 -07:00
Mathias Agopian
98cffd5cf9 am b4d18ed3: fix an issue where hotplug events were not dispatched
* commit 'b4d18ed34e3513f3a14ea0876c7e330bee72a529':
  fix an issue where hotplug events were not dispatched
2012-09-21 14:55:42 -07:00
Jamie Gennis
f83c2720c1 am 16cfa2e3: Merge "SurfaceTexture: fix an out of bounds array write" into jb-mr1-dev
* commit '16cfa2e38bfbdafdba21af7f9f1c4d1418cbe1d3':
  SurfaceTexture: fix an out of bounds array write
2012-09-21 14:55:41 -07:00
Mathias Agopian
ff28e201ec Display events now always carry the display id they happened on
Change-Id: I12de1d883c23927722bc3a71b782f0079de4e831
2012-09-21 14:20:35 -07:00
Mathias Agopian
b4d18ed34e fix an issue where hotplug events were not dispatched
Change-Id: I527eec77f338cd6f1a9021aa4c9d384dbddd6d2a
2012-09-21 14:20:35 -07:00
Jamie Gennis
16cfa2e38b Merge "SurfaceTexture: fix an out of bounds array write" into jb-mr1-dev 2012-09-21 13:43:24 -07:00
Jamie Gennis
849df8cd6b am e0606e29: Merge "Add a spec for EGL_ANDROID_framebuffer_target." into jb-mr1-dev
* commit 'e0606e29875a55dedc1a4f0a738d5eb40fe1eb41':
  Add a spec for EGL_ANDROID_framebuffer_target.
2012-09-21 12:17:46 -07:00
Jamie Gennis
e0606e2987 Merge "Add a spec for EGL_ANDROID_framebuffer_target." into jb-mr1-dev 2012-09-21 12:16:38 -07:00
Jamie Gennis
d1b330de41 SurfaceTexture: fix an out of bounds array write
This change fixes an issue causing the mEglContext member of a SurfaceTexture
to get incorrectly zeroed out.  This would happen when a call to
ConsumerBase::releaseBufferLocked resulted in the current buffer being freed.
Freeing the current buffer would set SurfaceTexture::mCurrentTexture to -1,
which would then be used by SurfaceTexture::releaseBufferLocked to reset the
current slot's EGLSyncKHR to EGL_NO_SYNC_KHR (= 0).  This would overwrite the
mEglContext field, resulting in context mismatch errors in
SurfaceTexture::doGLFenceWaitLocked.

The fix is to simply use the buffer slot that's passed in to
SurfaceTexture::releaseBufferLocked rather than mCurrentTexture.

Change-Id: I0e5e2bd88fcbb354c35a3744f317716fff3e0e41
2012-09-21 12:15:22 -07:00
Jamie Gennis
aaf421c465 Add a spec for EGL_ANDROID_framebuffer_target.
This change adds a new extension for EGL implementations to indicate the
EGLConfigs that support use as a HWComposer framebuffer target layer.

Change-Id: Ia7c8fbe8da09d57b4ec8bf1d9ddb67ca21aa2885
2012-09-21 12:15:22 -07:00
The Android Automerger
ae18e61481 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-09-21 06:59:47 -07:00
Mathias Agopian
7afa3dce09 am 4c0751a1: return an error, as expected, when querying a disconnected display
* commit '4c0751a1f6e4ee941791012b31f9dbc65601e1d6':
  return an error, as expected, when querying a disconnected display
2012-09-20 21:33:56 -07:00
Mathias Agopian
4c0751a1f6 return an error, as expected, when querying a disconnected display
Change-Id: I405a3a7bb42b9bbd2ec7bfe09e60e1b7acf7389d
2012-09-20 21:28:12 -07:00
Mathias Agopian
245cfe066f am 38e623bc: fix a typo preventing pre hwc-1.1 devices from booting
* commit '38e623bc5c2d7224ebd5b82efaea401bc8e5367a':
  fix a typo preventing pre hwc-1.1 devices from booting
2012-09-20 20:24:15 -07:00
Mathias Agopian
5c1180dfe8 am f5a33928: we now correctly set-up connected screens during boot
* commit 'f5a33928349bebc8eebc9f466618997e98c24e68':
  we now correctly set-up connected screens during boot
2012-09-20 20:22:58 -07:00
Mathias Agopian
8e52ccbe37 am 148994e5: We now report hotplug events to the framework
* commit '148994e5f33ce240ff24ceb5bc0500b7f2001959':
  We now report hotplug events to the framework
2012-09-20 20:22:57 -07:00
Mathias Agopian
f2fe393232 am 1604f777: one more step toward HDMI support
* commit '1604f777d11c40daae8ec91d8ea75625996bfbac':
  one more step toward HDMI support
2012-09-20 20:22:56 -07:00
Mathias Agopian
29c286ee9e am eba8c688: calculate wether we filter on a per-display basis
* commit 'eba8c688f633f3f3f1b75c2bc64faf799dd2b5f2':
  calculate wether we filter on a per-display basis
2012-09-20 20:22:55 -07:00
Mathias Agopian
488978deda am f33e4b6f: GraphicBufferAlloc class was declared twice
* commit 'f33e4b6f13bc3ee2d2a4e1abd1ada171c70d3492':
  GraphicBufferAlloc class was declared twice
2012-09-20 20:22:54 -07:00
Mathias Agopian
38e623bc5c fix a typo preventing pre hwc-1.1 devices from booting
Change-Id: Icf01254689633d04967872749ac947a671e47ed8
2012-09-20 19:27:07 -07:00
Mathias Agopian
f5a3392834 we now correctly set-up connected screens during boot
Change-Id: Ie8b1a3b97ad1821cc970e43abe96c8cec7135b66
2012-09-20 17:13:58 -07:00
Mathias Agopian
148994e5f3 We now report hotplug events to the framework
Change-Id: I2d6b7787d39e5929485a551e4982498c5053c211
2012-09-20 17:13:58 -07:00
Mathias Agopian
1604f777d1 one more step toward HDMI support
getDisplayInfo() now returns proper information for
HWC managed displays.

hotplug is sitll not supported; so this is not fully correct
as the information returned will be bogus if the HDMI screen
is not plugged in.

Bug: 7191563
Change-Id: If55d8e829fae0443571548155007f486cdf9bc9f
2012-09-20 17:13:58 -07:00
Mathias Agopian
eba8c688f6 calculate wether we filter on a per-display basis
Change-Id: I79d80b432b20b3d02428da19add464ac1e2b9378
2012-09-20 17:13:58 -07:00
Mathias Agopian
f33e4b6f13 GraphicBufferAlloc class was declared twice
this was confusing because the one in FramebufferSurface
wasn't in fact being used

Change-Id: Ied45aec20d804cfbe52440f9b2f2852a85c757cf
2012-09-20 17:13:58 -07:00
Ben Cheng
6523a82ce4 am 70f93fb5: Merge "Disable the use of clock_gettime for now." into jb-mr1-dev
* commit '70f93fb5c2004c0fe2bd33f106358d516bb615f8':
  Disable the use of clock_gettime for now.
2012-09-20 13:19:27 -07:00
Ben Cheng
70f93fb5c2 Merge "Disable the use of clock_gettime for now." into jb-mr1-dev 2012-09-20 13:17:43 -07:00
The Android Open Source Project
015a6f2dec Reconcile with jb-mr1-release - do not merge
Change-Id: I0800e6996dad4753a984e5b3bb2c791f12e7ddf7
2012-09-20 10:35:55 -07:00
Andreas Huber
b2011cad4b am 67b9de12: Merge "frameworks/native: Amend HDCP API" into jb-mr1-dev
* commit '67b9de12e13c947ebd272c3074cca832ce7c1aa0':
  frameworks/native: Amend HDCP API
2012-09-20 09:42:34 -07:00
Andreas Huber
67b9de12e1 Merge "frameworks/native: Amend HDCP API" into jb-mr1-dev 2012-09-20 09:29:42 -07:00
The Android Automerger
e8d09f895e merge in jb-mr1-release history after reset to jb-mr1-dev 2012-09-20 06:59:49 -07:00
Jesse Hall
9aa8ef7459 am 1887af43: Merge "Allow 16-bit color EGLConfigs" into jb-mr1-dev
* commit '1887af43a5dd5181f4582a6090ae25c7aa17fa4a':
  Allow 16-bit color EGLConfigs
2012-09-20 06:09:46 -07:00
Mathias Agopian
278b301690 am 2a60824a: am 516efc1b: am 8a2b5423: Merge "libagl: Transform the vertex if using eye space lighting with point lights"
* commit '2a60824abcbfc2c5b936d3711d6d32318c489e88':
  libagl: Transform the vertex if using eye space lighting with point lights
2012-09-20 06:09:37 -07:00
Mathias Agopian
12ba3127cd am 3a24e8f1: Merge changes I561c198c,Id4865f3c into jb-mr1-dev
* commit '3a24e8f160c7794f44ef9fd5c70a61ff62412717':
  improve sensor battery usage tracking
  track UID with connections
2012-09-20 06:08:10 -07:00
Mathias Agopian
5aae981d6e am d56eff2f: fix typo in DisplayDevice logs
* commit 'd56eff2f49e64bb71863ffb866af8c3f686b96e9':
  fix typo in DisplayDevice logs
2012-09-20 06:08:09 -07:00
Jesse Hall
1887af43a5 Merge "Allow 16-bit color EGLConfigs" into jb-mr1-dev 2012-09-19 22:30:56 -07:00
Mathias Agopian
2a60824abc am 516efc1b: am 8a2b5423: Merge "libagl: Transform the vertex if using eye space lighting with point lights"
* commit '516efc1bea1c05492c5d4636a589cfc686661842':
  libagl: Transform the vertex if using eye space lighting with point lights
2012-09-19 22:05:14 -07:00
Jesse Hall
f21cffa7d7 Allow 16-bit color EGLConfigs
The emulator without GPU acceleration only supports 16-bit
framebuffers.

Bug: 7185810
Change-Id: I883180367bf5b291d5e70427ab586d2e17868a96
2012-09-19 21:00:49 -07:00
Mathias Agopian
516efc1bea am 8a2b5423: Merge "libagl: Transform the vertex if using eye space lighting with point lights"
* commit '8a2b54235a45f92827b13723380065d1ce308236':
  libagl: Transform the vertex if using eye space lighting with point lights
2012-09-19 20:39:05 -07:00
Mathias Agopian
8a2b54235a Merge "libagl: Transform the vertex if using eye space lighting with point lights" 2012-09-19 19:31:53 -07:00
Mathias Agopian
3a24e8f160 Merge changes I561c198c,Id4865f3c into jb-mr1-dev
* changes:
  improve sensor battery usage tracking
  track UID with connections
2012-09-19 16:26:31 -07:00
Mathias Agopian
d56eff2f49 fix typo in DisplayDevice logs
Change-Id: I593ef674f12073bd9d690946447031394ef9044e
2012-09-19 16:25:29 -07:00