summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgram.cpp
AgeCommit message (Collapse)Author
2012-03-28Moving libRSAlex Sakhartchouk
Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
2012-02-15Piping texture names through shader builder.Alex Sakhartchouk
Fixing uint size_t mismatch. Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb
2012-01-08Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
2011-10-18Remove ObjBaseRef from the hal structAlex Sakhartchouk
Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
2011-08-18Fix issue with freeing allocation with circular references.Jason Sams
Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
2011-08-16Fixing asynchronous performance issues.Alex Sakhartchouk
Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
2011-05-05Moving samplers behind the hal.Alex Sakhartchouk
Change-Id: I494e5a9d2b599d07b985328b346f1f10ae4972e1
2011-05-04Code Cleanup and better Sampler creation methodAlex Sakhartchouk
Change-Id: I9e35081ee6034cb619f43a47f8f22f38977f5d12
2011-04-29Moving renderscript GL code into the HALAlex Sakhartchouk
This change affects - shaders - meshes - fonts - quad rendering Change-Id: I2a53acb4cd1fa8f4c6e67668f6ee969f3d7f7aa1
2011-01-31Cleaning up the serialization change.Alex Sakhartchouk
Renaming the define to be more in line with what it does and removing the host stub header file. Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
2010-11-18Support for cubemaps.Alex Sakhartchouk
Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
2010-11-10Code cleanup to make formatting consistentAlex Sakhartchouk
across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
2010-11-08Moving attrib creation to Mesh. Adding arrays as shader inputs.Alex Sakhartchouk
Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
2010-10-21Fix refcounting bugs where the sys refcountJason Sams
could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
2010-10-01fixing bugs 3053960, 3044804, 3044798Alex Sakhartchouk
shader cleanup and removing unnecessary state setup. Change-Id: Ibddf2ad3a26bb983fc43bdeb58b1cec6224920b4
2010-09-29More robust attribute bindingAlex Sakhartchouk
Adding attribute and uniform debug logging. Checking to see if aniso filtering is available. Change-Id: I2ed9d166ed7ff3df971d7af18b7a33f4e3ade928
2010-09-23Adding support for all allowed textures.Alex Sakhartchouk
Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
2010-09-14Shader changes to allow for more flexible constant binding.Alex Sakhartchouk
Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
2010-08-31Fixing uniform binding for fragment shader.Alex Sakhartchouk
Updating the glsl fragment shader to color the lights. Change-Id: I6f850d1aa22059a2974e379f652f7e99d6a799fb
2010-05-21Removed unnecessary change based on comments.Alex Sakhartchouk
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
2010-05-13Get rid of warnings when compiled with -Wformat-securityNick Kralevich
Change-Id: I63c3bf786bbe7a0276624e71a4ba80c4a9aaa4bb
2010-03-03Improve RS error handling. On errors RS will now store the error and a ↵Jason Sams
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.
2010-01-13Remove excessive logging, fix error in GLSL uniform generation.Jason Sams
2010-01-12Implement type generation for user uniforms in vertex shader.Jason Sams
2010-01-04Add RS support for generic attribs as input to vertex programs.Jason Sams
2009-12-17Move texture bindings to base program object. Change ProgramFragment ↵Jason Sams
creation to require a texture format in 1.0 mode.
2009-12-15Place shader logging behind prop to declutter logs.Jason Sams
2009-12-15Continue es2 shader devJason Sams
Conflicts: graphics/java/android/renderscript/Program.java graphics/java/android/renderscript/ProgramVertex.java
2009-12-15Continue development of es2.0 user shader support for renderscript. This ↵Jason Sams
change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
2009-11-30Beging GL2 user shaders. Switch master to using GL2 by default.Jason Sams
2009-11-25Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 ↵Jason Sams
can be enabled and will render most tests correctly.
2009-10-26Fix dirty state tracking of allocation attached to ProgramVertex objects ↵Jason Sams
when being updated while not attached.
2009-09-25Improved object lifecycle tracking and fix leaks.Jason Sams
2009-09-25Improve renderscript context teardown. Track object in the system and then ↵Jason Sams
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.
2009-08-25Add support for selecting the color bit depth and if the application used a ↵Jason Sams
depth buffer.
2009-08-05Remove useless slot from ProgramVertex. Optimize GL state setup.Jason Sams
2009-05-22Add the Renderscript library. (Not in the build by default yet.)Jason Sams
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