/system/media/wilhelm/tests/sandbox/ |
H A D | nativewindow.cpp | 69 sp<Surface> surface = control->getSurface(); local 70 CHECK(surface != NULL); 72 gSurface = surface; 76 return surface.get();
|
/system/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLEnvironment.java | 98 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/native/core/ |
H A D | gl_env.cpp | 92 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...] |
H A D | gl_env.h | 56 // 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...] |
/system/media/mca/filterfw/jni/ |
H A D | jni_gl_environment.h | 59 jobject surface); 64 jobject surface,
|
H A D | jni_gl_environment.cpp | 135 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/core/libpixelflinger/ |
H A D | pixelflinger.cpp | 93 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...] |
H A D | scanline.cpp | 686 const int w = tx.surface.width; 695 const int h = tx.surface.height; 708 tx.surface.read(&tx.surface, c, u, v, &texel); 710 const int w = tx.surface.width; 711 const int h = tx.surface.height; 742 tx.surface.read(&tx.surface, c, u0, v0, &texels[0]); 743 tx.surface.read(&tx.surface, [all...] |
H A D | picker.cpp | 138 t |= GGL_BUILD_NEEDS(tx.surface.format, T_FORMAT);
|
H A D | buffer.cpp | 87 surface_t& s = c->state.texture[i].surface;
|
/system/core/include/pixelflinger/ |
H A D | pixelflinger.h | 218 void (*bindTexture)(void* c, const GGLSurface* surface); 219 void (*colorBuffer)(void* c, const GGLSurface* surface); 220 void (*readBuffer)(void* c, const GGLSurface* surface); 221 void (*depthBuffer)(void* c, const GGLSurface* surface); 222 void (*bindTextureLod)(void* c, GGLuint tmu, const GGLSurface* surface);
|
/system/core/charger/ |
H A D | charger.c | 92 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/media/mca/filterpacks/videosrc/java/ |
H A D | MediaSource.java | 489 Surface surface = new Surface(mSurfaceTexture); 490 mMediaPlayer.setSurface(surface); 491 surface.release();
|
/system/media/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 513 // 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/media/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 190 * surface is created. 226 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument 232 //Log.v(TAG, "onFrameAvailable " + surface.getTimestamp());
|
H A D | NativeMedia.java | 331 public static native void setSurface(Surface surface); argument
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 388 surface_t surface; member in struct:android::texture_t
|