/external/webkit/Source/WebCore/platform/graphics/gtk/ |
GdkCairoUtilities.cpp | 33 GdkPixbuf* cairoImageSurfaceToGdkPixbuf(cairo_surface_t* surface) 35 return gdk_pixbuf_get_from_surface(surface, 0, 0, 36 cairo_image_surface_get_width(surface), 37 cairo_image_surface_get_height(surface));
|
GdkCairoUtilities.h | 29 GdkPixbuf* cairoImageSurfaceToGdkPixbuf(cairo_surface_t* surface);
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
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);
|
SDL_cgxaccel.c | 50 int CGX_SetHWColorKey(_THIS,SDL_Surface *surface, Uint32 key) 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->h)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
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/ |
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/ |
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/ |
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->format == NULL ) 158 SDL_Surface *surface; local [all...] |
SDL_blit.c | 232 /* Figure out which of many blit routines to set up on a surface */ 233 int SDL_CalculateBlit(SDL_Surface *surface) 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->flags & SDL_SRCCOLORKEY)) [all...] |
SDL_RLEaccel_c.h | 26 extern int SDL_RLESurface(SDL_Surface *surface); 31 extern void SDL_UnRLESurface(SDL_Surface *surface, int recode);
|
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->pitch) 335 SDL_Surface *surface; local [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
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) 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...] |
ewk_util.h | 32 Evas_Object* ewk_util_image_from_cairo_surface_add(Evas* canvas, cairo_surface_t* surface);
|
/frameworks/base/services/surfaceflinger/tests/surface/ |
Android.mk | 5 surface.cpp 14 LOCAL_MODULE:= test-surface
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
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/ |
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 [all...] |
/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...] |
/external/icu4c/samples/layout/ |
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);
|
rsurface.cpp | 16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, 19 RenderingSurface *rs = (RenderingSurface *) surface;
|
/frameworks/base/opengl/libagl/ |
TextureObjectManager.cpp | 36 if (mSize && surface.data) 37 free(surface.data); 45 memset(&surface, 0, sizeof(surface)); 46 surface.version = sizeof(surface); 76 if (!surface.data) 79 int w = surface.width; 80 int h = surface.height; 111 return surface; [all...] |
/development/ndk/platforms/android-9/include/android/ |
native_window_jni.h | 29 * Return the ANativeWindow associated with a Java Surface object, 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/prebuilt/ndk/android-ndk-r5/platforms/android-9/arch-arm/usr/include/android/ |
native_window_jni.h | 29 * Return the ANativeWindow associated with a Java Surface object, 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-arm/usr/include/android/ |
native_window_jni.h | 29 * Return the ANativeWindow associated with a Java Surface object, 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/android/ |
native_window_jni.h | 29 * Return the ANativeWindow associated with a Java Surface object, 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/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);
|