Stephen Hines
95dc232c0a
am a5b8768f: Merge "Add support for memcpy/memset to RS." into honeycomb
...
* commit 'a5b8768f01462374aed42e5c602afe65b7e050ef':
Add support for memcpy/memset to RS.
2011-02-04 15:17:09 -08:00
Stephen Hines
a5b8768f01
Merge "Add support for memcpy/memset to RS." into honeycomb
2011-02-04 15:15:34 -08:00
Jamie Gennis
c7839751aa
am c2efcd2c: Merge "Initialize the SurfaceTexture transform fields." into honeycomb
...
* commit 'c2efcd2ceadab33b42d938e3771c994816e9a4b0':
Initialize the SurfaceTexture transform fields.
2011-02-04 15:05:28 -08:00
Stephen Hines
3f73da5c96
Add support for memcpy/memset to RS.
...
Bug: 3426446
Change-Id: I78170a50bdd891d928b3db96685b4c3c801b6f00
2011-02-04 14:56:49 -08:00
Romain Guy
c78b5d50f9
Properly handle dirty rectangles generated from 9-patches
...
Bug #3409580
This bug affects anything that draws a 9patch inside a layer, this includes
launcher's workspace, all of the fade animations, etc.
Change-Id: Icbe8ecd158e3d5f44d07516462de68c5d1fb0a8f
2011-02-04 14:00:42 -08:00
Jamie Gennis
2672226301
Initialize the SurfaceTexture transform fields.
...
Change-Id: I2c25f15949253a1dbe493fef440e5ef118c40e71
related-bug: 3426067
2011-02-04 13:46:38 -08:00
Chet Haase
5a7e828842
Fix crash when Paths are GCd in hw accelerated apps
...
A recent change to optimize path rendering didn't account for
the destruction of native objects by the VM finalizer. We may be
done with the Java level version before we're done with the native
structure that's used by the display list. For example, a drawing
method on a View that creates a temporary path to render into the
canvas will implicitly create a native structure that is put onto
the GL display list. That temporary path may go away, but the native
version should stick around as long as the display list does.
The fix is to refcount the original native version of the path
and only delete it when the refcoutn reaches zero (which means that
it is no longer needed by any display list). This is a similar mechanism
used for bitmaps and shaders.
Change-Id: I4de1047415066d425d1c689aa60827f97729b470
2011-02-04 12:50:55 -08:00
Romain Guy
80038fbcf6
am ba27cf75: Merge "Empty the clip rect when intersection is empty. Bug #3410035 " into honeycomb
...
* commit 'ba27cf756db9ac80608ed61a39a66e94951ecc61':
Empty the clip rect when intersection is empty. Bug #3410035
2011-02-04 01:06:46 -08:00
Romain Guy
f28daffda5
Empty the clip rect when intersection is empty.
...
Bug #3410035
Change-Id: I5ceb80514d3b20c9ad230478549ad31ced403d53
2011-02-04 00:59:34 -08:00
Chet Haase
38e8c35322
am 59301777: Merge "Fix leak in reused display lists" into honeycomb
...
* commit '59301777215d2e137994107d20ba40d72c7cd349':
Fix leak in reused display lists
2011-02-03 17:16:32 -08:00
Romain Guy
9bd32c235d
am 109da7df: am 5bfd1aff: Merge "Allocate layers from the layers pool. Bug #3413433 " into honeycomb
...
* commit '109da7dfd4c0766274b17467880ee673c731735c':
Allocate layers from the layers pool. Bug #3413433
2011-02-03 17:16:19 -08:00
Romain Guy
a9c369d0fb
am 87465f02: Merge "Fixes cache misses and extra allocations. Bug #3421454 " into honeycomb
...
* commit '87465f02e4113542bb203232fed0c0f1f67f9a17':
Fixes cache misses and extra allocations. Bug #3421454
2011-02-03 16:34:06 -08:00
Chet Haase
d63cbd1076
Fix leak in reused display lists
...
Change-Id: I32a9c41abf8f8cbcaaaa6fcc82d296800014a1b2
2011-02-03 16:33:26 -08:00
Jason Sams
e56d643e47
Fix bug 3421901
...
remove 2 functions from public headers in the SDK.
Change-Id: Ib44e7a4c12f19c87c39095028c020548f89143ec
2011-02-03 16:30:23 -08:00
Jason Sams
5f1d68dcd2
cleanup headers for SDK.
...
bug 3421901
Change-Id: Ia7018af4e27cd52818a8891b37d09e96639bba15
2011-02-03 16:29:08 -08:00
Romain Guy
2fc941e465
Fixes cache misses and extra allocations.
...
Bug #3421454
Change-Id: If4d5c960a7e4c581a9d213073e658284b4e1c497
2011-02-03 16:20:08 -08:00
Romain Guy
109da7dfd4
am 5bfd1aff: Merge "Allocate layers from the layers pool. Bug #3413433 " into honeycomb
...
* commit '5bfd1afffe361958682bcb899b763ce35ec00c3a':
Allocate layers from the layers pool. Bug #3413433
2011-02-02 21:07:17 -08:00
Romain Guy
5bfd1afffe
Merge "Allocate layers from the layers pool. Bug #3413433 " into honeycomb
2011-02-02 21:05:35 -08:00
Romain Guy
09b7c91de7
Allocate layers from the layers pool.
...
Bug #3413433
This change will be beneficial to Launcher to avoid hiccups when
swiping pages of icons. When a layer is discarded, it is kept
in the layers pool instead of being destroyed right away. This
favors memory reuse over allocations.
Change-Id: Ifb6944ba83d6ceb67c331527c0827b26ce648eb1
2011-02-02 20:28:09 -08:00
Romain Guy
dcbcb680bc
am 44e3b0d0: am f44ed5ad: Merge "Don\'t clobber the local dirty rect after rendering a layer. Bug #3417254 Bug #3413433 " into honeycomb
...
* commit '44e3b0d0344955d5ce1bbb0b329627e24b7dd468':
Don't clobber the local dirty rect after rendering a layer. Bug #3417254 Bug #3413433
2011-02-02 17:15:26 -08:00
Romain Guy
44e3b0d034
am f44ed5ad: Merge "Don\'t clobber the local dirty rect after rendering a layer. Bug #3417254 Bug #3413433 " into honeycomb
...
* commit 'f44ed5adc42fefa0c91fc79c5e3c20e1cdc7d697':
Don't clobber the local dirty rect after rendering a layer. Bug #3417254 Bug #3413433
2011-02-02 16:47:09 -08:00
Romain Guy
f44ed5adc4
Merge "Don't clobber the local dirty rect after rendering a layer. Bug #3417254 Bug #3413433 " into honeycomb
2011-02-02 16:44:07 -08:00
Jamie Gennis
a257be1895
am 421d94c2: am ecb4b3f0: Merge "Pass the IGraphicBufferAlloc to SurfaceTextureClient." into honeycomb
...
* commit '421d94c20321e1de528416b279bf148baba47b39':
Pass the IGraphicBufferAlloc to SurfaceTextureClient.
2011-02-02 16:21:24 -08:00
Jamie Gennis
421d94c203
am ecb4b3f0: Merge "Pass the IGraphicBufferAlloc to SurfaceTextureClient." into honeycomb
...
* commit 'ecb4b3f02340e21eefabbea78559e85ec7ee0089':
Pass the IGraphicBufferAlloc to SurfaceTextureClient.
2011-02-02 15:56:20 -08:00
Jamie Gennis
ecb4b3f023
Merge "Pass the IGraphicBufferAlloc to SurfaceTextureClient." into honeycomb
2011-02-02 15:53:33 -08:00
Romain Guy
62687ec12c
Don't clobber the local dirty rect after rendering a layer.
...
Bug #3417254
Bug #3413433
Change-Id: I8045e9ec414ebe4ce4d38124142a00726d2c634d
2011-02-02 15:44:19 -08:00
Jamie Gennis
83bac216a7
Pass the IGraphicBufferAlloc to SurfaceTextureClient.
...
This change passes a reference to the IGraphicBufferAlloc binder object
to SurfaceTextureClient objects. When STC objects are created they
query their associated ISurfaceTexture object for the
IGraphicBufferAlloc that the SurfaceTexture uses to allocate buffers.
Having the SurfaceTextureClient hold this reference prevents the
GraphicBufferAlloc in SurfaceFlinger from freeing the allocated buffers
before the SurfaceTextureClient is done with them.
Change-Id: Ib8e30e8b37fdd60438cbb4cb7e9174d0ba6d661c
related-bug: 3362519
2011-02-02 15:31:47 -08:00
Romain Guy
44fbc03f65
am 57188f0d: am c1f8bcff: Merge "Fix incorrect dirty rectangle transformation in hardware layers. Bug #3413433 " into honeycomb
...
* commit '57188f0d1d7225991f8f5afb2740ed4cc878305b':
Fix incorrect dirty rectangle transformation in hardware layers. Bug #3413433
2011-02-02 00:51:13 -08:00
Romain Guy
57188f0d1d
am c1f8bcff: Merge "Fix incorrect dirty rectangle transformation in hardware layers. Bug #3413433 " into honeycomb
...
* commit 'c1f8bcffb8612ef5bdddc4bca6eca23804cbe453':
Fix incorrect dirty rectangle transformation in hardware layers. Bug #3413433
2011-02-02 00:49:31 -08:00
Romain Guy
beff8d83ef
Fix incorrect dirty rectangle transformation in hardware layers.
...
Bug #3413433
Change-Id: Iba201c7c4b4f11937797f3afcbf20c5a7395be25
2011-02-01 23:53:34 -08:00
Romain Guy
34cdf5bbb7
am debeeef5: am d51eaa64: Merge "Update layers based on the dirty region. Bug #3413433 " into honeycomb
...
* commit 'debeeef50408cf12f1041426e7438be266789a62':
Update layers based on the dirty region. Bug #3413433
2011-02-01 23:10:29 -08:00
Romain Guy
debeeef504
am d51eaa64: Merge "Update layers based on the dirty region. Bug #3413433 " into honeycomb
...
* commit 'd51eaa64e3f2d9684b2dd18ebd67734f4e0e7801':
Update layers based on the dirty region. Bug #3413433
2011-02-01 23:07:54 -08:00
Romain Guy
3a3133d876
Update layers based on the dirty region.
...
Bug #3413433
This helps Launcher when a widget updates during a scroll, or when interacting
with widgets on the workspace if layers are still turned on.
Change-Id: Ic7a42eb34f74f4ae988039754f815e2efd1d1e4f
2011-02-01 23:01:43 -08:00
Alex Sakhartchouk
c078e2cb39
Merge "Cleaning up the serialization change. Renaming the define to be more in line with what it does and removing the host stub header file."
2011-02-01 09:13:26 -08:00
Shih-wei Liao
9f1f586f80
Use bccLinkFile instead of bccLinkBC. Remove hacking.
...
Change-Id: I0ffea89553e3229ee5a3262846462298fc0f5dea
2011-02-01 04:06:55 -08:00
Jamie Gennis
79d01fe823
Clear GL errors before updating a SurfaceTexture.
...
Change-Id: Ibdac657ae9e9ccae53c63abed9caf1f1513915c2
2011-01-31 15:35:29 -08:00
Alex Sakhartchouk
d0f5bd130b
Cleaning up the serialization change.
...
Renaming the define to be more in line with what it does and removing the host stub header file.
Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
2011-01-31 14:53:24 -08:00
Alex Sakhartchouk
a3b5960f6f
Making sure we can build libRS on the host for serialization.
...
Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
2011-01-31 12:38:34 -08:00
Jean-Baptiste Queru
64548084ea
am ec2cd74e: am 1314bdb2: am e88fa50b: Merge from open-source gingerbread
...
* commit 'ec2cd74ee3d43f6d1e6865bf8e576b4b42635a86':
fix failing thread object run
2011-01-30 16:35:27 -08:00
Jean-Baptiste Queru
ec2cd74ee3
am 1314bdb2: am e88fa50b: Merge from open-source gingerbread
...
* commit '1314bdb2b22ae3613c3e08ae278dbc70f90b965c':
fix failing thread object run
2011-01-30 16:32:44 -08:00
Jean-Baptiste Queru
1314bdb2b2
am e88fa50b: Merge from open-source gingerbread
...
* commit 'e88fa50be8d6709ef58b7aeb01c5efa059bcac2e':
fix failing thread object run
2011-01-30 16:19:59 -08:00
Jean-Baptiste Queru
e88fa50be8
Merge from open-source gingerbread
...
Change-Id: I56f2ed37187796807fbf0de15274a85164f9432c
2011-01-30 15:30:03 -08:00
Jamie Gennis
4453b1a5b6
am 09443aeb: am 62884505: Merge "Reset ANativeWindow crop on buffer geometry changes." into honeycomb
...
* commit '09443aeb6470d66f5bc1938b70d74b3e2f9bbbb9':
Reset ANativeWindow crop on buffer geometry changes.
2011-01-30 15:05:42 -08:00
Jamie Gennis
09443aeb64
am 62884505: Merge "Reset ANativeWindow crop on buffer geometry changes." into honeycomb
...
* commit '628845056282a0c5b1a212ce5aeeaac092b91ec8':
Reset ANativeWindow crop on buffer geometry changes.
2011-01-30 15:03:03 -08:00
Jamie Gennis
6288450562
Merge "Reset ANativeWindow crop on buffer geometry changes." into honeycomb
2011-01-30 15:00:44 -08:00
The Android Open Source Project
b2abd8c424
Mass merge from gingerbread - do not merge
...
Change-Id: I45dc3596bf4211d8f91c64f2d1d00588878df629
2011-01-30 12:40:38 -08:00
Dianne Hackborn
0e87a19bec
am 371de969: am a1f5e82f: am a30063d8: am 25eb0464: Merge "Normalize output from aapt d"
...
* commit '371de9695508073fbbde8181eb230e99cb045206':
Normalize output from aapt d
2011-01-29 23:10:33 -08:00
Dianne Hackborn
371de96955
am a1f5e82f: am a30063d8: am 25eb0464: Merge "Normalize output from aapt d"
...
* commit 'a1f5e82f37c77af7b1d630b5bca715d1742f1234':
Normalize output from aapt d
2011-01-29 23:07:48 -08:00
Dianne Hackborn
a1f5e82f37
am a30063d8: am 25eb0464: Merge "Normalize output from aapt d"
...
* commit 'a30063d80c08434ac3c7316f338c6d54110449ab':
Normalize output from aapt d
2011-01-29 23:04:50 -08:00
Dianne Hackborn
25eb04642c
Merge "Normalize output from aapt d"
2011-01-29 22:53:20 -08:00