/frameworks/native/opengl/tests/lib/ |
H A D | WindowSurface.cpp | 57 sp<SurfaceControl> sc = surfaceComposerClient->createSurface( local 60 if (sc == NULL || !sc->isValid()) { 66 .setLayer(sc, 0x7FFFFFFF) 67 .show(sc) 70 mSurfaceControl = sc;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic.h | 38 const RsBlasCall *sc; member in struct:android::renderscript::MTLaunchStructForEachBlas 55 const RsScriptCall *sc) override; 63 uint32_t usrLen, const RsScriptCall * sc) override; 67 const RsScriptCall * sc) override;
|
H A D | rsd_cpu.h | 48 const ScriptC * sc; member in struct:android::renderscript::RsdCpuReference::CpuTls 63 const RsScriptCall *sc) = 0; 68 const RsScriptCall *sc) = 0;
|
H A D | rsCpuIntrinsic.cpp | 79 const RsScriptCall *sc) { 85 const RsScriptCall *sc) { 94 const RsScriptCall *sc) { 98 preLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 100 if (forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc, &mtls)) { 108 mCtx->launchForEach(ains, inLen, aout, sc, &mtls); 112 postLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 76 preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 82 postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 88 invokeForEach(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
H A D | rsCpuIntrinsicHistogram.cpp | 38 uint32_t usrLen, const RsScriptCall *sc); 41 uint32_t usrLen, const RsScriptCall *sc); 99 const RsScriptCall *sc) { 147 const RsScriptCall *sc) { 95 preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 143 postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
/frameworks/rs/tests/cpp_api/cpp-globalguard/ |
H A D | compute.cpp | 28 sp<ScriptC_multiply> sc; variable 59 sc = new ScriptC_multiply(rs); 68 sc->forEach_multiply(ain, aout);
|
/frameworks/rs/tests/cpp_api/cppallocation/ |
H A D | compute.cpp | 36 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs); local 45 sc->forEach_multiply(ain, aout); 58 sc.clear();
|
/frameworks/rs/tests/cpp_api/cppstrided/ |
H A D | compute.cpp | 38 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs); local 54 sc->forEach_multiply(ain, aout); 69 sc.clear();
|
/frameworks/rs/tests/cpp_api/cppbasic/ |
H A D | compute.cpp | 35 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local 38 sc->set_alloc(a1); 39 sc->set_elem(e); 40 sc->set_type(t); 41 sc->set_script(sc); 42 sc->set_script(nullptr); 44 sc->set_sampler(samp); 54 sc->bind_failed(failed_alloc); 63 sc [all...] |
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/ |
H A D | compute.cpp | 64 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local 65 sc->forEach_copyAndNot(ain, aout);
|
/frameworks/rs/tests/cpp_api/cppbasic-shared/ |
H A D | compute.cpp | 35 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local 38 sc->set_alloc(a1); 39 sc->set_elem(e); 40 sc->set_type(t); 41 sc->set_script(sc); 42 sc->set_script(nullptr); 44 sc->set_sampler(samp); 54 sc->bind_failed(failed_alloc); 63 sc [all...] |
/frameworks/rs/tests/cpp_api/latency/ |
H A D | latency.cpp | 73 sp<ScriptC_latency> sc = new ScriptC_latency(rs); local 80 sc->forEach_root(ain, aout); 95 sc->forEach_root(ain, aout); 106 sc.clear();
|
/frameworks/rs/tests/java_api/HelloComputeNDK/libhellocomputendk/ |
H A D | helloComputeNDK.cpp | 54 ScriptC_mono* sc = new ScriptC_mono(rs); local 55 sc->forEach_root(inputAlloc, outputAlloc);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RSSurfaceView.java | 136 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument 137 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
|
H A D | RSTextureView.java | 147 * @param sc The RS surface config to create. 151 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument 152 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
|
H A D | RenderScriptGL.java | 74 public SurfaceConfig(SurfaceConfig sc) { argument 75 mDepthMin = sc.mDepthMin; 76 mDepthPref = sc.mDepthPref; 77 mStencilMin = sc.mStencilMin; 78 mStencilPref = sc.mStencilPref; 79 mColorMin = sc.mColorMin; 80 mColorPref = sc.mColorPref; 81 mAlphaMin = sc.mAlphaMin; 82 mAlphaPref = sc.mAlphaPref; 83 mSamplesMin = sc 172 RenderScriptGL(Context ctx, SurfaceConfig sc) argument [all...] |
H A D | Script.java | 179 FieldPacker v, LaunchOptions sc) { 185 if (ain == null && aout == null && sc == null) { 207 if (sc != null) { 210 limits[0] = sc.xstart; 211 limits[1] = sc.xend; 212 limits[2] = sc.ystart; 213 limits[3] = sc.yend; 214 limits[4] = sc.zstart; 215 limits[5] = sc.zend; 235 FieldPacker v, LaunchOptions sc) { 178 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) argument 234 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) argument 290 reduce(int slot, Allocation[] ains, Allocation aout, LaunchOptions sc) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdVertexArray.cpp | 85 RsdShaderCache *sc = dc->gl.shaderCache; local 99 int32_t slot = sc->vtxAttribSlot(mAttribs[ct].name);
|
H A D | rsdBcc.cpp | 75 const RsScriptCall *sc) { 79 sc); 84 sc); 96 const RsScriptCall *sc) { 99 cs->invokeForEach(slot, ains, inLen, aout, usr, usrLen, sc); 130 const RsScriptCall *sc) { 132 cs->invokeReduce(slot, ains, inLen, aout, sc); 174 const android::renderscript::Script *sc, 176 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)sc->mHal.drv; 68 rsdScriptInvokeForEach(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrLen, const RsScriptCall *sc) argument 88 rsdScriptInvokeForEachMulti(const Context *rsc, Script *s, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation * aout, const void * usr, size_t usrLen, const RsScriptCall *sc) argument 126 rsdScriptInvokeReduce(const Context *dc, Script *s, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation *aout, const RsScriptCall *sc) argument 173 rsdScriptGetAllocationForPointer(const android::renderscript::Context *dc, const android::renderscript::Script *sc, const void *ptr) argument
|
/frameworks/rs/ |
H A D | rsApiContext.cpp | 56 uint32_t sdkVersion, RsSurfaceConfig sc, 60 Context *rsc = Context::createContext(dev, &sc); 55 rsContextCreateGL(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsSurfaceConfig sc, uint32_t dpi) argument
|
H A D | rsScriptIntrinsic.cpp | 65 const RsScriptCall* sc) { 68 aout, usr, usrBytes, sc); 73 Allocation *aout, const RsScriptCall *sc) { 58 runForEach(Context* rsc, uint32_t slot, const Allocation** ains, size_t inLen, Allocation* aout, const void* usr, size_t usrBytes, const RsScriptCall* sc) argument 71 runReduce(Context *rsc, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation *aout, const RsScriptCall *sc) argument
|
H A D | rsScriptC.cpp | 48 ScriptC * sc = (ScriptC *) tls->mScript 178 const RsScriptCall *sc) { 208 aout, usr, usrBytes, sc); 212 usr, usrBytes, sc); 222 Allocation *aout, const RsScriptCall *sc) { 238 rsc->mHal.funcs.script.invokeReduce(rsc, this, slot, ains, inLen, aout, sc); 171 runForEach(Context *rsc, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument 220 runReduce(Context *rsc, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation *aout, const RsScriptCall *sc) argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | ZOrderingTests.java | 67 public SurfaceControl.Transaction setLayer(SurfaceControl sc, int layer) { argument 68 mRelativeLayersForControl.remove(sc); 69 mLayersForControl.put(sc, layer); 70 return super.setLayer(sc, layer); 74 public SurfaceControl.Transaction setRelativeLayer(SurfaceControl sc, argument 77 mRelativeLayersForControl.put(sc, relativeTo); 78 mLayersForControl.put(sc, layer); 79 return super.setRelativeLayer(sc, relativeTo, layer); 82 private int getLayer(SurfaceControl sc) { argument 83 return mLayersForControl.getOrDefault(sc, 86 getRelativeLayer(SurfaceControl sc) argument 102 setParent(SurfaceControl sc) argument 138 getAncestors(LayerRecordingTransaction t, SurfaceControl sc) argument [all...] |
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 259 sp<SurfaceControl> sc = mSurfaceComposerClient->createSurface( local 261 if (sc == NULL || !sc->isValid()) { 272 SurfaceComposerClient::Transaction{}.setLayer(sc, 0x7FFFFFFF) 273 .setMatrix(sc, scale, 0.0f, 0.0f, scale) 274 .show(sc) 277 sp<ANativeWindow> anw = sc->getSurface(); 284 *surfaceControl = sc;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Dimmer.java | 368 public void apply(SurfaceControl.Transaction t, SurfaceControl sc, long currentPlayTime) { argument 371 t.setAlpha(sc, alpha);
|