2882 Commits

Author SHA1 Message Date
Robert Ly
d2acfd6d04 am a58f58da: Merge "Doc change: fixing renderscript samples" into honeycomb
* commit 'a58f58daf94caa7e50c04707a67ba1a9dacb0a9c':
  Doc change: fixing renderscript samples
2011-02-17 20:21:35 -08:00
Scott Main
aa680857e6 am 0ddd2d1e: DO NOT MERGE Delete unused/broken samples and tests from the renderscript libs, so we can publish the entire contents of libs/rs/java/ for samples in HC
* commit '0ddd2d1ea7cda544efc4d25601e1cdc0236e44d8':
  DO NOT MERGE Delete unused/broken samples and tests from the renderscript libs, so we can publish the entire contents of libs/rs/java/ for samples in HC
2011-02-17 20:21:24 -08:00
Robert Ly
a58f58daf9 Merge "Doc change: fixing renderscript samples" into honeycomb 2011-02-17 18:53:36 -08:00
Robert Ly
6518f486a5 Doc change: fixing renderscript samples
Change-Id: Ie5d17df121ec4bc5fd46448c1670d306322b92d8
2011-02-17 18:44:31 -08:00
Scott Main
0ddd2d1ea7 DO NOT MERGE
Delete unused/broken samples and tests from the renderscript libs,
so we can publish the entire contents of libs/rs/java/ for samples in HC

Change-Id: I0428074e995d7ee282520f54a9a3c81e32bff027
2011-02-17 16:09:25 -08:00
Stephen Hines
e49f75eb46 am bbcf2079: Merge "Fix struct initializer for balls." into honeycomb
* commit 'bbcf2079e9978ad6f75732070ce1dcc0dea3ea3f':
  Fix struct initializer for balls.
2011-02-11 16:47:04 -08:00
Stephen Hines
7655a7dd1d Fix struct initializer for balls.
Bug: 3092382
Change-Id: Ie4e85177727b32f0a260fae53885c97bee111343
2011-02-11 16:38:46 -08:00
Jason Sams
e8d074d763 am cbcd9335: Merge "Basic 101 level compute example for RS." into honeycomb
* commit 'cbcd93352b9fff3ada4a01c3094b24e5fafde97f':
  Basic 101 level compute example for RS.
2011-02-10 15:08:41 -08:00
Alex Sakhartchouk
bf3aae10b5 am efc48eea: Merge "HelloWorld graphics sample for Renderscript." into honeycomb
* commit 'efc48eea1541990046248b86e899c72b58c8506f':
  HelloWorld graphics sample for Renderscript.
2011-02-10 15:08:14 -08:00
Alex Sakhartchouk
7541a9a250 am f1ff8b2f: Merge "Cleanup of the code in view to do creation/destruction in the right places." into honeycomb
* commit 'f1ff8b2fd6441d122e84c5040834bf6e0d845b05':
  Cleanup of the code in view to do creation/destruction in the right places.
2011-02-10 15:07:59 -08:00
Jason Sams
cbcd93352b Merge "Basic 101 level compute example for RS." into honeycomb 2011-02-10 13:06:16 -08:00
Alex Sakhartchouk
efc48eea15 Merge "HelloWorld graphics sample for Renderscript." into honeycomb 2011-02-10 09:53:30 -08:00
Alex Sakhartchouk
f1ff8b2fd6 Merge "Cleanup of the code in view to do creation/destruction in the right places." into honeycomb 2011-02-10 09:51:34 -08:00
Jason Sams
716b27b69d Basic 101 level compute example for RS.
Change-Id: Ic196ebdf558c1b9661182e191e31d7f62448e73a
2011-02-09 17:11:34 -08:00
Alex Sakhartchouk
4123cc5efb HelloWorld graphics sample for Renderscript.
Change-Id: I7f5c4813a207a37f67c563407369a1dbc1be250d
2011-02-09 15:39:29 -08:00
Alex Sakhartchouk
85bccf6e0b am 699a0969: Merge "DO NOT MERGE Removing an activity that shouldn\'t go into samples" into honeycomb
* commit '699a0969434b6ee434dd9f5f212fe1bb914fdf0d':
  DO NOT MERGE Removing an activity that shouldn't go into samples
