864 Commits

Author SHA1 Message Date
Amith Yamasani
3b577ddb1b Fix a typo in RectF.equals
Change-Id: Idffbf9a324b68f38843049956d1d05d4a64d1345
2012-03-09 11:53:31 -08:00
Robert Ly
861d5ecc7c am b962b98b: am 67a15457: am e5e11fd6: Merge "docs: fixing bug 5942573" into ics-mr1
* commit 'b962b98bef33eba634aec41cf9d84527ce9db3bb':
  docs: fixing bug 5942573
2012-03-02 09:11:54 -08:00
Robert Ly
e5e11fd666 Merge "docs: fixing bug 5942573" into ics-mr1 2012-03-02 09:04:16 -08:00
Robert Ly
dea05e9010 am ca7d7541: am d70eaff4: am 941ff38d: Merge "fix bug 5942522" into ics-mr1
* commit 'ca7d7541c4cad188eb643113e3c3e91e63d21a5e':
  fix bug 5942522
2012-03-01 16:47:04 -08:00
Jason Sams
b73644a94f Merge "Make compute work without an app context." 2012-02-24 17:52:59 -08:00
Jason Sams
1a4e1f3efd Make compute work without an app context.
Change-Id: I644b4711135d6f5d9866b6c2e5e6f6a5ceb1f3d4
2012-02-24 17:51:24 -08:00
Jason Sams
93d083b6ad Merge "Do RS caching the same way HardwareRenderer does. Eliminates the need for an application context for caching." 2012-02-24 17:21:32 -08:00
Jason Sams
a6f338ca5f Do RS caching the same way HardwareRenderer does.
Eliminates the need for an application context for caching.

Change-Id: I4374738083b5eb4ce983d2cb5409428e3668c423
2012-02-24 16:22:16 -08:00
Mathias Agopian
e9d4c71f47 deprecate L_8, LA_88 and RGB_332 in sdk
re-add support for pixelformats L_8, LA_88 and RGB_332 in libui
for backward compatibility.

This may or may not fix 6058926

Bug: 6049685
Change-Id: Ic1b8b4cc994522f7fe664da64c0ef76b98bc6d53
2012-02-24 14:58:36 -08:00
Jason Sams
a23c4ebe04 Merge "start new headers" 2012-02-23 14:19:43 -08:00
Romain Guy
cfef12374c Perform early intersect to avoid unnecessary draws
Change-Id: I48d61c4488e622f93733d8e53a50c93e6a20166d
2012-02-23 13:50:37 -08:00
Robert Ly
f11ffc1178 docs: fixing bug 5942573
Change-Id: I2479dc8916f98a8bf7dbec95dc29cbd871c51be5
2012-02-22 16:35:42 -08:00
Robert Ly
9366ce81db fix bug 5942522
Change-Id: Ice16e63b42d5e8c89994d0844f62adaefc8a92a1
2012-02-22 16:28:13 -08:00
Jason Sams
f70b0fc880 start new headers
Change-Id: I950e5db76ecd3afbc7ea2b3ec792e4cb242f57bf

cpp
2012-02-22 15:22:41 -08:00
Alex Sakhartchouk
791c0d188a Merge "Piping texture names through shader builder. Fixing uint size_t mismatch." 2012-02-16 09:28:21 -08:00
Stephen Hines
3beb60e67a Vectors of non-primitive types are not allowed.
BUG=6016669

Change-Id: Ibab2dfc5ce3d9ceb5513e6b5ffc53d5df8b7c6e7
2012-02-15 19:07:43 -08:00
Alex Sakhartchouk
2123b46ba8 Piping texture names through shader builder.
Fixing uint size_t mismatch.

Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb
2012-02-15 16:21:46 -08:00
Stephen Hines
f6fb3ab8c0 Merge "Update Element.isCompatible() to work with NONE." 2012-02-15 15:21:01 -08:00
Jason Sams
c107b10354 Merge "Beging IO stream out from allocation to surface texture." 2012-02-15 12:05:26 -08:00
Jason Sams
163766cbe7 Beging IO stream out from allocation to surface texture.
Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
2012-02-15 12:04:24 -08:00
Stephen Hines
2094811371 Update Element.isCompatible() to work with NONE.
In the past, we used a null reference to signify a user-created Element. The
use of DataType.NONE for user-created Elements thus required an update to our
Element compatibility check.

Change-Id: I3293a645eff85c9040487c22f3a3240862f74350
2012-02-14 19:42:42 -08:00
Romain Guy
79952ee29a Merge "Clarify documentation of Bitmap.createScaledBitmap/createBitmap Bug #6015472" 2012-02-14 16:55:55 -08:00
Romain Guy
f12f6f058f Clarify documentation of Bitmap.createScaledBitmap/createBitmap
Bug #6015472

Change-Id: I6cf9efc2f695928d54a0dfba08b085559574ae14
2012-02-14 16:25:16 -08:00
Stephen Hines
0599d6ede3 Merge "Fix typos/spacing with new APIs." 2012-02-14 13:38:43 -08:00
Stephen Hines
9069ee88cb Fix typos/spacing with new APIs.
Change-Id: I26b772e8e29b12381042fb50c6dfa9df012b3f63
2012-02-13 18:25:54 -08:00
Jason Sams
cb66aec0bd Merge "Start implementing SurfaceTexture streaming into RS allocations." 2012-02-10 13:51:04 -08:00
Jason Sams
532efd3ce2 Start implementing SurfaceTexture streaming into RS allocations.
Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b

Conflicts:

	libs/rs/rsAllocation.h
