summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsProgram.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Moving samplers behind the hal.Alex Sakhartchouk2011-05-051-5/+1
| | | | Change-Id: I494e5a9d2b599d07b985328b346f1f10ae4972e1
* Code Cleanup and better Sampler creation methodAlex Sakhartchouk2011-05-041-6/+0
| | | | Change-Id: I9e35081ee6034cb619f43a47f8f22f38977f5d12
* Moving renderscript GL code into the HALAlex Sakhartchouk2011-04-291-370/+50
| | | | | | | | | | This change affects - shaders - meshes - fonts - quad rendering Change-Id: I2a53acb4cd1fa8f4c6e67668f6ee969f3d7f7aa1
* Cleaning up the serialization change.Alex Sakhartchouk2011-01-311-6/+2
| | | | | | Renaming the define to be more in line with what it does and removing the host stub header file. Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
* Support for cubemaps.Alex Sakhartchouk2010-11-181-2/+15
| | | | Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-78/+50
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Moving attrib creation to Mesh. Adding arrays as shader inputs.Alex Sakhartchouk2010-11-081-90/+165
| | | | | | Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
* Fix refcounting bugs where the sys refcountJason Sams2010-10-211-4/+0
| | | | | | | | | | could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
* fixing bugs 3053960, 3044804, 3044798Alex Sakhartchouk2010-10-011-0/+8
| | | | | | shader cleanup and removing unnecessary state setup. Change-Id: Ibddf2ad3a26bb983fc43bdeb58b1cec6224920b4
* More robust attribute bindingAlex Sakhartchouk2010-09-291-8/+33
| | | | | | | 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-13/+41
| | | | | | | Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
* Shader changes to allow for more flexible constant binding.Alex Sakhartchouk2010-09-141-2/+14
| | | | Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
* Fixing uniform binding for fragment shader.Alex Sakhartchouk2010-08-311-0/+122
| | | | | | Updating the glsl fragment shader to color the lights. Change-Id: I6f850d1aa22059a2974e379f652f7e99d6a799fb
* Removed unnecessary change based on comments.Alex Sakhartchouk2010-05-211-2/+8
| | | | | | | | | | | | | | | | | Now using android utils lib. collada_to_a3d seems to work with android util libs. Integrating old changelist Changing assert to rsAssrt in VertexArray making context compile. Change-Id: I33890defa777f09253bfab630d97782359ec49d7 Added serialization code to rsLib Integrated old changelist Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311 Added serialization code to rsLib Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311
* Get rid of warnings when compiled with -Wformat-securityNick Kralevich2010-05-131-1/+1
| | | | Change-Id: I63c3bf786bbe7a0276624e71a4ba80c4a9aaa4bb
* Improve RS error handling. On errors RS will now store the error and a ↵Jason Sams2010-03-031-0/+3
| | | | message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received.
* Remove excessive logging, fix error in GLSL uniform generation.Jason Sams2010-01-131-1/+0
|
* Implement type generation for user uniforms in vertex shader.Jason Sams2010-01-121-7/+10
|
* Add RS support for generic attribs as input to vertex programs.Jason Sams2010-01-041-0/+36
|
* Move texture bindings to base program object. Change ProgramFragment ↵Jason Sams2009-12-171-0/+35
| | | | creation to require a texture format in 1.0 mode.
* Place shader logging behind prop to declutter logs.Jason Sams2009-12-151-4/+9
|
* Continue es2 shader devJason Sams2009-12-151-0/+4
| | | | | | | Conflicts: graphics/java/android/renderscript/Program.java graphics/java/android/renderscript/ProgramVertex.java
* Continue development of es2.0 user shader support for renderscript. This ↵Jason Sams2009-12-151-3/+78
| | | | change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
* Beging GL2 user shaders. Switch master to using GL2 by default.Jason Sams2009-11-301-1/+7
|
* Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 ↵Jason Sams2009-11-251-0/+44
| | | | can be enabled and will render most tests correctly.
* Fix dirty state tracking of allocation attached to ProgramVertex objects ↵Jason Sams2009-10-261-6/+10
| | | | when being updated while not attached.
* Improved object lifecycle tracking and fix leaks.Jason Sams2009-09-251-2/+3
|
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-1/+1
| | | | force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
* Add support for selecting the color bit depth and if the application used a ↵Jason Sams2009-08-251-6/+0
| | | | depth buffer.
* Remove useless slot from ProgramVertex. Optimize GL state setup.Jason Sams2009-08-051-1/+8
|
* Add the Renderscript library. (Not in the build by default yet.)Jason Sams2009-05-221-0/+48
This library can be used to create animated 3D User Interfaces. This library is currently under heavy development, so it's not part of the build by default. In order to build this library, you must define BUILD_RENDERSCRIPT=true in your build environment. You will also have to manually edit build/core/prelink-linux-arm.map And add libRS and libRS_jni at the end like this (exact address may change.) libRS.so 0x9A100000 libRS_jni.so 0x9A000000