/frameworks/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);
|
/frameworks/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 | 333 public static native void setSurface(Surface surface); argument 392 Surface surface = new Surface(mMyGLSurfaceView.getSurfaceTexture()); 393 setSurface(surface); 394 surface.release();
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | nativewindow.cpp | 68 sp<Surface> surface = control->getSurface(); local 69 CHECK(surface != NULL); 71 gSurface = surface; 75 return surface.get();
|
/frameworks/rs/driver/ |
H A D | rsdGL.h | 39 EGLSurface surface; member in struct:RsdGLRec::__anon1536
|
/frameworks/native/include/gui/ |
H A D | Surface.h | 49 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/include/private/gui/ |
H A D | LayerState.h | 54 : 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/libs/gui/ |
H A D | Surface.cpp | 51 const sp<ISurface>& surface, 53 : mClient(client), mSurface(surface), 79 // the surface's resource. Soon after this call, it will also release 203 Surface::Surface(const sp<SurfaceControl>& surface) argument 205 mSurface(surface->mSurface), 206 mIdentity(surface->mIdentity) 240 const sp<Surface>& surface, Parcel* parcel) 245 if (Surface::isValid(surface)) { 246 sur = surface->mSurface; 247 st = surface 49 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<ISurface>& surface, const ISurfaceComposerClient::surface_data_t& data) argument 239 writeToParcel( const sp<Surface>& surface, Parcel* parcel) argument 271 sp<Surface> surface = sCachedSurfaces.valueFor(binder).promote(); local [all...] |
H A D | SurfaceComposerClient.cpp | 100 if (lhs.state.surface < rhs.state.surface) return -1; 101 if (lhs.state.surface > rhs.state.surface) return 1; 158 void setDisplaySurface(const sp<IBinder>& token, const sp<ISurfaceTexture>& surface); 226 s.state.surface = id; 260 // Resizing a surface makes the transaction synchronous. 368 const sp<ISurfaceTexture>& surface) { 371 s.surface = surface; 367 setDisplaySurface(const sp<IBinder>& token, const sp<ISurfaceTexture>& surface) argument 454 sp<ISurface> surface = mClient->createSurface(&data, name, local 552 setDisplaySurface(const sp<IBinder>& token, const sp<ISurfaceTexture>& surface) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.h | 52 void setImageBits(void* vaddr) { surface.data = (GGLubyte*)vaddr; } 74 GGLSurface surface; member in class:android::EGLTextureObject
|
H A D | dxt.cpp | 195 void *surface, int stride, 211 uint16_t* rowPtr = (uint16_t*)surface; 308 void *surface, int stride) 323 uint32_t* rowPtr = (uint32_t*)surface; 417 void *surface, int stride) 447 uint32_t* rowPtr = (uint32_t*)surface; 580 * The output is written to 'surface' with each scanline separated by 600 void *surface, int stride, int format) 611 decodeDXT1(data, width, height, surface, stride, false); 615 decodeDXT1(data, width, height, surface, strid 194 decodeDXT1(const GLvoid *data, int width, int height, void *surface, int stride, bool hasAlpha) argument 307 decodeDXT3(const GLvoid *data, int width, int height, void *surface, int stride) argument 416 decodeDXT5(const GLvoid *data, int width, int height, void *surface, int stride) argument 599 decodeDXT(const GLvoid *data, int width, int height, void *surface, int stride, int format) argument [all...] |
H A D | egl.cpp | 1260 // (it's possible that the surface is not fully initialized) 1265 egl_surface_t* surface; local 1266 surface = new egl_window_surface_v2_t(dpy, config, depthFormat, 1269 if (!surface->initCheck()) { 1272 delete surface; 1273 surface = 0; 1275 return surface; 1311 egl_surface_t* surface = 1315 if (!surface->initCheck()) { 1318 delete surface; 1355 egl_surface_t* surface = local 1884 eglCopyBuffers( EGLDisplay dpy, EGLSurface surface, NativePixmapType target) argument 1920 eglSurfaceAttrib( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) argument 1929 eglBindTexImage( EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument 1938 eglReleaseTexImage( EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument 2008 eglLockSurfaceKHR(EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list) argument 2015 eglUnlockSurfaceKHR(EGLDisplay dpy, EGLSurface surface) argument [all...] |
H A D | texture.cpp | 80 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); 145 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); 168 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); 390 GGLSurface& surface = tex->editMip(level); 391 *outSurface = &surface; 403 *outSurface = &tex->surface; 452 void *surface, int stride, int format) 498 uint8_t* p = (uint8_t*)surface + y*stride*2; 522 uint8_t* p = (uint8_t*)surface + y*stride*3; 549 uint8_t* p = (uint8_t*)surface 451 decodePalette4(const GLvoid *data, int level, int width, int height, void *surface, int stride, int format) argument 1118 GGLSurface* surface; local [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 320 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 D | egl_object.cpp | 67 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 D | egl_object.h | 135 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/native/opengl/tests/angeles/ |
H A D | app-linux.cpp | 134 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;
|
/frameworks/native/opengl/tests/fillrate/ |
H A D | fillrate.cpp | 44 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/filter/ |
H A D | filter.cpp | 37 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/native/opengl/tests/finish/ |
H A D | finish.cpp | 45 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/tests/gl2_basic/ |
H A D | gl2_basic.cpp | 273 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/gl2_cameraeye/src/com/android/gl2cameraeye/ |
H A D | GL2CameraEye.java | 285 * surface is created. 331 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument 341 * Move the camera surface around based on some simple spring physics with drag
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
H A D | gl2_copyTexImage.cpp | 381 EGLSurface surface; local 424 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 426 if (surface == EGL_NO_SURFACE) { 437 returnValue = eglMakeCurrent(dpy, surface, surface, context); 442 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 444 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 462 eglSwapBuffers(dpy, surface);
|
/frameworks/native/opengl/tests/gl2_yuvtex/ |
H A D | gl2_yuvtex.cpp | 346 EGLSurface surface; local 379 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 381 if (surface == EGL_NO_SURFACE) { 392 returnValue = eglMakeCurrent(dpy, surface, surface, context); 397 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 399 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 411 fprintf(stderr, "Could not set up texture surface.\n"); 422 eglSwapBuffers(dpy, surface);
|
/frameworks/native/opengl/tests/gl_perf/ |
H A D | gl2_perf.cpp | 57 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);
|