History log of /frameworks/rs/rs_hal.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f29edf80510d483b8663e9d8b859959e37361aee 05-Aug-2014 Jason Sams <jsams@google.com> Fix isObject when in 64bit mode.

This also cleans up the passing of args to SetObject and ClearObject.
Fix related issues in 64bit teardown.

Change-Id: I90d1b93c45ff5bc84957d5441ab48a4e2f6feb20
/frameworks/rs/rs_hal.h
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/rs_hal.h
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/rs_hal.h
cb51798a0379409c0f9927c44bbcdd772ed7ec18 08-Jul-2014 Chris Wailes <chriswailes@google.com> Moved RsForEachStubParamStruct out of rs_hal.h and into rsCpuCore.h.

Change-Id: Iea673ccd9db5077abef373457f51c6b0d09cea92
/frameworks/rs/rs_hal.h
ac8d146a41f18afad5314ac8af440d6aedbe20bf 25-Jun-2014 Stephen Hines <srhines@google.com> Switch the dimensions array to use uint32_t instead of size_t.

size_t isn't safe, since we pack/unpack the array as a 32-bit int array, but
that is the wrong type for 64-bit. Switching to uint32_t is better, since we
only support 1 dimension today, and won't need many more than that even for
complex cases in the future.

Change-Id: Ie0dda264a9398b0e385e0f9ee0a91cda08325dbc
/frameworks/rs/rs_hal.h
e3af53b643677c40d228ffd3624cf259f4dc68ed 10-Jun-2014 Tim Murray <timmurray@google.com> Update structs and defines for 64-bit.

Also adds RS_FIND_OFFSETS, which prints address info for various types that allow us to easily update __pad.

Change-Id: I4d57248e155d113c83ff69f4f8f64160aa24fb9b
/frameworks/rs/rs_hal.h
9761c3fcb8cf2ce89a29cb9202e4282d94f33d9d 27-Nov-2013 Jason Sams <jsams@google.com> implement finish

Change-Id: If1ec99d0dbcf7aebf9d90d7779bf3ff34a8963f2
/frameworks/rs/rs_hal.h
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/rs_hal.h
9c64239ebbfa4170190ede812e69150035e008e0 11-Apr-2013 Tim Murray <timmurray@google.com> Add support for synchronous get().

Change-Id: Ic94f1e36f7cffaaeda11fa9f0bb70e441fe1e535
/frameworks/rs/rs_hal.h
3bbc0fd40264ddae1592706d9023865b7b3e3195 09-Apr-2013 Jason Sams <jsams@google.com> Add 3D allocation copies.

Remove resize2d.

bug 8567058

Change-Id: Ib143b7a417c7db88aa8da8714a63e0ee6091269a
/frameworks/rs/rs_hal.h
099bc262f862cdeb547cf8a78fe9e0e92560f437 21-Mar-2013 Tim Murray <timmurray@google.com> Start making RS 64-bit clean.

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

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

Change-Id: I4dedd697ecd7719ba307ac393aca5abd67128e0c
/frameworks/rs/rs_hal.h
358747a3118301c5faeee73c98dd5f839bbfb54a 26-Nov-2012 Tim Murray <timmurray@google.com> Add support for 2D strided copies to/from an allocation with the C++ API.

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

Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
/frameworks/rs/rs_hal.h
bee28c6b56d0c399402014cd58cea426da2b98c1 26-Oct-2012 Jason Sams <jsams@google.com> Merge script groups.

Change-Id: Id5baf5e7c59a004127250fced91b6b33b1fe053b
/frameworks/rs/rs_hal.h
cf9ea9f4145cae663f439b1c2dab956fa37180bb 24-Sep-2012 Jason Sams <jsams@google.com> Implement backend of blend intrinsic

bug 7190126


Change-Id: I5095366eb3d091bba1628b7cceb5efb685c8f870
/frameworks/rs/rs_hal.h
dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48 17-Sep-2012 Jason Sams <jsams@google.com> Add backed for script groups.

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

Change-Id: I047b32325efe2fa471b73c48fa7296beecc0c47d
/frameworks/rs/rs_hal.h
41d6c769f5fa21da3cbc116af95d88949a4a5c76 22-Aug-2012 Stephen Hines <srhines@google.com> Clean up useless code, logging, and a typo.

