summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsFont.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-14/+14
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Merge "Fixing FBO font rendering bug that resulted from using old surface size."Alex Sakhartchouk2011-11-171-5/+5
|\
| * Fixing FBO font rendering bug that resulted from using old surface size.Alex Sakhartchouk2011-11-161-5/+5
| | | | | | | | Change-Id: I31d0967bb36ca6ffb6a4c8194597d3c523cfe954
* | Expand RS vector3 types to vector4.Alex Sakhartchouk2011-11-151-1/+5
|/ | | | | | | | | | | | | | | | 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
* Merge "Fixing asynchronous performance issues."Alex Sakhartchouk2011-08-171-36/+34
|\
| * Fixing asynchronous performance issues.Alex Sakhartchouk2011-08-161-36/+34
| | | | | | | | Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
* | Replacing sans serif system font with RobotoChristian Robertson2011-08-111-1/+1
|/ | | | Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
* More work to make libRS buildable on the host.Alex Sakhartchouk2011-06-031-4/+21
| | | | Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
* Start splitting allocation into hal and core.Jason Sams2011-05-261-6/+11
| | | | Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
* Moving renderscript GL code into the HALAlex Sakhartchouk2011-04-291-22/+7
| | | | | | | | | | This change affects - shaders - meshes - fonts - quad rendering Change-Id: I2a53acb4cd1fa8f4c6e67668f6ee969f3d7f7aa1
* Modifying libRS internal communication to handle network rendering.Alex Sakhartchouk2011-04-251-3/+8
| | | | Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
* Cleanup character limits.Jason Sams2011-04-061-1/+2
| | | | Change-Id: Icb127248d6e3a0b662ed3b13c9a6646f4f81129a
* Seperate ProgramRaster.Jason Sams2011-04-061-5/+4
| | | | | | Cleanup ProgramRaster and ProgramStore creation. Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
* Seperate GL from RS program store.Jason Sams2011-04-041-0/+1
| | | | Change-Id: I0eae9c0699845af8e8611b065e70738cc9f2b15c
* First draft of fbo in renderscript.Alex Sakhartchouk2011-04-011-1/+1
| | | | | | Updating samples and benchmark Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
* Fix for bug 3434228Alex Sakhartchouk2011-03-161-1/+1
| | | | Change-Id: I57973faf782b487e7913a096f0ab6012dc1c9415
* Moving dependency includes out of librs headers.Alex Sakhartchouk2011-02-251-2/+22
| | | | | | When we want to use it on the host, we shouldn't need to go hunting for every external dependency Change-Id: I885262acdcdf5ede4a9392235f35d5e2f7038e8b
* Cleaning up the serialization change.Alex Sakhartchouk2011-01-311-4/+0
| | | | | | Renaming the define to be more in line with what it does and removing the host stub header file. Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
* Correctly free resouces bound to scripts when the scripts are deleted.Jason Sams2011-01-271-12/+9
| | | | | Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070 b: 3381615
* Additional loading methods for fonts and a3d files.Alex Sakhartchouk2011-01-071-8/+26
| | | | | | | | Cleaned up error messages. Change-Id: Id33b7149671df23c37cc11375d844a7837dac750 Change-Id: I6663ce54f7b9bbaf285935ca658d93ba417f8179
* Move adapter2D to a derived class from Allocation.Jason Sams2010-12-291-1/+1
| | | | Change-Id: I7e9d8b0028ba95956476f253da38dbe64564d0da
* API reaview cleanupAlex Sakhartchouk2010-12-171-24/+12
| | | | Change-Id: Ib1aaf81130ffa6b5e6c60096c27c969e8891db3f
* Fix mipmap bug introduced with Allocation cleanup.Jason Sams2010-12-151-2/+2
| | | | | | Add syncAll to rsg headers. Change-Id: I02c953f3fddab3c6f4e98570cdad45a59711bbde
* Add support for non-malloc backed textures.Jason Sams2010-12-131-2/+2
| | | | Change-Id: Iee8e987591caa17b4c8186f8173089925140a568
* Allocation API update.Jason Sams2010-12-081-4/+5
| | | | Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
* Support for cubemaps.Alex Sakhartchouk2010-11-181-2/+2
| | | | Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
* Create holder inner class for pushing context state.Jason Sams2010-11-171-21/+5
| | | | | | | Fix bug with rsForEach corrupting parent context state. Remove workaround from rsBalls. Change-Id: I43a948536e70d44645d1c2ef7b97e1c5906f6943
* Split UTF functions from String8/16Kenny Root2010-11-121-1/+1
| | | | | | | 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
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-105/+80
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Moving attrib creation to Mesh. Adding arrays as shader inputs.Alex Sakhartchouk2010-11-081-3/+4
| | | | | | Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
* Begin adding async allocation creation.Jason Sams2010-10-261-17/+6
| | | | | | | | Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8 Implement async bitmap upload and clean up types. Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
* Fix refcounting bugs where the sys refcountJason Sams2010-10-211-3/+1
| | | | | | | | | | could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
* Some cleanupAlex Sakhartchouk2010-10-181-16/+4
| | | | Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
* Fixing font bug, initialization was done in the wrong order.Alex Sakhartchouk2010-10-121-1/+3
| | | | Change-Id: Icc7b932f25be1ca6e5423bba6a5cfc965f6c3341
* changing vec4 to vec2 for perf reasons.Alex Sakhartchouk2010-10-061-1/+1
| | | | Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
* Adding average fps counter.Alex Sakhartchouk2010-10-051-1/+1
| | | | | | Removing rsLight from libRS Change-Id: I8622efd10619dc120d37f3a12122e9c7fc34ff2e
* Adding text metrics to renderscript.Alex Sakhartchouk2010-10-051-52/+104
| | | | Change-Id: Ica460525243d714a278e4ad5e436af43e1008e0c
* Fix for bug 3053078Alex Sakhartchouk2010-10-011-12/+62
| | | | | | Font gamma correction to match with lib HWUI. Change-Id: I329a2f97058f4929b96724c9df39fbfad4243b33
* Fix clear() operation for rsScriptC.Stephen Hines2010-09-291-0/+2
| | | | | | | | | | | - 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
* More robust attribute bindingAlex Sakhartchouk2010-09-291-2/+2
| | | | | | | Adding attribute and uniform debug logging. Checking to see if aniso filtering is available. Change-Id: I2ed9d166ed7ff3df971d7af18b7a33f4e3ade928
* Adding support for all allowed textures.Alex Sakhartchouk2010-09-231-3/+3
| | | | | | | Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
* Shader changes to allow for more flexible constant binding.Alex Sakhartchouk2010-09-141-8/+28
| | | | Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
* Add arrays to elements.Jason Sams2010-09-071-1/+2
| | | | Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
* Renderscript samples. Merged two model related projects. Cleanup.Alex Sakhartchouk2010-08-181-7/+8
| | | | Change-Id: I6fdc70420eee7dfecf0b051fd687e5797c6580ce
* Propagating some useful font changes.Alex Sakhartchouk2010-08-171-11/+47
| | | | Change-Id: Ia3b31a0fa0c59c5edbd3edaca164ca85e090e708
* Fixing fonts to use constant color instead of variable.Alex Sakhartchouk2010-08-051-1/+13
| | | | Change-Id: Ia590dfed482f82b7bc748c25b7b1592efea5b68c
* Support constant and varying colors in ProgramFragment.Jason Sams2010-08-051-3/+3
| | | | Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
* Added ability to set font color.Alex Sakhartchouk2010-08-041-0/+9
| | | | | | Propagating the name of meshes and allocations from native a3d to java Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
* Work on synchronizing a3d created files and java layer.Alex Sakhartchouk2010-07-121-0/+5
| | | | | | Adding culling to ProgramRaster Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
* Fixing freetype init/uninit code.Alex Sakhartchouk2010-06-301-15/+14
| | | | | | Removing debug output from stream. Change-Id: I401232e77cc011953e5ccc59069b22ec59958214