920 Commits

Author SHA1 Message Date
Mathias Agopian
8335f1cccc fix libgui header location
Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
2012-02-27 13:03:08 -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
Jason Sams
f70b0fc880 start new headers
Change-Id: I950e5db76ecd3afbc7ea2b3ec792e4cb242f57bf

cpp
2012-02-22 15:22:41 -08:00
Mathias Agopian
83c64e6b62 frameworks/base refactoring
create the new libandroidfw from parts of libui and libutils

Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
2012-02-20 22:38:43 -08:00
Mathias Agopian
b13b9bdad2 frameworks/base refactoring.
step 2: move libutils headers to their new home: androidfw

Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
2012-02-17 19:01:26 -08:00
Jason Sams
e158f203d2 Merge "Rename three header files to free namespace for api." 2012-02-17 12:04:20 -08:00
Jason Sams
1d6983af33 Rename three header files to free namespace for api.
Change-Id: Ie9ef65a477373c30b2d5b02248f62e768b6f27ae
2012-02-16 17:14:06 -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
Jason Sams
eb5b73504d Merge commit 'bdeec118' into manualmerge
Conflicts:
	libs/rs/rsThreadIO.h

Change-Id: I7f448996a86f41188b47ec3dc353c364692e8bf2
2012-02-07 16:40:51 -08:00
Jason Sams
4c2e4c80ce Implement RS VSync on new vsync infrastructure.
Change-Id: I662159a086a56e28732dd64a3a3cb30f8d4b72b1

Replace lockless fifo from server to client with sockets.

Change-Id: I99a4ab4f18496c0fbac96ee7b8099797af4712ea
2012-02-07 15:32:08 -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
Stephen Hines
bc19591c1f am 855eadf9: Merge "Fix potential bug with reordered size/offset arguments."
* commit '855eadf942c8ff5c2665d7dc3b6d4b5ba630419a':
  Fix potential bug with reordered size/offset arguments.
2012-01-30 12:23:21 -08:00
Stephen Hines
855eadf942 Merge "Fix potential bug with reordered size/offset arguments." 2012-01-30 12:22:10 -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
Stephen Hines
4cbe25a86b Fix potential bug with reordered size/offset arguments.
This change also cleans up a few uint32_t/size_t issues.

Change-Id: Iae0fc085c12149129b91fce0ebbc28c8cf358eaf
2012-01-20 19:21:35 -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