History log of /frameworks/rs/rsFont.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e5e18cca3eefccf3a6aabd254ceb2c59f120a7d2 13-Aug-2015 Elliott Hughes <enh@google.com> Lose HAVE_ANDROID_OS in frameworks/rs.

Change-Id: Iba57869192ba9b1fde995ff0e48b7a28b2cb122f
/frameworks/rs/rsFont.cpp
b8353c5943f4038fd7f08db3d958390ce9418798 15-Feb-2015 Yang Ni <yangni@google.com> Revert "Replaced android::Vector with std::vector."

b/19148482

This reverts commit 93d6bc872b7d9fba63abfa7513d56b38d9c3d371.

I also made some changes to Make it work with HEAD.

Change-Id: I5e516976ec1d85ffe1cf388c01795348a9441982
/frameworks/rs/rsFont.cpp
c7968a0ac24f05d978616a79a5068b6b16dbbda6 12-Nov-2014 Jason Sams <jsams@google.com> Array type and allocation support

Change-Id: Ic09188a8ceb212634b4369eb1ffe42c6f249e3ed
/frameworks/rs/rsFont.cpp
44bef6fba6244292b751387f3d6c31cca96c28ad 12-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/rsFont.cpp
93d6bc872b7d9fba63abfa7513d56b38d9c3d371 29-Jul-2014 Chris Wailes <chriswailes@google.com> Replaced android::Vector with std::vector.

Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
/frameworks/rs/rsFont.cpp
f8852d0494a260c583795a96a2a06c49b86a9b10 30-Jan-2014 Ian Rogers <irogers@google.com> Work-around 64bit build issues.

Log errors and abort as a temporary work-around for 64bit support.

Change-Id: I7f6b483d671189bd12ae0ef79515fcdd871eba17
/frameworks/rs/rsFont.cpp
48ecf6a5e85a9a832f41393ed2802385bb8b5db8 10-Jul-2013 Jason Sams <jsams@google.com> Remove more String8

Change-Id: I2b43c3c104eab7cb3b6573bea4858f6c2d0a76ca
/frameworks/rs/rsFont.cpp
f313dc32d5ea68a7c48fb4ec6e131ec2fb97ce2d 09-Jul-2013 Jason Sams <jsams@google.com> Remove internal element builder and vector code.

Remove additional String8 references from shared includes.

Change-Id: Iede11384b9fc5a303d15d47fd4074c800dc6ad5f
/frameworks/rs/rsFont.cpp
a7f5e0406825151660c1c2e75c287e2fc8368023 09-Jul-2013 Jason Sams <jsams@google.com> Remove unnecessary string operations.

Change-Id: I9e59c54e0ac200b5cf8bd35b3746112d0444a8d5
/frameworks/rs/rsFont.cpp
7e85ca20affa9655d9033ec2b0fdff034f19a9bf 23-May-2013 Nick Kralevich <nnk@google.com> Don't call property_get when building for the host.

Accessing system properties only makes sense on the target, not
on the host.

This change is needed to remove host support for properties.

Change-Id: If456f265cf112f14dd142e17814fc07baa3d8a3b
/frameworks/rs/rsFont.cpp
a572aca4eb4ddb32c10baa1f529431cfefd756b8 09-Jan-2013 Jason Sams <jsams@google.com> Add support for YUV allocations.

Change-Id: I21a47c745a2f8435af4f37ec0ad624002f3db555
/frameworks/rs/rsFont.cpp
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/rsFont.cpp
a6dd823b9dcbd7ce7dfc34eda52a1e4104771f79 26-Jul-2012 Jason Sams <jsams@google.com> Cleanup pointer access in adapter and font.

Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
/frameworks/rs/rsFont.cpp
4edf030cbb7c6ac08dc563335c2af73c20f6e2e5 09-Mar-2012 Alex Sakhartchouk <alexst@google.com> More header untangling.

Change-Id: I090943775cbda8d9515cdb484957f6b05d5b1799
/frameworks/rs/rsFont.cpp
e23d239828a229eb7d4d33c9630070f0a87833e1 09-Mar-2012 Alex Sakhartchouk <alexst@google.com> Starting to untangle header spaghetti.

Change-Id: I31f38d05dc8b55c659e8c7e9c0a87b94b9ac1db5
/frameworks/rs/rsFont.cpp
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/rsFont.cpp
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/rsFont.cpp
b505694f35fe75b20bac42178f20084831519bcf 17-Nov-2011 Alex Sakhartchouk <alexst@google.com> Merge "Fixing FBO font rendering bug that resulted from using old surface size."
a74a8f635ce4fae0a9d4b9c79e9fa412787bf6a2 16-Nov-2011 Alex Sakhartchouk <alexst@google.com> Fixing FBO font rendering bug that resulted from using old surface size.

