Searched defs:sc (Results 1 - 25 of 60) sorted by relevance

123

/frameworks/native/opengl/tests/lib/
H A DWindowSurface.cpp57 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 DrsCpuIntrinsic.h38 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 Drsd_cpu.h48 const ScriptC * sc; member in struct:android::renderscript::RsdCpuReference::CpuTls
63 const RsScriptCall *sc) = 0;
68 const RsScriptCall *sc) = 0;
H A DrsCpuIntrinsic.cpp79 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 DrsCpuIntrinsicHistogram.cpp38 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 Dcompute.cpp28 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 Dcompute.cpp36 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 Dcompute.cpp38 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 Dcompute.cpp35 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 Dcompute.cpp64 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local
65 sc->forEach_copyAndNot(ain, aout);
/frameworks/rs/tests/cpp_api/cppbasic-shared/
H A Dcompute.cpp35 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 Dlatency.cpp73 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 DhelloComputeNDK.cpp54 ScriptC_mono* sc = new ScriptC_mono(rs); local
55 sc->forEach_root(inputAlloc, outputAlloc);
/frameworks/base/rs/java/android/renderscript/
H A DRSSurfaceView.java136 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument
137 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
H A DRSTextureView.java147 * @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 DRenderScriptGL.java74 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 DScript.java179 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 DrsdVertexArray.cpp85 RsdShaderCache *sc = dc->gl.shaderCache; local
99 int32_t slot = sc->vtxAttribSlot(mAttribs[ct].name);
H A DrsdBcc.cpp75 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 DrsApiContext.cpp56 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 DrsScriptIntrinsic.cpp65 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 DrsScriptC.cpp48 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 DZOrderingTests.java67 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 DGLHelper.cpp259 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 DDimmer.java368 public void apply(SurfaceControl.Transaction t, SurfaceControl sc, long currentPlayTime) { argument
371 t.setAlpha(sc, alpha);

Completed in 291 milliseconds

123