OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Mike Lockwood [Sat, 29 Aug 2009 15:55:27 +0000 (11:55 -0400)]
sensors: Add optional close_data_source call
Change-Id: I591afea509ee055211a4beeaa83b12692e251f67
Signed-off-by: Mike Lockwood <lockwood@android.com>
Iliyan Malchev [Thu, 20 Aug 2009 23:47:17 +0000 (16:47 -0700)]
libhardware: add a field for reporting light levels
Signed-off-by: Iliyan Malchev <malchev@google.com>
Android (Google) Code Review [Wed, 19 Aug 2009 20:18:38 +0000 (13:18 -0700)]
Merge changes 21851,21852 into eclair
* changes:
split gralloc_priv.h and make sure it is C friendly
integrate this change from the generic gralloc
Mathias Agopian [Wed, 19 Aug 2009 18:20:55 +0000 (11:20 -0700)]
add typedefs to gralloc and hardware.h so it's more C friendly
Mathias Agopian [Wed, 19 Aug 2009 00:35:44 +0000 (17:35 -0700)]
split gralloc_priv.h and make sure it is C friendly
Mathias Agopian [Wed, 19 Aug 2009 00:22:51 +0000 (17:22 -0700)]
integrate this change from the generic gralloc
Mathias Agopian [Sun, 9 Aug 2009 00:01:18 +0000 (17:01 -0700)]
don't memset ashmem region, especially before they're mmapped
Mathias Agopian [Sat, 8 Aug 2009 03:55:37 +0000 (20:55 -0700)]
add support for RGBX_8888
Mathias Agopian [Sat, 8 Aug 2009 01:13:47 +0000 (18:13 -0700)]
make sure to clear surface's buffers when they are allocated
Benny Wong [Sat, 25 Jul 2009 00:28:26 +0000 (19:28 -0500)]
Added resizeInput and setAttributes function declarations to overlay hal
Dan Murphy [Tue, 21 Jul 2009 13:56:12 +0000 (08:56 -0500)]
lights: Header file updates for ALS support codes
These changes adds ALS support to the lighting system
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:55 +0000 (11:43 -0700)]
reconcile korg/master into goog/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:02 +0000 (17:48 -0700)]
Merge korg/donut into korg/master
Android (Google) Code Review [Mon, 20 Jul 2009 18:34:39 +0000 (11:34 -0700)]
Merge change 7784
* changes:
Remove redundant defines, these were only necessary while changes were being staged to another repo
Android (Google) Code Review [Sat, 18 Jul 2009 06:37:19 +0000 (23:37 -0700)]
Merge change 5893
* changes:
Color Format and Overlay Functions
Rebecca Schultz Zavin [Fri, 17 Jul 2009 23:28:02 +0000 (16:28 -0700)]
Remove redundant defines, these were only necessary while changes were
being staged to another repo
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Benny Wong [Tue, 7 Jul 2009 16:43:52 +0000 (11:43 -0500)]
Color Format and Overlay Functions
Add hardware overlay related function declarations and more color format enums
Marco Nelissen [Fri, 17 Jul 2009 18:14:53 +0000 (11:14 -0700)]
Fix the simulator build.
Mathias Agopian [Fri, 17 Jul 2009 01:04:54 +0000 (18:04 -0700)]
fix [
1980202] Surfaceflinger crash with transparent rollo on firestone
we now automatically size the pmem region isntead of using hardcoded values
Mathias Agopian [Wed, 15 Jul 2009 22:01:10 +0000 (15:01 -0700)]
generic gralloc HAL doesn't need to support partial updates using msm7k specific ioctl.
Mathias Agopian [Tue, 14 Jul 2009 01:32:37 +0000 (18:32 -0700)]
better logs
Mathias Agopian [Mon, 13 Jul 2009 21:30:48 +0000 (14:30 -0700)]
automatically detect update-on-demand
Iliyan Malchev [Wed, 8 Jul 2009 20:54:17 +0000 (13:54 -0700)]
libhardware: add data field for proximity sensors
Signed-off-by: Iliyan Malchev <malchev@google.com>
Mathias Agopian [Wed, 8 Jul 2009 00:53:43 +0000 (17:53 -0700)]
more fixes for [
1965730]. We now free (unmap) both ashmem and pmem regions.
Mathias Agopian [Tue, 7 Jul 2009 23:36:31 +0000 (16:36 -0700)]
for [
1965730], give a better name to gralloc buffers
Mathias Agopian [Tue, 7 Jul 2009 23:30:42 +0000 (16:30 -0700)]
fix [
1965730] Device always give force close screen and completely unusable in Éclair build ERC07,rebooted automatically
Mathias Agopian [Tue, 7 Jul 2009 19:43:35 +0000 (12:43 -0700)]
better fix for gralloc on sim
Android (Google) Code Review [Tue, 7 Jul 2009 19:21:48 +0000 (12:21 -0700)]
Merge change 6375
* changes:
Fix build on some linux distros.
Mathias Agopian [Tue, 7 Jul 2009 19:20:31 +0000 (12:20 -0700)]
fix [
1965734] Screen flickers a lot [Sholes]
Andy McFadden [Tue, 7 Jul 2009 18:29:32 +0000 (11:29 -0700)]
Fix build on some linux distros.
The place where the PAGE_SIZE value is defined varies, mostly because
you're not supposed to be using it directly. sysconf(_SC_PAGE_SIZE)
is the approved method, and in fact some Linux distros actually #define
PAGE_SIZE to the library call.
Marco Nelissen [Tue, 7 Jul 2009 16:29:00 +0000 (09:29 -0700)]
Simulator build fixes for the new GL stuff. The simulator still doesn't run, but at least it builds.
Mathias Agopian [Tue, 7 Jul 2009 03:49:05 +0000 (20:49 -0700)]
workaroud [
1964234] emulator renders funny with new gralloc.
we detect we're running on the emu (using a very bad heuristic, see
1964251) and switch UPDATE_ON_DEMAND off.
Mathias Agopian [Tue, 7 Jul 2009 03:19:16 +0000 (20:19 -0700)]
fix [
1964228] emulator crash with the new GL
gralloc didn't keep the error state properly, so after the first pmem allocation failure, it would systematically fail without reverting to ashmem.
Mathias Agopian [Mon, 6 Jul 2009 22:01:04 +0000 (15:01 -0700)]
Merge commit 'goog/master_gl' into merge_master_gl
Mathias Agopian [Fri, 3 Jul 2009 00:32:15 +0000 (17:32 -0700)]
make sure to UNSLAP pmem buffers when they're destroyed/freed, as the client could still have them mmapped
Mathias Agopian [Fri, 26 Jun 2009 00:38:50 +0000 (17:38 -0700)]
add support for YUV formats
Mathias Agopian [Wed, 24 Jun 2009 23:54:44 +0000 (16:54 -0700)]
copybit now uses a native_handle_t* instead of a fd/offset
Mathias Agopian [Fri, 19 Jun 2009 23:14:09 +0000 (16:14 -0700)]
fallback to ashmem when pmem is not availlable
Mathias Agopian [Wed, 17 Jun 2009 01:22:45 +0000 (18:22 -0700)]
suppress debug log
Mathias Agopian [Thu, 11 Jun 2009 23:32:05 +0000 (16:32 -0700)]
pmem allocator in gralloc. enabled for all surfaces. currently it uses a lot more address space than needed.
Mathias Agopian [Wed, 10 Jun 2009 23:06:28 +0000 (16:06 -0700)]
add an offset field to gralloc handles so the framebuffer can work with copybit
Mathias Agopian [Wed, 10 Jun 2009 01:55:49 +0000 (18:55 -0700)]
with the new lock/unlock API we don't really mean reference counting on mmap/munmap because we're guaranteed to map the buffers only once within a process.
no need to track all handles anymore, which simplifies the code a lot.
Mathias Agopian [Fri, 5 Jun 2009 22:45:43 +0000 (15:45 -0700)]
Merge commit 'goog/master' into merge_master
Mathias Agopian [Thu, 4 Jun 2009 02:03:26 +0000 (19:03 -0700)]
suppress spurious debug log
Bill Napier [Wed, 3 Jun 2009 20:00:03 +0000 (13:00 -0700)]
am
8d567480: Update open_data_source documentation to accurately reflect the correct return value on error.
Merge commit '
8d567480b45a801a1955e4743c5eeae431d58f56'
* commit '
8d567480b45a801a1955e4743c5eeae431d58f56':
Update open_data_source documentation to accurately reflect the correct return value on error.
Bill Napier [Wed, 3 Jun 2009 00:45:08 +0000 (17:45 -0700)]
Update open_data_source documentation to accurately reflect the correct return value on error.
Mathias Agopian [Wed, 27 May 2009 21:25:54 +0000 (14:25 -0700)]
Merge commit 'goog/master' into merge_master
Mike Lockwood [Sat, 23 May 2009 17:36:45 +0000 (10:36 -0700)]
am
21b652f9: Sensors: Use a native_handle for the data channel instead of a single file descriptor.
Merge commit '
21b652f933b21aa37bd73364b486347fcc333d5c'
* commit '
21b652f933b21aa37bd73364b486347fcc333d5c':
Sensors: Use a native_handle for the data channel instead of a single file descriptor.
Mike Lockwood [Fri, 22 May 2009 14:05:48 +0000 (10:05 -0400)]
Sensors: Use a native_handle for the data channel instead of a single file descriptor.
This eliminates the requirement that all sensors share a single file descriptor.
This, along with concurrent changes in other projects, fixes bugs b/
1614524 and b/
1614481
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mathias Agopian [Fri, 22 May 2009 07:59:36 +0000 (00:59 -0700)]
Merge commit 'goog/master' into merge_master
Mathias Agopian [Tue, 19 May 2009 06:56:10 +0000 (23:56 -0700)]
am
465cf474: fix [
1847499] sensors.h : "roll" documentation is wrong
Merge commit '
465cf474beaf67c3d8b7fe6889ad74c1cfc572e1'
* commit '
465cf474beaf67c3d8b7fe6889ad74c1cfc572e1':
fix [
1847499] sensors.h : "roll" documentation is wrong
Mathias Agopian [Mon, 18 May 2009 21:09:59 +0000 (14:09 -0700)]
fix [
1847499] sensors.h : "roll" documentation is wrong
Mathias Agopian [Fri, 8 May 2009 00:39:31 +0000 (17:39 -0700)]
better documentation for (*setUpdateRect)()
Mathias Agopian [Wed, 6 May 2009 03:21:57 +0000 (20:21 -0700)]
better documentation and implementation for lock/unlock
Mathias Agopian [Wed, 6 May 2009 01:30:52 +0000 (18:30 -0700)]
get rid of unused/needed flags
Mathias Agopian [Mon, 4 May 2009 21:26:56 +0000 (14:26 -0700)]
lock will now return the vaddr of the buffer. map/umap are gone.
- make sure to return an error if a buffer is locked twice or unlocked while not locked.
- added registerBuffer() and unregisterBuffer() to the gralloc module so that we can do some cleanup when a buffer is no longer needed. this became necessary after we removed map/unmap so we have a place to unmap buffers without the need of a kernel module.
- change the constants for GRALLOC_USAGE_SW_{READ|WRITE}_NEVER to 0, so that NOT specifying them means "NEVER".
Mathias Agopian [Tue, 28 Apr 2009 22:24:01 +0000 (15:24 -0700)]
Merge commit 'goog/master' into merge_master
Jean-Baptiste Queru [Thu, 23 Apr 2009 01:33:17 +0000 (18:33 -0700)]
Merge donut into master
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:56:58 +0000 (17:56 -0700)]
merge cupcake into donut
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:12:35 +0000 (17:12 -0700)]
Merge donut into master
Mathias Agopian [Wed, 15 Apr 2009 01:24:09 +0000 (18:24 -0700)]
don't automatically unmap buffers when they're freed
this is in preparation to an api change wrt gralloc map/unmap
Mathias Agopian [Fri, 10 Apr 2009 21:26:14 +0000 (14:26 -0700)]
Merge commit 'goog/master' into master_gl
Mathias Agopian [Fri, 10 Apr 2009 21:24:31 +0000 (14:24 -0700)]
Integrate from //sandbox/mathias/donut/...@145728
SurfaceFlinger rework for new EGL driver model support.
The Android Open Source Project [Sun, 29 Mar 2009 15:55:10 +0000 (08:55 -0700)]
Merge branch 'open_source_no_contributions' into google_internal
Mathias Agopian [Sat, 28 Mar 2009 00:59:33 +0000 (17:59 -0700)]
AI 143310: am: CL 143161 am: CL 142857 Add some bluring to the animation. This requires a new kernel which will be checked-in later, at which point the blur effect will automatically be enabled.
Original author: mathias
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143310
Mathias Agopian [Fri, 27 Mar 2009 22:40:03 +0000 (15:40 -0700)]
AI 143161: am: CL 142857 Add some bluring to the animation. This requires a new kernel which will be checked-in later, at which point the blur effect will automatically be enabled.
Original author: mathias
Merged from: //branches/cupcake/...
Automated import of CL 143161
The Android Open Source Project [Fri, 27 Mar 2009 22:31:11 +0000 (15:31 -0700)]
Merge commit 'korg/cupcake'
Mathias Agopian [Thu, 26 Mar 2009 04:43:45 +0000 (21:43 -0700)]
Automated import from //branches/cupcake/...@142857,142857
The Android Open Source Project [Thu, 19 Mar 2009 00:39:47 +0000 (17:39 -0700)]
auto import from //branches/cupcake_rel/...@140373
Jean-Baptiste Queru [Tue, 17 Mar 2009 23:30:41 +0000 (16:30 -0700)]
Merge commit 'remotes/korg/cupcake' into merge
Conflicts:
include/hardware/overlay.h
The Android Open Source Project [Fri, 13 Mar 2009 20:04:23 +0000 (13:04 -0700)]
auto import from //branches/cupcake_rel/...@138607
The Android Open Source Project [Wed, 4 Mar 2009 03:32:14 +0000 (19:32 -0800)]
auto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:28:48 +0000 (18:28 -0800)]
auto import from //depot/cupcake/@135843
The Android Open Source Project [Fri, 20 Feb 2009 15:38:32 +0000 (07:38 -0800)]
auto import from //branches/cupcake/...@132569
Rebecca Schultz Zavin [Sat, 14 Feb 2009 01:05:03 +0000 (17:05 -0800)]
Add getBufferCount to overlay HAL
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
The Android Open Source Project [Fri, 13 Feb 2009 20:57:52 +0000 (12:57 -0800)]
auto import from //branches/cupcake/...@131421
The Android Open Source Project [Tue, 10 Feb 2009 23:44:04 +0000 (15:44 -0800)]
auto import from //branches/cupcake/...@130745
The Android Open Source Project [Tue, 20 Jan 2009 22:05:36 +0000 (14:05 -0800)]
Merge branch 'cupcake'
The Android Open Source Project [Tue, 20 Jan 2009 22:03:59 +0000 (14:03 -0800)]
auto import from //branches/cupcake/...@127101
android-build SharedAccount [Fri, 16 Jan 2009 00:16:04 +0000 (16:16 -0800)]
Merge branch 'cupcake'
The Android Open Source Project [Fri, 16 Jan 2009 00:12:12 +0000 (16:12 -0800)]
auto import from //branches/cupcake/...@126645
The Android Open Source Project [Sat, 10 Jan 2009 02:04:22 +0000 (18:04 -0800)]
Merge branch 'cupcake'
The Android Open Source Project [Sat, 10 Jan 2009 01:51:24 +0000 (17:51 -0800)]
auto import from //branches/cupcake/...@125939
Jean-Baptiste Queru [Fri, 19 Dec 2008 16:06:12 +0000 (08:06 -0800)]
Merge commit 'remotes/korg/cupcake'
Conflicts:
include/hardware/AudioHardwareBase.h
The Android Open Source Project [Thu, 18 Dec 2008 02:05:50 +0000 (18:05 -0800)]
Code drop from //branches/cupcake/...@124589
Iliyan Malchev [Wed, 29 Oct 2008 23:07:23 +0000 (16:07 -0700)]
Add AudioHardwareBase class to libhardware.
Signed-off-by: Iliyan Malchev <malchev@google.com>
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)]
Initial Contribution