/frameworks/rs/driver/ |
D | rsdProgram.cpp | 83 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit() argument 87 RsdShader *drv = new RsdShader(pf, GL_FRAGMENT_SHADER, shader, shaderLen, in rsdProgramFragmentInit() 89 pf->mHal.drv = drv; in rsdProgramFragmentInit() 94 void rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentSetActive() argument 97 SyncProgramConstants(rsc, pf); in rsdProgramFragmentSetActive() 98 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); in rsdProgramFragmentSetActive() 101 void rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentDestroy() argument 105 if(pf->mHal.drv) { in rsdProgramFragmentDestroy() 106 drv = (RsdShader*)pf->mHal.drv; in rsdProgramFragmentDestroy() 108 ALOGV("Destroying fragment shader with ID %p", (void*)pf); in rsdProgramFragmentDestroy()
|
D | rsdShaderCache.h | 50 void setActiveFragment(RsdShader *pf) { in setActiveFragment() argument 52 mFragment = pf; in setActiveFragment()
|
D | rsdRuntimeStubs.cpp | 640 void rsgBindProgramFragment(::rs_program_fragment pf) { argument 642 rsrBindProgramFragment(rsc, (ProgramFragment *)pf.p); 660 void rsgBindSampler(::rs_program_fragment pf, argument 663 rsrBindSampler(rsc, (ProgramFragment *)pf.p, slot, (Sampler *)s.p); 666 void rsgBindTexture(::rs_program_fragment pf, argument 669 rsrBindTexture(rsc, (ProgramFragment *)pf.p, slot, (Allocation *)a.p); 672 void rsgBindConstant(::rs_program_fragment pf, argument 675 rsrBindConstant(rsc, (ProgramFragment *)pf.p, slot, (Allocation *)a.p); 704 void rsgProgramFragmentConstantColor(::rs_program_fragment pf, argument 707 rsrPfConstantColor(rsc, (ProgramFragment *)pf.p, r, g, b, a);
|
/frameworks/rs/ |
D | rsScriptC_LibGL.cpp | 49 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() argument 51 CHECK_OBJ(pf); in rsrBindTexture() 52 pf->bindTexture(rsc, slot, a); in rsrBindTexture() 55 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() argument 57 CHECK_OBJ(pf); in rsrBindConstant() 58 pf->bindAllocation(rsc, a, slot); in rsrBindConstant() 67 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() argument 70 pf->bindSampler(rsc, slot, s); in rsrBindSampler() 78 void rsrBindProgramFragment(Context *rsc, ProgramFragment *pf) { in rsrBindProgramFragment() argument 79 CHECK_OBJ_OR_NULL(pf); in rsrBindProgramFragment() [all …]
|
D | rsProgramFragment.cpp | 120 ProgramFragment *pf = new ProgramFragment(rsc, shaderString, strlen(shaderString), in init() local 122 pf->bindAllocation(rsc, constAlloc, 0); in init() 123 pf->setConstantColor(rsc, 1.0f, 1.0f, 1.0f, 1.0f); in init() 125 mDefault.set(pf); in init() 142 ProgramFragment *pf = new ProgramFragment(rsc, shaderText, shaderLength, in rsi_ProgramFragmentCreate() local 145 pf->incUserRef(); in rsi_ProgramFragmentCreate() 147 return pf; in rsi_ProgramFragmentCreate()
|
D | rsg.spec | 30 param RsProgramFragment pf 36 param RsProgramFragment pf
|
D | rsContext.cpp | 672 void Context::setProgramFragment(ProgramFragment *pf) { in setProgramFragment() argument 674 if (pf == nullptr) { in setProgramFragment() 677 mFragment.set(pf); in setProgramFragment() 818 ProgramFragment *pf = static_cast<ProgramFragment *>(vpf); in rsi_ContextBindProgramFragment() local 819 rsc->setProgramFragment(pf); in rsi_ContextBindProgramFragment()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | RenderState.java | 47 FragmentShader pf, in RenderState() argument 51 mFragment = pf; in RenderState() 68 public void setProgramFragment(FragmentShader pf) { in setProgramFragment() argument 69 mFragment = pf; in setProgramFragment() 89 item.pf = mFragment.getRSData().getAllocation(); in updateRSData()
|
D | Renderable.java | 149 ProgramFragment pf = mRenderState.mFragment.mProgram; in updateTextures() local 150 mData.pf_num_textures = pf != null ? Math.min(pf.getTextureCount(), paramIndex) : 0; in updateTextures() 192 FragmentShader pf = mRenderState.mFragment; in updateFragmentConstants() local 193 if (pf != null && pf.getObjectConstants() != null) { in updateFragmentConstants() 194 fragmentConstants = Allocation.createTyped(rs, pf.getObjectConstants()); in updateFragmentConstants()
|
D | render.rs | 63 const SgFragmentShader *pf = (const SgFragmentShader *)rsGetElementAt(renderState->pf, 0); 68 if (pf->objectConstIndex != -1) { 69 rsgBindConstant(pf->program, pf->objectConstIndex, obj->pf_const); 86 rsgBindProgramFragment(pf->program); 90 rsgBindTexture(pf->program, i, tex->texture);
|
/frameworks/base/rs/java/android/renderscript/ |
D | ProgramFragmentFixedFunction.java | 75 ProgramFragmentFixedFunction pf = new ProgramFragmentFixedFunction(id, mRS); in create() local 76 initProgram(pf); in create() 77 return pf; in create() 315 ProgramFragmentFixedFunction pf = sb.create(); in create() local 316 pf.mTextureCount = MAX_TEXTURE; in create() 323 pf.bindConstants(constantData, 0); in create() 325 return pf; in create()
|
D | ProgramFragment.java | 88 ProgramFragment pf = new ProgramFragment(id, mRS); in create() local 89 initProgram(pf); in create() 90 return pf; in create()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicBlur.cpp | 126 float4 pf = convert_float4(pvy[0]); in OneVU4() local 127 blurredPixel += pf * gPtr[0]; in OneVU4() 143 float pf = (float)pi[validY * iStride]; in OneVU1() local 144 blurredPixel += pf * gPtr[0]; in OneVU1() 185 float4 pf = convert_float4(((const uchar4 *)pi)[0]); in OneVFU4() local 186 blurredPixel += pf * gp[0]; in OneVFU4() 209 float pf = (float)pi[0]; in OneVFU1() local 210 blurredPixel += pf * gp[0]; in OneVFU1() 238 float pf = (float)pi[0]; in OneVFU1() local 239 blurredPixel += pf * gp[0]; in OneVFU1() [all …]
|
D | rsCpuIntrinsics_x86.cpp | 345 __m128 pf, x, y; in rsdIntrinsicBlurHFU4_K() local 355 pf = _mm_mul_ps(x, _mm_load_ps(pi)); in rsdIntrinsicBlurHFU4_K() 363 pf = _mm_add_ps(pf, _mm_mul_ps(x, _mm_load_ps(pi + (r << 2)))); in rsdIntrinsicBlurHFU4_K() 364 pf = _mm_add_ps(pf, _mm_mul_ps(y, _mm_load_ps(pi + (r << 2) + 4))); in rsdIntrinsicBlurHFU4_K() 367 o = _mm_cvtps_epi32(pf); in rsdIntrinsicBlurHFU4_K() 378 __m128 pf, g0, g1, g2, g3, gx, p0, p1; in rsdIntrinsicBlurHFU1_K() local 387 pf = _mm_mul_ps(g0, _mm_loadu_ps(pi)); in rsdIntrinsicBlurHFU1_K() 395 pf = _mm_add_ps(pf, _mm_mul_ps(g0, p0)); in rsdIntrinsicBlurHFU1_K() 397 pf = _mm_add_ps(pf, _mm_mul_ps(g1, _mm_alignr_epi8(p1, p0, 4))); in rsdIntrinsicBlurHFU1_K() 399 pf = _mm_add_ps(pf, _mm_mul_ps(g2, _mm_alignr_epi8(p1, p0, 8))); in rsdIntrinsicBlurHFU1_K() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 3549 final Rect pf = mTmpParentFrame; in beginLayoutLw() local 3555 pf.left = df.left = of.left = vf.left = mDockLeft; in beginLayoutLw() 3556 pf.top = df.top = of.top = vf.top = mDockTop; in beginLayoutLw() 3557 pf.right = df.right = of.right = vf.right = mDockRight; in beginLayoutLw() 3558 pf.bottom = df.bottom = of.bottom = vf.bottom = mDockBottom; in beginLayoutLw() 3677 pf.left = df.left = of.left = mUnrestrictedScreenLeft; in beginLayoutLw() 3678 pf.top = df.top = of.top = mUnrestrictedScreenTop; in beginLayoutLw() 3679 pf.right = df.right = of.right = mUnrestrictedScreenWidth + mUnrestrictedScreenLeft; in beginLayoutLw() 3680 pf.bottom = df.bottom = of.bottom = mUnrestrictedScreenHeight in beginLayoutLw() 3690 mStatusBar.computeFrameLw(pf /* parentFrame */, df /* displayFrame */, in beginLayoutLw() [all …]
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
D | global_struct.c | 18 float *pf = &f; variable 34 double result = pf[0] * d[1][1] * s.d * us * l; in main()
|
D | globals.c | 25 float *pf = &f; variable 41 double result = pf[0] * d[1][1] * s.d * us * l; in main()
|
D | locals.cpp | 25 float *pf = &f; in main() local 44 double result = pf[0] * d[1][1] * s.f * us * l; in main()
|
D | parameters.cpp | 28 double test_parameters(float* pf, double ppd[][2], struct char_struct& s, int** ppn = 0, unsigned s… in test_parameters() argument 30 double result = pf[0] * ppd[1][1] * s.c * us * l; in test_parameters()
|
/frameworks/compile/slang/lit-tests/opt/ |
D | locals_opt_3.rs | 17 float *pf = &f; 36 double result = pf[0] * d[1][1] * s.f * us * l;
|
D | locals_opt_default.rs | 20 float *pf = &f; 39 double result = pf[0] * d[1][1] * s.f * us * l;
|
D | locals_opt_0.rs | 17 float *pf = &f; 36 double result = pf[0] * d[1][1] * s.f * us * l;
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/ |
D | locals.rs | 28 float *pf = &f; 47 double result = pf[0] * d[1][1] * s.f * us * l;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
D | TestAppRS.java | 144 FragmentShader pf = fb.create(); in createFromResource() local 145 pf.getProgram().bindSampler(Sampler.WRAP_LINEAR_MIP_LINEAR(mRS), 0); in createFromResource() 147 pf.getProgram().bindSampler(Sampler.CLAMP_LINEAR_MIP_LINEAR(mRS), 1); in createFromResource() 149 return pf; in createFromResource()
|
/frameworks/compile/slang/tests/F_fs_ptr/ |
D | fs_ptr.fs | 8 float *pf;
|