/external/webkit/Source/WebCore/platform/graphics/cairo/ |
PatternCairo.cpp | 38 cairo_surface_t* surface = tileImage()->nativeImageForCurrentFrame(); local 39 if (!surface) 42 cairo_pattern_t* pattern = cairo_pattern_create_for_surface(surface);
|
/frameworks/base/services/java/com/android/server/wm/ |
BlackFrame.java | 25 import android.view.Surface; 37 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); 69 surface.setPosition(mTmpFloats[Matrix.MTRANS_X] [all...] |
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
eglCreateWindowSurface.java | 25 Surface sur = null; 32 } else if (win instanceof Surface) { 33 sur = (Surface) win; 36 EGLSurface surface; local 38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 40 surface = _eglCreateWindowSurfaceTexture(dpy, config, 45 "Surface, SurfaceView, SurfaceTexture or SurfaceHolder at the moment, " + 49 return surface;
|
/frameworks/native/services/surfaceflinger/tests/resize/ |
resize.cpp | 25 #include <gui/Surface.h> 44 sp<Surface> surface = surfaceControl->getSurface(); local 51 surface->lock(&outBuffer, NULL); 54 surface->unlockAndPost(); 56 surface->lock(&outBuffer); 58 surface->unlockAndPost();
|
/external/webkit/Source/WebCore/platform/graphics/gstreamer/ |
ImageGStreamerCairo.cpp | 54 cairo_surface_t* surface = cairo_image_surface_create_for_data(GST_BUFFER_DATA(buffer), cairoFormat, local 57 ASSERT(cairo_surface_status(surface) == CAIRO_STATUS_SUCCESS); 58 m_image = BitmapImage::create(surface);
|
ImageGStreamerQt.cpp | 53 QPixmap* surface = new QPixmap; local 55 surface->convertFromImage(image); 56 m_image = BitmapImage::create(surface);
|
/frameworks/base/core/java/android/webkit/ |
HTML5VideoInline.java | 24 import android.view.Surface; 34 // 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); local 59 mPlayer.setSurface(surface); 60 surface.release(); 64 // this should be after surface holder created 86 // Create the surface texture [all...] |
/external/chromium/chrome/browser/ui/window_snapshot/ |
window_snapshot_x.cc | 47 cairo_surface_t* surface = local 55 if (!surface) { 56 LOG(ERROR) << "Unable to create Cairo surface from XImage data"; 60 surface, SnapshotCallback, png_representation); 61 cairo_surface_destroy(surface);
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
PainterOpenVG.h | 125 SurfaceOpenVG* surface() { return m_surface; } function in class:WebCore::PainterOpenVG
|
/external/webkit/Source/WebCore/platform/gtk/ |
CursorGtk.cpp | 52 RefPtr<cairo_surface_t> surface = adoptRef(cairo_image_surface_create(CAIRO_FORMAT_A1, 32, 32)); local 53 RefPtr<cairo_t> cr = adoptRef(cairo_create(surface.get())); 58 GRefPtr<GdkPixbuf> pixbuf = adoptGRef(gdk_pixbuf_get_from_surface(surface.get(), 0, 0, 32, 32));
|
/external/webkit/Tools/DumpRenderTree/cairo/ |
PixelDumpSupportCairo.cpp | 67 cairo_surface_t* surface = cairo_get_target(bitmapContext); local 69 ASSERT(cairo_image_surface_get_format(surface) == CAIRO_FORMAT_ARGB32); // ImageDiff assumes 32 bit RGBA, we must as well. 71 size_t pixelsHigh = cairo_image_surface_get_height(surface); 72 size_t pixelsWide = cairo_image_surface_get_width(surface); 73 size_t bytesPerRow = cairo_image_surface_get_stride(surface); 76 unsigned char* bitmapData = static_cast<unsigned char*>(cairo_image_surface_get_data(surface)); 91 cairo_surface_t* surface = cairo_get_target(context->cairoContext()); local 92 printPNG(surface, checksum);
|
/frameworks/native/opengl/tests/filter/ |
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/ |
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/gl_perf/ |
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);
|
/frameworks/native/opengl/tests/linetex/ |
linetex.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); 109 eglSwapBuffers(dpy, surface);
|
/frameworks/native/opengl/tests/textures/ |
textures.cpp | 41 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/wilhelm/tests/sandbox/ |
nativewindow.cpp | 23 #include <gui/Surface.h> 39 sp<Surface> gSurface; 54 String8("A Surface"), 68 sp<Surface> surface = control->getSurface(); local 69 CHECK(surface != NULL); 71 gSurface = surface; 75 return surface.get();
|
/cts/tests/tests/media/src/android/media/cts/ |
VideoSurfaceView.java | 32 import android.view.Surface; 118 Surface surface = new Surface(mSurfaceTexture); local 119 mMediaPlayer.setSurface(surface); 120 surface.release(); 133 synchronized public void onFrameAvailable(SurfaceTexture surface) {
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
GraphicsContextCairoWin.cpp | 44 cairo_surface_t* surface = 0; local 50 surface = cairo_win32_surface_create(hdc); 54 surface = cairo_image_surface_create_for_data((unsigned char*)info.bmBits, 61 cairo_t* context = cairo_create(surface); 62 cairo_surface_destroy(surface); 100 cairo_surface_t* surface = cairo_image_surface_create_for_data(pixelData.buffer(), local 106 // Flip the target surface so that when we set the srcImage as 107 // the surface it will draw right-side-up. 111 cairo_set_source_surface(cr, surface, 0, 0); 119 cairo_surface_destroy(surface); 169 cairo_surface_t* surface = cairo_win32_surface_create(m_hdc); local [all...] |
/frameworks/base/core/jni/ |
android_view_HardwareRenderer.cpp | 28 EGLAPI void EGLAPIENTRY eglBeginFrame(EGLDisplay dpy, EGLSurface surface); 55 // Surface and display management 60 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 63 eglSurfaceAttrib(display, surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED); 75 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 79 eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &value); 104 EGLSurface surface = eglGetCurrentSurface(EGL_DRAW); local 110 eglQuerySurface(display, surface, EGL_WIDTH, &value); 113 eglQuerySurface(display, surface, EGL_HEIGHT, &value); 119 eglBeginFrame(display, surface); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
SDL_DirectFB_yuv.c | 43 IDirectFBSurface *surface; member in struct:private_yuvhwdata 61 /* take the one with a surface for video */ 138 ret = layer->GetSurface (layer, &hwdata->surface); 169 /* Set up the YUV surface function structure */ 213 IDirectFBSurface *surface = overlay->hwdata->surface; local 215 ret = surface->Lock (surface, DSLF_READ | DSLF_WRITE, &data, &pitch); 246 IDirectFBSurface *surface = overlay->hwdata->surface; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
SDL_dx5yuv.c | 41 LPDIRECTDRAWSURFACE3 surface; member in struct:private_yuvhwdata 57 /* Set up the surface description */ 72 /* Create the DirectDraw video surface */ 86 /* Make sure the surface format was set properly */ 161 /* Set up the YUV surface function structure */ 172 hwdata->surface = CreateYUVSurface(this, width, height, format); 173 if ( hwdata->surface == NULL ) { 199 LPDIRECTDRAWSURFACE3 surface; local 202 surface = overlay->hwdata->surface; 244 LPDIRECTDRAWSURFACE3 surface; local 253 LPDIRECTDRAWSURFACE3 surface; local [all...] |
/external/webkit/Source/WebKit/android/plugins/ |
ANPSurfaceInterface.cpp | 34 #include <gui/Surface.h> 42 // used to cache JNI method and field IDs for Surface Objects 49 static inline sp<android::Surface> getSurface(JNIEnv* env, jobject view) { 62 "()Landroid/view/Surface;"); 71 jobject surface = env->CallObjectMethod(holder, gSurfaceJavaGlue.getSurface); local 73 sp<android::Surface> sur = android_view_Surface_getSurface(env, surface); 76 env->DeleteLocalRef(surface); 94 sp<android::Surface> surface = getSurface(env, surfaceView) local 151 sp<android::Surface> surface = getSurface(env, surfaceView); local [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
gl_env.h | 31 #include <gui/Surface.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); 129 const EGLSurface& surface() const { function in class:android::filterfw::GLEnv [all...] |
/frameworks/native/opengl/libagl/ |
TextureObjectManager.h | 52 void setImageBits(void* vaddr) { surface.data = (GGLubyte*)vaddr; } 74 GGLSurface surface; member in class:android::EGLTextureObject
|