846 Commits

Author SHA1 Message Date
Alex Sakhartchouk
117abdbc67 Fixing asynchronous performance issues.
Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
2011-08-16 13:09:46 -07:00
Alex Sakhartchouk
c929158f0e Merge "Fix to the memory leak problem." 2011-08-12 15:29:46 -07:00
Jason Sams
bfc7891bdd Fix the RS frame timeout.
Previous a slow app would block from receiving new
commands until the timer expired.  This change will
expire the timer immediatly.

Change-Id: I42b949d21f98ee0f1d3156763cd723c3e9cabb67
2011-08-12 15:05:15 -07:00
Alex Sakhartchouk
065fa8deb1 Fix to the memory leak problem.
Change-Id: I18dfa76ecae62ed5165415531adf3a13ad992b54
2011-08-12 11:30:30 -07:00
Christian Robertson
beb2b5cfdb Replacing sans serif system font with Roboto
Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
2011-08-11 15:35:52 -07:00
Alex Sakhartchouk
9ce7c0971d Merge "add renderscript doc comments for exposed headers" 2011-08-09 14:13:09 -07:00
Alex Sakhartchouk
6b2b8bdb28 add renderscript doc comments for exposed headers
Change-Id: Ia7dd82f890775045e543963d64e6dcd3ea4db825
2011-08-09 11:36:19 -07:00
Jason Sams
573fa62074 Start refactoring RS headerfiles for docs.
Change-Id: Ieb7797601f94beec2835e1d936dc2dd0c38cb48c
2011-08-09 11:34:33 -07:00
Stephen Hines
514a0b3612 Merge "Migrate perf-critical functions away from librs." 2011-08-08 16:12:56 -07:00
Jason Sams
d1bfd12704 Add RS docs for rs_core.rsh
Change-Id: Ic961138b2ce7730b38c7673e83c8891407580306
2011-08-08 15:54:14 -07:00
Stephen Hines
e004058419 Migrate perf-critical functions away from librs.
BUG=3497315

Change-Id: Ieaa0d64933767d422aa62740d72b31042dcd4a2f
2011-08-08 15:09:10 -07:00
Jason Sams
00ac96b819 Merge "Add docs to rs_types.rsh" 2011-08-08 14:35:16 -07:00
Jason Sams
a00e6d8bf1 Add docs to rs_types.rsh
Change-Id: Id2352f325c3ef9564cc226c6c5df908df16bb26a
2011-08-08 14:31:25 -07:00
Alex Sakhartchouk
75e0254731 Merge "Fixing rs crash when no texture is bound." 2011-08-08 11:25:03 -07:00
Alex Sakhartchouk
bbc41c034b Fixing rs crash when no texture is bound.
Change-Id: I2c15106f50de995c63691f27e2c4d89dbffc758e
2011-08-05 15:27:25 -07:00
Stephen Hines
8f019d6305 Merge "Start using bcinfo components within librs." 2011-08-05 13:47:00 -07:00
Stephen Hines
4382467a80 Start using bcinfo components within librs.
BUG=4942491

Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
2011-08-03 18:46:56 -07:00
Logan Chien
8ce8a1af76 Finish the refactor work of bccPrepareExecutable
Rename bccPrepareExecutableEx to bccPrepareExecutable.
(These functions are the same, and we will remove
 bccPrepareExecutableEx several commits later.)

Change-Id: I519130bb3b731bf927cb92924f355d7d1ea0242c
2011-07-30 16:55:02 +08:00
Jason Sams
4575a8e4de Add const to matrix by vector multiply routines.
Cleanup ifdef for rsForEach.

Change-Id: Id0d053f5dc73fef7dffed57ed02e90340b6cb798
2011-07-27 14:10:53 -07:00
Jason Sams
cf57dec80b Add size param to rsForEach
bug 5074640


Change-Id: I395bd8b295beacc979681ccdd3451d9d6cc3d672
2011-07-25 12:58:37 -07:00
Alex Sakhartchouk
eac3503deb Merge "Correctly call glviewport when surface changes." 2011-07-20 09:41:50 -07:00
Alex Sakhartchouk
10ed04935d Correctly call glviewport when surface changes.
Change-Id: I7ef1539e39ea67245bac5ee410deb5918fc5dfcf
2011-07-19 17:50:29 -07:00
Stephen Hines
c27d187569 Extract BC metadata using a single call.
BUG=4278636

Change-Id: Idc056c4fa50240aadbc81d300fbed759c5a187cf
2011-07-18 17:49:44 -07:00
Alex Sakhartchouk
e173b9d73b Merge "For the serialization context, no fifo initialization is necessary." 2011-07-15 10:57:33 -07:00
Alex Sakhartchouk
1bfcceaca6 For the serialization context, no fifo initialization is necessary.
On shutdown it was attempting to free uninitialized memory.

