/frameworks/base/services/surfaceflinger/tests/surface/ |
Android.mk | 5 surface.cpp 14 LOCAL_MODULE:= test-surface
|
surface.cpp | 9 #include <surfaceflinger/Surface.h> 26 // create pushbuffer surface 37 sp<Surface> surface = Surface::readFromParcel(parcel); local 38 ANativeWindow* window = surface.get();
|
/frameworks/base/services/surfaceflinger/tests/resize/ |
resize.cpp | 9 #include <surfaceflinger/Surface.h> 20 static const sp<ISurface>& getISurface(const sp<Surface>& s) { 35 // create pushbuffer surface 36 sp<Surface> surface = client->createSurface(getpid(), 0, 160, 240, local 41 surface->setLayer(100000); 44 Surface::SurfaceInfo info; 45 surface->lock(&info); 48 surface->unlockAndPost(); 50 surface->lock(&info) [all...] |
/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_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...] |
/frameworks/base/core/java/android/view/ |
SurfaceHolder.java | 27 * Abstract interface to someone holding a display surface. Allows you to 28 * control the surface size and format, edit the pixels in the surface, and 29 * monitor changes to the surface. This interface is typically available 38 * Surface type. 44 /** Surface type: creates a regular surface, usually in main, non 47 /** Surface type: creates a suited to be used with DMA engines and 53 /** Surface type: creates a surface suited to be used with the GPU [all...] |
Surface.java | 29 public class Surface implements Parcelable { 30 private static final String LOG_TAG = "Surface"; 35 /** Surface is created hidden */ 38 /** The surface is to be used by hardware accelerators or DMA engines 44 /** Implies "HARDWARE", the surface is to be used by the GPU 52 /** The surface contains secure content, special measures will 53 * be taken to disallow the surface's content to be copied from 56 * surface might not be hardware accelerated. */ 59 /** Creates a surface where color components are interpreted as 73 * composited on top of each-other into the surface. A pre-multiplie [all...] |
/external/icu4c/samples/layout/ |
Surface.h | 5 class Surface 8 Surface(/*what?*/);
|
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;
|
gdiglue.cpp | 42 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc) 44 GDISurface *rs = (GDISurface *) surface; 49 void rs_gdiRenderingSurfaceClose(rs_surface *surface) 51 GDISurface *rs = (GDISurface *) surface; 56 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status) 58 return (fm_fontMap *) new GDIFontMap((GDISurface *) surface, fileName, pointSize, (GDIGUISupport *) guiSupport, *status);
|
/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...] |
/external/qemu/android/skin/ |
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; 159 SDL_Surface* surface; local 177 SDL_Surface* surface; local 197 SDL_Surface* surface; local [all...] |
surface.h | 22 /* increment surface's reference count */ 23 extern SkinSurface* skin_surface_ref( SkinSurface* surface ); 25 /* decrement a surface's reference count. takes the surface's address as parameter. 29 /* sets a callback that will be called when the surface is destroyed. 48 /* create a 'fast' surface that contains a copy of an input ARGB32 pixmap */ 51 /* create an empty 'slow' surface containing an ARGB32 pixmap */ 54 /* create a 'slow' surface from a given pixel buffer. if 'do_copy' is TRUE, then 65 /* surface pixels information for slow surfaces */ 73 /* lock a slow surface, and returns its pixel information [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
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...] |
/frameworks/base/core/jni/ |
android_view_Surface.cpp | 17 #define LOG_TAG "Surface" 24 #include <surfaceflinger/Surface.h> 52 "android/view/Surface$OutOfResourcesException"; 61 jfieldID surface; member in struct:android::so_t 145 const sp<SurfaceControl>& surface) 149 if (surface.get()) { 150 surface->incStrong(clazz); 155 env->SetIntField(clazz, so.surfaceControl, (int)surface.get()); 158 static sp<Surface> getSurface(JNIEnv* env, jobject clazz) 160 sp<Surface> result((Surface*)env->GetIntField(clazz, so.surface)) 215 sp<SurfaceControl> surface; local 601 const sp<SurfaceControl>& surface = getSurfaceControl(env, clazz); local [all...] |
/external/webkit/WebCore/platform/graphics/openvg/ |
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, surfaceConfigId) [all...] |
/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);
|
/hardware/ti/omap3/libstagefrighthw/ |
stagefright_overlay_output.cpp | 10 const sp<ISurface> &surface, 19 surface, displayWidth, displayHeight,
|
/cts/tests/tests/view/src/android/view/cts/ |
Surface_OutOfResourcesExceptionTest.java | 20 import android.view.Surface; 21 import android.view.Surface.OutOfResourcesException; 34 method = "Surface.OutOfResourcesException", 39 method = "Surface.OutOfResourcesException", 44 new Surface.OutOfResourcesException(); 45 new Surface.OutOfResourcesException(NAME);
|
/frameworks/base/services/surfaceflinger/tests/overlays/ |
overlays.cpp | 8 #include <surfaceflinger/Surface.h> 17 static const sp<ISurface>& getISurface(const sp<Surface>& s) { 32 // create pushbuffer surface 33 sp<Surface> surface = client->createSurface(getpid(), 0, 320, 240, local 37 sp<ISurface> isurface = Test::getISurface(surface);
|
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
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 here as it got a fixed size * 595 IDirectFBSurface *surface; local 879 IDirectFBSurface *surface = dst->hwdata->surface; local 906 IDirectFBSurface *surface = dst->hwdata->surface; local 921 IDirectFBSurface *surface = src->hwdata->surface; local 1001 IDirectFBSurface *surface = this->screen->hwdata->surface; local 1092 IDirectFBSurface *surface = this->screen->hwdata->surface; local [all...] |
/frameworks/base/libs/surfaceflinger_client/ |
Surface.cpp | 17 #define LOG_TAG "Surface" 38 #include <surfaceflinger/Surface.h> 107 const sp<ISurface>& surface, 110 : mClient(client), mSurface(surface), 138 // the surface's resource. Soon after this call, it will also release 263 sp<Surface> SurfaceControl::getSurface() const 267 mSurfaceData = new Surface(const_cast<SurfaceControl*>(this)); 273 // Surface 323 Surface::Surface(const sp<SurfaceControl>& surface 385 sp<Surface> surface = sCachedSurfaces.valueFor(binder).promote(); local 846 sp<ISurface> surface; member in class:android::SetBufferCountIPC [all...] |
/external/webkit/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...] |