Change-Id: I31d0967bb36ca6ffb6a4c8194597d3c523cfe954
/frameworks/rs/rsFont.cpp
2d1220c27ae91f0b307f283fe66cb767b63dfe38 16-Nov-2011 Alex Sakhartchouk <alexst@google.com> Expand RS vector3 types to vector4.

BUG=5609007

The underlying LLVM implementation for vector3 types does this implicitly. If
RS does not adjust its implementation, we will always be misaligned for any
subsequent data after a vector3 type. We previously inserted padding into the
reflected layers from llvm-rs-cc (hence the skip padding part of this change).
We can safely ignore the padding now that the Java/native code is updated to
use the expanded size. The compiler will also need modification to ensure that
we don't mistakenly skip over any end-of-struct padding.

Fixing the 3 component vector padding problem.

Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
/frameworks/rs/rsFont.cpp
438e18a2bce10790b8d3c45e37a50adc7bf5f110 17-Aug-2011 Alex Sakhartchouk <alexst@google.com> Merge "Fixing asynchronous performance issues."
c700e649ca44d0dcff8b271e42d949ea72fe3c63 16-Aug-2011 Alex Sakhartchouk <alexst@google.com> Fixing asynchronous performance issues.

Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
/frameworks/rs/rsFont.cpp
1f5f9a30d71973f0c54e0142ed80740b71c720e3 10-Aug-2011 Christian Robertson <robertsonc@google.com> Replacing sans serif system font with Roboto

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

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

Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
/frameworks/rs/rsFont.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/rsFont.cpp
70b83c111beceaf8fbb700580833e7fec99272cf 06-Apr-2011 Alex Sakhartchouk <alexst@google.com> Modifying libRS internal communication to handle network rendering.

Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
/frameworks/rs/rsFont.cpp
00237f18a9d31afdca5cca8d621397fbf5b16076 06-Apr-2011 Jason Sams <rjsams@android.com> Cleanup character limits.

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

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

Change-Id: I0eae9c0699845af8e8611b065e70738cc9f2b15c
/frameworks/rs/rsFont.cpp
7d9c5ffccb7a5e682860f752403e5a03aed587be 01-Apr-2011 Alex Sakhartchouk <alexst@google.com> First draft of fbo in renderscript.
Updating samples and benchmark

Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
/frameworks/rs/rsFont.cpp
7b3e9bd825901e33661e3c385e3e7c6f40ca6000 17-Mar-2011 Alex Sakhartchouk <alexst@google.com> Fix for bug 3434228

Change-Id: I57973faf782b487e7913a096f0ab6012dc1c9415
/frameworks/rs/rsFont.cpp
02000b3cdcb2ac369bd06313932b26d4b8e023a9 25-Feb-2011 Alex Sakhartchouk <alexst@google.com> Moving dependency includes out of librs headers.

When we want to use it on the host, we shouldn't need to go hunting for every external dependency

Change-Id: I885262acdcdf5ede4a9392235f35d5e2f7038e8b
/frameworks/rs/rsFont.cpp
77d9f4bd05b2d2a161f30c12a2248f9c97eaac42 31-Jan-2011 Alex Sakhartchouk <alexst@google.com> Cleaning up the serialization change.
Renaming the define to be more in line with what it does and removing the host stub header file.

Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
/frameworks/rs/rsFont.cpp
2e8665de7c0eb4514c67baf8693d61c892e5303d 27-Jan-2011 Jason Sams <rjsams@android.com> Correctly free resouces bound to scripts when the scripts are deleted.

Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070
b: 3381615
/frameworks/rs/rsFont.cpp
5224a27798f89093b13722b41143551a057ce550 07-Jan-2011 Alex Sakhartchouk <alexst@google.com> Additional loading methods for fonts and a3d files.
Cleaned up error messages.

Change-Id: Id33b7149671df23c37cc11375d844a7837dac750

Change-Id: I6663ce54f7b9bbaf285935ca658d93ba417f8179
/frameworks/rs/rsFont.cpp
4b45b8998e0d7038efaea80c70d23c086640b4e3 29-Dec-2010 Jason Sams <rjsams@android.com> Move adapter2D to a derived class from Allocation.

Change-Id: I7e9d8b0028ba95956476f253da38dbe64564d0da
/frameworks/rs/rsFont.cpp
c17ace2391783dcabc6c1482edf0362654fd83e5 17-Dec-2010 Alex Sakhartchouk <alexst@google.com> API reaview cleanup

