History log of /frameworks/rs/driver/rsdCore.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a36c50a6ab87f4c9049318d4c6c8ec7b0a1e6e12 17-Jun-2014 Jason Sams <jsams@google.com> Add 64bit large object support

Add HAL hooks for filling in LO fields.

Change-Id: Ib9bdee714a062de519d2a9708c1016404a1b11a4

Conflicts:
driver/rsdBcc.cpp
driver/rsdCore.cpp
rsAllocation.h
rs_hal.h
/frameworks/rs/driver/rsdCore.cpp
4b3c34e6833e39bc89c2128002806b654b8e623d 11-Jun-2014 Chris Wailes <chriswailes@google.com> Adds support for multi-input kernels to Frameworks/RS.

This patch modifies Frameworks/RS in the following ways:
* Adjusted the data-layout of the C/C++ version of RsForEachStubParamStruct to
accommodate a pointer to an array of input allocations and a pointer to an
array of stride sizes for each of these allocatoins.
* Adds a new code path for Java code to pass multiple allocations to a RS
kernel.
* Packs base pointers and step values for multi-input kernels into the new
RsForEachStubParamStruct members.

Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
/frameworks/rs/driver/rsdCore.cpp
07ef704308b514272ed2f5c3e6a2f4c055550158 19-Feb-2014 Jens Gulin <jens.gulin@sonymobile.com> Solve four separate memory leaks related to rsdHalInit

Three of the items are local to RsdCpuReferenceImpl and now freed in
destructor after all threads are stopped.
Last one is the RsdHal item itself where the pointer for some reason
was explicitly cleared but not freed. There is no reference counting
but it should be ok to free in Shutdown.

Change-Id: I7832e412d12f4bd7cc728481ae0c782fa57b57e4
/frameworks/rs/driver/rsdCore.cpp
9761c3fcb8cf2ce89a29cb9202e4282d94f33d9d 27-Nov-2013 Jason Sams <jsams@google.com> implement finish

Change-Id: If1ec99d0dbcf7aebf9d90d7779bf3ff34a8963f2
/frameworks/rs/driver/rsdCore.cpp
2d7d0b276ed4b3cedf72342a4d2ab287d4653ce0 16-Aug-2013 Stephen Hines <srhines@google.com> am 470a2f85: am 10f31703: Fix up dependencies further for RS compatibility library.

* commit '470a2f85d26034771c82de18509f072596d53531':
Fix up dependencies further for RS compatibility library.
10f317038dd53543dc8c7f5afe26a6360adfb5f3 16-Aug-2013 Stephen Hines <srhines@google.com> Fix up dependencies further for RS compatibility library.

Removed cutils dependency from rsdCore.cpp.
Removed system/grapics.h dependency by bringing in the only enum we use.

Change-Id: I0de6c0c2e049c78cc20516cfa2035291da2a0f04
/frameworks/rs/driver/rsdCore.cpp
ddceab9a001f07a3395226c5e06e3b420720af0f 07-Aug-2013 Jason Sams <jsams@google.com> Refactor hal to remove cpuConsumer from drivers

This CL should minimize build breaks due to
BufferQueue changes in the future.

Change-Id: I565a6eae5cc25603741fef32f2cfcb31a32eb757
/frameworks/rs/driver/rsdCore.cpp
a221f569d741a425beca4f111931e12177e3a3f3 11-Jul-2013 Stephen Hines <srhines@google.com> Implement MemChunk::registerAllocFreeCallbacks().

This function allows a driver implementation to register its own handler for
allocating/freeing MemChunk objects. MemChunk is primarily used by the ELF
loader for various code/data segments.

Change-Id: If497f07a538c714933fcaa1b0c04ed5a6febeeba
/frameworks/rs/driver/rsdCore.cpp
b7d9c80c98fc96aa7c638e3124be24f13a6436b2 30-Apr-2013 Stephen Hines <srhines@google.com> Provide a mechanism for adjusting RSCompilerDriver after construction.

We add a simple callback to the reference implementation of libRSDriver.so,
such that additional BCC flags can be toggled/adjusted before doing any actual
CPU compilation.

Change-Id: Iaf253b7d967d0382937369b1c5dae2d23a99e8be
/frameworks/rs/driver/rsdCore.cpp
9c64239ebbfa4170190ede812e69150035e008e0 11-Apr-2013 Tim Murray <timmurray@google.com> Add support for synchronous get().

