summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgramFragment.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-16Fixing asynchronous performance issues.Alex Sakhartchouk
Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
2011-06-03More work to make libRS buildable on the host.Alex Sakhartchouk
Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
2011-05-26Start splitting allocation into hal and core.Jason Sams
Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
2011-05-06rsLib cleanupAlex Sakhartchouk
Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
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-12-08Allocation API update.Jason Sams
Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
2010-11-22More error checksJason Sams
Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
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-26Begin adding async allocation creation.Jason Sams
Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8 Implement async bitmap upload and clean up types. Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
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-06changing vec4 to vec2 for perf reasons.Alex Sakhartchouk
Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
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-22Remove excessive logging.Jason Sams
Change-Id: If8e30fcb93d7cbf639c3a6c280c23f4553f11e5b
2010-09-16Cleanup GL setup code and remove legacy 1.1 paths.Jason Sams
Reset pointers to NULL when allocations are unbound. Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
2010-09-14Shader changes to allow for more flexible constant binding.Alex Sakhartchouk
Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
2010-09-02Fixing fragment shader bounding codeAlex Sakhartchouk
Change-Id: I743dae12bb3f226f758a065d9b353eff36e2f964
2010-08-31Fixing uniform binding for fragment shader.Alex Sakhartchouk
Updating the glsl fragment shader to color the lights. Change-Id: I6f850d1aa22059a2974e379f652f7e99d6a799fb
2010-08-05Use lowp colors in fixed funtion emulation.Jason Sams
Change-Id: Ie525ee6e52652ba83efe4d9f1627410d846824ee
2010-08-05Support constant and varying colors in ProgramFragment.Jason Sams
Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
2010-06-22Re-enable optimization for detecting nop state changes in fragmentJason Sams
and vertex programs. Change-Id: Ic5b9ecf564d121d7a00a1eed92afb4c4783ce8bc
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-17Remove excess logging.Jason Sams
Change-Id: Ib4af6428c5fd87c3891f41eca6ca43d84f0edc97
2010-05-14Change RS to use the passed surface size rather than EGL size.Jason Sams
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
2010-05-11Convert renderscript from using ACC to LLVM for its compiler.Jason Sams
This will also require application to be updated to support the new compiler and data passing models. Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
2010-02-22beging np2 extension check work.Jason Sams
2010-01-27Fix some minor bugs with GL state setup that were exposed by Droids driver.Jason Sams
2010-01-06More complete support for named attribs. Adds user typed attribs as ↵Jason Sams
available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
2009-12-23Element restructuring. Add support for new basic Element types including ↵Jason Sams
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.
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-12-14Implement RS tracked defered texture and buffer object uploads.Jason Sams
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-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-09-04Fix point sprites.Romain Guy
Change-Id: Ic9438daaf25f3969a0dd5b634b7cceccbbbfb27b
2009-08-27Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh ↵Jason Sams
which replaces TriangleMesh. Update Film to use new builder.
2009-08-25Add support for selecting the color bit depth and if the application used a ↵Jason Sams
depth buffer.