Searched defs:surface (Results 1 - 11 of 11) sorted by relevance

/system/media/wilhelm/tests/sandbox/
H A Dnativewindow.cpp69 sp<Surface> surface = control->getSurface(); local
70 CHECK(surface != NULL);
72 gSurface = surface;
76 return surface.get();
/system/media/mca/filterfw/native/core/
H A Dgl_env.h56 // includes the display, context, and surface. It is possible to either create
60 // surface.
71 // Inits a new GL environment, including a new surface and context. You
76 // there is already a display, surface and context available (possibly
92 // When rendering to a visible surface, call this to swap between the
99 // Add a surface to the environment. This surface will now be managed (and
100 // owned) by the GLEnv instance. Returns the id of the surface.
101 int AddSurface(const EGLSurface& surface);
103 // Add a window surface t
129 const EGLSurface& surface() const { function in class:android::filterfw::GLEnv
[all...]
H A Dgl_env.cpp92 surface() != eglGetCurrentSurface(EGL_DRAW)) {
94 if (context() == EGL_NO_CONTEXT || surface() == EGL_NO_SURFACE)
99 eglMakeCurrent(display(), surface(), surface(), context());
107 const bool result = eglSwapBuffers(display(), surface()) == EGL_TRUE;
121 (surface() != EGL_NO_SURFACE);
139 // Configure context/surface
162 // Create dummy surface using a SurfaceTexture
186 && surface() == eglGetCurrentSurface(EGL_DRAW);
197 int GLEnv::AddWindowSurface(const EGLSurface& surface, WindowHandl argument
203 AddSurface(const EGLSurface& surface) argument
210 const SurfaceWindowPair* surface = FindOrNull(surfaces_, surface_id); local
[all...]
/system/media/mca/filterfw/java/android/filterfw/core/
H A DGLEnvironment.java98 public int registerSurface(Surface surface) { argument
99 int result = nativeAddSurface(surface);
101 throw new RuntimeException("Error registering surface " + surface + "!");
117 throw new RuntimeException("Error registering surface from "
125 throw new RuntimeException("Could not activate surface " + surfaceId + "!");
131 throw new RuntimeException("Could not unregister surface " + surfaceId + "!");
137 throw new RuntimeException("Could not set timestamp for current surface!");
165 private native int nativeAddSurface(Surface surface); argument
167 private native int nativeAddSurfaceTexture(SurfaceTexture surface, in argument
[all...]
/system/media/mca/filterfw/jni/
H A Djni_gl_environment.cpp135 jobject surface) {
137 if (!surface) {
142 ANativeWindow* window = ANativeWindow_fromSurface(env, surface);
151 // Configure surface
168 LOGE("GLEnvironment: No suitable EGL configuration found for surface!");
172 // Create the EGL surface
179 LOGE("GLEnvironment: Error creating window surface!");
220 // Configure surface
237 LOGE("GLEnvironment: No suitable EGL configuration found for surface texture!");
241 // Create the EGL surface
133 Java_android_filterfw_core_GLEnvironment_nativeAddSurface(JNIEnv* env, jobject thiz, jobject surface) argument
[all...]
/system/media/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java190 * surface is created.
226 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument
232 //Log.v(TAG, "onFrameAvailable " + surface.getTimestamp());
H A DNativeMedia.java331 public static native void setSurface(Surface surface); argument
/system/media/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c513 // set the surface
514 void Java_com_example_nativemedia_NativeMedia_setSurface(JNIEnv *env, jclass clazz, jobject surface) argument
516 // obtain a native window from a Java surface
517 theNativeWindow = ANativeWindow_fromSurface(env, surface);
521 // set the surface texture
525 // obtain a native window from a Java surface texture
/system/core/libpixelflinger/
H A Dpixelflinger.cpp93 static void ggl_bindTexture(void* con, const GGLSurface* surface) argument
96 if (surface->format != c->activeTMU->surface.format)
98 ggl_set_surface(c, &(c->activeTMU->surface), surface);
102 static void ggl_bindTextureLod(void* con, GGLuint tmu,const GGLSurface* surface) argument
106 ggl_set_surface(c, &c->state.texture[tmu].surface, surface);
109 static void ggl_colorBuffer(void* con, const GGLSurface* surface) argument
112 if (surface
129 ggl_readBuffer(void* con, const GGLSurface* surface) argument
135 ggl_depthBuffer(void* con, const GGLSurface* surface) argument
[all...]
/system/core/charger/
H A Dcharger.c92 gr_surface surface; member in struct:frame
603 /* returns the last y-offset of where the surface ends */
604 static int draw_surface_centered(struct charger *charger, gr_surface surface) argument
611 w = gr_get_width(surface);
612 h = gr_get_height(surface);
616 LOGV("drawing surface %dx%d+%d+%d\n", w, h, x, y);
617 gr_blit(surface, 0, 0, w, h, x, y);
639 draw_surface_centered(charger, frame->surface);
965 ret = res_create_surface(frame->name, &frame->surface);
/system/core/include/private/pixelflinger/
H A Dggl_context.h388 surface_t surface; member in struct:android::texture_t

Completed in 138 milliseconds