HomeSort by relevance Sort by last modified time
    Searched defs:surface (Results 51 - 75 of 125) sorted by null

1 23 4 5

  /external/qemu/distrib/sdl-1.2.12/src/video/
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/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/distrib/sdl-1.2.12/src/video/xbios/
SDL_xbios.c 75 /* Hardware surface functions */
76 static int XBIOS_AllocHWSurface(_THIS, SDL_Surface *surface);
77 static int XBIOS_LockHWSurface(_THIS, SDL_Surface *surface);
78 static int XBIOS_FlipHWSurface(_THIS, SDL_Surface *surface);
79 static void XBIOS_UnlockHWSurface(_THIS, SDL_Surface *surface);
80 static void XBIOS_FreeHWSurface(_THIS, SDL_Surface *surface);
538 /* Allocate needed buffers: simple/double buffer and shadow surface */
704 static int XBIOS_AllocHWSurface(_THIS, SDL_Surface *surface)
709 static void XBIOS_FreeHWSurface(_THIS, SDL_Surface *surface)
714 static int XBIOS_LockHWSurface(_THIS, SDL_Surface *surface)
726 SDL_Surface *surface; local
    [all...]
  /external/webkit/Source/ThirdParty/ANGLE/src/libEGL/
Display.cpp 396 Surface *Display::createWindowSurface(HWND window, EGLConfig config)
400 Surface *surface = new Surface(this, configuration, window); local
401 mSurfaceSet.insert(surface);
403 return surface;
423 for (SurfaceSet::iterator surface = mSurfaceSet.begin(); surface != mSurfaceSet.end(); surface++)
425 (*surface)->resetSwapChain()
    [all...]
libEGL.cpp 63 bool validate(egl::Display *display, egl::Surface *surface)
70 if (!display->isValidSurface(surface))
373 EGLSurface surface = (EGLSurface)display->createWindowSurface(window, config); local
375 return success(surface);
437 EGLBoolean __stdcall eglDestroySurface(EGLDisplay dpy, EGLSurface surface)
439 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p)", dpy, surface);
450 if (surface == EGL_NO_SURFACE)
455 display->destroySurface((egl::Surface*)surface)
    [all...]
  /external/webkit/Source/WebCore/platform/efl/
RenderThemeEfl.h 229 cairo_surface_t* surface; member in struct:WebCore::RenderThemeEfl::ThemePartCacheEntry
  /external/webkit/Source/WebCore/platform/graphics/android/
TilesManager.cpp 232 void TilesManager::addPaintedSurface(PaintedSurface* surface)
234 m_paintedSurfaces.append(surface);
443 // Here, if the surface does not have any associated layer, it means that we
447 // If the surface does have a layer, but the GLWebViewState associated to
449 // also remove the surface (and we also remove/unref any layer that surface
456 PaintedSurface* surface = m_paintedSurfaces[i]; local
458 Layer* drawing = surface->drawingLayer();
459 Layer* painting = surface->paintingLayer();
461 XLOG("considering PS %p, drawing %p, painting %p", surface, drawing, painting)
473 PaintedSurface* surface = collect[i]; local
    [all...]
  /external/webkit/Source/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)
