/external/webkit/Source/WebCore/platform/graphics/gtk/ |
H A D | GdkCairoUtilities.cpp | 33 GdkPixbuf* cairoImageSurfaceToGdkPixbuf(cairo_surface_t* surface) argument 35 return gdk_pixbuf_get_from_surface(surface, 0, 0, 36 cairo_image_surface_get_width(surface), 37 cairo_image_surface_get_height(surface));
|
H A D | GdkCairoUtilities.h | 29 GdkPixbuf* cairoImageSurfaceToGdkPixbuf(cairo_surface_t* surface);
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
H A D | SDL_cgximage_c.h | 30 extern int CGX_AllocHWSurface(_THIS, SDL_Surface *surface); 31 extern void CGX_FreeHWSurface(_THIS, SDL_Surface *surface); 32 extern int CGX_LockHWSurface(_THIS, SDL_Surface *surface); 33 extern void CGX_UnlockHWSurface(_THIS, SDL_Surface *surface); 34 extern int CGX_FlipHWSurface(_THIS, SDL_Surface *surface);
|
H A D | SDL_cgxaccel.c | 50 int CGX_SetHWColorKey(_THIS,SDL_Surface *surface, Uint32 key) argument 52 if(surface->hwdata) 54 if(surface->hwdata->mask) 55 SDL_free(surface->hwdata->mask); 57 if(surface->hwdata->mask=SDL_malloc(RASSIZE(surface->w,surface->h))) 62 SDL_memset(surface->hwdata->mask,255,RASSIZE(surface->w,surface [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
H A D | SDL_x11image_c.h | 30 extern int X11_AllocHWSurface(_THIS, SDL_Surface *surface); 31 extern void X11_FreeHWSurface(_THIS, SDL_Surface *surface); 32 extern int X11_LockHWSurface(_THIS, SDL_Surface *surface); 33 extern void X11_UnlockHWSurface(_THIS, SDL_Surface *surface); 34 extern int X11_FlipHWSurface(_THIS, SDL_Surface *surface);
|
/external/webkit/Source/WebKit/android/plugins/ |
H A D | ANPSurface_npapi.h | 33 /** Locks the surface from manipulation by other threads and provides a bitmap 36 surface will be considered dirty. If the lock was successful the function 40 bool (*lock)(JNIEnv* env, jobject surface, ANPBitmap* bitmap, ANPRectI* dirtyRect); 41 /** Given a locked surface handle (i.e. result of a successful call to lock) 42 the surface is unlocked and the contents of the bitmap, specifically 45 void (*unlock)(JNIEnv* env, jobject surface);
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | PatternCairo.cpp | 38 cairo_surface_t* surface = tileImage()->nativeImageForCurrentFrame(); local 39 if (!surface) 42 cairo_pattern_t* pattern = cairo_pattern_create_for_surface(surface);
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
H A D | SDL_surface.c | 35 * Create an empty RGB surface of the appropriate depth 44 SDL_Surface *surface; local 53 /* Check to see if we desire the surface in video memory */ 77 /* Allocate the surface */ 78 surface = (SDL_Surface *)SDL_malloc(sizeof(*surface)); 79 if ( surface == NULL ) { 83 surface->flags = SDL_SWSURFACE; 102 surface->format = SDL_AllocFormat(depth, Rmask, Gmask, Bmask, Amask); 103 if ( surface 158 SDL_Surface *surface; local 175 SDL_SetColorKey(SDL_Surface *surface, Uint32 flag, Uint32 key) argument 225 SDL_SetAlpha(SDL_Surface *surface, Uint32 flag, Uint8 value) argument 283 SDL_SetAlphaChannel(SDL_Surface *surface, Uint8 value) argument 368 SDL_SetClipRect(SDL_Surface *surface, const SDL_Rect *rect) argument 390 SDL_GetClipRect(SDL_Surface *surface, SDL_Rect *rect) argument 736 SDL_LockSurface(SDL_Surface *surface) argument 764 SDL_UnlockSurface(SDL_Surface *surface) argument 791 SDL_ConvertSurface(SDL_Surface *surface, SDL_PixelFormat *format, Uint32 flags) argument 903 SDL_FreeSurface(SDL_Surface *surface) argument [all...] |
H A D | SDL_blit.c | 232 /* Figure out which of many blit routines to set up on a surface */ 233 int SDL_CalculateBlit(SDL_Surface *surface) argument 238 if ( (surface->flags & SDL_RLEACCEL) == SDL_RLEACCEL ) { 239 SDL_UnRLESurface(surface, 1); 241 surface->map->sw_blit = NULL; 244 surface->flags &= ~SDL_HWACCEL; 245 if ( surface->map->identity ) { 248 if ( (surface->flags & SDL_HWSURFACE) == SDL_HWSURFACE ) { 250 if ( surface->map->dst->flags & SDL_HWSURFACE ) { 255 if (hw_blit_ok && (surface [all...] |
H A D | SDL_RLEaccel_c.h | 26 extern int SDL_RLESurface(SDL_Surface *surface); 31 extern void SDL_UnRLESurface(SDL_Surface *surface, int recode);
|
H A D | SDL_bmp.c | 54 SDL_Surface *surface; local 83 surface = NULL; 204 /* Create a compatible surface, note that the colors are RGB ordered */ 205 surface = SDL_CreateRGBSurface(SDL_SWSURFACE, 207 if ( surface == NULL ) { 213 palette = (surface->format)->palette; 236 /* Read the surface pixels. Note that the bmp image is upside down */ 242 bits = (Uint8 *)surface->pixels+(surface->h*surface 335 SDL_Surface *surface; local [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
H A D | ewk_util.h | 32 Evas_Object* ewk_util_image_from_cairo_surface_add(Evas* canvas, cairo_surface_t* surface);
|
H A D | ewk_util.cpp | 31 * @param surface cairo representation of an image 34 Evas_Object* ewk_util_image_from_cairo_surface_add(Evas* canvas, cairo_surface_t* surface) argument 45 EINA_SAFETY_ON_NULL_RETURN_VAL(surface, 0); 47 status = cairo_surface_status(surface); 49 ERR("cairo surface is invalid: %s", cairo_status_to_string(status)); 53 type = cairo_surface_get_type(surface); 55 ERR("unknown surface type %d, required %d (CAIRO_SURFACE_TYPE_IMAGE).", 60 format = cairo_image_surface_get_format(surface); 62 ERR("unknown surface format %d, expected %d or %d.", 67 w = cairo_image_surface_get_width(surface); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
H A D | SDL_ph_image_c.h | 42 extern int ph_AllocHWSurface(_THIS, SDL_Surface* surface); 43 extern void ph_FreeHWSurface(_THIS, SDL_Surface* surface); 45 extern int ph_FillHWRect(_THIS, SDL_Surface* surface, SDL_Rect* rect, Uint32 color); 46 extern int ph_LockHWSurface(_THIS, SDL_Surface* surface); 47 extern void ph_UnlockHWSurface(_THIS, SDL_Surface* surface); 48 extern int ph_FlipHWSurface(_THIS, SDL_Surface* surface); 49 extern int ph_SetHWColorKey(_THIS, SDL_Surface* surface, Uint32 key); 50 extern int ph_SetHWAlpha(_THIS, SDL_Surface* surface, Uint8 alpha);
|
/external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/ |
H A D | SDL_atarigl.c | 54 static void CopyShadowNull(_THIS, SDL_Surface *surface); 55 static void CopyShadowDirect(_THIS, SDL_Surface *surface); 56 static void CopyShadowRGBTo555(_THIS, SDL_Surface *surface); 57 static void CopyShadowRGBTo565(_THIS, SDL_Surface *surface); 58 static void CopyShadowRGBSwap(_THIS, SDL_Surface *surface); 59 static void CopyShadowRGBToARGB(_THIS, SDL_Surface *surface); 60 static void CopyShadowRGBToABGR(_THIS, SDL_Surface *surface); 61 static void CopyShadowRGBToBGRA(_THIS, SDL_Surface *surface); 62 static void CopyShadowRGBToRGBA(_THIS, SDL_Surface *surface); 63 static void CopyShadow8888To555(_THIS, SDL_Surface *surface); 257 SDL_Surface *surface; local 312 SDL_Surface *surface; local 678 CopyShadowNull(_THIS, SDL_Surface *surface) argument 682 CopyShadowDirect(_THIS, SDL_Surface *surface) argument 704 CopyShadowRGBTo555(_THIS, SDL_Surface *surface) argument 736 CopyShadowRGBTo565(_THIS, SDL_Surface *surface) argument 769 CopyShadowRGBSwap(_THIS, SDL_Surface *surface) argument 800 CopyShadowRGBToARGB(_THIS, SDL_Surface *surface) argument 834 CopyShadowRGBToABGR(_THIS, SDL_Surface *surface) argument 868 CopyShadowRGBToBGRA(_THIS, SDL_Surface *surface) argument 902 CopyShadowRGBToRGBA(_THIS, SDL_Surface *surface) argument 936 CopyShadow8888To555(_THIS, SDL_Surface *surface) argument 970 CopyShadow8888To565(_THIS, SDL_Surface *surface) argument 1007 ConvertNull(_THIS, SDL_Surface *surface) argument 1011 Convert565To555be(_THIS, SDL_Surface *surface) argument 1030 Convert565To555le(_THIS, SDL_Surface *surface) argument 1050 Convert565le(_THIS, SDL_Surface *surface) argument 1069 ConvertBGRAToABGR(_THIS, SDL_Surface *surface) argument [all...] |
/external/icu4c/samples/layout/ |
H A D | gdiglue.h | 27 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc); 28 void rs_gdiRenderingSurfaceClose(rs_surface *surface); 30 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
|
H A D | rsurface.cpp | 16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, argument 19 RenderingSurface *rs = (RenderingSurface *) surface;
|
H A D | gdiglue.cpp | 42 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc) argument 44 GDISurface *rs = (GDISurface *) surface; 49 void rs_gdiRenderingSurfaceClose(rs_surface *surface) argument 51 GDISurface *rs = (GDISurface *) surface; 56 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status) argument 58 return (fm_fontMap *) new GDIFontMap((GDISurface *) surface, fileName, pointSize, (GDIGUISupport *) guiSupport, *status);
|
/external/webkit/Tools/DumpRenderTree/cairo/ |
H A D | 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);
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
H A D | EGLDisplayOpenVG.cpp | 219 // The shared surface doesn't need to be drawn on, it just exists so 222 // We'll just make the shared surface as small as possible: 1x1 pixel. 224 EGLSurface surface = createPbufferSurface(IntSize(1, 1), config); local 228 m_contexts.set(m_surfaceConfigIds.get(surface), context); 232 m_sharedPlatformSurface->m_eglSurface = surface; 234 m_platformSurfaces.set(surface, m_sharedPlatformSurface); // a.k.a. registerPlatformSurface() 246 EGLSurface surface = eglCreatePbufferSurface(m_display, config, attribList); local 253 if (surface == EGL_NO_SURFACE) 261 ASSERT(!m_surfaceConfigIds.contains(surface)); 262 m_surfaceConfigIds.set(surface, surfaceConfigI 269 EGLSurface surface = eglCreatePbufferFromClientBuffer(m_display, local 308 surfacesCompatible(const EGLSurface& surface, const EGLSurface& otherSurface) argument 320 destroySurface(const EGLSurface& surface) argument 367 contextForSurface(const EGLSurface& surface) argument [all...] |
/external/qemu/android/skin/ |
H A D | surface.c | 12 #include "android/skin/surface.h" 20 #define D(...) VERBOSE_PRINT(surface,__VA_ARGS__) 28 SDL_Surface* surface; member in struct:SkinSurface 40 if (s->surface) { 41 SDL_FreeSurface(s->surface); 42 s->surface = NULL; 48 skin_surface_ref( SkinSurface* surface ) 50 if (surface) 51 surface->refcount += 1; 52 return surface; 136 _skin_surface_create( SDL_Surface* surface, void* pixels ) argument 159 SDL_Surface* surface; local 177 SDL_Surface* surface; local 197 SDL_Surface* surface; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
H A D | SDL_DirectFB_video.c | 61 /* Hardware surface functions */ 62 static int DirectFB_AllocHWSurface(_THIS, SDL_Surface *surface); 64 static int DirectFB_LockHWSurface(_THIS, SDL_Surface *surface); 65 static void DirectFB_UnlockHWSurface(_THIS, SDL_Surface *surface); 66 static void DirectFB_FreeHWSurface(_THIS, SDL_Surface *surface); 70 static int DirectFB_SetHWColorKey(_THIS, SDL_Surface *surface, Uint32 key); 71 static int DirectFB_SetHWAlpha(_THIS, SDL_Surface *surface, Uint8 alpha); 72 static int DirectFB_FlipHWSurface(_THIS, SDL_Surface *surface); 214 IDirectFBSurface *surface; member in struct:private_hwdata 502 /* Init the surface her 595 IDirectFBSurface *surface; local 802 DirectFB_AllocHWSurface(_THIS, SDL_Surface *surface) argument 847 DirectFB_FreeHWSurface(_THIS, SDL_Surface *surface) argument 879 IDirectFBSurface *surface = dst->hwdata->surface; local 906 IDirectFBSurface *surface = dst->hwdata->surface; local 921 IDirectFBSurface *surface = src->hwdata->surface; local 935 DirectFB_SetHWAlpha(_THIS, SDL_Surface *surface, Uint8 alpha) argument 940 DirectFB_FlipHWSurface(_THIS, SDL_Surface *surface) argument 957 DirectFB_LockHWSurface(_THIS, SDL_Surface *surface) argument 977 DirectFB_UnlockHWSurface(_THIS, SDL_Surface *surface) argument 1001 IDirectFBSurface *surface = this->screen->hwdata->surface; local 1092 IDirectFBSurface *surface = this->screen->hwdata->surface; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | 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...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
H A D | 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/WebCore/platform/gtk/ |
H A D | GtkVersioning.c | 118 gdk_cairo_surface_coerce_to_image(cairo_surface_t* surface, argument 126 if (cairo_surface_get_type(surface) == CAIRO_SURFACE_TYPE_IMAGE 127 && cairo_surface_get_content(surface) == content 128 && cairo_image_surface_get_width(surface) >= width 129 && cairo_image_surface_get_height(surface) >= height) 130 return cairo_surface_reference(surface); 138 cairo_set_source_surface(cr, surface, 0, 0); 202 * @surface: surface to copy from 203 * @src_x: Source X coordinate within @surface 220 gdk_pixbuf_get_from_surface(cairo_surface_t * surface, int srcX, int srcY, int width, int height) argument [all...] |