Home
last modified time | relevance | path

Searched refs:pfbCustom (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DFillTest.java110 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders() local
111 pfbCustom.setShader(mRes, R.raw.multitexf); in initCustomShaders()
113 pfbCustom.addTexture(Program.TextureType.TEXTURE_2D); in initCustomShaders()
115 mProgFragmentMultitex = pfbCustom.create(); in initCustomShaders()
117 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
118 pfbCustom.setShader(mRes, R.raw.singletexf); in initCustomShaders()
119 pfbCustom.addTexture(Program.TextureType.TEXTURE_2D); in initCustomShaders()
120 mProgFragmentSingletex = pfbCustom.create(); in initCustomShaders()
122 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
123 pfbCustom.setShader(mRes, R.raw.singletexfm); in initCustomShaders()
[all …]
DTorusTest.java174 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders() local
176 pfbCustom.setShader(mRes, R.raw.shaderf); in initCustomShaders()
178 pfbCustom.addTexture(Program.TextureType.TEXTURE_2D); in initCustomShaders()
180 pfbCustom.addConstant(mFSConst.getAllocation().getType()); in initCustomShaders()
181 mProgFragmentCustom = pfbCustom.create(); in initCustomShaders()
199 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
200 pfbCustom.setShader(mRes, R.raw.shader2f); in initCustomShaders()
201 pfbCustom.addTexture(Program.TextureType.TEXTURE_2D); in initCustomShaders()
202 pfbCustom.addConstant(mFSConstPixel.getAllocation().getType()); in initCustomShaders()
203 mProgFragmentPixelLight = pfbCustom.create(); in initCustomShaders()
[all …]
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesRS.java244 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders() local
246 pfbCustom.setShader(mRes, R.raw.shaderf); in initCustomShaders()
248 pfbCustom.addTexture(Program.TextureType.TEXTURE_2D); in initCustomShaders()
250 pfbCustom.addConstant(mFSConst.getAllocation().getType()); in initCustomShaders()
251 mProgFragmentCustom = pfbCustom.create(); in initCustomShaders()
262 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
263 pfbCustom.setShader(mRes, R.raw.shaderarrayf); in initCustomShaders()
264 pfbCustom.addTexture(Program.TextureType.TEXTURE_2D); in initCustomShaders()
265 pfbCustom.addConstant(mFSConst2.getAllocation().getType()); in initCustomShaders()
266 mProgFragmentCustom2 = pfbCustom.create(); in initCustomShaders()
[all …]