/frameworks/rs/ |
D | rs_hal.h | 27 class Context; variable 81 bool (*initGraphics)(const Context *); 82 void (*shutdownGraphics)(const Context *); 83 bool (*setSurface)(const Context *, uint32_t w, uint32_t h, RsNativeWindow); 84 void (*swap)(const Context *); 86 void (*shutdownDriver)(Context *); 88 void (*setPriority)(const Context *, int32_t priority); 93 bool (*init)(const Context *rsc, ScriptC *s, 99 bool (*initIntrinsic)(const Context *rsc, Script *s, 103 void (*invokeFunction)(const Context *rsc, Script *s, [all …]
|
D | rsRuntime.h | 32 void rsrBindTexture(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *); 33 void rsrBindConstant(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *); 34 void rsrBindConstant(Context *, Script *, ProgramVertex*, uint32_t slot, Allocation *); 35 void rsrBindSampler(Context *, Script *, ProgramFragment *, uint32_t slot, Sampler *); 36 void rsrBindProgramStore(Context *, Script *, ProgramStore *); 37 void rsrBindProgramFragment(Context *, Script *, ProgramFragment *); 38 void rsrBindProgramVertex(Context *, Script *, ProgramVertex *); 39 void rsrBindProgramRaster(Context *, Script *, ProgramRaster *); 40 void rsrBindFrameBufferObjectColorTarget(Context *, Script *, Allocation *, uint32_t slot); 41 void rsrBindFrameBufferObjectDepthTarget(Context *, Script *, Allocation *); [all …]
|
D | rsContext.cpp | 38 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER; 39 pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER; 41 bool Context::initGLThread() { in initGLThread() 54 void Context::deinitEGL() { in deinitEGL() 58 Context::PushState::PushState(Context *con) { in PushState() 69 Context::PushState::~PushState() { in ~PushState() 80 uint32_t Context::runScript(Script *s) { in runScript() 87 uint32_t Context::runRootScript() { in runRootScript() 97 uint64_t Context::getTime() const { in getTime() 107 void Context::timerReset() { in timerReset() [all …]
|
D | rsAllocation.h | 80 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 88 void syncAll(Context *rsc, RsAllocationUsageType src); 90 …void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len… 92 void resize1D(Context *rsc, uint32_t dimX); 93 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY); 95 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t size… 96 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 98 …void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCub… 101 …void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 102 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, [all …]
|
D | rsProgramVertex.h | 30 ProgramVertex(Context *,const char * shaderText, size_t shaderLength, 35 virtual void setup(Context *rsc, ProgramVertexState *state); 37 void setProjectionMatrix(Context *, const rsc_Matrix *) const; 38 void getProjectionMatrix(Context *, rsc_Matrix *) const; 39 void setModelviewMatrix(Context *, const rsc_Matrix *) const; 40 void setTextureMatrix(Context *, const rsc_Matrix *) const; 42 void transformToScreen(Context *, float *v4out, const float *v3in) const; 44 virtual void serialize(Context *rsc, OStream *stream) const; 46 static ProgramVertex *createFromStream(Context *rsc, IStream *stream); 54 void init(Context *rsc); [all …]
|
D | rsScriptC_LibGL.cpp | 49 void rsrBindTexture(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() 55 void rsrBindConstant(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() 61 void rsrBindConstant(Context *rsc, Script *sc, ProgramVertex *pv, uint32_t slot, Allocation *a) { in rsrBindConstant() 67 void rsrBindSampler(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() 73 void rsrBindProgramStore(Context *rsc, Script *sc, ProgramStore *ps) { in rsrBindProgramStore() 78 void rsrBindProgramFragment(Context *rsc, Script *sc, ProgramFragment *pf) { in rsrBindProgramFragment() 83 void rsrBindProgramVertex(Context *rsc, Script *sc, ProgramVertex *pv) { in rsrBindProgramVertex() 88 void rsrBindProgramRaster(Context *rsc, Script *sc, ProgramRaster *pr) { in rsrBindProgramRaster() 93 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Script *sc, Allocation *a, uint32_t slot) { in rsrBindFrameBufferObjectColorTarget() 99 void rsrBindFrameBufferObjectDepthTarget(Context *rsc, Script *sc, Allocation *a) { in rsrBindFrameBufferObjectDepthTarget() [all …]
|
D | rsAdapter.cpp | 24 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { in Adapter1D() 28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter1D() 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { in data() 44 void Adapter1D::serialize(Context *rsc, OStream *stream) const { in serialize() 47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 54 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { in rsi_Adapter1DCreate() 60 void rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) { in rsi_Adapter1DBindAllocation() 66 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { in rsi_Adapter1DSetConstraint() 95 Adapter2D::Adapter2D(Context *rsc) : ObjectBase(rsc) { in Adapter2D() 99 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter2D() [all …]
|
D | rsFBOCache.h | 33 void init(Context *rsc); 34 void deinit(Context *rsc); 36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot); 37 void bindDepthTarget(Context *, Allocation *a); 38 void resetAll(Context *); 40 void setup(Context *); 59 void checkError(Context *); 60 void setColorAttachment(Context *rsc); 61 void setDepthAttachment(Context *rsc);
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rs_hal.h | 27 class Context; variable 80 bool (*initGraphics)(const Context *); 81 void (*shutdownGraphics)(const Context *); 82 bool (*setSurface)(const Context *, uint32_t w, uint32_t h, RsNativeWindow); 83 void (*swap)(const Context *); 85 void (*shutdownDriver)(Context *); 87 void (*setPriority)(const Context *, int32_t priority); 92 bool (*init)(const Context *rsc, ScriptC *s, 98 bool (*initIntrinsic)(const Context *rsc, Script *s, 102 void (*invokeFunction)(const Context *rsc, Script *s, [all …]
|
D | rsContext.cpp | 34 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER; 35 pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER; 37 bool Context::initGLThread() { in initGLThread() 50 void Context::deinitEGL() { in deinitEGL() 54 Context::PushState::PushState(Context *con) { in PushState() 58 Context::PushState::~PushState() { in ~PushState() 62 uint32_t Context::runScript(Script *s) { in runScript() 69 uint32_t Context::runRootScript() { in runRootScript() 78 uint64_t Context::getTime() const { in getTime() 88 void Context::timerReset() { in timerReset() [all …]
|
D | rsAllocation.h | 77 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 85 void syncAll(Context *rsc, RsAllocationUsageType src); 87 …void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len… 89 void resize1D(Context *rsc, uint32_t dimX); 90 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY); 92 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t size… 93 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 95 …void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCub… 98 …void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 99 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, [all …]
|
D | rsRuntime.h | 32 void rsrAllocationSyncAll(Context *, Script *, Allocation *); 34 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc, 40 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc, 52 float rsrGetDt(Context *, Script *); 53 time_t rsrTime(Context *, Script *, time_t *timer); 54 tm* rsrLocalTime(Context *, Script *, tm *local, time_t *timer); 55 int64_t rsrUptimeMillis(Context *, Script *); 56 int64_t rsrUptimeNanos(Context *, Script *); 62 uint32_t rsrToClient(Context *, Script *, int cmdID, void *data, int len); 63 uint32_t rsrToClientBlocking(Context *, Script *, int cmdID, void *data, int len); [all …]
|
D | rsAdapter.cpp | 24 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { in Adapter1D() 28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter1D() 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { in data() 44 void Adapter1D::serialize(Context *rsc, OStream *stream) const { in serialize() 47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 54 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { in rsi_Adapter1DCreate() 60 void rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) { in rsi_Adapter1DBindAllocation() 66 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { in rsi_Adapter1DSetConstraint() 95 Adapter2D::Adapter2D(Context *rsc) : ObjectBase(rsc) { in Adapter2D() 99 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter2D() [all …]
|
D | rsScriptC.h | 34 ScriptC(Context *); 37 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len); 39 virtual uint32_t run(Context *); 41 virtual void runForEach(Context *rsc, 49 virtual void serialize(Context *rsc, OStream *stream) const { } in serialize() 51 static Type *createFromStream(Context *rsc, IStream *stream) { return NULL; } in createFromStream() 53 bool runCompiler(Context *rsc, const char *resName, const char *cacheDir, 57 void setupScript(Context *); 58 void setupGLState(Context *);
|
/frameworks/compile/slang/ |
D | slang_rs_reflection.h | 48 class Context { 118 Context(const std::string &OutputPathBase, in Context() function 230 bool genScriptClass(Context &C, 233 void genScriptClassConstructor(Context &C); 235 static void genInitBoolExportVariable(Context &C, 238 static void genInitPrimitiveExportVariable(Context &C, 241 static void genInitExportVariable(Context &C, 245 static void genInitValue(Context &C, const clang::APValue &Val); 246 void genExportVariable(Context &C, const RSExportVar *EV); 247 void genPrimitiveTypeExportVariable(Context &C, const RSExportVar *EV); [all …]
|
D | slang_rs_export_var.cpp | 31 static clang::DiagnosticBuilder ReportVarError(RSContext *Context, in ReportVarError() argument 34 clang::DiagnosticsEngine *DiagEngine = Context->getDiagnostics(); in ReportVarError() 35 const clang::SourceManager *SM = Context->getSourceManager(); in ReportVarError() 42 RSExportVar::RSExportVar(RSContext *Context, in RSExportVar() argument 45 : RSExportable(Context, RSExportable::EX_VAR), in RSExportVar() 58 Initializer->EvaluateAsRValue(mInit, Context->getASTContext()); in RSExportVar() 62 if (Initializer->isNullPointerConstant(Context->getASTContext(), in RSExportVar() 66 if (!Initializer->EvaluateAsRValue(mInit, Context->getASTContext())) { in RSExportVar() 67 ReportVarError(Context, Initializer->getExprLoc(), in RSExportVar() 77 ReportVarError(Context, VD->getLocation(), in RSExportVar() [all …]
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdBcc.h | 24 bool rsdScriptInit(const android::renderscript::Context *, android::renderscript::ScriptC *, 27 bool rsdInitIntrinsic(const android::renderscript::Context *rsc, 32 void rsdScriptInvokeFunction(const android::renderscript::Context *dc, 38 void rsdScriptInvokeForEach(const android::renderscript::Context *rsc, 47 int rsdScriptInvokeRoot(const android::renderscript::Context *dc, 49 void rsdScriptInvokeInit(const android::renderscript::Context *dc, 51 void rsdScriptInvokeFreeChildren(const android::renderscript::Context *dc, 54 void rsdScriptSetGlobalVar(const android::renderscript::Context *, 57 void rsdScriptSetGlobalVarWithElemDims(const android::renderscript::Context *, 64 void rsdScriptSetGlobalBind(const android::renderscript::Context *, [all …]
|
D | rsdIntrinsics.cpp | 25 void * rsdIntrinsic_InitBlur(const Context *, Script *, RsdIntriniscFuncs_t *); 26 void * rsdIntrinsic_InitConvolve3x3(const Context *, Script *, RsdIntriniscFuncs_t *); 27 void * rsdIntrinsic_InitConvolve5x5(const Context *, Script *, RsdIntriniscFuncs_t *); 28 void * rsdIntrinsic_InitColorMatrix(const Context *, Script *, RsdIntriniscFuncs_t *); 29 void * rsdIntrinsic_InitLUT(const Context *, Script *, RsdIntriniscFuncs_t *); 30 void * rsdIntrinsic_InitYuvToRGB(const Context *, Script *, RsdIntriniscFuncs_t *); 31 void * rsdIntrinsic_InitBlend(const Context *, Script *, RsdIntriniscFuncs_t *); 33 static void Bind(const Context *, const Script *, void *, uint32_t, Allocation *) { in Bind() argument 37 static void SetVar(const Context *, const Script *, void *, uint32_t, void *, size_t) { in SetVar() argument 41 static void Destroy(const Context *dc, const Script *script, void * intrinsicData) { in Destroy() [all …]
|
D | rsdAllocation.h | 68 bool rsdAllocationInit(const android::renderscript::Context *rsc, 71 void rsdAllocationDestroy(const android::renderscript::Context *rsc, 74 void rsdAllocationResize(const android::renderscript::Context *rsc, 77 void rsdAllocationSyncAll(const android::renderscript::Context *rsc, 80 void rsdAllocationMarkDirty(const android::renderscript::Context *rsc, 83 void rsdAllocationData1D(const android::renderscript::Context *rsc, 87 void rsdAllocationData2D(const android::renderscript::Context *rsc, 92 void rsdAllocationData3D(const android::renderscript::Context *rsc, 98 void rsdAllocationRead1D(const android::renderscript::Context *rsc, 102 void rsdAllocationRead2D(const android::renderscript::Context *rsc, [all …]
|
/frameworks/rs/driver/ |
D | rsdBcc.h | 29 bool rsdScriptInit(const android::renderscript::Context *, android::renderscript::ScriptC *, 32 bool rsdInitIntrinsic(const android::renderscript::Context *rsc, 37 void rsdScriptInvokeFunction(const android::renderscript::Context *dc, 43 void rsdScriptInvokeForEach(const android::renderscript::Context *rsc, 52 int rsdScriptInvokeRoot(const android::renderscript::Context *dc, 54 void rsdScriptInvokeInit(const android::renderscript::Context *dc, 56 void rsdScriptInvokeFreeChildren(const android::renderscript::Context *dc, 59 void rsdScriptSetGlobalVar(const android::renderscript::Context *, 62 void rsdScriptSetGlobalVarWithElemDims(const android::renderscript::Context *, 69 void rsdScriptSetGlobalBind(const android::renderscript::Context *, [all …]
|
D | rsdIntrinsics.cpp | 25 void * rsdIntrinsic_InitBlur(const Context *, Script *, RsdIntriniscFuncs_t *); 26 void * rsdIntrinsic_InitConvolve3x3(const Context *, Script *, RsdIntriniscFuncs_t *); 27 void * rsdIntrinsic_InitConvolve5x5(const Context *, Script *, RsdIntriniscFuncs_t *); 28 void * rsdIntrinsic_InitColorMatrix(const Context *, Script *, RsdIntriniscFuncs_t *); 29 void * rsdIntrinsic_InitLUT(const Context *, Script *, RsdIntriniscFuncs_t *); 30 void * rsdIntrinsic_InitYuvToRGB(const Context *, Script *, RsdIntriniscFuncs_t *); 31 void * rsdIntrinsic_InitBlend(const Context *, Script *, RsdIntriniscFuncs_t *); 33 static void SetVarObj(const Context *, const Script *, void *, uint32_t, Allocation *) { in SetVarObj() argument 37 static void SetVar(const Context *, const Script *, void *, uint32_t, void *, size_t) { in SetVar() argument 41 static void Destroy(const Context *dc, const Script *script, void * intrinsicData) { in Destroy() [all …]
|
D | rsdAllocation.h | 71 bool rsdAllocationInit(const android::renderscript::Context *rsc, 74 void rsdAllocationDestroy(const android::renderscript::Context *rsc, 77 void rsdAllocationResize(const android::renderscript::Context *rsc, 80 void rsdAllocationSyncAll(const android::renderscript::Context *rsc, 83 void rsdAllocationMarkDirty(const android::renderscript::Context *rsc, 85 int32_t rsdAllocationInitSurfaceTexture(const android::renderscript::Context *rsc, 87 void rsdAllocationSetSurfaceTexture(const android::renderscript::Context *rsc, 89 void rsdAllocationIoSend(const android::renderscript::Context *rsc, 91 void rsdAllocationIoReceive(const android::renderscript::Context *rsc, 94 void rsdAllocationData1D(const android::renderscript::Context *rsc, [all …]
|
D | rsdGL.h | 77 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/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | TestService.java | 29 import android.content.Context; 429 void onInit(Context context, boolean foreground) { in onInit() 434 void onTerm(Context context) { in onTerm() 560 void onInit(Context context, boolean foreground) { in onInit() 579 Context mContext; 585 void onInit(Context context, boolean foreground) { in onInit() 597 Context mContext; 605 void onInit(Context context, boolean foreground) { in onInit() 631 void onTerm(Context context) { in onTerm() 644 Context mContext; [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 24 import android.content.Context; 181 public DevicePolicyManager getManager(Context context) { in getManager() 186 Context.DEVICE_POLICY_SERVICE); in getManager() 195 public ComponentName getWho(Context context) { in getWho() 210 public void onEnabled(Context context, Intent intent) { in onEnabled() 224 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested() 236 public void onDisabled(Context context, Intent intent) { in onDisabled() 248 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged() 259 public void onPasswordFailed(Context context, Intent intent) { in onPasswordFailed() 270 public void onPasswordSucceeded(Context context, Intent intent) { in onPasswordSucceeded() [all …]
|