Change-Id: I8c2296e7f60037907a969bcaf1746644e32868c3
/frameworks/rs/rs_hal.h
8eaba4fee0c7b5325742c87187622fdff51d5eff 14-Aug-2012 Jason Sams <jsams@google.com> Intrinisics

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

Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
/frameworks/rs/rs_hal.h
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/rs_hal.h
2980f07d3dbbca727e8efe24ace7e7928a935648 10-Apr-2012 Stephen Hines <srhines@google.com> Support additional element/dim information for FieldPacker.

BUG=6009244

Change-Id: I3c439559d61b24b26f9a36f2525f0a0e05b00e77
/frameworks/rs/rs_hal.h
5f5f9b53bc0e8065cbf634b059598ff0d3bfaa4a 17-Feb-2012 Jason Sams <rjsams@android.com> Merge "Rename three header files to free namespace for api."
3715b00e7b10a2624c1d5c696186c7a2f4a75a91 17-Feb-2012 Jason Sams <rjsams@android.com> Rename three header files to free namespace for api.

Change-Id: Ie9ef65a477373c30b2d5b02248f62e768b6f27ae
/frameworks/rs/rs_hal.h
38c04ad97fee58a4c1b9ed0bad9d08931bee504a 16-Feb-2012 Alex Sakhartchouk <alexst@google.com> Merge "Piping texture names through shader builder. Fixing uint size_t mismatch."
748eb07e805b93c2bf79340d4937963ab739d17c 16-Feb-2012 Alex Sakhartchouk <alexst@google.com> Piping texture names through shader builder.
Fixing uint size_t mismatch.

Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb
/frameworks/rs/rs_hal.h
254305944bf430eae672507546df368e97d50759 16-Feb-2012 Alex Sakhartchouk <alexst@google.com> Merge "Fixing uint32 size_t mismatches."
7ac2a4dda4d20ca1f1b714e129a3a08f63178c18 15-Feb-2012 Jason Sams <rjsams@android.com> Beging IO stream out from allocation to surface texture.

Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
/frameworks/rs/rs_hal.h
c794cd56e46408e08862c42a022090e323684197 13-Feb-2012 Alex Sakhartchouk <alexst@google.com> Fixing uint32 size_t mismatches.

Change-Id: I5263158f5855472db6317a52c209fe4e273f3368
/frameworks/rs/rs_hal.h
41e373d91a60043afa0f9abd026218b49cbc1201 13-Jan-2012 Jason Sams <jsams@google.com> Start implementing SurfaceTexture streaming into RS allocations.

Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
/frameworks/rs/rs_hal.h
9e0afb5a2b3e476c42a373e7cd89cef4a34f8195 31-Oct-2011 Jason Sams <rjsams@android.com> Path rendering

Change-Id: I5379a676c9ec6a9b25f21bc1e050053f27e411dd
/frameworks/rs/rs_hal.h
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/rs_hal.h
451cf2e16555c96eaaf9d8180e29dd97a5d6cbd7 17-Aug-2011 Jason Sams <rjsams@android.com> Add structure to pack params for forEach.
This allows the driver to not pass all the sub-params.

Change-Id: I9728a7bb39893f49193a55155994ede0400cb7a6
/frameworks/rs/rs_hal.h
35e429ebf817130d8590d11d441a77aa697bd7d4 13-Jul-2011 Jason Sams <rjsams@android.com> Add slot number to forEach hal.

Change-Id: I0f2992d5f4128422d07f897b335c219cc7f1d02c
/frameworks/rs/rs_hal.h
74a827988567a9d65954bb0d825a3ba4a97e2947 14-Jun-2011 Alex Sakhartchouk <alexst@google.com> Allocation copy functions.

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

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

Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
/frameworks/rs/rs_hal.h
7257c7ee4b66f00c43d9235f3ac600061ae79968 17-May-2011 Alex Sakhartchouk <alexst@google.com> Preparing libRS for for compilation on host.

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

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

Change-Id: I494e5a9d2b599d07b985328b346f1f10ae4972e1
/frameworks/rs/rs_hal.h
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/rs_hal.h
83c451a4ef4388e002482e383d488ca9b7b7600d 21-Apr-2011 Jason Sams <rjsams@android.com> Move TLS behind hal.

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

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

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

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

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

Change-Id: If182c524cceb327547640f22f956856d291d1787
/frameworks/rs/rs_hal.h
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/rs_hal.h