269 EGLSurface surface = eglCreatePbufferFromClientBuffer(m_display, local
    [all...]
  /external/webkit/Source/WebKit/efl/ewk/
ewk_history.cpp 577 * @return the surface reference or @c NULL on errors. Note that the
613 cairo_surface_t* surface; local
620 surface = icon->nativeImageForCurrentFrame();
621 return ewk_util_image_from_cairo_surface_add(canvas, surface);
  /frameworks/base/cmds/stagefright/
stream.cpp 315 String8("A Surface"),
330 sp<Surface> surface = control->getSurface(); local
331 CHECK(surface != NULL);
363 player->setVideoSurfaceTexture(surface->getSurfaceTexture());
  /frameworks/base/libs/camera/
ICamera.cpp 69 // pass the buffered Surface to the camera service
70 status_t setPreviewDisplay(const sp<Surface>& surface)
75 Surface::writeToParcel(surface, &data);
286 sp<Surface> surface = Surface::readFromParcel(data); local
287 reply->writeInt32(setPreviewDisplay(surface));
  /frameworks/base/libs/gui/
Surface.cpp 17 #define LOG_TAG "Surface"
39 #include <surfaceflinger/Surface.h>
50 const sp<ISurface>& surface,
52 : mClient(client), mSurface(surface),
78 // the surface's resource. Soon after this call, it will also release
192 sp<Surface> SurfaceControl::getSurface() const
197 mSurfaceData = new Surface(surface_control);
203 // Surface
208 Surface::Surface(const sp<SurfaceControl>& surface
276 sp<Surface> surface = sCachedSurfaces.valueFor(binder).promote(); local
    [all...]
  /frameworks/base/media/jni/
android_media_MediaRecorder.cpp 49 jfieldID surface; member in struct:fields_t
50 /* actually in android.view.Surface XXX */
109 static sp<Surface> get_surface(JNIEnv* env, jobject clazz)
112 Surface* const p = (Surface*)env->GetIntField(clazz, fields.surface_native);
113 return sp<Surface>(p);
319 jobject surface = env->GetObjectField(thiz, fields.surface); local
320 if (surface != NULL) {
321 const sp<Surface> native_surface = get_surface(env, surface)
407 jclass surface = env->FindClass("android\/view\/Surface"); local
    [all...]
  /frameworks/base/opengl/libs/EGL/
egl_object.h 142 EGLSurface surface, int impl, egl_connection_t const* cnx) :
143 egl_object_t(get_display(dpy)), dpy(dpy), surface(surface),
147 EGLSurface surface; member in class:android::egl_surface_t
220 egl_surface_t* get_surface(EGLSurface surface) {
221 return egl_to_native_cast<egl_surface_t>(surface);
  /frameworks/base/opengl/tests/gl2_basic/
gl2_basic.cpp 273 EGLSurface surface; local
313 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
315 if (surface == EGL_NO_SURFACE) {
326 returnValue = eglMakeCurrent(dpy, surface, surface, context);
331 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
333 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
351 eglSwapBuffers(dpy, surface);
  /frameworks/base/opengl/tests/gl2_copyTexImage/
gl2_copyTexImage.cpp 381 EGLSurface surface; local
424 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
426 if (surface == EGL_NO_SURFACE) {
437 returnValue = eglMakeCurrent(dpy, surface, surface, context);
442 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
444 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
462 eglSwapBuffers(dpy, surface);
  /frameworks/base/opengl/tests/gl_yuvtex/
gl_yuvtex.cpp 236 EGLSurface surface; local
269 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
271 if (surface == EGL_NO_SURFACE) {
282 returnValue = eglMakeCurrent(dpy, surface, surface, context);
287 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
289 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
301 fprintf(stderr, "Could not set up texture surface.\n");
314 eglSwapBuffers(dpy, surface);
  /frameworks/base/opengl/tests/hwc/
hwcColorEquiv.cpp 130 static EGLSurface surface; variable
397 hwcDevice->set(hwcDevice, dpy, surface, list);
419 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
hwcRects.cpp 171 static EGLSurface surface; variable
345 hwcDevice->set(hwcDevice, dpy, surface, list);
538 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
  /frameworks/base/services/input/
SpriteController.cpp 163 LOGE("Error %d resizing sprite surface from %dx%d to %dx%d",
175 LOGE("Error %d hiding sprite surface after resize.", status);
199 sp<Surface> surface = update.state.surfaceControl->getSurface(); local
200 Surface::SurfaceInfo surfaceInfo;
201 status_t status = surface->lock(&surfaceInfo);
203 LOGE("Error %d locking sprite surface before drawing.", status);
229 status = surface->unlockAndPost();
231 LOGE("Error %d unlocking and posting sprite surface after drawing.", status);
240 // Set sprite surface properties and make them visible
    [all...]
  /frameworks/base/services/surfaceflinger/DisplayHardware/
DisplayHardware.cpp 157 EGLSurface surface; local
206 * Create our main surface
209 surface = eglCreateWindowSurface(display, config, mNativeWindow.get(), NULL);
210 eglQuerySurface(display, surface, EGL_WIDTH, &mWidth);
211 eglQuerySurface(display, surface, EGL_HEIGHT, &mHeight);
216 eglSurfaceAttrib(display, surface,
220 if (eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &dummy) == EGL_TRUE) {
259 mSurface = surface;
268 result = eglMakeCurrent(display, surface, surface, context)
362 EGLSurface surface = mSurface; local
    [all...]
  /packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
HoloSpiralView.java 25 import android.view.Surface;
59 Surface surface = null; local
60 while (surface == null) {
61 surface = surfaceHolder.getSurface();
  /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/
ShellSizeAndPos.java 68 // Find which monitor displays the largest surface of the window.
72 int surface = i.width * i.height; local
73 if (surface > bestSurface) {
74 bestSurface = surface;
  /system/media/mca/filterfw/native/core/
gl_env.cpp 92 surface() != eglGetCurrentSurface(EGL_DRAW)) {
94 if (context() == EGL_NO_CONTEXT || surface() == EGL_NO_SURFACE)
99 eglMakeCurrent(display(), surface(), surface(), context());
107 const bool result = eglSwapBuffers(display(), surface()) == EGL_TRUE;
121 (surface() != EGL_NO_SURFACE);
139 // Configure context/surface
162 // Create dummy surface using a SurfaceTexture
186 && surface() == eglGetCurrentSurface(EGL_DRAW);
197 int GLEnv::AddWindowSurface(const EGLSurface& surface, WindowHandle* window_handle)
210 const SurfaceWindowPair* surface = FindOrNull(surfaces_, surface_id); local
    [all...]
  /development/tools/emulator/opengl/tests/translator_tests/GLES_V2/
triangleV2.cpp 226 void Draw(EGLDisplay display,EGLSurface surface,int width,int height,GLuint program)
253 eglSwapBuffers(display,surface);
371 SDL_Surface *surface = SDL_SetVideoMode(WINDOW_WIDTH,WINDOW_HEIGHT, 32, SDL_HWSURFACE); local
372 if (surface == NULL) {
403 printf("SURFACE == %p CONTEXT == %p\n",egl_surface,ctx);

Completed in 547 milliseconds

1 23 4 5