Searched refs:surface (Results 1 - 25 of 167) sorted by relevance

1234567

/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp34 if (mSize && surface.data)
35 free(surface.data);
43 memset(&surface, 0, sizeof(surface));
44 surface.version = sizeof(surface);
74 if (!surface.data)
77 int w = surface.width;
78 int h = surface.height;
109 return surface;
[all...]
H A Ddxt.h29 void *surface, int stride, int format);
/frameworks/native/include/android/
H A Dnative_window_jni.h34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.java36 EGLSurface surface;
38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
40 surface = _eglCreateWindowSurfaceTexture(dpy, config,
49 return surface;
/frameworks/base/graphics/java/android/renderscript/
H A DRSTextureView.java75 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
77 mSurfaceTexture = surface;
88 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
90 mSurfaceTexture = surface;
101 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
103 mSurfaceTexture = surface;
116 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
118 mSurfaceTexture = surface;
154 * @param sc The RS surface config to create.
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLEnvironment.java102 public int registerSurface(Surface surface) { argument
103 int result = nativeAddSurface(surface);
105 throw new RuntimeException("Error registering surface " + surface + "!");
111 Surface surface = new Surface(surfaceTexture);
112 int result = nativeAddSurfaceWidthHeight(surface, width, height);
113 surface.release();
123 throw new RuntimeException("Error registering surface from "
131 throw new RuntimeException("Could not activate surface " + surfaceId + "!");
137 throw new RuntimeException("Could not unregister surface "
171 nativeAddSurface(Surface surface) argument
173 nativeAddSurfaceWidthHeight(Surface surface, int width, int height) argument
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLSurfaceImpl.java28 public EGLSurfaceImpl(int surface) { argument
29 mEGLSurface = surface;
/frameworks/native/opengl/tests/swapinterval/
H A Dswapinterval.cpp43 EGLSurface surface; local
70 surface = eglCreateWindowSurface(dpy, config, window, NULL);
71 if (surface == EGL_NO_SURFACE) {
83 eglMakeCurrent(dpy, surface, surface, context);
84 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
85 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
99 eglSwapBuffers(dpy, surface);
111 eglSwapBuffers(dpy, surface);
114 eglSwapBuffers(dpy, surface);
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_HardwareRenderer.cpp33 EGLAPI void EGLAPIENTRY eglBeginFrame(EGLDisplay dpy, EGLSurface surface);
65 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local
68 eglSurfaceAttrib(display, surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED);
80 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local
84 eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &value);
109 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local
115 eglQuerySurface(display, surface, EGL_WIDTH, &value);
118 eglQuerySurface(display, surface, EGL_HEIGHT, &value);
124 eglBeginFrame(display, surface);
/frameworks/native/opengl/tests/gl_perf/
H A Dgl2_perf.cpp57 static EGLSurface surface; variable
98 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
100 if (surface == EGL_NO_SURFACE) {
111 returnValue = eglMakeCurrent(dpy, surface, surface, context);
116 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
118 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
126 eglSwapBuffers(dpy, surface);
134 eglSwapBuffers(dpy, surface);
/frameworks/native/services/surfaceflinger/tests/resize/
H A Dresize.cpp44 sp<Surface> surface = surfaceControl->getSurface(); local
51 surface->lock(&outBuffer, NULL);
54 surface->unlockAndPost();
56 surface->lock(&outBuffer);
58 surface->unlockAndPost();
/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp48 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__);
51 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size);
58 ALOGV("%s: Read surface class = %s", __FUNCTION__,
67 ALOGV("%s: Read surface name = %s",
70 ALOGV("%s: Read surface binder = %p",
73 sp<Surface> surface; local
78 surface = new Surface(gbp);
81 mSurfaceList.push_back(surface);
105 sp<Surface> surface = mSurfaceList[i]; local
108 if (surface !
[all...]
/frameworks/native/cmds/flatland/
H A DGLHelper.h52 bool makeCurrent(EGLSurface surface);
55 sp<GLConsumer>* surfaceTexture, EGLSurface* surface,
59 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
61 void destroySurface(EGLSurface* surface);
63 bool swapBuffers(EGLSurface surface);
72 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
/frameworks/base/services/java/com/android/server/wm/
H A DBlackFrame.java37 final SurfaceControl surface; field in class:BlackFrame.BlackSurface
48 surface = new WindowStateAnimator.SurfaceTrace(session, "BlackSurface("
52 surface = new SurfaceControl(session, "BlackSurface",
56 surface.setAlpha(1);
57 surface.setLayerStack(layerStack);
58 surface.setLayer(layer);
59 surface.show();
62 " BLACK " + surface + ": CREATE layer=" + layer);
66 surface.setAlpha(alpha);
73 surface
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp68 sp<Surface> surface = control->getSurface(); local
69 CHECK(surface != NULL);
71 gSurface = surface;
75 return surface.get();
/frameworks/native/opengl/tests/linetex/
H A Dlinetex.cpp45 EGLSurface surface; local
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
63 eglMakeCurrent(dpy, surface, surface, context);
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
109 eglSwapBuffers(dpy, surface);
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java126 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
127 android.util.Log.v("cpa", "onSurfaceTextureAvailable " + surface);
128 mSurface = surface;
133 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
134 android.util.Log.v("cpa", "onSurfaceTextureSizeChanged " + surface);
135 mSurface = surface;
140 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
141 android.util.Log.v("cpa", "onSurfaceTextureDestroyed " + surface);
142 mSurface = surface;
148 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapActivity.java81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
85 mCamera.setPreviewTexture(surface);
94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
99 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
106 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
H A DCanvasTextureViewActivity.java50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
61 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
67 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
75 public RenderingThread(TextureView surface) { argument
76 mSurface = surface;
/frameworks/native/opengl/tests/fillrate/
H A Dfillrate.cpp44 EGLSurface surface; local
60 surface = eglCreateWindowSurface(dpy, config, window, NULL);
62 eglMakeCurrent(dpy, surface, surface, context);
63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
124 eglSwapBuffers(dpy, surface);
134 eglSwapBuffers(dpy, surface);
146 eglSwapBuffers(dpy, surface);
/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp45 EGLSurface surface; local
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
63 eglMakeCurrent(dpy, surface, surface, context);
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
113 eglSwapBuffers(dpy, surface);
127 eglSwapBuffers(dpy, surface);
142 eglSwapBuffers(dpy, surface);
157 eglSwapBuffers(dpy, surface);
[all...]
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec12 EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface )
13 EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value )
19 EGLBoolean eglSurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value )
20 EGLBoolean eglBindTexImage ( EGLDisplay dpy, EGLSurface surface, EGLint buffer )
21 EGLBoolean eglReleaseTexImage ( EGLDisplay dpy, EGLSurface surface, EGLint buffer )
32 EGLBoolean eglSwapBuffers ( EGLDisplay dpy, EGLSurface surface )
33 EGLBoolean eglCopyBuffers ( EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target )
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.h35 const sp<Surface> &surface,
50 const sp<Surface> &surface,
H A DPreviewRenderer.cpp30 const sp<Surface> &surface, size_t width, size_t height) {
32 PreviewRenderer* renderer = new PreviewRenderer(surface, width, height);
43 const sp<Surface> &surface,
45 : mSurface(surface),
29 CreatePreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument
42 PreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp134 EGLSurface surface; local
150 surface = eglCreateWindowSurface(dpy, config, window, NULL);
153 fprintf(stderr,"surface = %p\n", surface);
159 eglMakeCurrent(dpy, surface, surface, context);
162 eglQuerySurface(dpy, surface, EGL_WIDTH, &sWindowWidth);
163 eglQuerySurface(dpy, surface, EGL_HEIGHT, &sWindowHeight);
166 sEglSurface = surface;

Completed in 7635 milliseconds

1234567