/external/mesa3d/src/gallium/drivers/r600/ |
r600_texture.c | 64 return rtex->surface.level[level].offset + 65 layer * rtex->surface.level[level].slice_size; 69 struct radeon_surface *surface, 81 surface->npix_x = ptex->width0; 82 surface->npix_y = ptex->height0; 83 surface->npix_z = ptex->depth0; 84 surface->blk_w = util_format_get_blockwidth(ptex->format); 85 surface->blk_h = util_format_get_blockheight(ptex->format); 86 surface->blk_d = 1; 87 surface->array_size = 1 211 struct radeon_surface *surface = &rtex->surface; local 452 struct radeon_surface surface; local 491 struct r600_surface *surface = CALLOC_STRUCT(r600_surface); local 527 struct radeon_surface surface; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_pixels_c.h | 31 extern SDL_PixelFormat *SDL_ReallocFormat(SDL_Surface *surface, int bpp, 33 extern void SDL_FormatChanged(SDL_Surface *surface); 43 extern Uint16 SDL_CalculatePitch(SDL_Surface *surface);
|
/external/skia/gm/ |
fatpathfill.cpp | 40 static void draw_fatpath(SkCanvas* canvas, SkSurface* surface, 44 surface->getCanvas()->clear(SK_ColorTRANSPARENT); 46 surface->getCanvas()->drawPath(paths[i], paint); 48 surface->draw(canvas, 0, 0, NULL); 74 SkAutoTUnref<SkSurface> surface(new_surface(SMALL_W, SMALL_H)); 87 draw_fatpath(canvas, surface, &path, 1);
|
/frameworks/av/camera/camera2/ |
CaptureRequest.cpp | 25 #include <gui/Surface.h> 48 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__); 51 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size); 58 ALOGV("%s: Read surface class = %s", __FUNCTION__, 65 // Surface.writeToParcel 67 ALOGV("%s: Read surface name = %s", 70 ALOGV("%s: Read surface binder = %p", 73 sp<Surface> surface; local 78 surface = new Surface(gbp) 105 sp<Surface> surface = mSurfaceList[i]; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/trace/ |
tr_texture.c | 78 struct pipe_surface *surface) 82 if(!surface) 85 assert(surface->texture == tr_res->resource); 91 memcpy(&tr_surf->base, surface, sizeof(struct pipe_surface)); 96 tr_surf->surface = surface; 101 pipe_surface_reference(&surface, NULL); 110 pipe_surface_reference(&tr_surf->surface, NULL);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_texture.h | 34 struct nouveau_surface surface; member in struct:nouveau_teximage 36 struct nouveau_surface surface; member in struct:nouveau_teximage::__anon15210
|
/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...] |
/external/chromium_org/ui/gl/ |
gl_context.cc | 100 void GLContext::SetCurrent(GLSurface* surface) { 101 current_context_.Pointer()->Set(surface ? this : NULL); 102 GLSurface::SetCurrent(surface); 136 GLContext* virtual_context, GLSurface* surface) { 138 return virtual_gl_api_->MakeCurrent(virtual_context, surface); 155 void GLContextReal::SetCurrent(GLSurface* surface) { 156 GLContext::SetCurrent(surface); 157 current_real_context_.Pointer()->Set(surface ? this : NULL);
|
gl_surface_x11.cc | 25 // This OSMesa GL surface can use XLib to swap the contents of the buffer to a 273 scoped_refptr<GLSurface> surface( 275 if (!surface->Initialize()) 278 return surface; 281 scoped_refptr<GLSurface> surface(new NativeViewGLSurfaceGLX(window)); 282 if (!surface->Initialize()) 285 return surface; 288 scoped_refptr<GLSurface> surface(new NativeViewGLSurfaceEGL(window)); 289 if (!surface->Initialize()) 292 return surface; [all...] |
/external/icu4c/samples/layout/ |
GDIFontMap.cpp | 18 GDIFontMap::GDIFontMap(GDISurface *surface, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status) 19 : FontMap(fileName, pointSize, guiSupport, status), fSurface(surface)
|
/external/mesa3d/src/gallium/drivers/trace/ |
tr_texture.c | 78 struct pipe_surface *surface) 82 if(!surface) 85 assert(surface->texture == tr_res->resource); 91 memcpy(&tr_surf->base, surface, sizeof(struct pipe_surface)); 96 tr_surf->surface = surface; 101 pipe_surface_reference(&surface, NULL); 110 pipe_surface_reference(&tr_surf->surface, NULL);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_texture.h | 34 struct nouveau_surface surface; member in struct:nouveau_teximage 36 struct nouveau_surface surface; member in struct:nouveau_teximage::__anon25554
|
/external/skia/tests/ |
SurfaceTest.cpp | 54 SkSurface* surface = createSurface(surfaceType, context); local 55 SkAutoTUnref<SkSurface> aur_surface(surface); 56 SkCanvas* canvas = surface->getCanvas(); 108 SkImage* imageBefore = surface->newImageSnapshot(); \ 111 SkImage* imageAfter = surface->newImageSnapshot(); \ 140 // The test verifies that the surface remains writable (usable) after 142 SkAutoTUnref<SkSurface> surface(createSurface(surfaceType, context)); 143 SkCanvas* canvas = surface->getCanvas(); 145 surface->newImageSnapshot()->unref(); // Create and destroy SkImage 153 // Bug was caused by onCopyOnWrite releasing the old surface textur 209 SkSurface* surface = createSurface(surfaceType, context); local 215 SkSurface* surface = createSurface(surfaceType, context); local [all...] |
/external/chromium_org/third_party/angle_dx11/src/libEGL/ |
Display.cpp | 24 #include "libEGL/Surface.h" 237 Surface *surface = new Surface(this, configuration, window, postSubBufferSupported); local 239 if (!surface->initialize()) 241 delete surface; 245 mSurfaceSet.insert(surface); 247 return success(surface); 350 Surface *surface = new Surface(this, configuration, shareHandle, width, height, textureFormat, textureTarget) local [all...] |
/external/harfbuzz_ng/util/ |
helper-cairo.cc | 50 cairo_surface_t *surface; local 52 surface = cairo_ps_surface_create_for_stream (write_func, closure, width, height); 53 cairo_ps_surface_set_eps (surface, true); 55 return surface; 109 cairo_surface_t *surface; member in struct:finalize_closure_t 120 status = helper_cairo_surface_write_to_ansi_stream (closure->surface, 135 cairo_surface_t *surface; local 141 surface = cairo_image_surface_create (CAIRO_FORMAT_A8, w, h); 145 surface = cairo_image_surface_create (CAIRO_FORMAT_RGB24, w, h); 148 surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, w, h) 193 cairo_surface_t *surface; local 338 cairo_surface_t *surface; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
bitmap.c | 43 VdpBitmapSurface *surface) 62 if (!surface) 100 *surface = vlAddDataHTAB(vlsurface); 101 if (*surface == 0) { 113 vlVdpBitmapSurfaceDestroy(VdpBitmapSurface surface) 117 vlsurface = vlGetDataHTAB(surface); 125 vlRemoveDataHTAB(surface); 135 vlVdpBitmapSurfaceGetParameters(VdpBitmapSurface surface, 143 vlsurface = vlGetDataHTAB(surface); 160 * Copy image data from application memory in the surface's native format t [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
bitmap.c | 43 VdpBitmapSurface *surface) 62 if (!surface) 100 *surface = vlAddDataHTAB(vlsurface); 101 if (*surface == 0) { 113 vlVdpBitmapSurfaceDestroy(VdpBitmapSurface surface) 117 vlsurface = vlGetDataHTAB(surface); 125 vlRemoveDataHTAB(surface); 135 vlVdpBitmapSurfaceGetParameters(VdpBitmapSurface surface, 143 vlsurface = vlGetDataHTAB(surface); 160 * Copy image data from application memory in the surface's native format t [all...] |
/external/chromium_org/skia/ext/ |
bitmap_platform_device_linux.cc | 45 cairo_surface_t* surface) 46 : surface_(surface), 49 bitmap_context_ = cairo_create(surface); 85 cairo_surface_t* surface) { 86 if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) { 87 cairo_surface_destroy(surface); 92 cairo_image_surface_get_stride(surface)); 93 bitmap.setPixels(cairo_image_surface_get_data(surface)); 98 (bitmap, new BitmapPlatformDeviceData(surface)); 104 cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32 local 128 cairo_surface_t* surface = cairo_image_surface_create_for_data( local 158 cairo_surface_t* surface = cairo_get_target(cairo); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/noop/ |
noop_state.c | 109 struct pipe_surface *surface = CALLOC_STRUCT(pipe_surface); local 111 if (surface == NULL) 113 pipe_reference_init(&surface->reference, 1); 114 pipe_resource_reference(&surface->texture, texture); 115 surface->context = ctx; 116 surface->format = surf_tmpl->format; 117 surface->width = texture->width0; 118 surface->height = texture->height0; 119 surface->usage = surf_tmpl->usage; 120 surface->texture = texture [all...] |
/external/mesa3d/src/gallium/drivers/noop/ |
noop_state.c | 109 struct pipe_surface *surface = CALLOC_STRUCT(pipe_surface); local 111 if (surface == NULL) 113 pipe_reference_init(&surface->reference, 1); 114 pipe_resource_reference(&surface->texture, texture); 115 surface->context = ctx; 116 surface->format = surf_tmpl->format; 117 surface->width = texture->width0; 118 surface->height = texture->height0; 119 surface->usage = surf_tmpl->usage; 120 surface->texture = texture [all...] |
/external/chromium/chrome/browser/ui/window_snapshot/ |
window_snapshot_x.cc | 47 cairo_surface_t* surface = local 55 if (!surface) { 56 LOG(ERROR) << "Unable to create Cairo surface from XImage data"; 60 surface, SnapshotCallback, png_representation); 61 cairo_surface_destroy(surface);
|
/external/chromium_org/third_party/libva/va/glx/ |
va_backend_glx.h | 31 /* Optional: create a surface used for display to OpenGL */ 39 /* Optional: destroy a VA/GLX surface */ 45 /* Optional: copy a VA surface to a VA/GLX surface */ 49 VASurfaceID surface,
|
/external/chromium_org/third_party/libva/va/ |
va_backend_tpi.h | 43 VASurfaceID *surface /* out */ 51 VASurfaceID *surface /* out */ 76 VASurfaceID *surface, /* out */ 90 VASurfaceID surface,
|
/external/chromium_org/third_party/mesa/src/src/egl/wayland/wayland-egl/ |
wayland-egl-priv.h | 18 struct wl_surface *surface; member in struct:wl_egl_window
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/ |
Makefile | 9 surface.c \
|