025a1f48df53a3bd13dd3a5d765a7a78de3a1bf5 |
|
07-Apr-2017 |
Miao Wang <miaowang@google.com> |
Break libgui and libui dependencies. - Use EGL sync fence instead of gui/DisplayEventReceiver. - Remove obselete inclusion of ui/PixelFormat.h and gui/Surface.h. - Remove dead code using SurfaceTexture in rsdAllocation.cpp, as drv->surfaceTexture was never initialized. Bug: 34396220 Bug: 37067080 Test: mm, boot Angler, all CTS tests pass, and example RS graphic apps all still fine. Change-Id: I5369c382a9815095301660735de61573e348a1dc
/frameworks/rs/driver/rsdAllocation.h
|
c3e57650b69a2c57152d70cbf76398cc1b2313df |
|
24-Mar-2017 |
Miao Wang <miaowang@google.com> |
Allow GPU memory access for USAGE_IO Allocations. - USAGE_IO_OUTPUT will use ANativeWindow APIs to deqeue and queue buffers. - USAGE_IO_INPUT will use AImage_getHardwareBuffer to get the handle to hardware buffers. Bug: 34396220 Bug: 36869607 Test: mm, boot sailfish, CTS pass and ImageProcessingJB works fine. Change-Id: I71bdc21ed18102026cd842364145fd94666a0faf
/frameworks/rs/driver/rsdAllocation.h
|
59f6142d7657e43b4d21e077a28387431db02edf |
|
14-Mar-2017 |
Miao Wang <miaowang@google.com> |
Remove libgui and libui dependencies for vendor libs. - This CL removes dependencies on libgui, libui and other remaining dependences, if build with RS_VENDOR_LIB defined. - We cannot remove the dependencies for platform RenderScript CPU fallback, because of the legacy graphics APIs. - Vendor drivers will be built without graphics APIs, the reference build file will be posted in another CL. Bug: 34396220 Test: mm, CTS test pass with the vendor libs. Change-Id: If90b600a58d0f81488f56a1e21ca332f1a235162
/frameworks/rs/driver/rsdAllocation.h
|
5d955c9f301bb5acfdd5e22b69755e254f73984d |
|
01-Mar-2017 |
Miao Wang <miaowang@google.com> |
Implement USAGE_IO_OUTPUT related methods on top of NDK. - Use ANativeWindow NDK APIs to implement Allocation.IoSend and Allocation.SetSurface. Bug: 34396220 Test: mm, CTS tests pass and ImageProcessingJB work well. Change-Id: If7afe0ae5261f5ce56565ecd5df67e1ec3db800b
/frameworks/rs/driver/rsdAllocation.h
|
62237219e567b9f972c86e7ca4e96f9b3d5ad4de |
|
28-Feb-2017 |
Miao Wang <miaowang@google.com> |
Remove RS_SERVER macros and references to unused headers. - The RS_SERVER macros were intended to have a version of RenderScript running on the desktop. It has not fully worked for a very long time. Bug: 35473587 Test: build and CTS tests pass Change-Id: I0da3fc9d4601951442384d05f9dbecaeddeff8cc
/frameworks/rs/driver/rsdAllocation.h
|
47a5881b8f85d65c74f2471fe6261d4cdb3dce5e |
|
24-Jul-2015 |
Miao Wang <miaowang@google.com> |
Add AllocationCreateStrided to support lib CPU driver - Able to create Allocations with arbitrary alignment requirement, making Incremental Intrinsic Support able to run with different native GPU RS runtime. - Make compat mode CPU driver using an additional rs_compat.spec. - Add a compat mode only USAGE_INCREMENTAL_SUPPORT. - Add AllocationCreateStrided() to take an Alignment requirement (power of 2). Only enbled when detect USAGE_INCREMENTAL_SUPPORT. Change-Id: I66f913c3a2474f93af5a244c0c84460a7a395e71
/frameworks/rs/driver/rsdAllocation.h
|
cc8cea7477352898921044483a6c803e25d02665 |
|
20-Feb-2015 |
Miao Wang <miaowang@google.com> |
Fix the bug for AllocationRead() that cannot handle 3d Allocation correctly. Add the following functions to make it symmetric for read and write. - AllocationElementData - AllocationElementRead - Allocation3DRead Change-Id: I8c89b5e3474c4c3c70e9795843a76e61f1f90f6a
/frameworks/rs/driver/rsdAllocation.h
|
bc9dc27b84f4e5c72d4dbe8a8e01af87dd780f79 |
|
09-Feb-2015 |
Jason Sams <jsams@google.com> |
Implement arrays and allocation adapters WIP: now passing basic tests Change-Id: I3d8c1ab12975428def225f88a04e24a4158ca69c
/frameworks/rs/driver/rsdAllocation.h
|
2bd78f2d3e0a94a98dc03502decadfd2e17a70c8 |
|
20-Nov-2014 |
Miao Wang <miaowang@google.com> |
Adding USAGE_IO_OUTPUT support for RS Compat lib. - In allocation driver header, added window buffer struct for compat lib. - dlopen IO related functions in driver layer. - Add function to load symbols in rsDispatch. bug 12924018 Change-Id: I9156a28e458a72db077fe000bd324a369767fc4d
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.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/driver/rsdAllocation.h
|
b0934b67b95cc27e2358c2aa4db5f7c1067c8f9b |
|
04-Jul-2013 |
Stephen Hines <srhines@google.com> |
Remove libutils and fix rsDebug for RS support library. Bug: 9664050 Our bitcode runtime library translates vector rsDebug() calls into passing their parameters via pointers. The previous version of libRSSupport.so was being created with non-pointer versions of these routines accidentally. This change also fixes a missing permission issue for ImageProcessing2, so that the compatibility library can be verified. This change also removes the use of libutils by switching the implementation of String8/Vector in the compatibility library to internal types backed by libstlport_static. Change-Id: I20da75e8c19a82a42dc2bceaba1937d21372db84
/frameworks/rs/driver/rsdAllocation.h
|
4961cceab2b71bf0ab59e1b66a7559f67ed28781 |
|
12-Apr-2013 |
Jason Sams <jsams@google.com> |
USAGE_IO notifications for new buffers. bug 8566866 Change-Id: I49767ee902400f09b9b1c174e0fecac5b41e5611
/frameworks/rs/driver/rsdAllocation.h
|
3bbc0fd40264ddae1592706d9023865b7b3e3195 |
|
09-Apr-2013 |
Jason Sams <jsams@google.com> |
Add 3D allocation copies. Remove resize2d. bug 8567058 Change-Id: Ib143b7a417c7db88aa8da8714a63e0ee6091269a
/frameworks/rs/driver/rsdAllocation.h
|
099bc262f862cdeb547cf8a78fe9e0e92560f437 |
|
21-Mar-2013 |
Tim Murray <timmurray@google.com> |
Start making RS 64-bit clean. Change-Id: Ie40ad9a1d2b59094c86eb7e40b358e60120ce213
/frameworks/rs/driver/rsdAllocation.h
|
0b575de8ed0b628d84d256f5846500b0385979bd |
|
15-Mar-2013 |
Tim Murray <timmurray@google.com> |
Add x86 server support. Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
/frameworks/rs/driver/rsdAllocation.h
|
3a25fdd3786c1a08b783d8a83ef94b756347ff5c |
|
23-Feb-2013 |
Tim Murray <timmurray@google.com> |
Cleanup lots of things related to IO_OUTPUT and error checking. Change-Id: Ic6802dd0ba9d3edc8c53f99002cdd905214a515c
/frameworks/rs/driver/rsdAllocation.h
|
733396b67724162844ea2785c7495115dc5ee8d8 |
|
22-Feb-2013 |
Jason Sams <jsams@google.com> |
Implement usage IO INPUT Change-Id: I4dedd697ecd7719ba307ac393aca5abd67128e0c
/frameworks/rs/driver/rsdAllocation.h
|
c2cfe6abfc74befbaa4d2ca09024a27fbfb1f515 |
|
15-Feb-2013 |
Tim Murray <timmurray@google.com> |
Add alignment requirements with USAGE_SHARED. Change-Id: I844e37ad29a893b6e35834588a5d80e52d8bf61b
/frameworks/rs/driver/rsdAllocation.h
|
93eacc7ce0aad4314b4cb41a281f59ce54bb3286 |
|
18-Dec-2012 |
Jason Sams <jsams@google.com> |
Cleanup diff with compat. Change-Id: Ieedcdec03ccb05cac68cbebbd398e07cb885f4d3
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.h
|
709a0978ae141198018ca9769f8d96292a8928e6 |
|
16-Nov-2012 |
Jason Sams <jsams@google.com> |
Separate CPU driver impl from reference driver. Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
/frameworks/rs/driver/rsdAllocation.h
|
a6dd823b9dcbd7ce7dfc34eda52a1e4104771f79 |
|
26-Jul-2012 |
Jason Sams <jsams@google.com> |
Cleanup pointer access in adapter and font. Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.h
|
2275e9cf534ff601fe42a72ff50580b230c04fe2 |
|
17-Apr-2012 |
Jason Sams <jsams@google.com> |
Fix duplicate malloc pointers. Change-Id: I6525877cb93fe0f750339a8d7a747c7f5ce9a2f7
/frameworks/rs/driver/rsdAllocation.h
|
b322033c13487a174bb9c26466e9684d1ff4de8d |
|
02-Apr-2012 |
Jason Sams <jsams@google.com> |
Implement IO_OUTPUT + SurfaceTexture Change-Id: Id96fecd6d768196523330c5eda77c4ee86b9bd3c
/frameworks/rs/driver/rsdAllocation.h
|
7ac2a4dda4d20ca1f1b714e129a3a08f63178c18 |
|
15-Feb-2012 |
Jason Sams <rjsams@android.com> |
Beging IO stream out from allocation to surface texture. Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
/frameworks/rs/driver/rsdAllocation.h
|
41e373d91a60043afa0f9abd026218b49cbc1201 |
|
13-Jan-2012 |
Jason Sams <jsams@google.com> |
Start implementing SurfaceTexture streaming into RS allocations. Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
/frameworks/rs/driver/rsdAllocation.h
|
a94952436aeb251f587c1bccdf94c7f75285dfe2 |
|
16-Jun-2011 |
Alex Sakhartchouk <alexst@google.com> |
Adding ability to read back fbo data to renderscript Change-Id: Ie684c26cbcde22f2483b43415dfc39a3de22c5a1
/frameworks/rs/driver/rsdAllocation.h
|
74a827988567a9d65954bb0d825a3ba4a97e2947 |
|
14-Jun-2011 |
Alex Sakhartchouk <alexst@google.com> |
Allocation copy functions. Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
/frameworks/rs/driver/rsdAllocation.h
|
a614ae175bbf97201b5e18984d814a1d3e86faa8 |
|
27-May-2011 |
Jason Sams <rjsams@android.com> |
Cleaup of rsComponent to remove GL types. Change-Id: I9f82bafe42f5fb30335b15f38eb251dc1ec62e80
/frameworks/rs/driver/rsdAllocation.h
|
eb4fe18dd88634330f9566cbb9e785d8c7ec5813 |
|
27-May-2011 |
Jason Sams <rjsams@android.com> |
Start splitting allocation into hal and core. Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
/frameworks/rs/driver/rsdAllocation.h
|