Commit Graph

4338 Commits

Author SHA1 Message Date
c31424e6c5 Merge "Moving lod's into hal struct." 2012-03-09 08:43:26 -08:00
3b88729d2b Moving lod's into hal struct.
Change-Id: Iaec34fea7c002d7948d91df6b7a1af7f832f74ea
2012-03-08 14:52:36 -08:00
8c79817dc6 remove files that moved to frameworks/native
Change-Id: I140d291e520097b1148930f736823650e08488f7
2012-03-07 19:36:08 -08:00
08965ec67a fixup hardcoded include paths for new project
Change-Id: Id443ec5c99bb4d7653905f1be1f72a029e0cf087
2012-03-07 19:34:36 -08:00
ac3c33745f Merge "BufferQueue: fixed issues with buffer slots not available" 2012-03-07 15:48:11 -08:00
fc004c1350 Merge "attempt to fix a deadlock in SurfaceTextureClient::disconnect" 2012-03-07 14:18:54 -08:00
c930cf3cf3 BufferQueue: fixed issues with buffer slots not available
Bug: 6120953
Change-Id: Ief43f042ee9e1512e86fff8632a1c9dd31bdff35
2012-03-07 14:15:34 -08:00
ff249c0dc8 Merge "Remove references to sched_policy.h in RS" 2012-03-07 07:16:46 -08:00
3e964c55ac attempt to fix a deadlock in SurfaceTextureClient::disconnect
- condition wasn't signaled if an error happened between acquire and release
- also replace signal with broadcasts

Bug: 6109450
Change-Id: Iaf9371b829f772f559daae42e06d4dbd9505d6a0
2012-03-06 18:26:54 -08:00
66199cf939 Merge "Remove obsolete references to sched_policy.h" 2012-03-06 08:17:43 -08:00
6d159451bb Merge "Add missing includes for Mutex.h" 2012-03-06 05:27:31 -08:00
18364b31fc Merge "Add ATRACEs for Buffer indices" 2012-03-05 19:41:29 -08:00
403475a894 Remove obsolete references to sched_policy.h
As part of scheduling policy cleanup, remove or isolate
all references to the scheduling policy APIs.

Change-Id: Ia1ea2fe711a399039f25217309e061267744b856
2012-03-05 18:12:45 -08:00
583786175e Remove references to sched_policy.h in RS
As part of scheduling policy cleanup, removing some references to
sched_policy.h and its APIs.  Activity manager should be responsible
for configuring scheduling policy, rather than leaving it up to each app.

Change-Id: Iffe972799bf3fde090b1efdd3abce5141e4d261e
2012-03-05 17:24:39 -08:00
029f64303b Add missing includes for Mutex.h
The missing header was being transitively included through a
Skia header which is being removed.

Change-Id: I5a65bae076027951fe07d1e7eecd4732124fb0e4
2012-03-05 16:48:32 -05:00
bb0acdf9e1 Delete display list objects and resources on the UI thread
Bug #6073717
Bug #6065504
Bug #6026515
Bug #5971725

Prior to this patch, the destructor of DisplayList would always run
on the finalizer thread. This could cause a race condition if the UI
thread was busy rendering display lists at the same time leading to
various random native crashes.

