Searched defs:ctx (Results 76 - 86 of 86) sorted by relevance

1234

/frameworks/base/core/jni/
H A Dandroid_opengl_EGL14.cpp1040 /* EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx ) */
1043 (JNIEnv *_env, jobject _this, jobject dpy, jobject ctx) {
1046 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx);
1055 /* EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) */
1058 (JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) {
1063 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx);
1103 /* EGLBoolean eglQueryContext ( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value ) */
1106 (JNIEnv *_env, jobject _this, jobject dpy, jobject ctx, jint attribute, jintArray value_ref, jint offset) {
1112 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx);
1042 android_eglDestroyContext(JNIEnv *_env, jobject _this, jobject dpy, jobject ctx) argument
1057 android_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) argument
1105 android_eglQueryContext(JNIEnv *_env, jobject _this, jobject dpy, jobject ctx, jint attribute, jintArray value_ref, jint offset) argument
/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/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...]
/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/rs/
H A DrsContext.cpp395 void Context::printWatchdogInfo(void *ctx) { argument
396 Context *rsc = (Context *)ctx;
/frameworks/base/core/java/android/app/
H A DContextImpl.java214 public Object getService(ContextImpl ctx) { argument
215 ArrayList<Object> cache = ctx.mServiceCache;
232 service = createService(ctx);
242 public Object createService(ContextImpl ctx) { argument
282 public Object createService(ContextImpl ctx) {
283 return new WallpaperManager(ctx.getOuterContext(),
284 ctx.mMainThread.getHandler());
289 public Object getService(ContextImpl ctx) {
290 return AccessibilityManager.getInstance(ctx);
294 public Object createService(ContextImpl ctx) {
[all...]
/frameworks/base/core/java/android/webkit/
H A DBrowserFrame.java1330 int ctx,
1329 nativeSslClientCert(int handle, int ctx, byte[][] asn1DerEncodedCertificateChain) argument
/frameworks/base/opengl/java/android/opengl/
H A DEGL14.java380 // C function EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx )
384 EGLContext ctx
387 // C function EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx )
393 EGLContext ctx
412 // C function EGLBoolean eglQueryContext ( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value )
416 EGLContext ctx,
414 eglQueryContext( EGLDisplay dpy, EGLContext ctx, int attribute, int[] value, int offset ) argument
/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/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/base/graphics/java/android/renderscript/
H A DRenderScript.java961 RenderScript(Context ctx) { argument
962 if (ctx != null) {
963 mApplicationContext = ctx.getApplicationContext();
980 * @param ctx The context.
983 public static RenderScript create(Context ctx, int sdkVersion) { argument
984 RenderScript rs = new RenderScript(ctx);
999 * @param ctx The context.
1002 public static RenderScript create(Context ctx) { argument
1003 int v = ctx.getApplicationInfo().targetSdkVersion;
1004 return create(ctx,
[all...]

Completed in 466 milliseconds

1234