Change-Id: Ic94f1e36f7cffaaeda11fa9f0bb70e441fe1e535
/frameworks/rs/driver/rsdCore.cpp
0b575de8ed0b628d84d256f5846500b0385979bd 15-Mar-2013 Tim Murray <timmurray@google.com> Add x86 server support.

Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
/frameworks/rs/driver/rsdCore.cpp
110f181b7966212a36ef18016f9b81c7322d0a2f 15-Mar-2013 Jason Sams <jsams@google.com> Reduce diffs with compat lib.

Change-Id: Ibfa2c7c7da56d158f424ac343e364feacd0a21da
/frameworks/rs/driver/rsdCore.cpp
34689388556747b52c3c2f1c894929fb44580898 11-Mar-2013 Tim Murray <timmurray@google.com> Add custom allocator support for Allocation objects.

Change-Id: Iab546455354c2ee72797658fdcd49c90a5893527
/frameworks/rs/driver/rsdCore.cpp
733396b67724162844ea2785c7495115dc5ee8d8 22-Feb-2013 Jason Sams <jsams@google.com> Implement usage IO INPUT

Change-Id: I4dedd697ecd7719ba307ac393aca5abd67128e0c
/frameworks/rs/driver/rsdCore.cpp
709a0978ae141198018ca9769f8d96292a8928e6 16-Nov-2012 Jason Sams <jsams@google.com> Separate CPU driver impl from reference driver.

Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
/frameworks/rs/driver/rsdCore.cpp
c5b34c6ff0f1c2a25c45af932e1d7a7b494a34b0 15-Nov-2012 Jason Sams <jsams@google.com> Thread launch latency improvements.

Change-Id: I38b104edc1e120f2d8187edbd75e5d9ea652c12e
/frameworks/rs/driver/rsdCore.cpp
dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48 17-Sep-2012 Jason Sams <jsams@google.com> Add backed for script groups.

Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186
/frameworks/rs/driver/rsdCore.cpp
414a46166126da6864258bd25ff183f9a3c6261d 06-Sep-2012 Stephen Hines <srhines@google.com> Attempt to create libRSDriver as shared library.

Change-Id: I047b32325efe2fa471b73c48fa7296beecc0c47d
/frameworks/rs/driver/rsdCore.cpp
8eaba4fee0c7b5325742c87187622fdff51d5eff 14-Aug-2012 Jason Sams <jsams@google.com> Intrinisics

Change-Id: I1ce02ecd853382a2c92823b021750b93f1786ccf
/frameworks/rs/driver/rsdCore.cpp
abd6d04992e4b7c903ed2c1278d744e73ac74334 01-Aug-2012 Jason Sams <jsams@google.com> Don't cap max-threads to current cpu count.

Change-Id: Ie437c0eccff0de0d9175633e004449211c141f6a
/frameworks/rs/driver/rsdCore.cpp
61a4bb734b91ced09fbfee4214c6f253cb66e5f0 26-Jul-2012 Jason Sams <jsams@google.com> Cleanup pointer access in adapter and font.

Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
/frameworks/rs/driver/rsdCore.cpp
807fdc4b6f3fb893015ee136565d6151bb2332d3 26-Jul-2012 Jason Sams <jsams@google.com> Move memory layout to driver.

This change moves all allocation data copies to the
hal. Also removes stride from the runtime. Follow on
changes will remove the malloc pointer from the runtime.

Change-Id: I30967c739800cd4b97186e9fc8b69f26a3f2787d
/frameworks/rs/driver/rsdCore.cpp
a3af2cd3cc684aee2a090475f797936f3bd1b8cb 25-Apr-2012 Shih-wei Liao <sliao@google.com> Start using new libbcc APIs.

Change-Id: If6b7b53890e3d4ee7db3b6c91bec9fe07fbadcd1
/frameworks/rs/driver/rsdCore.cpp
d2d868f98f235a0b6cecda7cbdef36c7d5c3d4af 16-May-2012 Jean-Baptiste Queru <jbq@google.com> Fix build - remove unused variable

Change-Id: I9e3ce14d2b60da80861fe321e35849186fe0eee9
/frameworks/rs/driver/rsdCore.cpp
070cb235d9f094048c0260aa72d5acf61ed840a3 03-May-2012 Stephen Hines <srhines@google.com> Revert "Start chewing new libbcc APIs."

This reverts commit ec3fc1163c01e18b1454057723c451f0d96868ad.
/frameworks/rs/driver/rsdCore.cpp
2980f07d3dbbca727e8efe24ace7e7928a935648 10-Apr-2012 Stephen Hines <srhines@google.com> Support additional element/dim information for FieldPacker.

BUG=6009244

