Home
last modified time | relevance | path

Searched refs:renderscript (Results 1 – 25 of 617) sorted by relevance

12345678910>>...25

/frameworks/rs/driver/
DrsdBcc.h23 bool rsdScriptInit(const android::renderscript::Context *, android::renderscript::ScriptC *,
26 bool rsdInitIntrinsic(const android::renderscript::Context *rsc,
27 android::renderscript::Script *s,
29 android::renderscript::Element *e);
31 void rsdScriptInvokeFunction(const android::renderscript::Context *dc,
32 android::renderscript::Script *script,
37 void rsdScriptInvokeForEach(const android::renderscript::Context *rsc,
38 android::renderscript::Script *s,
40 const android::renderscript::Allocation * ain,
41 android::renderscript::Allocation * aout,
[all …]
DrsdAllocation.h79 uint32_t rsdAllocationGrallocBits(const android::renderscript::Context *rsc,
80 android::renderscript::Allocation *alloc);
81 bool rsdAllocationInit(const android::renderscript::Context *rsc,
82 android::renderscript::Allocation *alloc,
84 void rsdAllocationDestroy(const android::renderscript::Context *rsc,
85 android::renderscript::Allocation *alloc);
87 void rsdAllocationResize(const android::renderscript::Context *rsc,
88 const android::renderscript::Allocation *alloc,
89 const android::renderscript::Type *newType, bool zeroNew);
90 void rsdAllocationSyncAll(const android::renderscript::Context *rsc,
[all …]
DrsdScriptGroup.h22 bool rsdScriptGroupInit(const android::renderscript::Context *rsc,
23 android::renderscript::ScriptGroup *sg);
24 void rsdScriptGroupSetInput(const android::renderscript::Context *rsc,
25 const android::renderscript::ScriptGroup *sg,
26 const android::renderscript::ScriptKernelID *kid,
27 android::renderscript::Allocation *);
28 void rsdScriptGroupSetOutput(const android::renderscript::Context *rsc,
29 const android::renderscript::ScriptGroup *sg,
30 const android::renderscript::ScriptKernelID *kid,
31 android::renderscript::Allocation *);
[all …]
DrsdPath.h23 bool rsdPathInitStatic(const android::renderscript::Context *rsc,
24 const android::renderscript::Path *m,
25 const android::renderscript::Allocation *vertex,
26 const android::renderscript::Allocation *loops);
27 bool rsdPathInitDynamic(const android::renderscript::Context *rsc,
28 const android::renderscript::Path *m);
29 void rsdPathDraw(const android::renderscript::Context *rsc,
30 const android::renderscript::Path *m);
31 void rsdPathDestroy(const android::renderscript::Context *rsc,
32 const android::renderscript::Path *m);
DrsdShader.h24 namespace renderscript {
41 RsdShader(const android::renderscript::Program *p, uint32_t type,
47 uint32_t getStateBasedShaderID(const android::renderscript::Context *);
66 bool loadShader(const android::renderscript::Context *);
67 void setup(const android::renderscript::Context *, RsdShaderCache *sc);
86 const android::renderscript::Program *mRSProgram;
91 void setupUserConstants(const android::renderscript::Context *rsc,
93 void initAddUserElement(const android::renderscript::Element *e,
96 void setupTextures(const android::renderscript::Context *rsc, RsdShaderCache *sc);
97 void setupSampler(const android::renderscript::Context *rsc,
[all …]
DrsdType.h23 bool rsdTypeInit(const android::renderscript::Context *rsc,
24 const android::renderscript::Type *);
26 void rsdTypeDestroy(const android::renderscript::Context *rsc,
27 const android::renderscript::Type *);
29 void rsdTypeUpdateCachedObject(const android::renderscript::Context *rsc,
30 const android::renderscript::Type *,
31 android::renderscript::rs_type *obj);
DrsdSampler.h23 bool rsdSamplerInit(const android::renderscript::Context *rsc,
24 const android::renderscript::Sampler *);
26 void rsdSamplerDestroy(const android::renderscript::Context *rsc,
27 const android::renderscript::Sampler *);
29 void rsdSamplerUpdateCachedObject(const android::renderscript::Context *rsc,
30 const android::renderscript::Sampler *,
31 android::renderscript::rs_sampler *obj);
DrsdElement.h23 bool rsdElementInit(const android::renderscript::Context *rsc,
24 const android::renderscript::Element *);
26 void rsdElementDestroy(const android::renderscript::Context *rsc,
27 const android::renderscript::Element *);
29 void rsdElementUpdateCachedObject(const android::renderscript::Context *rsc,
30 const android::renderscript::Element *,
31 android::renderscript::rs_element *obj);
DrsdMeshObj.h22 namespace renderscript {
36 RsdMeshObj(const android::renderscript::Context *,
37 const android::renderscript::Mesh *);
40 void renderPrimitiveRange(const android::renderscript::Context *,
43 bool init(const android::renderscript::Context *rsc);
46 const android::renderscript::Mesh *mRSMesh;
49 void updateGLPrimitives(const android::renderscript::Context *rsc);
51 bool isValidGLComponent(const android::renderscript::Element *elem, uint32_t fieldIdx);
DrsdGL.h77 bool rsdGLSetInternalSurface(const android::renderscript::Context *rsc,
79 bool rsdGLInit(const android::renderscript::Context *rsc);
80 void rsdGLShutdown(const android::renderscript::Context *rsc);
81 bool rsdGLSetSurface(const android::renderscript::Context *rsc,
83 void rsdGLSwap(const android::renderscript::Context *rsc);
84 void rsdGLCheckError(const android::renderscript::Context *rsc,
86 void rsdGLSetPriority(const android::renderscript::Context *rsc,
88 void rsdGLClearColor(const android::renderscript::Context *rsc,
90 void rsdGLClearDepth(const android::renderscript::Context *rsc, float v);
91 void rsdGLFinish(const android::renderscript::Context *rsc);
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DElementThunker.java17 package android.support.v8.renderscript;
24 android.renderscript.Element mN;
26 android.renderscript.Element getNObj() { in getNObj()
33 } catch (android.renderscript.RSRuntimeException e) { in getBytesSize()
41 } catch (android.renderscript.RSRuntimeException e) { in getVectorSize()
46 static android.renderscript.Element.DataKind convertKind(DataKind cdk) { in convertKind()
49 return android.renderscript.Element.DataKind.USER; in convertKind()
51 return android.renderscript.Element.DataKind.PIXEL_L; in convertKind()
53 return android.renderscript.Element.DataKind.PIXEL_A; in convertKind()
55 return android.renderscript.Element.DataKind.PIXEL_LA; in convertKind()
[all …]
DScriptCThunker.java17 package android.support.v8.renderscript;
35 class ScriptCThunker extends android.renderscript.ScriptC {
42 android.renderscript.Script.KernelID thunkCreateKernelID( in thunkCreateKernelID()
45 android.renderscript.Element nein = null; in thunkCreateKernelID()
46 android.renderscript.Element neout = null; in thunkCreateKernelID()
54 android.renderscript.Script.KernelID kid = createKernelID(slot, sig, nein, neout); in thunkCreateKernelID()
56 } catch (android.renderscript.RSRuntimeException e) { in thunkCreateKernelID()
65 } catch (android.renderscript.RSRuntimeException e) { in thunkInvoke()
71 android.renderscript.Allocation nva = null; in thunkBindAllocation()
77 } catch (android.renderscript.RSRuntimeException e) { in thunkBindAllocation()
[all …]
DAllocationThunker.java17 package android.support.v8.renderscript;
30 android.renderscript.Allocation mN;
33 android.renderscript.Allocation getNObj() { in getNObj()
37 static android.renderscript.Allocation.MipmapControl
42 return android.renderscript.Allocation.MipmapControl.MIPMAP_NONE; in convertMipmapControl()
44 return android.renderscript.Allocation.MipmapControl.MIPMAP_FULL; in convertMipmapControl()
46 return android.renderscript.Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE; in convertMipmapControl()
62 } catch (android.renderscript.RSRuntimeException e) { in getUsage()
70 } catch (android.renderscript.RSRuntimeException e) { in getBytesSize()
75 AllocationThunker(RenderScript rs, Type t, int usage, android.renderscript.Allocation na) { in AllocationThunker()
[all …]
DFieldPackerThunker.java17 package android.support.v8.renderscript;
19 import android.support.v8.renderscript.RenderScript;
31 private android.renderscript.FieldPacker mN;
35 mN = new android.renderscript.FieldPacker(len); in FieldPackerThunker()
121 mN.addF32(new android.renderscript.Float2(v.x, v.y)); in addF32()
125 mN.addF32(new android.renderscript.Float3(v.x, v.y, v.z)); in addF32()
129 mN.addF32(new android.renderscript.Float4(v.x, v.y, v.z, v.w)); in addF32()
134 mN.addF64(new android.renderscript.Double2(v.x, v.y)); in addF64()
138 mN.addF64(new android.renderscript.Double3(v.x, v.y, v.z)); in addF64()
142 mN.addF64(new android.renderscript.Double4(v.x, v.y, v.z, v.w)); in addF64()
[all …]
DRenderScriptThunker.java17 package android.support.v8.renderscript;
33 android.renderscript.RenderScript mN;
43 if (p == Priority.LOW) mN.setPriority(android.renderscript.RenderScript.Priority.LOW); in setPriority()
44 … if (p == Priority.NORMAL) mN.setPriority(android.renderscript.RenderScript.Priority.NORMAL); in setPriority()
45 } catch (android.renderscript.RSRuntimeException e) { in setPriority()
62 rs.mN = (android.renderscript.RenderScript)create.invoke(null, args); in create()
65 catch(android.renderscript.RSRuntimeException e) { in create()
75 } catch (android.renderscript.RSRuntimeException e) { in contextDump()
83 } catch (android.renderscript.RSRuntimeException e) { in finish()
92 } catch (android.renderscript.RSRuntimeException e) { in destroy()
[all …]
DScriptIntrinsicColorMatrixThunker.java17 package android.support.v8.renderscript;
22 android.renderscript.ScriptIntrinsicColorMatrix mN;
24 android.renderscript.ScriptIntrinsicColorMatrix getNObj() { in getNObj()
38 cm.mN = android.renderscript.ScriptIntrinsicColorMatrix.create(rst.mN, et.getNObj()); in create()
39 } catch (android.renderscript.RSRuntimeException exc) { in create()
48 mN.setColorMatrix(new android.renderscript.Matrix4f(m.getArray())); in setColorMatrix()
49 } catch (android.renderscript.RSRuntimeException e) { in setColorMatrix()
56 mN.setColorMatrix(new android.renderscript.Matrix3f(m.getArray())); in setColorMatrix()
57 } catch (android.renderscript.RSRuntimeException e) { in setColorMatrix()
65 } catch (android.renderscript.RSRuntimeException e) { in setGreyscale()
[all …]
DScriptIntrinsicBlendThunker.java17 package android.support.v8.renderscript;
20 android.renderscript.ScriptIntrinsicBlend mN;
22 android.renderscript.ScriptIntrinsicBlend getNObj() { in getNObj()
36 blend.mN = android.renderscript.ScriptIntrinsicBlend.create(rst.mN, et.getNObj()); in create()
37 } catch (android.renderscript.RSRuntimeException exc) { in create()
49 } catch (android.renderscript.RSRuntimeException e) { in forEachClear()
58 } catch (android.renderscript.RSRuntimeException e) { in getKernelIDClear()
70 } catch (android.renderscript.RSRuntimeException e) { in forEachSrc()
79 } catch (android.renderscript.RSRuntimeException e) { in getKernelIDSrc()
91 } catch (android.renderscript.RSRuntimeException e) { in forEachDst()
[all …]
DExceptionThunker.java17 package android.support.v8.renderscript;
23 if (e instanceof android.renderscript.RSIllegalArgumentException) { in convertException()
24 return new android.support.v8.renderscript.RSIllegalArgumentException(e.getMessage()); in convertException()
25 } else if (e instanceof android.renderscript.RSInvalidStateException) { in convertException()
26 return new android.support.v8.renderscript.RSInvalidStateException(e.getMessage()); in convertException()
27 } else if (e instanceof android.renderscript.RSDriverException) { in convertException()
28 return new android.support.v8.renderscript.RSDriverException(e.getMessage()); in convertException()
29 } else if (e instanceof android.renderscript.RSRuntimeException) { in convertException()
30 return new android.support.v8.renderscript.RSRuntimeException(e.getMessage()); in convertException()
DScriptGroupThunker.java17 package android.support.v8.renderscript;
23 android.renderscript.ScriptGroup mN;
25 android.renderscript.ScriptGroup getNObj() { in getNObj()
37 } catch (android.renderscript.RSRuntimeException e) { in setInput()
46 } catch (android.renderscript.RSRuntimeException e) { in setOutput()
54 } catch (android.renderscript.RSRuntimeException e) { in execute()
62 android.renderscript.ScriptGroup.Builder bN;
69 bN = new android.renderscript.ScriptGroup.Builder(rst.mN); in Builder()
70 } catch (android.renderscript.RSRuntimeException e) { in Builder()
78 } catch (android.renderscript.RSRuntimeException e) { in addKernel()
[all …]
DSamplerThunker.java17 package android.support.v8.renderscript;
34 android.renderscript.Sampler mN;
40 android.renderscript.BaseObj getNObj() { in getNObj()
44 static android.renderscript.Sampler.Value convertValue (Value v) { in convertValue()
47 return android.renderscript.Sampler.Value.NEAREST; in convertValue()
49 return android.renderscript.Sampler.Value.LINEAR; in convertValue()
51 return android.renderscript.Sampler.Value.LINEAR_MIP_LINEAR; in convertValue()
53 return android.renderscript.Sampler.Value.LINEAR_MIP_NEAREST; in convertValue()
55 return android.renderscript.Sampler.Value.WRAP; in convertValue()
57 return android.renderscript.Sampler.Value.CLAMP; in convertValue()
[all …]
DTypeThunker.java17 package android.support.v8.renderscript;
24 android.renderscript.Type mN;
26 android.renderscript.Type getNObj() { in getNObj()
30 static HashMap<android.renderscript.Type, Type> mMap = new HashMap();
42 TypeThunker(RenderScript rs, android.renderscript.Type t) { in TypeThunker()
48 } catch (android.renderscript.RSRuntimeException e) { in TypeThunker()
57 static Type find(android.renderscript.Type nt) { in find()
66 android.renderscript.Type.Builder tb = in create()
67 new android.renderscript.Type.Builder(rst.mN, et.mN); in create()
74 android.renderscript.Type nt = tb.create(); in create()
[all …]
DScriptIntrinsicLUTThunker.java17 package android.support.v8.renderscript;
22 android.renderscript.ScriptIntrinsicLUT mN;
24 android.renderscript.ScriptIntrinsicLUT getNObj() { in getNObj()
38 si.mN = android.renderscript.ScriptIntrinsicLUT.create(rst.mN, et.getNObj()); in create()
39 } catch (android.renderscript.RSRuntimeException exc) { in create()
48 } catch (android.renderscript.RSRuntimeException e) { in setRed()
56 } catch (android.renderscript.RSRuntimeException e) { in setGreen()
64 } catch (android.renderscript.RSRuntimeException e) { in setBlue()
72 } catch (android.renderscript.RSRuntimeException e) { in setAlpha()
82 } catch (android.renderscript.RSRuntimeException e) { in forEach()
[all …]
DScriptIntrinsicConvolve3x3Thunker.java17 package android.support.v8.renderscript;
22 android.renderscript.ScriptIntrinsicConvolve3x3 mN;
24 android.renderscript.ScriptIntrinsicConvolve3x3 getNObj() { in getNObj()
39 si.mN = android.renderscript.ScriptIntrinsicConvolve3x3.create(rst.mN, et.getNObj()); in create()
40 } catch (android.renderscript.RSRuntimeException exc) { in create()
50 } catch (android.renderscript.RSRuntimeException e) { in setInput()
58 } catch (android.renderscript.RSRuntimeException e) { in setCoefficients()
67 } catch (android.renderscript.RSRuntimeException e) { in forEach()
77 } catch (android.renderscript.RSRuntimeException e) { in getKernelID()
87 } catch (android.renderscript.RSRuntimeException e) { in getFieldID_Input()
DScriptIntrinsicConvolve5x5Thunker.java17 package android.support.v8.renderscript;
22 android.renderscript.ScriptIntrinsicConvolve5x5 mN;
24 android.renderscript.ScriptIntrinsicConvolve5x5 getNObj() { in getNObj()
39 si.mN = android.renderscript.ScriptIntrinsicConvolve5x5.create(rst.mN, et.getNObj()); in create()
40 } catch (android.renderscript.RSRuntimeException exc) { in create()
50 } catch (android.renderscript.RSRuntimeException e) { in setInput()
58 } catch (android.renderscript.RSRuntimeException e) { in setCoefficients()
67 } catch (android.renderscript.RSRuntimeException e) { in forEach()
77 } catch (android.renderscript.RSRuntimeException e) { in getKernelID()
87 } catch (android.renderscript.RSRuntimeException e) { in getFieldID_Input()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DSceneGraphBase.java24 import android.renderscript.Allocation;
25 import android.renderscript.Element;
26 import android.renderscript.Matrix4f;
27 import android.renderscript.ProgramFragment;
28 import android.renderscript.ProgramStore;
29 import android.renderscript.ProgramVertex;
30 import android.renderscript.RSRuntimeException;
31 import android.renderscript.RenderScript;
32 import android.renderscript.RenderScriptGL;

12345678910>>...25