summaryrefslogtreecommitdiffstats
path: root/rsProgramFragment.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove internal element builder and vector code.Jason Sams2013-07-091-4/+5
| | | | | | Remove additional String8 references from shared includes. Change-Id: Iede11384b9fc5a303d15d47fd4074c800dc6ad5f
* Remove unnecessary string operations.Jason Sams2013-07-081-8/+9
| | | | Change-Id: I9e59c54e0ac200b5cf8bd35b3746112d0444a8d5
* Add support for YUV allocations.Jason Sams2013-01-091-1/+1
| | | | Change-Id: I21a47c745a2f8435af4f37ec0ad624002f3db555
* Move memory layout to driver.Jason Sams2012-07-251-1/+3
| | | | | | | | This change moves all allocation data copies to the hal. Also removes stride from the runtime. Follow on changes will remove the malloc pointer from the runtime. Change-Id: I30967c739800cd4b97186e9fc8b69f26a3f2787d
* Plumb context through for serialization.Jason Sams2012-07-241-1/+1
| | | | Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
* Piping texture names through shader builder.Alex Sakhartchouk2012-02-151-9/+16
| | | | | | Fixing uint size_t mismatch. Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-4/+4
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Remove ObjBaseRef from the hal structAlex Sakhartchouk2011-10-181-2/+2
| | | | Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
* Fixing asynchronous performance issues.Alex Sakhartchouk2011-08-161-7/+7
| | | | Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
* More work to make libRS buildable on the host.Alex Sakhartchouk2011-06-031-2/+2
| | | | Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
* Start splitting allocation into hal and core.Jason Sams2011-05-261-2/+2
| | | | Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
* rsLib cleanupAlex Sakhartchouk2011-05-061-3/+1
| | | | Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
* Code Cleanup and better Sampler creation methodAlex Sakhartchouk2011-05-041-1/+0
| | | | Change-Id: I9e35081ee6034cb619f43a47f8f22f38977f5d12
* Moving renderscript GL code into the HALAlex Sakhartchouk2011-04-291-97/+9
| | | | | | | | | | 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
* Allocation API update.Jason Sams2010-12-081-1/+1
| | | | Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
* More error checksJason Sams2010-11-221-3/+3
| | | | Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
* Support for cubemaps.Alex Sakhartchouk2010-11-181-10/+17
| | | | Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-33/+19
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Moving attrib creation to Mesh. Adding arrays as shader inputs.Alex Sakhartchouk2010-11-081-4/+6
| | | | | | Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
* Begin adding async allocation creation.Jason Sams2010-10-261-4/+1
| | | | | | | | Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8 Implement async bitmap upload and clean up types. Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
* Fix refcounting bugs where the sys refcountJason Sams2010-10-211-5/+2
| | | | | | | | | | could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
* changing vec4 to vec2 for perf reasons.Alex Sakhartchouk2010-10-061-1/+1
| | | | Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
* fixing bugs 3053960, 3044804, 3044798Alex Sakhartchouk2010-10-011-0/+3
| | | | | | shader cleanup and removing unnecessary state setup. Change-Id: Ibddf2ad3a26bb983fc43bdeb58b1cec6224920b4
* More robust attribute bindingAlex Sakhartchouk2010-09-291-1/+1
| | | | | | | 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-59/+33
| | | | | | | Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
* Remove excessive logging.Jason Sams2010-09-221-2/+0
| | | | Change-Id: If8e30fcb93d7cbf639c3a6c280c23f4553f11e5b
* Cleanup GL setup code and remove legacy 1.1 paths.Jason Sams2010-09-161-8/+3
| | | | | | Reset pointers to NULL when allocations are unbound. Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
* Shader changes to allow for more flexible constant binding.Alex Sakhartchouk2010-09-141-111/+40
| | | | Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
* Fixing fragment shader bounding codeAlex Sakhartchouk2010-09-021-15/+11
| | | | Change-Id: I743dae12bb3f226f758a065d9b353eff36e2f964
* Fixing uniform binding for fragment shader.Alex Sakhartchouk2010-08-311-5/+14
| | | | | | Updating the glsl fragment shader to color the lights. Change-Id: I6f850d1aa22059a2974e379f652f7e99d6a799fb
* Use lowp colors in fixed funtion emulation.Jason Sams2010-08-051-3/+3
| | | | Change-Id: Ie525ee6e52652ba83efe4d9f1627410d846824ee
* Support constant and varying colors in ProgramFragment.Jason Sams2010-08-051-83/+59
| | | | Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
* Re-enable optimization for detecting nop state changes in fragmentJason Sams2010-06-221-3/+3
| | | | | | and vertex programs. Change-Id: Ic5b9ecf564d121d7a00a1eed92afb4c4783ce8bc
* Removed unnecessary change based on comments.Alex Sakhartchouk2010-05-211-2/+21
| | | | | | | | | | | | | | | | | 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
* Remove excess logging.Jason Sams2010-05-171-2/+2
| | | | Change-Id: Ib4af6428c5fd87c3891f41eca6ca43d84f0edc97
* Change RS to use the passed surface size rather than EGL size.Jason Sams2010-05-141-1/+1
| | | | | | | | | | | | Its possible that during a resize the EGL information could be stale so caching this is bad. The surface size should always be correct. Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685 Conflicts: libs/rs/rsProgramStore.cpp libs/rs/rsProgramStore.h
* Convert renderscript from using ACC to LLVM for its compiler.Jason Sams2010-05-111-0/+2
| | | | | | | This will also require application to be updated to support the new compiler and data passing models. Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
* beging np2 extension check work.Jason Sams2010-02-221-2/+2
|
* Fix some minor bugs with GL state setup that were exposed by Droids driver.Jason Sams2010-01-271-4/+7
|
* More complete support for named attribs. Adds user typed attribs as ↵Jason Sams2010-01-061-2/+2
| | | | available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
* Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-231-5/+31
| | | | | | the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures. This will break some apps, checkings for other projects will follow to unbreak them.
* Move texture bindings to base program object. Change ProgramFragment ↵Jason Sams2009-12-171-115/+33
| | | | creation to require a texture format in 1.0 mode.
* Place shader logging behind prop to declutter logs.Jason Sams2009-12-151-2/+2
|
* Continue es2 shader devJason Sams2009-12-151-41/+72
| | | | | | | 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-2/+1
| | | | change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
* Implement RS tracked defered texture and buffer object uploads.Jason Sams2009-12-141-0/+2
|
* Beging GL2 user shaders. Switch master to using GL2 by default.Jason Sams2009-11-301-3/+16
|
* Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 ↵Jason Sams2009-11-251-0/+102
| | | | can be enabled and will render most tests correctly.
* Improved object lifecycle tracking and fix leaks.Jason Sams2009-09-251-0/+8
|