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
Mathias Agopian
be124027db
am dfbcee6c: fix build
...
* commit 'dfbcee6cb8ab9cf89b9052eb7498e453afdb1463':
fix build
2012-01-29 22:24:52 -08:00
Mathias Agopian
dfbcee6cb8
fix build
...
Change-Id: Ibdc45f1794e7ef60dc1ca0ff85c5cc4dff84c3fa
2012-01-29 22:22:08 -08:00
Jason Sams
85694cf6c7
Merge "Add comment to confusing commands." into graphics-dev
2012-01-27 13:30:20 -08:00
Jason Sams
61e76a7ffa
Add comment to confusing commands.
...
Change-Id: I7b84b9d8e9b3b595e0bab33d5e219842f6c86f83
2012-01-27 13:27:01 -08:00
Stephen Hines
2061424da7
am cee905be: Merge "Don\'t wait forever if there are no commands to execute."
...
* commit 'cee905be4874f6d3f112527a53b0f7ff87655c66':
Don't wait forever if there are no commands to execute.
2012-01-27 10:10:27 -08:00
Stephen Hines
cee905be48
Merge "Don't wait forever if there are no commands to execute."
2012-01-27 10:08:18 -08:00
Stephen Hines
e3f9cc6761
Don't wait forever if there are no commands to execute.
...
BUG=5614887
This fixes a timing issue where we could calculate a delay of 0 (indicating
wait forever) when we have no pending commands to actually execute. In such
cases, we should just break out of the playback loop.
This also fixes a small issue with returning whether or not to redraw.
Change-Id: Id1e481679341773256b7287062c68925e2bc8f9e
2012-01-26 17:32:09 -08:00
Stephen Hines
6bd4c7ad4f
am caaac348: Merge "Fix bugs with unsigned rsAtomicCas/Max/Min."
...
* commit 'caaac348ed163f59cf1b8185bb14137050c18e7e':
Fix bugs with unsigned rsAtomicCas/Max/Min.
2012-01-26 13:58:14 -08:00
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
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
Robert Ly
fda817416c
am b41c96a3: am 43fda84e: am 6ad9ea7d: Merge "update overview page for rs api docs to open iframe links in parent" into ics-mr1
...
* commit 'b41c96a374134c84558291fbb532fe490386a4ba':
update overview page for rs api docs to open iframe links in parent
2012-01-18 13:24:42 -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
Stephen Hines
b97c8dd6eb
am d36f7d24: Merge "Add support for new root.expand() calls."
...
* commit 'd36f7d249591559e713a8ca45c6d452c14c94895':
Add support for new root.expand() calls.
2012-01-13 14:16:39 -08:00
Jason Sams
615e7cee03
Start implementing SurfaceTexture streaming into RS allocations.
...
Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
2012-01-13 14:01:20 -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
Jason Sams
17801f1eaa
Plumbing for RS priority.
...
Change-Id: Ibddfd40407fd6d24ac829a76a9a1e2047c48c5fd
2012-01-12 14:22:21 -08:00
Jason Sams
aa9565b1b2
Fix LOGE.
...
Change-Id: I533bedf0827edb27e0aead78e2bb3389be85acd8
2012-01-10 15:45:04 -08:00
Alex Sakhartchouk
10f2a3c5b3
Merge "Now utilizing ability to bind constants. Fixing small copy/paste typo." into graphics-dev
2012-01-10 14:40:48 -08:00
Alex Sakhartchouk
b64ef770db
Merge "Adding ability to bind constants to shaders." into graphics-dev
2012-01-10 14:39:59 -08:00
Alex Sakhartchouk
fdccec9c21
Now utilizing ability to bind constants.
...
Fixing small copy/paste typo.
Change-Id: I8ca993f3e894214b710bea019dfd65822a4cd88f
2012-01-10 14:30:34 -08:00
Alex Sakhartchouk
33680ff630
Adding ability to bind constants to shaders.
...
Change-Id: I63b664fd2fec7e0c8157b7185782192132222f1a
2012-01-10 10:16:52 -08:00
Steve Block
2e681c1b09
resolved conflicts for merge of 08289f55 to graphics-dev
...
Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
2012-01-09 23:24:46 +00: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
Alex Sakhartchouk
61cd943514
Cleanup based on comments.
...
Change-Id: I2d261b3cd240b890001dcc7d2a849cfdc34328bf
2012-01-05 14:55:11 -08:00
Glenn Kasten
6b6e640323
am a8719ad9: Merge "Use the standard CC_LIKELY and CC_UNLIKELY macros"
...
* commit 'a8719ad9d53d3fe51e8031b2471e9558b8ef727f':
Use the standard CC_LIKELY and CC_UNLIKELY macros
2012-01-05 07:40:36 -08: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
Alex Sakhartchouk
6b908df7d9
Merge "Adding better error behavior to RS" into graphics-dev
2012-01-04 16:59:41 -08:00
Alex Sakhartchouk
afdf7be7ce
Merge "Adding RS comments, cleaning up the gl implementation with new Element hal." into graphics-dev
2012-01-04 16:59:16 -08:00
Steve Block
c2daafc18d
am 41891aea: Merge "Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE"
...
* commit '41891aeaf4e6e4006ae3087fa537786e9ec8caa4':
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
2012-01-04 10:16:14 -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
Alex Sakhartchouk
5b5664af2d
Adding better error behavior to RS
...
Change-Id: Iea1cc76793f8978d60575404d7b1c5145e268d6e
2011-12-29 11:17:38 -08:00
Alex Sakhartchouk
36a7d6003d
Adding RS comments, cleaning up the gl implementation with new Element hal.
...
Change-Id: I74de1e8248a73a45a39976e6027dac2626d580e9
2011-12-28 13:47:05 -08:00
Alex Sakhartchouk
fd79e02e0f
Missing getter and additional tests.
...
Change-Id: I057dd0a29d2cad40d0a0627b4355faeb82bbc229
2011-12-22 14:30:55 -08:00
Alex Sakhartchouk
3aac0abe79
Adding tests for element/mesh getters.
...
Fixing bugs found by tests.
Change-Id: I6592a3b65f16b21255e7788fe8ee8aaafe268638
2011-12-22 13:11:48 -08:00
Alex Sakhartchouk
c9e7da6130
Adding simple hal struct to type.
...
Fixing off by 1 error in the element.
Change-Id: I0b142942c760cb861007af7099d35d0363f4e13b
2011-12-20 12:37:59 -08:00
Alex Sakhartchouk
11a2e341c5
Adding comments to RS headers.
...
Change-Id: Ib345fe9f651dd3e74fb384799d381034391de8a2
2011-12-16 14:15:21 -08:00
Alex Sakhartchouk
f5d8ac7cc3
Element getters.
...
Change-Id: Ibe570464557eeecad108b4d3cb8f02fad13943de
2011-12-16 09:44:26 -08:00
Alex Sakhartchouk
d24b1bb040
Element HAL sturct, script side getters
...
Change-Id: If98dd4c22bce58dca2c9739c8aee935a2dd0b493
2011-12-15 09:56:28 -08:00
Alex Sakhartchouk
c08a1cc38f
Merge "Revert "Removing changes not meant for MR1"" into graphics-dev
2011-12-07 11:06:39 -08:00
Stephen Hines
5912157f97
am f7f93048: Merge "NULL should not be const for RS."
...
* commit 'f7f930480c75bcb57ae98d4a0fc59a3fb8e90e3d':
NULL should not be const for RS.
2011-12-06 18:34:54 -08: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
0e05b11803
am 12be3fff: Remove dead code.
...
* commit '12be3fff12e5c55193867f49e13169b9400b2997':
Remove dead code.
2011-11-27 00:52:49 -08:00
Logan Chien
12be3fff12
Remove dead code.
...
Change-Id: I2838a40026291e7345b07911af3ba17278b63ffe
2011-11-27 08:42:11 +08:00