HomeSort by relevance Sort by last modified time
    Searched full:surface (Results 1 - 25 of 3310) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/gpu/gles2_conform_support/egl/
surface.cc 5 #include "gpu/gles2_conform_support/egl/surface.h"
9 Surface::Surface(EGLNativeWindowType win) : window_(win) {
12 Surface::~Surface() {
surface.h 14 class Surface {
16 explicit Surface(EGLNativeWindowType win);
17 ~Surface();
24 DISALLOW_COPY_AND_ASSIGN(Surface);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/common/
SurfaceWrapper.java 9 import android.view.Surface;
12 * A wrapper for marshalling a Surface without self-destruction.
15 private final Surface mSurface;
17 public SurfaceWrapper(Surface surface) {
18 mSurface = surface;
21 public Surface getSurface() {
32 // Ignore flags so that the Surface won't call release()
39 Surface surface = Surface.CREATOR.createFromParcel(in)
    [all...]
IChildProcessCallback.aidl 8 import android.view.Surface;
12 // Conduit to pass a Surface from the sandboxed renderer to the plugin.
14 int pid, in Surface surface, int primaryID, int secondaryID);
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_LockSurface.3 3 SDL_LockSurface \- Lock a surface for directly access\&.
8 \fBint \fBSDL_LockSurface\fP\fR(\fBSDL_Surface *surface\fR);
11 \fBSDL_LockSurface\fP sets up a surface for directly accessing the pixels\&. Between calls to \fBSDL_LockSurface\fP and \fBSDL_UnlockSurface\fP, you can write to and read from \fBsurface->\fBpixels\fR\fR, using the pixel format stored in \fBsurface->\fBformat\fR\fR\&. Once you are done accessing the surface, you should use \fBSDL_UnlockSurface\fP to release it\&.
13 Not all surfaces require locking\&. If \fBSDL_MUSTLOCK\fP(\fBsurface\fR) evaluates to \fB0\fR, then you can read and write to the surface at any time, and the pixel format of the surface will not change\&.
17 It should be noted, that since SDL 1\&.1\&.8 surface locks are recursive\&. This means that you can lock a surface multiple times, but each lock must have a match unlock\&.
22 SDL_LockSurface( surface );
24 /* Surface is locked *
    [all...]
SDL_Surface.3 3 SDL_Surface \- Graphical Surface Structure
17 /* Reference count -- used when freeing surface */
27 Surface flags
33 Width and height of the surface
36 Length of a surface scanline in bytes
42 surface clip \fIrectangle\fR
45 \fBSDL_Surface\fR\&'s represent areas of "graphical" memory, memory that can be drawn to\&. The video framebuffer is returned as a \fBSDL_Surface\fR by \fI\fBSDL_SetVideoMode\fP\fR and \fI\fBSDL_GetVideoSurface\fP\fR\&. Most of the fields should be pretty obvious\&. \fBw\fR and \fBh\fR are the width and height of the surface in pixels\&. \fBpixels\fR is a pointer to the actual pixel data, the surface should be \fIlocked\fR before accessing this field\&. The \fBclip_rect\fR field is the clipping rectangle as set by \fI\fBSDL_SetClipRect\fP\fR\&.
50 Surface is stored in system memory
53 Surface is stored in video memor
    [all...]
SDL_SetClipRect.3 3 SDL_SetClipRect \- Sets the clipping rectangle for a surface\&.
8 \fBvoid \fBSDL_SetClipRect\fP\fR(\fBSDL_Surface *surface, SDL_Rect *rect\fR);
11 Sets the clipping rectangle for a surface\&. When this surface is the destination of a blit, only the area within the clip rectangle will be drawn into\&.
13 The rectangle pointed to by \fBrect\fR will be clipped to the edges of the surface so that the clip rectangle for a surface can never fall outside the edges of the surface\&.
15 If \fBrect\fR is \fBNULL\fP the clipping rectangle will be set to the full size of the surface\&.
SDL_GetClipRect.3 3 SDL_GetClipRect \- Gets the clipping rectangle for a surface\&.
8 \fBvoid \fBSDL_GetClipRect\fP\fR(\fBSDL_Surface *surface, SDL_Rect *rect\fR);
11 Gets the clipping rectangle for a surface\&. When this surface is the destination of a blit, only the area within the clip rectangle is drawn into\&.
13 The rectangle pointed to by \fBrect\fR will be filled with the clipping rectangle of the surface\&.
SDL_GetVideoSurface.3 3 SDL_GetVideoSurface \- returns a pointer to the current display surface
11 This function returns a pointer to the current display surface\&. If SDL is doing format conversion on the display surface, this function returns the publicly visible surface, not the real video surface\&.
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/wayland/
native_wayland.c 148 struct wayland_surface *surface = data; local
153 if (!surface->pending_resource)
156 pipe_resource_reference(&surface->pending_resource, NULL);
164 wayland_window_surface_handle_resize(struct wayland_surface *surface)
166 struct wayland_display *display = surface->display;
171 front_resource = resource_surface_get_single_resource(surface->rsurf,
173 if (resource_surface_set_size(surface->rsurf,
174 surface->win->width, surface->win->height)) {
176 if (surface->pending_resource
207 struct wayland_surface *surface = wayland_surface(nsurf); local
230 struct wayland_surface *surface = data; local
254 struct wayland_surface *surface = wayland_surface(nsurf); local
302 struct wayland_surface *surface = wayland_surface(nsurf); local
353 struct wayland_surface *surface = wayland_surface(nsurf); local
376 struct wayland_surface *surface; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/egl/wayland/
native_wayland.c 148 struct wayland_surface *surface = data; local
153 if (!surface->pending_resource)
156 pipe_resource_reference(&surface->pending_resource, NULL);
164 wayland_window_surface_handle_resize(struct wayland_surface *surface)
166 struct wayland_display *display = surface->display;
171 front_resource = resource_surface_get_single_resource(surface->rsurf,
173 if (resource_surface_set_size(surface->rsurf,
174 surface->win->width, surface->win->height)) {
176 if (surface->pending_resource
207 struct wayland_surface *surface = wayland_surface(nsurf); local
230 struct wayland_surface *surface = data; local
254 struct wayland_surface *surface = wayland_surface(nsurf); local
302 struct wayland_surface *surface = wayland_surface(nsurf); local
353 struct wayland_surface *surface = wayland_surface(nsurf); local
376 struct wayland_surface *surface; local
    [all...]
  /external/chromium_org/ui/gl/
gl_surface_android.cc 37 scoped_refptr<GLSurface> surface(new GLSurfaceOSMesaHeadless());
38 if (!surface->Initialize())
40 return surface;
44 scoped_refptr<GLSurface> surface = new NativeViewGLSurfaceEGL(window); local
45 if (surface->Initialize())
46 return surface;
48 scoped_refptr<GLSurface> surface = new GLSurfaceStub(); local
49 if (surface->Initialize())
50 return surface;
61 scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(1, size))
68 scoped_refptr<GLSurface> surface; local
    [all...]
  /frameworks/native/opengl/tools/glgen/stubs/egl/
eglCreateWindowSurface.java 25 Surface sur = null;
32 } else if (win instanceof Surface) {
33 sur = (Surface) win;
36 EGLSurface surface; local
38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
40 surface = _eglCreateWindowSurfaceTexture(dpy, config,
45 "Surface, SurfaceView, SurfaceTexture or SurfaceHolder at the moment, " +
49 return surface;
  /external/qemu/distrib/sdl-1.2.15/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...]
  /external/chromium_org/ui/ozone/platform/dri/
hardware_display_controller_unittest.cc 50 scoped_ptr<ui::ScanoutSurface> surface(
53 EXPECT_TRUE(surface->Initialize());
54 EXPECT_TRUE(controller_->BindSurfaceToController(surface.Pass(),
56 EXPECT_TRUE(controller_->surface() != NULL);
60 scoped_ptr<ui::ScanoutSurface> surface(
63 EXPECT_TRUE(surface->Initialize());
64 EXPECT_TRUE(controller_->BindSurfaceToController(surface.Pass(),
67 EXPECT_TRUE(controller_->surface() != NULL);
73 scoped_ptr<ui::ScanoutSurface> surface(
76 EXPECT_TRUE(surface->Initialize())
    [all...]
  /external/chromium_org/cc/surfaces/
surface_manager.h 15 class Surface;
23 SurfaceId RegisterAndAllocateIdForSurface(Surface* surface);
26 Surface* GetSurfaceForId(SurfaceId surface_id);
29 typedef base::hash_map<int, Surface*> SurfaceMap;
surface_unittest.cc 7 #include "cc/surfaces/surface.h"
21 Surface surface(&manager, NULL, gfx::Size(5, 5));
22 surface_id = surface.surface_id();
24 EXPECT_EQ(&surface, manager.GetSurfaceForId(surface_id));
54 Surface* surface) {
64 surface->QueueFrame(frame.Pass());
83 Surface* surface) {
    [all...]
  /frameworks/base/core/java/android/hardware/display/
VirtualDisplay.java 20 import android.view.Surface;
24 * {@link android.view.Surface} that you must provide to {@link DisplayManager#createVirtualDisplay
27 * Because a virtual display renders to a surface provided by the application, it will be
39 private Surface mSurface;
42 IVirtualDisplayCallback token, Surface surface) {
46 mSurface = surface;
57 * Gets the surface that backs the virtual display.
59 public Surface getSurface() {
64 * Sets the surface that backs the virtual display
    [all...]
  /external/chromium_org/gpu/
DEPS 10 "+ui/surface",
  /frameworks/base/core/java/android/view/
SurfaceHolder.java 23 * Abstract interface to someone holding a display surface. Allows you to
24 * control the surface size and format, edit the pixels in the surface, and
25 * monitor changes to the surface. This interface is typically available
49 * Exception that is thrown from {@link #lockCanvas} when called on a Surface
63 * changes to the surface. When used with a {@link SurfaceView}, the
64 * Surface being held is only available between calls to
71 * This is called immediately after the surface is first created.
74 * a {@link Surface}, so you should not draw into the Surface her
    [all...]
  /external/chromium_org/third_party/skia/tests/
DeferredCanvasTest.cpp 35 SkSurface* surface = SkSurface::NewRasterPMColor(gWidth, gHeight); local
36 surface->getCanvas()->clear(color);
37 return surface;
40 static SkPMColor read_pixel(SkSurface* surface, int x, int y) {
48 surface->draw(&canvas, -SkIntToScalar(x), -SkIntToScalar(y), &paint);
55 SkAutoTUnref<SkSurface> surface(createSurface(0xFFFFFFFF));
56 SkAutoTUnref<SkDeferredCanvas> canvas(SkDeferredCanvas::Create(surface.get()));
61 REPORTER_ASSERT(reporter, 0xFFFFFFFF == read_pixel(surface, 0, 0));
66 REPORTER_ASSERT(reporter, 0 == read_pixel(surface, 0, 0));
106 SkAutoTUnref<MockSurface> surface(SkNEW_ARGS(MockSurface, (10, 10)))
691 SkSurface* surface; local
757 SkSurface* surface; local
    [all...]
  /external/skia/tests/
DeferredCanvasTest.cpp 35 SkSurface* surface = SkSurface::NewRasterPMColor(gWidth, gHeight); local
36 surface->getCanvas()->clear(color);
37 return surface;
40 static SkPMColor read_pixel(SkSurface* surface, int x, int y) {
48 surface->draw(&canvas, -SkIntToScalar(x), -SkIntToScalar(y), &paint);
55 SkAutoTUnref<SkSurface> surface(createSurface(0xFFFFFFFF));
56 SkAutoTUnref<SkDeferredCanvas> canvas(SkDeferredCanvas::Create(surface.get()));
61 REPORTER_ASSERT(reporter, 0xFFFFFFFF == read_pixel(surface, 0, 0));
66 REPORTER_ASSERT(reporter, 0 == read_pixel(surface, 0, 0));
106 SkAutoTUnref<MockSurface> surface(SkNEW_ARGS(MockSurface, (10, 10)))
691 SkSurface* surface; local
757 SkSurface* surface; local
    [all...]
  /bootable/recovery/minui/
resources.c 41 gr_surface surface = (gr_surface) temp;
42 surface->data = temp + sizeof(GRSurface) +
44 return surface;
141 gr_surface surface; local
143 surface = malloc_surface(width * height * 4);
144 if (surface == NULL) return NULL;
146 surface->width = width;
147 surface->height = height;
148 surface->row_bytes = width * 4;
149 surface->pixel_bytes = 4
200 gr_surface surface = NULL; local
235 gr_surface* surface = NULL; local
309 gr_surface surface = NULL; local
371 gr_surface surface = NULL; local
    [all...]
  /external/chromium_org/ui/gl/android/
scoped_java_surface.h 18 // A helper class for holding a scoped reference to a Java Surface instance.
19 // When going out of scope, Surface.release() is called on the Java object to
27 // Wraps an existing Java Surface object in a ScopedJavaSurface.
28 explicit ScopedJavaSurface(const base::android::JavaRef<jobject>& surface);
30 // Creates a Java Surface from a SurfaceTexture and wraps it in a
34 // Move constructor. Take the surface from another ScopedJavaSurface object,
35 // the latter no longer owns the surface afterwards.
40 // someone else is responsible to call Surface.release().
41 static ScopedJavaSurface AcquireExternalSurface(jobject surface);
45 // Check whether the surface is an empty one
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
LegacyCameraDevice.java 40 import android.view.Surface;
70 private List<Surface> mConfiguredSurfaces;
223 * Check if a given surface uses {@link ImageFormat#YUV_420_888} or format that can be readily
226 * @param s the surface to check.
230 static boolean needsConversion(Surface s) throws BufferQueueAbandonedException {
272 * <p>Every surface in {@code outputs} must be non-{@code null}.</p>
278 public int configureOutputs(List<Surface> outputs) {
280 for (Surface output : outputs) {
288 // Validate surface size and format.
311 Log.e(TAG, String.format("Surface with size (w=%d, h=%d) and format 0x%x is
    [all...]

Completed in 1260 milliseconds

1 2 3 4 5 6 7 8 91011>>