2012-02-10 13:24:18 -08:00
Justin Ho
cc3669ab9c am fe07b9a2: Merge "Tentative fix for mysteriously recycled bitmap"
* commit 'fe07b9a2ab54305de553332d0ab278fdf7158ae4':
  Tentative fix for mysteriously recycled bitmap
2012-02-08 13:00:39 -08:00
Romain Guy
4e525a6e5a Tentative fix for mysteriously recycled bitmap
This code should not be triggered with scale == 1.0f because of the
density comparisons above though.

Change-Id: I9e39e3769a3b6550c97df3b213457947ec1f554b
2012-02-08 11:19:11 -08:00
Stephen Hines
0b1ad704f4 am e05bc81c: Merge "We should not throw for non-fatal errors."
* commit 'e05bc81c19838801b91de2642dc275a16dd7cf71':
  We should not throw for non-fatal errors.
2012-02-03 15:37:52 -08:00
Stephen Hines
be74bdd234 We should not throw for non-fatal errors.
BUG=5955072

Change-Id: I731242805957a057aaff1ba96a58c69d6e474a59
2012-02-03 15:29:36 -08:00
Stephen Hines
0a29fe1be1 am cc2daede: Merge "Properly recover from failed compilation."
* commit 'cc2daede56257f0f1f490a1aebf5b9b898d9816a':
  Properly recover from failed compilation.
2012-02-02 21:28:17 -08:00
Stephen Hines
cc2daede56 Merge "Properly recover from failed compilation." 2012-02-02 21:25:19 -08:00
Alex Sakhartchouk
98bea4a3ec am 7042613c: Merge "Fix an incorrect assert that doesn\'t account for element array size."
* commit '7042613c653fd0de253f2f659901318902fa4584':
  Fix an incorrect assert that doesn't account for element array size.
2012-02-02 14:56:34 -08:00
Stephen Hines
862dadb7a7 Properly recover from failed compilation.
BUG=5955072

We used to call delete, which did not update the Context's view of the world,
leading to potential segfaults on Context teardown. This change also enables
exceptions to be thrown when runtime errors are encountered.

Change-Id: If63578efff2d7dd03639da1049c1a5ebc69fde35
2012-02-02 13:23:20 -08:00
Alex Sakhartchouk
bf3c3f2ab1 Fix an incorrect assert that doesn't account for element array size.
Change-Id: Ibcb5c55d91967603391a1721137d010a85025990
2012-02-02 09:47:26 -08:00
Romain Guy
6019853bc7 am a403a2e0: Merge "Add GradientDrawable.setColors(int[])"
* commit 'a403a2e0f0d55a709821a6310de849176dc9b426':
  Add GradientDrawable.setColors(int[])
2012-01-31 12:59:28 -08:00
Romain Guy
8bd9698b66 Add GradientDrawable.setColors(int[])
This change also updates the documentation to warn the user about which properties
require a call to mutate().

Change-Id: I84717068bf026669e3eef1ae92db665a964fe08a
2012-01-31 12:11:02 -08:00
Romain Guy
99022a322f am b74b84f1: Merge "Proper equals/hashCode impls in Rect and RectF"
* commit 'b74b84f195e7620415784323c7160afadfcbe9c5':
  Proper equals/hashCode impls in Rect and RectF
2012-01-31 10:53:35 -08:00
Romain Guy
74d7ca133a Proper equals/hashCode impls in Rect and RectF
Change-Id: Ief52d84f134018af4dfd19674de12736c056e3f8
2012-01-31 10:50:38 -08:00
Romain Guy
68a1df6541 am 1a54368b: Merge "Add full support for Canvas.setDrawFilter()"
* commit '1a54368b24a8cb88ee56ee746eae45171a43b89e':
  Add full support for Canvas.setDrawFilter()
2012-01-23 17:12:28 -08:00
Romain Guy
5ff9df6582 Add full support for Canvas.setDrawFilter()
Change-Id: I0ad35d0603c4eeda469014803be14c1dcdde918c
2012-01-23 17:09:05 -08:00
Romain Guy
767a04d896 am e575005f: Merge "Update hardware acceleration doc"
* commit 'e575005f7c7a2ec26662862631ca1d0d1959d6bc':
  Update hardware acceleration doc
2012-01-23 16:30:32 -08:00
Romain Guy
36d7549181 Update hardware acceleration doc
Change-Id: I3bed77b3c4e1eff96fa462e4849f25f38784c415
2012-01-23 16:26:46 -08:00
Romain Guy
86fcb90f3b am 22d41843: Fix the build, for real
* commit '22d418437e44587cb0fba4353515719453269189':
  Fix the build, for real
2012-01-19 18:36:34 -08:00
Romain Guy
22d418437e Fix the build, for real
Change-Id: I6263f7e5e3ae2f7efe045f8b464c0ed1b87fc793
2012-01-19 18:33:25 -08:00
Romain Guy
dec35b81b7 am 90bd1873: Merge "Fix build"
* commit '90bd18737a5ce16708003363683744cfd0480d83':
  Fix build
2012-01-19 18:17:54 -08:00
Romain Guy
65447287cb Fix build
Change-Id: I0e0f6a613cdad3ec075da9b84e3532dd492f0162
2012-01-19 18:15:24 -08:00
Romain Guy
3e77e8e59c am d2f0dcd1: Merge "Remove unused code"
* commit 'd2f0dcd182fbc0423d206919e81f3845fb9b8155':
  Remove unused code
2012-01-19 17:44:50 -08:00
Romain Guy
68fc1dfce0 Remove unused code
Change-Id: Ife0a43f3cfe64a1e74401b10bf74d37cbeefb5af
2012-01-19 17:41:39 -08:00