Stephen Hines
caaac348ed
Merge "Fix bugs with unsigned rsAtomicCas/Max/Min."
2012-01-26 13:55:57 -08:00
Stephen Hines
109116bb2f
Fix bugs with unsigned rsAtomicCas/Max/Min.
...
BUG=5888007
rsAtomicMax/Min did not have proper semantics for unsigned integers. They were
always using signed comparisons. rsAtomicCas had the wrong function signature
in our math library, leading to no way to properly link/execute it.
Change-Id: I336cdd8cd9f2d8093f12e101b55b2797515f039b
2012-01-25 18:17:34 -08:00
Robert Ly
b41c96a374
am 43fda84e: am 6ad9ea7d: Merge "update overview page for rs api docs to open iframe links in parent" into ics-mr1
...
* commit '43fda84e91b1fe356af35386d2f304d3ab71529e':
update overview page for rs api docs to open iframe links in parent
2012-01-18 13:21:51 -08:00
Robert Ly
2eeb53c155
update overview page for rs api docs to open iframe links in parent
...
Change-Id: Ic0aa77192fa19b045a7fd9df5926255511fdc3be
2012-01-13 10:18:43 -08:00
Robert Ly
0272f1dfd7
cherrypick from master - add overview description for RS API reference Change-Id: Id5554c607ad4c435f92bfa939e4ce4833a638f62
...
Change-Id: Iff4b4bd171818208bb3be46dd3ef7e91b6cbd80f
2012-01-13 10:07:20 -08:00
Stephen Hines
6b4cf07cab
Add support for new root.expand() calls.
...
BUG=5444144
Change-Id: I9ab942561a03e9f837a3199457259bb3e07ac76f
2012-01-12 18:56:43 -08:00
Steve Block
3762c31172
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
...
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
2012-01-08 13:19:13 +00:00
Glenn Kasten
a8719ad9d5
Merge "Use the standard CC_LIKELY and CC_UNLIKELY macros"
2012-01-05 07:38:29 -08:00
Glenn Kasten
e80a4ccd2b
Use the standard CC_LIKELY and CC_UNLIKELY macros
...
Several source files privately defined macros LIKELY and UNLIKELY in terms
of __builtin_expect. But <cutils/compiler.h> already has CC_LIKELY and
CC_UNLIKELY which are intended for this purpose. So rename the private
uses to use the standard names.
In addition, AudioFlinger was relying on the macro expanding to extra ( ).
Change-Id: I2494e087a0c0cac0ac998335f5e9c8ad02955873
2012-01-05 07:33:45 -08:00
Steve Block
5baa3a62a9
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
...
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
2012-01-03 22:38:27 +00:00
Stephen Hines
4d322043ab
NULL should not be const for RS.
...
Change-Id: I24d96843c40f822bf064a0fa1fc0440b6bf0518d
2011-12-06 16:47:32 -08:00
Stephen Hines
976ae27270
Add support for handling a bitcode wrapper to librs.
...
BUG=5425905
Change-Id: I75676060703df6d9043b287fea900c4379455ee2
2011-12-01 16:37:00 -08:00
Logan Chien
12be3fff12
Remove dead code.
...
Change-Id: I2838a40026291e7345b07911af3ba17278b63ffe
2011-11-27 08:42:11 +08:00
Stephen Hines
e7d17220be
Merge "Add support for handling a bitcode wrapper to librs."
2011-11-23 13:58:13 -08:00
Stephen Hines
09ee7c80ea
Add support for handling a bitcode wrapper to librs.
...
BUG=5425905
Change-Id: I75676060703df6d9043b287fea900c4379455ee2
2011-11-22 20:10:45 -08:00
Robert Ly
b1e72b6826
Merge "add overview description for RS API reference"
2011-11-22 16:21:45 -08:00
Jason Sams
dd39fdfe99
Fix script init error handling.
...
Change-Id: I7ceb0af4dfd12db0274985ff658f678d7af829ff
2011-11-22 13:17:18 -08:00
Robert Ly
77228be417
add overview description for RS API reference
...
Change-Id: Id5554c607ad4c435f92bfa939e4ce4833a638f62
2011-11-22 09:45:16 -08:00
Alex Sakhartchouk
5044556861
Merge "Fixing FBO font rendering bug that resulted from using old surface size."
2011-11-17 09:13:24 -08:00
Alex Sakhartchouk
2d8ef49914
Fixing FBO font rendering bug that resulted from using old surface size.
...
Change-Id: I31d0967bb36ca6ffb6a4c8194597d3c523cfe954
2011-11-16 12:22:10 -08:00
Alex Sakhartchouk
5a47181833
Merge "Expand RS vector3 types to vector4."
2011-11-16 10:36:02 -08:00
Alex Sakhartchouk
e60149d227
Expand RS vector3 types to vector4.
...
BUG=5609007
The underlying LLVM implementation for vector3 types does this implicitly. If
RS does not adjust its implementation, we will always be misaligned for any
subsequent data after a vector3 type. We previously inserted padding into the
reflected layers from llvm-rs-cc (hence the skip padding part of this change).
We can safely ignore the padding now that the Java/native code is updated to
use the expanded size. The compiler will also need modification to ensure that
we don't mistakenly skip over any end-of-struct padding.
Fixing the 3 component vector padding problem.
Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
2011-11-15 15:15:21 -08:00
Stephen Hines
d2f561d183
Fix setTimeZone() and use it properly in RSTest/rstime.
...
BUG=5470134
The original implementation for rsi_ScriptSetTimeZone() never actually did
anything with the bytes received. This change allows it to safely update the
timezone. RSTest is also updated to call setTimeZone(), so that users in
different timezones can accurately get test results.
Change-Id: I6cb1b3a0c3a417749ba39e0fe09cc9c7ab65c2e7
2011-11-10 15:44:25 -08:00
Stephen Hines
293b27e458
am af3a854b: am af675222: Merge "Fix potential segfault in RS watchdog." into ics-mr0
...
* commit 'af3a854b549409c4ad77c686e860f97ea86706a0':
Fix potential segfault in RS watchdog.
2011-11-02 17:29:30 +00:00
Stephen Hines
af3a854b54
am af675222: Merge "Fix potential segfault in RS watchdog." into ics-mr0
...
* commit 'af675222f6340a8a9edbe9e8635014a18521e5e0':
Fix potential segfault in RS watchdog.
2011-11-01 00:16:56 +00:00
Stephen Hines
a049184274
Fix potential segfault in RS watchdog.
...
BUG=5544671
This initializes the watchdog structure properly. Without this fix, it is
possible to call LOGE with a garbage string value.
Change-Id: Ie05eb65f83eca938f18ac962794407d58c3f277f
2011-10-31 15:42:40 -07:00
Alex Sakhartchouk
5889ce79bc
am 66ce1fce: Merge "Removing changes not meant for MR1" into ics-mr1
...
* commit '66ce1fce59d2dc16f1905120e0fe3851ba1add90':
Removing changes not meant for MR1
2011-10-31 22:13:19 +00:00
Alex Sakhartchouk
66ce1fce59
Merge "Removing changes not meant for MR1" into ics-mr1
2011-10-31 10:30:37 -07:00
Alex Sakhartchouk
d97fd1d7c3
Removing changes not meant for MR1
...
Change-Id: I75136be33f12a87c2b5f21b064c06065a4145d70
2011-10-27 13:51:55 -07:00
Jason Sams
0c01c81195
am 27812a8f: am 28e4f87f: Fix bug where CPU could be stuck spinning Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped.
...
* commit '27812a8f14ca22f0a709320e5a41d200ac59b63b':
Fix bug where CPU could be stuck spinning Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped.
2011-10-27 02:35:09 +00:00
Jason Sams
27812a8f14
am 28e4f87f: Fix bug where CPU could be stuck spinning Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped.
...
* commit '28e4f87f38cae799b494e160467d732e988bad89':
Fix bug where CPU could be stuck spinning Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped.
2011-10-27 01:25:38 +00:00
Jason Sams
28e4f87f38
Fix bug where CPU could be stuck spinning
...
Required the wallpaper be animating and
the system to have run slowly during the
last frame when rendering stopped.
bug 5180240
Change-Id: I38c2b6f07a1e36019dd05c77a58973e36d12728c
2011-10-26 17:56:00 -07:00
Steve Block
71f2cf116a
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE
...
See https://android-git.corp.google.com/g/#/c/143865
Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
2011-10-26 09:57:54 +01:00
Jason Sams
79235d2a93
Merge "adding getters to Sampler ProgramRaster, ProgramStore, Element. Element adds ability to get subelement info. Tests for new stuff."
2011-10-20 13:54:37 -07:00
Jason Sams
5b6f23868a
Merge "Remove ObjBaseRef from the hal struct"
2011-10-20 13:52:43 -07:00
Alex Sakhartchouk
f13ada94ea
Fixes and optimizations of two quaternion functions.
...
Change-Id: Ie5a3f16d49b716d91b6f68fa389473548cecb80d
2011-10-18 11:54:49 -07:00
Alex Sakhartchouk
7d5f5e7c89
adding getters to Sampler ProgramRaster, ProgramStore, Element.
...
Element adds ability to get subelement info. Tests for new stuff.
Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
2011-10-18 11:08:31 -07:00
Alex Sakhartchouk
5ef2f53a00
Remove ObjBaseRef from the hal struct
...
Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
2011-10-18 10:54:29 -07:00
Alex Sakhartchouk
7e6aac1533
Adding getter functions for script side RS objects.
...
Multiproject change involving on device linker
Change-Id: I321e8caa6ca23b3fe2c96c78cdcfc15e51f88823
2011-10-15 09:33:05 -07:00
Jason Sams
3fda6ed3c7
am 43b57ec4: Fix error printing if no command string is set.
...
* commit '43b57ec48ec7652addc11bbc9fef652c2394b7f5':
Fix error printing if no command string is set.
2011-10-13 16:13:07 -07:00
Jason Sams
43b57ec48e
Fix error printing if no command string is set.
...
Change-Id: I588c0d0a4e1b8f80c967ebfb6aff179a0cac4a36
2011-10-13 16:05:27 -07:00
Jason Sams
2802dae197
Fix bug with 1D arrays and threading.
...
Some elements got launched multiple times.
Change-Id: Icb257019df591a5d9525867c8ef8d18ef7d4cde5
2011-10-12 18:33:01 -07:00
Jason Sams
aac24a219a
Improve rsForEach overhead.
...
Change-Id: Iaabef7bb573233ef7c5756077f840ee933ee0c39
fix spacing, reduce rsForEach overhead about 50%
2011-10-11 18:49:41 -07:00
Jason Sams
66fb1f3f3d
Merge "Wrapping new API with #defines to prevent old apps from using them."
2011-10-05 12:01:51 -07:00
Jason Sams
795072ec7b
Fix crash running old HC apps.
...
Change-Id: If7206de334868cb40eb8e5dd04fbe8c70bc1d614
2011-10-04 15:46:57 -07:00
Alex Sakhartchouk
f6576d9631
Wrapping new API with #defines to prevent old apps from using them.
...
Change-Id: Ib3a2d19544ad72987ebec09d465bec8eeb6423c8
2011-09-28 15:23:18 -07:00
Jason Sams
94aaed3846
Remove unused fields in ProgramRaster
...
Change-Id: I70c9d47674c956ec850c178c7aaa9a5e3dd9dffb
2011-09-23 14:18:53 -07:00
Jason Sams
8410b14c85
Cleanup RS logs
...
Reduce the startup/shutdown info and format the logs
in a consistent manner.
Change-Id: I4592cd9fcf7e2920010d84c7137137262cdc73b9
2011-09-20 16:59:22 -07:00
Jason Sams
5316b9eead
Add RS watchdog.
...
Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6
2011-09-13 15:41:01 -07:00
Stephen Hines
79dd90c7bf
Merge "Fix remaining .rs.dtor() issue for RS."
2011-09-01 18:10:37 -07:00