/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 731 RenderScript(Context ctx) { argument 732 if (ctx != null) { 733 mApplicationContext = ctx.getApplicationContext(); 750 * @param ctx The context. 753 public static RenderScript create(Context ctx, int sdkVersion) { argument 754 RenderScript rs = new RenderScript(ctx); 769 * @param ctx The context. 772 public static RenderScript create(Context ctx) { argument 773 int v = ctx.getApplicationInfo().targetSdkVersion; 774 return create(ctx, [all...] |
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsContext.cpp | 207 void Context::printWatchdogInfo(void *ctx) { argument 208 Context *rsc = (Context *)ctx;
|
/frameworks/rs/ |
H A D | rsContext.cpp | 395 void Context::printWatchdogInfo(void *ctx) { argument 396 Context *rsc = (Context *)ctx;
|
/frameworks/native/libs/gui/ |
H A D | SurfaceTexture.cpp | 217 EGLContext ctx = eglGetCurrentContext(); local 225 if ((mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) || 226 ctx == EGL_NO_CONTEXT) { 232 mEglContext = ctx; 353 EGLContext ctx = eglGetCurrentContext(); local 360 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) { 365 if (dpy != EGL_NO_DISPLAY && ctx != EGL_NO_CONTEXT) { 410 EGLContext ctx = eglGetCurrentContext(); local 417 if (ctx == EGL_NO_CONTEXT) { 459 mEglContext = ctx; 760 EGLContext ctx = eglGetCurrentContext(); local [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 468 EGLContext ctx; member in class:android::MyThread 474 eglMakeCurrent(dpy, sur, sur, ctx); 485 ctx = eglGetCurrentContext(); 491 eglMakeCurrent(dpy, sur, sur, ctx);
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 131 static inline egl_context_t* context(EGLContext ctx) { argument 132 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx); 149 EGLContext ctx; member in struct:android::egl_surface_t 176 : magic(MAGIC), dpy(dpy), config(config), ctx(0) 1582 if (surface->ctx) { 1585 surface->ctx = 0; 1674 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument 1678 egl_context_t* c = egl_context_t::context(ctx); 1681 ogles_uninit((ogles_context_t*)ctx); 1686 EGLSurface read, EGLContext ctx) 1685 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument 1808 EGLContext ctx = (EGLContext)getGlThreadSpecific(); local 1824 EGLContext ctx = (EGLContext)getGlThreadSpecific(); local 1830 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument 2021 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 483 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument 491 ContextRef _c(dp.get(), ctx); 495 egl_context_t * const c = get_context(ctx); 504 EGLSurface read, EGLContext ctx) 511 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not 514 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) || 520 ContextRef _c(dp.get(), ctx); 525 if ((ctx != EGL_NO_CONTEXT) && !_c.get()) { 543 if (ctx != EGL_NO_CONTEXT) { 544 c = get_context(ctx); 503 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument 599 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument 623 EGLContext ctx = getContext(); local 634 EGLContext ctx = getContext(); local 654 EGLContext ctx = getContext(); local 1145 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument [all...] |
H A D | egl_display.cpp | 352 EGLSurface draw, EGLSurface read, EGLContext ctx, 351 makeCurrent(egl_context_t* c, egl_context_t* cur_c, EGLSurface draw, EGLSurface read, EGLContext ctx, EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx) argument
|
H A D | egl_tls.cpp | 36 : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(EGL_TRUE) { 134 void egl_tls_t::setContext(EGLContext ctx) { argument 136 getTLS()->ctx = ctx; 144 return tls->ctx;
|
H A D | egl_tls.h | 38 EGLContext ctx; member in class:android::egl_tls_t 51 static void setContext(EGLContext ctx);
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 259 const sp<const DisplayDevice>& hw, EGLContext ctx) { 263 result = eglMakeCurrent(dpy, hw->mSurface, hw->mSurface, ctx); 258 makeCurrent(EGLDisplay dpy, const sp<const DisplayDevice>& hw, EGLContext ctx) argument
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 269 cb_context* ctx = reinterpret_cast<cb_context*>( local 271 ctx->hwc->invalidate(); 276 cb_context* ctx = reinterpret_cast<cb_context*>( local 278 ctx->hwc->vsync(disp, timestamp); 283 cb_context* ctx = reinterpret_cast<cb_context*>( local 285 ctx->hwc->hotplug(disp, connected);
|
/frameworks/compile/libbcc/bcinfo/tools/ |
H A D | main.cpp | 312 llvm::LLVMContext &ctx = llvm::getGlobalContext(); local 323 module.reset(llvm::ParseBitcodeFile(mem.get(), ctx, &errmsg));
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
H A D | RSTestCore.java | 34 public RSTestCore(Context ctx) { argument 35 mCtx = ctx;
|
H A D | UT_alloc.java | 26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) { argument 27 super(rstc, "Alloc", ctx);
|
H A D | UT_array_alloc.java | 26 protected UT_array_alloc(RSTestCore rstc, Resources res, Context ctx) { argument 27 super(rstc, "Array Allocation", ctx);
|
H A D | UT_array_init.java | 26 protected UT_array_init(RSTestCore rstc, Resources res, Context ctx) { argument 27 super(rstc, "Array Init", ctx);
|
H A D | UT_atomic.java | 26 protected UT_atomic(RSTestCore rstc, Resources res, Context ctx) { argument 27 super(rstc, "Atomics", ctx);
|
H A D | UT_bug_char.java | 28 protected UT_bug_char(RSTestCore rstc, Resources res, Context ctx) { argument 29 super(rstc, "Bug Char", ctx);
|
H A D | UT_clamp.java | 26 protected UT_clamp(RSTestCore rstc, Resources res, Context ctx) { argument 27 super(rstc, "Clamp (Full)", ctx);
|
H A D | UT_clamp_relaxed.java | 26 protected UT_clamp_relaxed(RSTestCore rstc, Resources res, Context ctx) { argument 27 super(rstc, "Clamp (Relaxed)", ctx);
|
H A D | UT_constant.java | 26 protected UT_constant(RSTestCore rstc, Resources res, Context ctx) { argument 27 super(rstc, "Const", ctx);
|
H A D | UT_convert.java | 26 protected UT_convert(RSTestCore rstc, Resources res, Context ctx) { argument 27 super(rstc, "Convert", ctx);
|
H A D | UT_convert_relaxed.java | 26 protected UT_convert_relaxed(RSTestCore rstc, Resources res, Context ctx) { argument 27 super(rstc, "Convert (Relaxed)", ctx);
|
H A D | UT_copy_test.java | 28 protected UT_copy_test(RSTestCore rstc, Resources res, Context ctx) { argument 29 super(rstc, "Copy", ctx);
|