/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/surfaceflinger/tests/resize/ |
resize.cpp | 25 #include <surfaceflinger/Surface.h> 42 sp<Surface> surface = client->createSurface(getpid(), 0, 160, 240, local 47 surface->setLayer(100000); 50 Surface::SurfaceInfo info; 51 surface->lock(&info); 54 surface->unlockAndPost(); 56 surface->lock(&info); 58 surface->unlockAndPost(); 61 surface->setSize(320, 240) [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
BlackFrame.java | 23 import android.view.Surface; 33 final Surface surface; field in class:BlackFrame.BlackSurface 36 throws Surface.OutOfResourcesException { 41 surface = new Surface(session, 0, "BlackSurface", 42 -1, w, h, PixelFormat.OPAQUE, Surface.FX_SURFACE_DIM); 45 " BLACK " + surface + ": CREATE layer=" + layer); 46 surface.setAlpha(1.0f); 47 surface.setLayer(layer) [all...] |
/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/services/surfaceflinger/tests/surface/ |
surface.cpp | 25 #include <surfaceflinger/Surface.h> 50 sp<Surface> surface = Surface::readFromParcel(parcel); local 51 ANativeWindow* window = surface.get();
|
/frameworks/base/core/java/android/webkit/ |
HTML5VideoInline.java | 10 import android.view.Surface; 20 // surface texture as singleton. But the GL texture (m_textureNames) 21 // associated with the surface texture can be used for showing the screen 46 Surface surface = new Surface(surfaceTexture); local 47 mPlayer.setSurface(surface); 48 surface.release(); 52 // this should be after surface holder created 75 // 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/base/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/base/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/base/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/base/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/base/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);
|
/system/media/wilhelm/tests/sandbox/ |
nativewindow.cpp | 39 sp<Surface> gSurface; 54 String8("A Surface"), 69 sp<Surface> surface = control->getSurface(); local 70 CHECK(surface != NULL); 72 gSurface = surface; 76 return surface.get();
|
/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...] |
/cts/tests/src/android/media/cts/ |
MediaStubActivity.java | 36 SurfaceView surfaceV = (SurfaceView)findViewById(R.id.surface); 65 SurfaceView surface = (SurfaceView)findViewById(R.id.surface3); local 66 return surface.getHolder();
|
/development/tools/emulator/opengl/tests/emulator_test_renderer/ |
main.cpp | 68 SDL_Surface *surface = SDL_SetVideoMode(winWidth, winHeight, 32, SDL_SWSURFACE); local 69 if (surface == NULL) {
|
/development/tools/emulator/opengl/tests/ut_renderer/ |
Renderer.cpp | 63 fprintf(stderr, "trying to create surface for EGL_NO_SURFACE !!!\n"); 66 RendererSurface *surface = RendererSurface::create(m_dpy, RendererSurface::CONFIG_DEPTH, m_nw); local 67 if (surface == NULL) { 68 printf("failed to create surface !!\n"); 71 m_surfaces.insert(SurfaceMap::value_type(handle, surface)); 82 printf("removing surface that doesn't exists\n"); 173 const ClientHandle &surface) 177 SurfaceMap::iterator s = m_surfaces.find(surface); 179 fprintf(stderr, "swapping buffers for non existing surface\n");
|
/external/qemu/distrib/sdl-1.2.12/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.12/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 | 35 #include <surfaceflinger/Surface.h> 42 // used to cache JNI method and field IDs for Surface Objects 50 static inline sp<Surface> getSurface(JNIEnv* env, jobject view) { 63 "()Landroid/view/Surface;"); 65 jclass surfaceClass = env->FindClass("android/view/Surface"); 77 jobject surface = env->CallObjectMethod(holder, gSurfaceJavaGlue.getSurface); local 78 jint surfacePointer = env->GetIntField(surface, gSurfaceJavaGlue.surfacePointer); 81 env->DeleteLocalRef(surface); 83 return sp<Surface>((Surface*) surfacePointer) 99 sp<Surface> surface = getSurface(env, surfaceView); local 153 sp<Surface> surface = getSurface(env, surfaceView); local [all...] |
/frameworks/base/include/private/surfaceflinger/ |
LayerState.h | 37 : surface(0), what(0), 55 SurfaceID surface; member in struct:android::layer_state_t
|