Searched refs:ctx (Results 51 - 75 of 100) sorted by relevance

1234

/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_alloc.java26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Alloc", 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_bug_char.java28 protected UT_bug_char(RSTestCore rstc, Resources res, Context ctx) { argument
29 super(rstc, "Bug Char", ctx);
H A DUT_mesh.java29 protected UT_mesh(RSTestCore rstc, Resources res, Context ctx) { argument
30 super(rstc, "Mesh", ctx);
H A DUT_program_raster.java31 protected UT_program_raster(RSTestCore rstc, Resources res, Context ctx) { argument
32 super(rstc, "ProgramRaster", ctx);
H A DUT_element.java71 protected UT_element(RSTestCore rstc, Resources res, Context ctx) { argument
72 super(rstc, "Element", ctx);
H A DUT_copy_test.java28 protected UT_copy_test(RSTestCore rstc, Resources res, Context ctx) { argument
29 super(rstc, "Copy", ctx);
H A DUT_sampler.java34 protected UT_sampler(RSTestCore rstc, Resources res, Context ctx) { argument
35 super(rstc, "Sampler", ctx);
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
H A DUT_alloc.java26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Alloc", ctx);
H A DRSTestCore.java34 public RSTestCore(Context ctx) { argument
35 mCtx = ctx;
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec24 EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx )
25 EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx )
29 EGLBoolean eglQueryContext ( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value )
/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.h91 EGLSurface draw, EGLSurface read, EGLContext ctx,
253 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
/frameworks/base/services/java/com/android/server/
H A DBootReceiver.java85 private void logBootEvents(Context ctx) throws IOException { argument
86 final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE);
87 final SharedPreferences prefs = ctx.getSharedPreferences("log_files", Context.MODE_PRIVATE);
/frameworks/base/services/java/com/android/server/location/
H A DLocationBasedCountryDetector.java66 public LocationBasedCountryDetector(Context ctx) { argument
67 super(ctx);
68 mLocationManager = (LocationManager) ctx.getSystemService(Context.LOCATION_SERVICE);
/frameworks/base/core/java/android/net/
H A DProxy.java103 * @param ctx A Context used to get the settings for the proxy host.
110 public static final java.net.Proxy getProxy(Context ctx, String url) { argument
119 sConnectivityManager = (ConnectivityManager)ctx.getSystemService(
138 * @param ctx A Context used to get the settings for the proxy host.
145 public static final String getHost(Context ctx) { argument
146 java.net.Proxy proxy = getProxy(ctx, null);
157 * @param ctx A Context used to get the settings for the proxy port.
162 public static final int getPort(Context ctx) { argument
163 java.net.Proxy proxy = getProxy(ctx, null);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DSummarizerDBHelper.java97 public SummarizerDBHelper(Context ctx) { argument
98 mContext = 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/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/
H A DRSTestCore.java34 public RSTestCore(Context ctx) { argument
35 mCtx = 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/opengl/tests/angeles/include/GLES/
H A Degl.h213 GLAPI EGLBoolean APIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
214 GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
218 GLAPI EGLBoolean APIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
/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/include/EGL/
H A Degl.h300 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay dpy, EGLContext ctx);
302 EGLSurface read, EGLContext ctx);
307 EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext(EGLDisplay dpy, EGLContext ctx,
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp197 sp<JNISurfaceTextureContext> ctx(new JNISurfaceTextureContext(env, weakThiz,
199 surfaceTexture->setFrameAvailableListener(ctx);
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp148 EGLContext ctx = getContext(_env, context); local
153 success = eglQueryContext(dpy, ctx, attribute, base);
235 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); local
237 return (jint)ctx;
440 EGLContext ctx = getContext(_env, context); local
441 return eglDestroyContext(dpy, ctx);
475 EGLContext ctx = getContext(_env, context); local
476 return eglMakeCurrent(dpy, sdr, srd, ctx);

Completed in 350 milliseconds

1234