Searched refs:surface (Results 26 - 50 of 152) sorted by relevance

1234567

/frameworks/base/opengl/java/android/opengl/
H A DEGL14.java255 EGLSurface surface;
257 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
259 surface = _eglCreateWindowSurfaceTexture(dpy, config,
268 return surface;
289 // C function EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface )
293 EGLSurface surface
296 // C function EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value )
300 EGLSurface surface,
338 // C function EGLBoolean eglSurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value )
342 EGLSurface surface,
298 eglQuerySurface( EGLDisplay dpy, EGLSurface surface, int attribute, int[] value, int offset ) argument
340 eglSurfaceAttrib( EGLDisplay dpy, EGLSurface surface, int attribute, int value ) argument
349 eglBindTexImage( EGLDisplay dpy, EGLSurface surface, int buffer ) argument
357 eglReleaseTexImage( EGLDisplay dpy, EGLSurface surface, int buffer ) argument
442 eglCopyBuffers( EGLDisplay dpy, EGLSurface surface, int target ) argument
[all...]
H A DEGLLogWrapper.java64 public boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, argument
68 arg("surface", surface);
72 boolean result = mEgl10.eglCopyBuffers(display, surface, native_pixmap);
153 public boolean eglDestroySurface(EGLDisplay display, EGLSurface surface) { argument
156 arg("surface", surface);
159 boolean result = mEgl10.eglDestroySurface(display, surface);
303 public boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, argument
307 arg("surface", surfac
328 eglSwapBuffers(EGLDisplay display, EGLSurface surface) argument
[all...]
/frameworks/native/include/gui/
H A DSurface.h49 static bool isValid(const sp<SurfaceControl>& surface) { argument
50 return (surface != 0) && surface->isValid();
60 // release surface data from java
90 const sp<ISurface>& surface,
127 static bool isValid(const sp<Surface>& surface) { argument
128 return (surface != 0) && surface->isValid();
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp41 EGLSurface surface; local
57 surface = eglCreateWindowSurface(dpy, config, window, NULL);
59 eglMakeCurrent(dpy, surface, surface, context);
60 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
61 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
116 eglSwapBuffers(dpy, surface);
/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp37 EGLSurface surface; local
52 surface = eglCreateWindowSurface(dpy, config, window, NULL);
57 surface = eglCreatePbufferSurface(dpy, config, attribs);
58 if (surface == EGL_NO_SURFACE) {
63 eglMakeCurrent(dpy, surface, surface, context);
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
156 eglSwapBuffers(dpy, surface);
182 eglSwapBuffers(dpy, surface);
[all...]
/frameworks/base/media/mca/filterfw/native/core/
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
187 && surface() == eglGetCurrentSurface(EGL_DRAW);
198 int GLEnv::AddWindowSurface(const EGLSurface& surface, WindowHandl argument
204 AddSurface(const EGLSurface& surface) argument
211 const SurfaceWindowPair* surface = FindOrNull(surfaces_, surface_id); local
[all...]
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...]
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoInline.java34 // surface texture as singleton. But the GL texture (m_textureNames)
35 // associated with the surface texture can be used for showing the screen
58 Surface surface = new Surface(surfaceTexture);
59 mPlayer.setSurface(surface);
60 surface.release();
64 // this should be after surface holder created
86 // Create the surface texture.
/frameworks/native/include/private/gui/
H A DLayerState.h54 : surface(0), what(0),
73 SurfaceID surface; member in struct:android::layer_state_t
117 sp<ISurfaceTexture> surface; member in struct:android::DisplayState
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp67 EGLNativeWindowType win, EGLSurface surface,
69 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx)
66 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface, egl_connection_t const* cnx) argument
H A DeglApi.cpp320 EGLSurface surface = cnx->egl.eglCreateWindowSurface( local
322 if (surface != EGL_NO_SURFACE) {
324 surface, cnx);
344 EGLSurface surface = cnx->egl.eglCreatePixmapSurface( local
346 if (surface != EGL_NO_SURFACE) {
348 surface, cnx);
363 EGLSurface surface = cnx->egl.eglCreatePbufferSurface( local
365 if (surface != EGL_NO_SURFACE) {
367 surface, cnx);
374 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface) argument
393 eglQuerySurface( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value) argument
410 eglBeginFrame(EGLDisplay dpy, EGLSurface surface) argument
892 eglCopyBuffers( EGLDisplay dpy, EGLSurface surface, NativePixmapType target) argument
935 eglSurfaceAttrib( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) argument
955 eglBindTexImage( EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument
975 eglReleaseTexImage( EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument
1107 eglLockSurfaceKHR(EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list) argument
1127 eglUnlockSurfaceKHR(EGLDisplay dpy, EGLSurface surface) argument
[all...]
H A Degl_object.h135 EGLNativeWindowType win, EGLSurface surface,
138 EGLSurface surface; member in class:android::egl_surface_t
179 egl_surface_t* get_surface(EGLSurface surface) { argument
180 return egl_to_native_cast<egl_surface_t>(surface);
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java115 private void notifyDisplayConnected(final Surface surface, argument
120 mListener.onDisplayConnected(surface, width, height, flags);
149 void onDisplayConnected(Surface surface, int width, int height, int flags); argument
/frameworks/base/services/java/com/android/server/display/
H A DDisplayDevice.java43 // The display device owns its surface, but it should only set it
164 * Sets the display surface while in a transaction.
166 public final void setSurfaceInTransactionLocked(Surface surface) { argument
167 if (mCurrentSurface != surface) {
168 mCurrentSurface = surface;
169 Surface.setDisplaySurface(mDisplayToken, surface);
/frameworks/native/services/surfaceflinger/tests/surface/
H A Dsurface.cpp40 String8("surface"), 160, 240, PIXEL_FORMAT_RGB_565, 0);
49 sp<Surface> surface = Surface::readFromParcel(parcel); local
50 ANativeWindow* window = surface.get();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextureViewActivity.java101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
110 mCamera.setPreviewTexture(surface);
147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
159 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPreviewController.h41 M4OSA_ERR setSurface(const sp<Surface>& surface);
51 const sp<Surface>& surface,
56 const sp<Surface>& surface,
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGL10.java98 boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap); argument
104 boolean eglDestroySurface(EGLDisplay display, EGLSurface surface); argument
116 boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); argument
119 boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface); argument
/frameworks/av/include/media/stagefright/
H A DCameraSourceTimeLapse.h40 const sp<Surface>& surface,
113 const sp<Surface>& surface,
/frameworks/native/libs/gui/
H A DLayerState.cpp66 output.writeStrongBinder(surface->asBinder());
77 surface = interface_cast<ISurfaceTexture>(input.readStrongBinder());
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.h52 void setImageBits(void* vaddr) { surface.data = (GGLubyte*)vaddr; }
74 GGLSurface surface; member in class:android::EGLTextureObject
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp273 EGLSurface surface; local
313 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
315 if (surface == EGL_NO_SURFACE) {
326 returnValue = eglMakeCurrent(dpy, surface, surface, context);
331 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
333 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
351 eglSwapBuffers(dpy, surface);
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp236 EGLSurface surface; local
269 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
271 if (surface == EGL_NO_SURFACE) {
282 returnValue = eglMakeCurrent(dpy, surface, surface, context);
287 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
289 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
301 fprintf(stderr, "Could not set up texture surface.\n");
314 eglSwapBuffers(dpy, surface);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_environment.h59 jobject surface);
64 jobject surface,
/frameworks/base/native/android/
H A Dnative_window.cpp27 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { argument
28 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface);

Completed in 320 milliseconds

1234567