Change-Id: I3c439559d61b24b26f9a36f2525f0a0e05b00e77
/frameworks/rs/driver/rsdCore.cpp
ec3fc1163c01e18b1454057723c451f0d96868ad 25-Apr-2012 Shih-wei Liao <sliao@google.com> Start chewing new libbcc APIs.

Change-Id: Idb4166eb0f0137a69b0c76be1e7fcb0d09bb1613
/frameworks/rs/driver/rsdCore.cpp
3522f40418fdf877f5a136475dbf75e57a3b7c77 23-Mar-2012 Jason Sams <jsams@google.com> Implement USAGE_IO_INPUT



Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
/frameworks/rs/driver/rsdCore.cpp
d1f7da6803a1bfc0bf8129a66316cfb8994e7110 16-Mar-2012 Jason Sams <jsams@google.com> Add prop to force cap compute threading.

bug=6124869

Change-Id: Ibf2cc388f3906cea2741382ff5e522e3b416393c
/frameworks/rs/driver/rsdCore.cpp
ed8844c7275bcb80bf22e31ac47baf4ca231df94 06-Mar-2012 Glenn Kasten <gkasten@google.com> Remove references to sched_policy.h in RS

As part of scheduling policy cleanup, removing some references to
sched_policy.h and its APIs. Activity manager should be responsible
for configuring scheduling policy, rather than leaving it up to each app.

Change-Id: Iffe972799bf3fde090b1efdd3abce5141e4d261e
/frameworks/rs/driver/rsdCore.cpp
7ac2a4dda4d20ca1f1b714e129a3a08f63178c18 15-Feb-2012 Jason Sams <rjsams@android.com> Beging IO stream out from allocation to surface texture.

Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
/frameworks/rs/driver/rsdCore.cpp
2b5797f50f99b0b7f81b9923b0bee96d13ffd19d 13-Jan-2012 Stephen Hines <srhines@google.com> am d36f7d24: Merge "Add support for new root.expand() calls."

* commit 'd36f7d249591559e713a8ca45c6d452c14c94895':
Add support for new root.expand() calls.
41e373d91a60043afa0f9abd026218b49cbc1201 13-Jan-2012 Jason Sams <jsams@google.com> Start implementing SurfaceTexture streaming into RS allocations.

Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
/frameworks/rs/driver/rsdCore.cpp
ee7aa2e3900f807ee41bb9735da86b3eb4cc2e70 13-Jan-2012 Stephen Hines <srhines@google.com> Add support for new root.expand() calls.

BUG=5444144

Change-Id: I9ab942561a03e9f837a3199457259bb3e07ac76f
/frameworks/rs/driver/rsdCore.cpp
9719bd4a0187c400ba868712612fe66da4635aac 12-Jan-2012 Jason Sams <jsams@google.com> Plumbing for RS priority.

Change-Id: Ibddfd40407fd6d24ac829a76a9a1e2047c48c5fd
/frameworks/rs/driver/rsdCore.cpp
03f1910431433f3a35f1445aa0bba2b00417f0cc 10-Jan-2012 Steve Block <steveblock@google.com> resolved conflicts for merge of 08289f55 to graphics-dev

Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
af12ac6a08651464f8d823add667c706f993b587 06-Jan-2012 Steve Block <steveblock@google.com> 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
/frameworks/rs/driver/rsdCore.cpp
9e0afb5a2b3e476c42a373e7cd89cef4a34f8195 31-Oct-2011 Jason Sams <rjsams@android.com> Path rendering

Change-Id: I5379a676c9ec6a9b25f21bc1e050053f27e411dd
/frameworks/rs/driver/rsdCore.cpp
6598201f1c4f409defac9a5af789fb53a7cc00f8 20-Oct-2011 Steve Block <steveblock@google.com> 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
/frameworks/rs/driver/rsdCore.cpp
70415115431f3c52e1da44ba838962ff3b22eb69 12-Oct-2011 Jason Sams <rjsams@android.com> Improve rsForEach overhead.

Change-Id: Iaabef7bb573233ef7c5756077f840ee933ee0c39

fix spacing, reduce rsForEach overhead about 50%
/frameworks/rs/driver/rsdCore.cpp
86d842a703da80b40eae5a482d4e26d8b2aae048 21-Sep-2011 Jason Sams <rjsams@android.com> Cleanup RS logs
Reduce the startup/shutdown info and format the logs
in a consistent manner.