Change-Id: Ib1aaf81130ffa6b5e6c60096c27c969e8891db3f
/frameworks/rs/rsFont.cpp
b7e83bda41e66c966b98935b44140692bfe0c4ca 15-Dec-2010 Jason Sams <rjsams@android.com> Fix mipmap bug introduced with Allocation cleanup.
Add syncAll to rsg headers.

Change-Id: I02c953f3fddab3c6f4e98570cdad45a59711bbde
/frameworks/rs/rsFont.cpp
b89b0b7dd8199967502c92fe5c8f57c3bc255e1c 14-Dec-2010 Jason Sams <rjsams@android.com> Add support for non-malloc backed textures.

Change-Id: Iee8e987591caa17b4c8186f8173089925140a568
/frameworks/rs/rsFont.cpp
366c9c85196675437a8dd74c1cf6b63ddbde3d6a 09-Dec-2010 Jason Sams <rjsams@android.com> Allocation API update.

Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
/frameworks/rs/rsFont.cpp
84e4027f83b20af59f5b1fc52be6e45f159d3970 19-Nov-2010 Alex Sakhartchouk <alexst@google.com> Support for cubemaps.

Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
/frameworks/rs/rsFont.cpp
60709257bbdeb0c50f39b9c8969dc76264d6e142 18-Nov-2010 Jason Sams <rjsams@android.com> Create holder inner class for pushing context state.
Fix bug with rsForEach corrupting parent context state.
Remove workaround from rsBalls.

Change-Id: I43a948536e70d44645d1c2ef7b97e1c5906f6943
/frameworks/rs/rsFont.cpp
c9c38dd8508a2f805213abee1f9f44f103ac0a0d 09-Nov-2010 Kenny Root <kroot@google.com> Split UTF functions from String8/16

Split out all the UTF-8/16/32 handling code from String8/16 to its own
file to allow better reuse of code.

Change-Id: If9ce63920edc75472c38da4adce0d13cda9ad2f7
/frameworks/rs/rsFont.cpp
afb743aca56c18beb7ab924e75cb6e070ef3e55a 10-Nov-2010 Alex Sakhartchouk <alexst@google.com> Code cleanup to make formatting consistent
across all the renderscript files.

Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
/frameworks/rs/rsFont.cpp
54929cce0bf44090424b1f91b676529a2422378f 09-Nov-2010 Alex Sakhartchouk <alexst@google.com> Moving attrib creation to Mesh. Adding arrays as shader inputs.
Removing fixed size arrays.

Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
/frameworks/rs/rsFont.cpp
f0c1df480304a72ce41e7d4b088319cbd7f0938a 26-Oct-2010 Jason Sams <rjsams@android.com> Begin adding async allocation creation.

Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8

Implement async bitmap upload and clean up types.

Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
/frameworks/rs/rsFont.cpp
225afd317e101a7be5fe02c0a86361146ea89f05 21-Oct-2010 Jason Sams <rjsams@android.com> Fix refcounting bugs where the sys refcount
could be corrupted during async type creation.

Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2

Fix stack object deletion bug.

Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
/frameworks/rs/rsFont.cpp
64cd98e83d33011950b88f229d013e06c62b36e9 19-Oct-2010 Alex Sakhartchouk <alexst@google.com> Some cleanup

Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
/frameworks/rs/rsFont.cpp
4f230b31d59b5f17100686bc1416b3b07a4a618d 12-Oct-2010 Alex Sakhartchouk <alexst@google.com> Fixing font bug, initialization was done in the wrong order.

Change-Id: Icc7b932f25be1ca6e5423bba6a5cfc965f6c3341
/frameworks/rs/rsFont.cpp
7ffcaf20cbb115326f3d72a983835d6c314a4cef 06-Oct-2010 Alex Sakhartchouk <alexst@google.com> changing vec4 to vec2 for perf reasons.

Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
/frameworks/rs/rsFont.cpp
c8fb69e4a3e01501a3d38a6d3ea185e583d3f493 05-Oct-2010 Alex Sakhartchouk <alexst@google.com> Adding average fps counter.
Removing rsLight from libRS

Change-Id: I8622efd10619dc120d37f3a12122e9c7fc34ff2e
/frameworks/rs/rsFont.cpp
09c67356bbeee0a97a20a06c95b66756838cb541 05-Oct-2010 Alex Sakhartchouk <alexst@google.com> Adding text metrics to renderscript.