Change-Id: Ie11108e3b1538d4b358a1a8b4cce1b2d33152d0c
2012-03-05 13:44:35 -08:00
fb9c41c206 Merge "Deferred layer updates" 2012-03-05 13:20:46 -08:00
303a067373 Merge "BufferQueue: fixed acquire operation" 2012-03-05 12:09:45 -08:00
c730aceb64 Merge "Add multisampling support to renderscript." 2012-03-05 08:30:31 -08:00
e7de7258ed Merge "Using surface texture as a default renderscript surface." 2012-03-05 08:29:57 -08:00
2bf68f063b Deferred layer updates
Change-Id: I83d9e564fe274db658dcee9e0cc5bbf9223ebb49
2012-03-02 13:37:47 -08:00
d137cc7c92 BufferQueue: fixed acquire operation
Bug: 6082872
Change-Id: I897dc61eb84fed953e51f97871cd3ae6321505d4
2012-03-02 11:30:56 -08:00
d1220b904d Add ATRACEs for Buffer indices
Change-Id: I44d7a9a9bf03f418cab2a4854583aac9e533daee
2012-03-01 22:20:24 -08:00
7e5f1e8dc0 Merge "add more tracing for buffer allocation" 2012-03-01 21:22:35 -08:00
ad1daaa87b Remove stray log
Change-Id: I0c1979aab395098651c8a63d0bae0198ebc3746b
2012-03-01 17:33:42 -08:00
d8f45c16a8 Merge "Small tweak to Canvas.drawPath() GL implementation" 2012-03-01 12:11:59 -08:00
dd7c8e4c68 Small tweak to Canvas.drawPath() GL implementation
Change-Id: I1d668a912996e1267bcf2127058888e489a2d9b3
2012-03-01 12:08:38 -08:00
541b492d49 Merge "Allocation sampling api prototypes." 2012-03-01 09:43:43 -08:00
09264d5248 add more tracing for buffer allocation
Change-Id: I8408850d0625985992ef2e2cd0c9f300b1fca293
2012-02-29 20:47:20 -08:00
7084e75282 Merge "Full implementation of Canvas.drawPath()" 2012-02-29 19:16:15 -08:00
9777173eb6 Full implementation of Canvas.drawPath()
Change-Id: I23223b89770a0cd2b4762365bead9bfddb094290
2012-02-29 19:14:37 -08:00
96804ad6bc Allocation sampling api prototypes.
Change-Id: Ia11c6a107ea49ad6f40cfd220c537376a18c3b62
2012-02-29 16:43:24 -08:00
502695d528 Merge "Fixed several 64-bit porting issues" 2012-02-29 16:41:55 -08:00
f79760b4aa Merge "Shorten thread names" 2012-02-29 14:59:08 -08:00
86e3362f15 Shorten thread names
prctl(PR_SET_NAME) limits to 15 characters.  Before we had names like
"Binder Thread #" and the counter was cut off :-( Also remove redundant
"thread" at end of name; it's always a thread.

Change-Id: I1f99c2730ba0787ed9b59c15914356cddf698e2f
2012-02-28 16:38:09 -08:00
f203b83d2f Add multisampling support to renderscript.
Change-Id: I38bf50a5b54aa5df7e4f76ea40027d9e36dc4b5d
2012-02-28 14:35:31 -08:00
eb8b1fe91f Using surface texture as a default renderscript surface.
Change-Id: I969aa56683fdf4538ff54fa1065dada77cf9d04d
2012-02-28 10:16:06 -08:00
b1badfc748 get rid of MemoryHeapPmem
MemoryHeapPmem is not used any longer. PMEM is not a supported
type of memory by the system anymore. a particular device might
use PMEM and need something like MemoryHeapPmem, in this case this
should be implemented in device specific code (HAL).

This will most likely break older no longer supported targets.

Change-Id: I434e4291219950018de8b793b0403bb2d92dd5cc
2012-02-27 19:58:57 -08:00
3169e4bd15 Merge "move CursorWindow from libbinder to libandroidfw" 2012-02-27 19:48:21 -08:00
d9df224570 Fixed several 64-bit porting issues
1. Use "%zu" instead of "%d" for size_t in printf
2. Variable precision specifier (eg. "%.*s") in printf should be of type int.
   (iov_len is size_t which is 64-bit when compiled with -m64)
3. Use PRId64 instead of "%lld" to print variables of type int64_t

Change-Id: I2be40a6514b5dffa0038d62b9bccc3401b8756e6
2012-02-27 18:50:55 -08:00
49d2b1864c move CursorWindow from libbinder to libandroidfw
Change-Id: I3b304e4f74e0d0ec8b20c57296c62449c9a0f792
2012-02-27 18:11:20 -08:00
a85ca37c84 Add tracing to various graphics components.
This change adds ATRACE call tracing to BufferQueue,
SurfaceTextureClient, SurfaceTexture, SurfaceFlinger, Layer, and EGL.

Change-Id: I9d75ed26f5a3f0d1af635da38289520134cfbbb7
2012-02-27 17:50:35 -08:00
6835237f6f Merge "Removed dependecies between BufferQueue and SurfaceTexture" 2012-02-27 17:06:53 -08:00
6f15cc959e Removed dependecies between BufferQueue and SurfaceTexture
Refactored SurfaceTexture and BufferQueue such that share
no protected members.  Created an consumer facing interface
for BufferQueue in preparation of connecting SurfaceTexture
and BufferQueue through a binder.

Change-Id: I938e63e085128148c58d0e26c7213b30145c109f
2012-02-27 16:40:48 -08:00
a65fb113dd Merge "Removing GL calls from librs" 2012-02-27 15:08:07 -08:00
f6b53db704 Merge "libutils: add a system-wide tracing utility" 2012-02-27 13:35:30 -08:00
c7d47ec622 Merge "Revert "Removed dependecies between BufferQueue and SurfaceTexture"" 2012-02-27 13:23:51 -08:00
8335f1cccc fix libgui header location
Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
2012-02-27 13:03:08 -08:00
12aba767c7 remove dummy libsurfaceflinger_client
Change-Id: Idd67a3f936deae7ba5d1cd5000d191fad271381e
2012-02-27 13:03:03 -08:00
05221052c5 Revert "Removed dependecies between BufferQueue and SurfaceTexture"
This reverts commit a631399f71
2012-02-27 11:32:06 -08:00