Change-Id: I9141be5a51253f87f21594ae38f7e653f9e69c6c
2011-07-13 17:32:05 -07:00
Jason Sams
b328269531 Merge "Fix native crash when GL driver fails to initialize." 2011-07-13 16:43:27 -07:00
Jason Sams
fb06b7a551 Fix native crash when GL driver fails to initialize.
Change-Id: I85714de9029285027dc75fb3b62076be41a4c985
2011-07-13 16:09:42 -07:00
Jason Sams
3ac60ada27 Merge "Add slot number to forEach hal." 2011-07-13 12:28:38 -07:00
Jason Sams
92b0eab07e Add slot number to forEach hal.
Change-Id: I0f2992d5f4128422d07f897b335c219cc7f1d02c
2011-07-13 11:26:26 -07:00
Alex Sakhartchouk
5b7da3d3df Merge "Fix for the renderscript ref counting bug." 2011-07-12 16:27:09 -07:00
Alex Sakhartchouk
4b013ee9b7 Fix for the renderscript ref counting bug.
This only manifested itself in the situations where elements containing multiple ref counted objects were copied from Java.

Change-Id: I2c1cc89fe7f792259b3f033674142eb33d17a507
2011-07-12 13:25:14 -07:00
Jeff Brown
bd882b1c87 Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
2011-07-11 22:12:16 -07:00
Logan Chien
ef72ff220c Use resource entry name instead of mangled name.
Change-Id: I833fa1b529fe505ce20ede12b7f4b5952a6ac1f0
2011-07-11 15:32:24 +08:00
Logan Chien
e723caee39 Fix typo: mFieldCount -> mPragmaCount.
Change-Id: I081a521c13a78bc5ec1bf9faecb066bed5ca8ab4
2011-07-11 07:57:24 +08:00
Mathias Agopian
1861786a97 Fix EGLUtils::selectConfigForPixelFormat()
- renderscript now calls EGL directly instead of relying on this function
- surfaceflinger also does its own EGLConfig selection
- selectConfigForPixelFormat stays for legacy reason (many tests use it) but
it now only tries to match the alpha channel of the format rather than the
format itself.

this will allow implementations who don't support the exact formats
defined in the HAL to work properly.

Bug: 4998223

Change-Id: Ic664dfc14d5072a514b6f77a115d1521bfc1578f
2011-07-08 14:37:05 -07:00
Stephen Hines
e352f05d3a Move divsi3, modsi3, udivsi3, umodsi3 to libbcc.
BUG=3435530

Change-Id: I4e90a6cdf5af534f93d83093ea31b1defd1e896c
2011-06-23 16:49:00 -07:00
Stephen Hines
3d782666d7 Remove verbose logging, update test app and docs.
Change-Id: I6659c5e51a747011239128dc2682a5d78aecfa26
2011-06-23 16:18:28 -07:00
Jason Sams
71767c5577 First cut of atomics for renderscript.
Change-Id: Iefc0228d802e6f5348ae787553c9252fb90ba110

update atomic patch.

Change-Id: Idd0596439c092f570b6b226e9a9c7102ddffe88e
2011-06-21 17:07:18 -07:00
Jason Sams
faa32b33b5 First cut at RSTextureView.
Change-Id: I920950f33079b6bb7e48bb8970201ab9737bb021
2011-06-20 16:58:04 -07:00
Alex Sakhartchouk
8650c32907 Adding ability to read back fbo data to renderscript
Change-Id: Ie684c26cbcde22f2483b43415dfc39a3de22c5a1
2011-06-16 11:05:13 -07:00
Alex Sakhartchouk
304b1f5497 Allocation copy functions.
Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
2011-06-14 11:13:19 -07:00
Alex Sakhartchouk
17a8a1939d More work to make libRS buildable on the host.
Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
2011-06-03 10:18:01 -07:00
Jason Sams
66db3ab50f Cleaup of rsComponent to remove GL types.
Change-Id: I9f82bafe42f5fb30335b15f38eb251dc1ec62e80
2011-05-26 17:05:51 -07:00
Jason Sams
7e8aae7f76 Start splitting allocation into hal and core.
Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
2011-05-26 16:33:01 -07:00
Jason Sams
d9d37cc1b6 Move context and device creation out of the spec file.
Change-Id: I79470d4fb9317bcad9d68921ce0c414aa133f3cb
2011-05-18 17:40:34 -07:00
Alex Sakhartchouk
6c72eec06e Preparing libRS for for compilation on host.
Change-Id: I851add79831331c8a8b20dcccdb0817f8ad0c359
2011-05-17 16:42:24 -07:00
Alex Sakhartchouk
51c07e717b Merge "Moves fbo support in renderscript behind the hal" 2011-05-17 15:40:29 -07:00
Jason Sams
edbfabdb98 Core to client fifo on sockets.
Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
2011-05-17 15:01:29 -07:00
Alex Sakhartchouk
2f6964fc89 Moves fbo support in renderscript behind the hal
Change-Id: I26a857586f5f0b47df4c1f4589d2023e70481ec7
2011-05-13 14:53:34 -07:00
Alex Sakhartchouk
25999a08a6 Cleanup mesh creation.
Change-Id: Iaf5e060711dcb6341ac0f337dfb274528cb68d3e
2011-05-12 10:49:39 -07:00