History log of /frameworks/rs/driver/rsdSampler.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
700e68883c4324c15b380ff6724249f39d4f498c 06-Mar-2017 I-Jui (Ray) Sung <ijsung@google.com> Rename unused fields of RS base object handle in 64-bits

Fields other than the first one (p) in RS_BASE_OBJECT are set in some
part of existing RS runtime, but is not used at all. However, removing
them is not desirable as size of RS_BASE_OBJECT is really part of the
ABI and thus if we change it, we are creating a new ABI variant here,
which is not always desirable.

For example, consider a library that contains compiled scripts and
assuming we pass allocation handles between the library and other
user codes, changes to handle size only in user code would break the
compatibility on things like array of rs_allocations.

Thus, to keep ABI compatibility the unused fields r, v1, v2 are renamed.
Also they are now assigned zero consistently. These field however are
not copied consistently in the current runtime, and are not expected
so anyways.

Bug: 35043722
Test: mm, CTS and RSTest on Angler
Change-Id: I426fad8e07bf445b6d8625bd23c689acaee26322
/frameworks/rs/driver/rsdSampler.cpp
e939ce7e3b609ee53d73c2b48c5ff8f03b4579a3 16-Nov-2016 Chih-Hung Hsieh <chh@google.com> Fix google-build-using-namespace warnings in driver.

* Replace "using namespace ..." statements with
using declarations of the required names.
* Put extern "C" functions inside a namespace to save
a lot of using declarations. Their linkage names are not
changed but can access names in the namespace easily.

Bug: 32670901
Test: build with WITH_TIDY=1
Change-Id: I7a2d45ecab47bc9064701fd288fe31f47b28fcc9
/frameworks/rs/driver/rsdSampler.cpp
44bef6fba6244292b751387f3d6c31cca96c28ad 12-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/driver/rsdSampler.cpp
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/rsdSampler.cpp
3aeab4f0a628cad27c3f18ec1cff6f154ae01b62 02-Apr-2013 Jason Sams <jsams@google.com> Delete sampler optimization.

Calling overhead makes this mostly pointless.

Change-Id: I899778db3e6b06f46a5d5ca9af34fc17cf105b14
/frameworks/rs/driver/rsdSampler.cpp
fe3697bf62d0812209d9355eee082914eaf05689 27-Mar-2013 Jason Sams <jsams@google.com> Disable sampler optimization until bugs are fixed.

Change-Id: I5bcf0609f08672829650c34198ae1489b7fa173e
/frameworks/rs/driver/rsdSampler.cpp
06b0f7d3b345ae1c36aed6686e79e403650f8baa 22-Mar-2013 Jason Sams <jsams@google.com> start refactoring rsSample

Change-Id: I3bc2209991dcb2a13a2629e8ecfe6955ae83a9a8
/frameworks/rs/driver/rsdSampler.cpp
93eacc7ce0aad4314b4cb41a281f59ce54bb3286 18-Dec-2012 Jason Sams <jsams@google.com> Cleanup diff with compat.

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

Change-Id: I494e5a9d2b599d07b985328b346f1f10ae4972e1
/frameworks/rs/driver/rsdSampler.cpp