Searched defs:ctx (Results 1 - 25 of 86) sorted by last modified time

1234

/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DRenderScript.java731 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 DrsContext.cpp207 void Context::printWatchdogInfo(void *ctx) { argument
208 Context *rsc = (Context *)ctx;
/frameworks/rs/
H A DrsContext.cpp395 void Context::printWatchdogInfo(void *ctx) { argument
396 Context *rsc = (Context *)ctx;
/frameworks/native/libs/gui/
H A DSurfaceTexture.cpp217 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 DSurfaceTextureClient_test.cpp468 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 Degl.cpp131 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 DeglApi.cpp483 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 Degl_display.cpp352 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 Degl_tls.cpp36 : 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 Degl_tls.h38 EGLContext ctx; member in class:android::egl_tls_t
51 static void setContext(EGLContext ctx);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp259 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 DHWComposer.cpp269 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 Dmain.cpp312 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 DRSTestCore.java34 public RSTestCore(Context ctx) { argument
35 mCtx = ctx;
H A DUT_alloc.java26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Alloc", ctx);
H A DUT_array_alloc.java26 protected UT_array_alloc(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Array Allocation", ctx);
H A DUT_array_init.java26 protected UT_array_init(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Array Init", ctx);
H A DUT_atomic.java26 protected UT_atomic(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Atomics", ctx);
H A DUT_bug_char.java28 protected UT_bug_char(RSTestCore rstc, Resources res, Context ctx) { argument
29 super(rstc, "Bug Char", ctx);
H A DUT_clamp.java26 protected UT_clamp(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Clamp (Full)", ctx);
H A DUT_clamp_relaxed.java26 protected UT_clamp_relaxed(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Clamp (Relaxed)", ctx);
H A DUT_constant.java26 protected UT_constant(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Const", ctx);
H A DUT_convert.java26 protected UT_convert(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Convert", ctx);
H A DUT_convert_relaxed.java26 protected UT_convert_relaxed(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Convert (Relaxed)", ctx);
H A DUT_copy_test.java28 protected UT_copy_test(RSTestCore rstc, Resources res, Context ctx) { argument
29 super(rstc, "Copy", ctx);

Completed in 553 milliseconds

1234