Change-Id: Ica460525243d714a278e4ad5e436af43e1008e0c
/frameworks/rs/rsFont.cpp
c9fa30536fb41f0166153561388b7c42f7cb85a0 02-Oct-2010 Alex Sakhartchouk <alexst@google.com> Fix for bug 3053078
Font gamma correction to match with lib HWUI.

Change-Id: I329a2f97058f4929b96724c9df39fbfad4243b33
/frameworks/rs/rsFont.cpp
01b7d2995f9cbd33a9ccdf861fe959743a4b9954 29-Sep-2010 Stephen Hines <srhines@google.com> Fix clear() operation for rsScriptC.

- This removes a memory leak where some elements were not getting tracked
properly (and then triggering an assert when a context is destroyed).
- Convert ScriptCState to use a tracked object reference for mScript.
- Add a missing clear to FontState.
- Clean up synchronization in RSTest so that our graphics context outlives
any subtest context.

Change-Id: I0d5768c4d2f8810dd1ae2f68b1edd7e150f382fd
/frameworks/rs/rsFont.cpp
886f11ade9dde05485cb11c0d67d87f76a428f6c 29-Sep-2010 Alex Sakhartchouk <alexst@google.com> More robust attribute binding
Adding attribute and uniform debug logging.
Checking to see if aniso filtering is available.

Change-Id: I2ed9d166ed7ff3df971d7af18b7a33f4e3ade928
/frameworks/rs/rsFont.cpp
383e5b1f68c321a77bfd7466fa1171a9bfab4a6f 24-Sep-2010 Alex Sakhartchouk <alexst@google.com> Adding support for all allowed textures.
Cleaning up unused code
Adding error messages

Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
/frameworks/rs/rsFont.cpp
e7ae69f4a70f1813cf8086ebd9714192c635300a 14-Sep-2010 Alex Sakhartchouk <alexst@google.com> Shader changes to allow for more flexible constant binding.

Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
/frameworks/rs/rsFont.cpp
46e45548dc80e801139c9ccc2f2aa927e7f35027 03-Sep-2010 Jason Sams <rjsams@android.com> Add arrays to elements.

Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
/frameworks/rs/rsFont.cpp
35b96445f8bb4536e29ace64417710ed90527a56 19-Aug-2010 Alex Sakhartchouk <alexst@google.com> Renderscript samples. Merged two model related projects. Cleanup.

Change-Id: I6fdc70420eee7dfecf0b051fd687e5797c6580ce
/frameworks/rs/rsFont.cpp
01bcef6115dc6230b16d9d8e120e35279f46cfd5 17-Aug-2010 Alex Sakhartchouk <alexst@google.com> Propagating some useful font changes.

Change-Id: Ia3b31a0fa0c59c5edbd3edaca164ca85e090e708
/frameworks/rs/rsFont.cpp
ca5a454e022caec6c6d3cbb404cc09ea095ba97a 05-Aug-2010 Alex Sakhartchouk <alexst@google.com> Fixing fonts to use constant color instead of variable.

Change-Id: Ia590dfed482f82b7bc748c25b7b1592efea5b68c
/frameworks/rs/rsFont.cpp
6445e5210c6d7f8689e94be9026153d017c9545b 05-Aug-2010 Jason Sams <rjsams@android.com> Support constant and varying colors in ProgramFragment.

Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
/frameworks/rs/rsFont.cpp
9fc9f0375a92fe22fecb3782b18a5c6060a07290 04-Aug-2010 Alex Sakhartchouk <alexst@google.com> Added ability to set font color.
Propagating the name of meshes and allocations from native a3d to java

Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
/frameworks/rs/rsFont.cpp
d18c744a37441311c9b65254a35db456835adad3 13-Jul-2010 Alex Sakhartchouk <alexst@google.com> Work on synchronizing a3d created files and java layer.
Adding culling to ProgramRaster

Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
/frameworks/rs/rsFont.cpp
3659d94d345c333bf98070dbe7b6daee233225a9 01-Jul-2010 Alex Sakhartchouk <alexst@google.com> Fixing freetype init/uninit code.
Removing debug output from stream.

Change-Id: I401232e77cc011953e5ccc59069b22ec59958214
/frameworks/rs/rsFont.cpp
a1ccecd965c07c2739f1258989526051a010bdab 30-Jun-2010 Alex Sakhartchouk <alexst@google.com> Removing font initialization on startup

Change-Id: I6f28204c3d431955fbf0f2f74dde09012bba0a4d
/frameworks/rs/rsFont.cpp
d3e0ad43dc758c409fc23d1893dab67b18520c24 25-Jun-2010 Alex Sakhartchouk <alexst@google.com> Adding freetype font rendering to renderscript.

Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
/frameworks/rs/rsFont.cpp