3113 Commits

Author SHA1 Message Date
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
fbf8e02d99 am e2b2a02a: am 4fd70373: Merge "Fix bug 3421901 remove 2 functions from public headers in the SDK." into honeycomb
* commit 'e2b2a02a91dc4101a9481b5bb6ba4c56c7a35dd7':
  Fix bug 3421901 remove 2 functions from public headers in the SDK.
2011-02-08 15:06:50 -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
4110c9931a am 5510d172: am f8cbf729: Merge "cleanup headers for SDK. bug 3421901" into honeycomb
* commit '5510d1722b8da4fd630a236f0fd3aad0cc4dac0c':
  cleanup headers for SDK. bug 3421901
2011-02-07 14:20:07 -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
c07eb39417 am 18f5c7e6: am cfc048a3: set targetsdk=11 on renderscript misc samples project
* commit '18f5c7e6919a8d66b1b7c818d55b92504961b379':
  set targetsdk=11 on renderscript misc samples project
2011-02-07 13:51:11 -08:00
Robert Ly
a5c8eb76f5 am 7eca7f74: am 5cf98da8: Merge "Fixing renderscript samples to properly declare targetSDK" into honeycomb
* commit '7eca7f742a31654a3240f70611ac8c82705d2b42':
  Fixing renderscript samples to properly declare targetSDK
2011-02-07 13:51:03 -08:00
Mike Cleron
b3fe3f59d1 am e4d08c02: am 851beae7: Merge "Properly handle dirty rectangles generated from 9-patches Bug #3409580" into honeycomb
* commit 'e4d08c02229bea67c6f19db22d4ffa45196d4258':
  Properly handle dirty rectangles generated from 9-patches Bug #3409580
2011-02-07 13:47:58 -08:00
Mike Cleron
b31688eb05 am a626eb18: am 2d47fd3c: Merge "Fix crash when Paths are GCd in hw accelerated apps" into honeycomb
* commit 'a626eb18ae2c4a48c8770ece3a64eeee5974f455':
  Fix crash when Paths are GCd in hw accelerated apps
2011-02-07 13:47:48 -08:00
Stephen Hines
74d0778229 am 95dc232c: am a5b8768f: Merge "Add support for memcpy/memset to RS." into honeycomb
* commit '95dc232c0a16c64e422ef7e57e14e5f955b112a2':
  Add support for memcpy/memset to RS.
2011-02-07 13:47:21 -08:00
Jamie Gennis
f7398e2808 am c7839751: am c2efcd2c: Merge "Initialize the SurfaceTexture transform fields." into honeycomb
* commit 'c7839751aa1de52e0c3aab7dd1518b0fc8f2ee0a':
  Initialize the SurfaceTexture transform fields.
2011-02-07 13:47:02 -08:00
Romain Guy
3e4ac8967d am 80038fbc: am ba27cf75: Merge "Empty the clip rect when intersection is empty. Bug #3410035" into honeycomb
* commit '80038fbcf629936852afba0054b26939a3a9835a':
  Empty the clip rect when intersection is empty. Bug #3410035
2011-02-07 13:42:47 -08:00
Chet Haase
69d792f34a am 38e8c353: am 59301777: Merge "Fix leak in reused display lists" into honeycomb
* commit '38e8c35322e41708e5b1f2260d7d67ff525d8560':
  Fix leak in reused display lists
2011-02-07 11:38:47 -08:00
Romain Guy
0e6fe4f31a am a9c369d0: am 87465f02: Merge "Fixes cache misses and extra allocations. Bug #3421454" into honeycomb
* commit 'a9c369d0fbe2b995f456877b2368aac95f810558':
  Fixes cache misses and extra allocations. Bug #3421454
2011-02-07 11:37:12 -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
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