Logan Chien
12be3fff12
Remove dead code.
...
Change-Id: I2838a40026291e7345b07911af3ba17278b63ffe
2011-11-27 08:42:11 +08: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
Alex Sakhartchouk
5ef2f53a00
Remove ObjBaseRef from the hal struct
...
Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
2011-10-18 10:54:29 -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
795072ec7b
Fix crash running old HC apps.
...
Change-Id: If7206de334868cb40eb8e5dd04fbe8c70bc1d614
2011-10-04 15:46:57 -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
514f9790fd
Call .rs.dtor() when tearing down Scripts.
...
BUG=5186750
This allows us to properly reference count any globals (static or extern) that
need to potentially be cleaned up.
Change-Id: I03d2c38c1e7a4ca96c40003d2eeecb6f395d5835
2011-08-31 17:41:39 -07:00
Stephen Hines
1222393e35
Issue proper parameters to root() calls for RS.
...
BUG=5076887
Change-Id: Ic0ce9d45ee20a99add4c780233c0804d05a55e96
2011-08-19 12:27:07 -07:00
Jason Sams
c1b4c1ff9b
Add structure to pack params for forEach.
...
This allows the driver to not pass all the sub-params.
Change-Id: I9728a7bb39893f49193a55155994ede0400cb7a6
2011-08-17 14:13:50 -07:00
Stephen Hines
514a0b3612
Merge "Migrate perf-critical functions away from librs."
2011-08-08 16:12:56 -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
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
cf57dec80b
Add size param to rsForEach
...
bug 5074640
Change-Id: I395bd8b295beacc979681ccdd3451d9d6cc3d672
2011-07-25 12:58:37 -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
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
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
Alex Sakhartchouk
6c72eec06e
Preparing libRS for for compilation on host.
...
Change-Id: I851add79831331c8a8b20dcccdb0817f8ad0c359
2011-05-17 16:42:24 -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
407cae9503
rsLib cleanup
...
Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
2011-05-06 14:59:45 -07:00
Alex Sakhartchouk
438505431c
Moving samplers behind the hal.
...
Change-Id: I494e5a9d2b599d07b985328b346f1f10ae4972e1
2011-05-05 16:56:27 -07:00
Alex Sakhartchouk
4a36b45c72
Moving renderscript GL code into the HAL
...
This change affects
- shaders
- meshes
- fonts
- quad rendering
Change-Id: I2a53acb4cd1fa8f4c6e67668f6ee969f3d7f7aa1
2011-04-29 16:49:08 -07:00
Jason Sams
e2b3304e40
Fix rsRand(float, float)
...
Change-Id: I553d83e1e962ad34aacbe6572d47ff25c3d50060
2011-04-22 14:25:07 -07:00
Jason Sams
b86a6ea41d
Merge "Move TLS behind hal."
2011-04-21 15:12:25 -07:00
Jason Sams
be8ac6ace9
Move TLS behind hal.
...
Change-Id: I9e84acb3736bc98fa5fb0720bddb13a030285319
2011-04-21 11:46:50 -07:00
Stephen Hines
118782298b
Merge "Reduce verbosity of Renderscript logging."
2011-04-20 17:22:36 -07:00
Jason Sams
0ec8c6f9a8
Remove accidental logging.
...
Change-Id: I59073a620c312485a0631069856fbd7ca40b4cbd
2011-04-20 17:14:26 -07:00
Stephen Hines
9c35d790e9
Reduce verbosity of Renderscript logging.
...
Change-Id: I0e20274e01b4068f90ef6ddd6ed7837d42f35813
2011-04-20 17:08:14 -07:00
Jason Sams
fcf7231249
Create runtime stubs for compute driver.
...
Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
2011-04-20 15:09:01 -07:00
Stephen Hines
97837c9172
Fix broken assert (if input allocation is NULL).
...
Change-Id: If02e86eee4ec059402edd6f8c408fd89b248bc80
2011-04-11 14:02:22 -07:00
Jason Sams
803626f615
Migrate most GL from context to driver.
...
Change-Id: I5cba3a6e879d2e9332fc667a1061a5312fcf14ba
2011-04-06 17:52:23 -07:00
Jason Sams
331bf9b14b
Seperate ProgramRaster.
...
Cleanup ProgramRaster and ProgramStore creation.
Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
2011-04-06 11:23:54 -07:00
Jason Sams
48f505657a
Seperate GL from RS program store.
...
Change-Id: I0eae9c0699845af8e8611b065e70738cc9f2b15c
2011-04-04 17:09:37 -07:00