Change-Id: I4592cd9fcf7e2920010d84c7137137262cdc73b9
/frameworks/rs/driver/rsdCore.cpp
4ee16ffbd9d1d72e1757c9b26715597fdc044117 01-Sep-2011 Stephen Hines <srhines@google.com> 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
/frameworks/rs/driver/rsdCore.cpp
3815badf95a7dca8aa278e3e12f07a3924a82319 19-Aug-2011 Stephen Hines <srhines@google.com> Issue proper parameters to root() calls for RS.

BUG=5076887

Change-Id: Ic0ce9d45ee20a99add4c780233c0804d05a55e96
/frameworks/rs/driver/rsdCore.cpp
74a827988567a9d65954bb0d825a3ba4a97e2947 14-Jun-2011 Alex Sakhartchouk <alexst@google.com> Allocation copy functions.

Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
/frameworks/rs/driver/rsdCore.cpp
b81a0eb8180791e4eaab1253b59fa8bd562b046b 03-Jun-2011 Alex Sakhartchouk <alexst@google.com> More work to make libRS buildable on the host.

Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
/frameworks/rs/driver/rsdCore.cpp
eb4fe18dd88634330f9566cbb9e785d8c7ec5813 27-May-2011 Jason Sams <rjsams@android.com> Start splitting allocation into hal and core.

Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
/frameworks/rs/driver/rsdCore.cpp
da6d34a5a6ece8c30d20673b9b6ff07d8c91768b 13-May-2011 Alex Sakhartchouk <alexst@google.com> Moves fbo support in renderscript behind the hal

Change-Id: I26a857586f5f0b47df4c1f4589d2023e70481ec7
/frameworks/rs/driver/rsdCore.cpp
7f126c78a107257090c6675ea40ffac41516a9dc 06-May-2011 Alex Sakhartchouk <alexst@google.com> Moving samplers behind the hal.

Change-Id: I494e5a9d2b599d07b985328b346f1f10ae4972e1
/frameworks/rs/driver/rsdCore.cpp
a04e30dbb5ab11592b03666bb3d102070759c58e 30-Apr-2011 Alex Sakhartchouk <alexst@google.com> Moving renderscript GL code into the HAL
This change affects
- shaders
- meshes
- fonts
- quad rendering

Change-Id: I2a53acb4cd1fa8f4c6e67668f6ee969f3d7f7aa1
/frameworks/rs/driver/rsdCore.cpp
83c451a4ef4388e002482e383d488ca9b7b7600d 21-Apr-2011 Jason Sams <rjsams@android.com> Move TLS behind hal.

Change-Id: I9e84acb3736bc98fa5fb0720bddb13a030285319
/frameworks/rs/driver/rsdCore.cpp
87fe59a2f4d4c74539bfa0bff5f9a7e320e99415 21-Apr-2011 Jason Sams <rjsams@android.com> Create runtime stubs for compute driver.

Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
/frameworks/rs/driver/rsdCore.cpp
4b3de47071d875faaa7d419d050a464b09538797 07-Apr-2011 Jason Sams <rjsams@android.com> Migrate most GL from context to driver.

Change-Id: I5cba3a6e879d2e9332fc667a1061a5312fcf14ba
/frameworks/rs/driver/rsdCore.cpp
721acc495b859c6d884725a4f9b5523583dd11c7 06-Apr-2011 Jason Sams <rjsams@android.com> Seperate ProgramRaster.
Cleanup ProgramRaster and ProgramStore creation.

Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
/frameworks/rs/driver/rsdCore.cpp
8feea4e0dec48ea03bd6d32706d058b86dddc5ba 18-Mar-2011 Jason Sams <rjsams@android.com> Seperate GL from RS program store.

Change-Id: I0eae9c0699845af8e8611b065e70738cc9f2b15c
/frameworks/rs/driver/rsdCore.cpp
2cfe51e7a9eef3dec091ce7c15d2a5a2216e9d3e 19-Mar-2011 Jason Sams <rjsams@android.com> Fix bug with hal init uninitialized var.

Change-Id: I172bb65b57653e32697f2c2df941beb0aaf65603
/frameworks/rs/driver/rsdCore.cpp
cdfdb8f2cdf4668c476cac842212892b2505ff3f 18-Mar-2011 Jason Sams <rjsams@android.com> Migrate thread launch to driver.

Change-Id: If182c524cceb327547640f22f956856d291d1787
/frameworks/rs/driver/rsdCore.cpp
bad807405b2b9764372af1ad24bcfd4fb1f33d8e 17-Mar-2011 Jason Sams <rjsams@android.com> Start seperating out RS compute implementation. Create hal
layer to seperate from runtime.

Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
/frameworks/rs/driver/rsdCore.cpp