2011-02-09 15:23:54 -08:00
Alex Sakhartchouk
f82428a932 Cleanup of the code in view to do creation/destruction in the right places.
Change-Id: I1c87682cc2c35ad5ee15c06cd78f48b612668181
2011-02-09 08:59:32 -08:00
Alex Sakhartchouk
d9349abdaa DO NOT MERGE
Removing an activity that shouldn't go into samples

Change-Id: I00025770d926af2dbf399d28f8e855568e260b8b
2011-02-09 08:53:32 -08:00
Jason Sams
e2b2a02a91 am 4fd70373: Merge "Fix bug 3421901 remove 2 functions from public headers in the SDK." into honeycomb
* commit '4fd70373ecafbf5a87a1c35852aec2818612e928':
  Fix bug 3421901 remove 2 functions from public headers in the SDK.
2011-02-08 14:57:35 -08:00
Jason Sams
4fd70373ec Merge "Fix bug 3421901 remove 2 functions from public headers in the SDK." into honeycomb 2011-02-08 12:07:49 -08:00
Jason Sams
5510d1722b am f8cbf729: Merge "cleanup headers for SDK. bug 3421901" into honeycomb
* commit 'f8cbf7297bd7e29867154610cbc24fe0dbc168d1':
  cleanup headers for SDK. bug 3421901
2011-02-07 14:17:45 -08:00
Jason Sams
f8cbf7297b Merge "cleanup headers for SDK. bug 3421901" into honeycomb 2011-02-07 13:59:45 -08:00
Robert Ly
18f5c7e691 am cfc048a3: set targetsdk=11 on renderscript misc samples project
* commit 'cfc048a3f912695f7a251a2266aef59ac4d2d124':
  set targetsdk=11 on renderscript misc samples project
2011-02-06 14:24:56 -08:00
Robert Ly
cfc048a3f9 set targetsdk=11 on renderscript misc samples project
Change-Id: Ib352d6e53bd5b2a56c84169e188b835d87c894f1
2011-02-06 13:59:21 -08:00
Robert Ly
7eca7f742a am 5cf98da8: Merge "Fixing renderscript samples to properly declare targetSDK" into honeycomb
* commit '5cf98da85c1698cacbeed8d4883373d0e0774fd8':
  Fixing renderscript samples to properly declare targetSDK
2011-02-06 00:55:01 -08:00
Robert Ly
5cf98da85c Merge "Fixing renderscript samples to properly declare targetSDK" into honeycomb 2011-02-06 00:51:40 -08:00
Robert Ly
d307645ece Fixing renderscript samples to properly declare targetSDK
Change-Id: I0374fdcd06470e26dc7e849323a1764c08756af1
2011-02-04 18:02:25 -08:00
Mike Cleron
e4d08c0222 am 851beae7: Merge "Properly handle dirty rectangles generated from 9-patches Bug #3409580" into honeycomb
* commit '851beae717dc8e9b66c214d9d6aab2e76d52b086':
  Properly handle dirty rectangles generated from 9-patches Bug #3409580
2011-02-04 15:32:08 -08:00
Mike Cleron
a626eb18ae am 2d47fd3c: Merge "Fix crash when Paths are GCd in hw accelerated apps" into honeycomb
* commit '2d47fd3c3566e5fbe16bcee2ec4be87c6cdc2440':
  Fix crash when Paths are GCd in hw accelerated apps
2011-02-04 15:32:04 -08:00
Mike Cleron
851beae717 Merge "Properly handle dirty rectangles generated from 9-patches Bug #3409580" into honeycomb 2011-02-04 15:29:42 -08:00
Mike Cleron
2d47fd3c35 Merge "Fix crash when Paths are GCd in hw accelerated apps" into honeycomb 2011-02-04 15:29:28 -08:00
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
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
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