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

1 2 3 4 5 6 7

  /external/libdrm/radeon/
radeon_surface.c 91 struct radeon_surface *surf);
93 struct radeon_surface *surf);
162 static void surf_minify(struct radeon_surface *surf,
168 surflevel->npix_x = mip_minify(surf->npix_x, level);
169 surflevel->npix_y = mip_minify(surf->npix_y, level);
170 surflevel->npix_z = mip_minify(surf->npix_z, level);
171 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w;
172 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h
    [all...]
  /external/mesa3d/src/egl/main/
eglsurface.h 82 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type,
87 _eglQuerySurface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint attribute, EGLint *value);
91 _eglSurfaceAttrib(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint attribute, EGLint value);
95 _eglBindTexImage(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint buffer);
99 _eglSwapInterval(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint interval);
106 _eglGetSurface(_EGLSurface *surf)
108 if (surf)
109 _eglGetResource(&surf->Resource);
110 return surf;
118 _eglPutSurface(_EGLSurface *surf)
154 _EGLSurface *surf = (_EGLSurface *) surface; local
    [all...]
eglsurface.c 48 _eglClampSwapInterval(_EGLSurface *surf, EGLint interval)
50 EGLint bound = surf->Config->MaxSwapInterval;
55 bound = surf->Config->MinSwapInterval;
59 surf->SwapInterval = interval;
65 _eglParseScreenSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list)
82 surf->Width = val;
89 surf->Height = val;
111 _eglParseSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list)
113 _EGLDisplay *dpy = surf->Resource.Display;
114 EGLint type = surf->Type
    [all...]
eglapi.c 144 #define _EGL_CHECK_SURFACE(disp, surf, ret, drv) \
145 _EGL_CHECK_OBJECT(disp, Surface, surf, ret, drv)
179 _eglCheckSurface(_EGLDisplay *disp, _EGLSurface *surf, const char *msg)
184 if (!surf) {
527 _EGLSurface *surf; local
534 surf = drv->API.CreateWindowSurface(drv, disp, conf, window, attrib_list);
535 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE;
548 _EGLSurface *surf; local
555 surf = drv->API.CreatePixmapSurface(drv, disp, conf, pixmap, attrib_list)
569 _EGLSurface *surf; local
585 _EGLSurface *surf = _eglLookupSurface(surface, disp); local
601 _EGLSurface *surf = _eglLookupSurface(surface, disp); local
616 _EGLSurface *surf = _eglLookupSurface(surface, disp); local
631 _EGLSurface *surf = _eglLookupSurface(surface, disp); local
646 _EGLSurface *surf = _eglLookupSurface(surface, disp); local
662 _EGLSurface *surf; local
687 _EGLSurface *surf = _eglLookupSurface(surface, disp); local
708 _EGLSurface *surf = _eglLookupSurface(surface, disp); local
824 _EGLSurface *surf; local
1066 _EGLSurface *surf; local
1084 _EGLSurface *surf = _eglLookupSurface(surface, disp); local
1139 _EGLSurface *surf; local
1254 _EGLSurface *surf; local
1438 _EGLSurface *surf = _eglLookupSurface(surface, disp); local
1567 _EGLSurface *surf = _eglLookupSurface(surface, disp); local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
gen7_wm_surface_state.c 65 gen7_set_surface_tiling(struct gen7_surface_state *surf, uint32_t tiling)
69 surf->ss0.tiled_surface = 0;
70 surf->ss0.tile_walk = 0;
73 surf->ss0.tiled_surface = 1;
74 surf->ss0.tile_walk = BRW_TILEWALK_XMAJOR;
77 surf->ss0.tiled_surface = 1;
78 surf->ss0.tile_walk = BRW_TILEWALK_YMAJOR;
85 gen7_set_surface_msaa(struct gen7_surface_state *surf, unsigned num_samples,
89 surf->ss4.num_multisamples = GEN7_SURFACE_MULTISAMPLECOUNT_8;
91 surf->ss4.num_multisamples = GEN7_SURFACE_MULTISAMPLECOUNT_4
239 struct gen7_surface_state *surf; local
303 struct gen7_surface_state *surf; local
411 struct gen7_surface_state *surf; local
471 struct gen7_surface_state *surf; local
509 struct gen7_surface_state *surf; local
    [all...]
brw_wm_surface_state.c 721 uint32_t *surf; local
734 surf = brw_state_batch(brw, AUB_TRACE_SURFACE_STATE,
737 surf[0] = (BRW_SURFACE_BUFFER << BRW_SURFACE_TYPE_SHIFT |
778 uint32_t *surf; local
836 uint32_t *surf; local
885 uint32_t *surf = brw_state_batch(brw, AUB_TRACE_SURFACE_STATE, 6 * 4, 32, local
1040 uint32_t *surf; local
1124 uint32_t *surf; local
    [all...]
brw_state_dump.c 179 const char *name = "SURF";
180 uint32_t *surf = brw->intel.batch.bo->virtual + offset; local
183 get_965_surfacetype(GET_FIELD(surf[0], BRW_SURFACE_TYPE)),
184 get_965_surface_format(GET_FIELD(surf[0], BRW_SURFACE_FORMAT)));
187 GET_FIELD(surf[2], BRW_SURFACE_WIDTH) + 1,
188 GET_FIELD(surf[2], BRW_SURFACE_HEIGHT) + 1,
189 GET_FIELD(surf[2], BRW_SURFACE_LOD));
191 GET_FIELD(surf[3], BRW_SURFACE_PITCH) + 1,
192 (surf[3] & BRW_SURFACE_TILED) ?
193 ((surf[3] & BRW_SURFACE_TILED_Y) ? "Y" : "X") : "not")
204 struct gen7_surface_state *surf = brw->intel.batch.bo->virtual + offset; local
    [all...]
gen7_blorp.cpp 155 struct gen7_surface_state *surf = (struct gen7_surface_state *) local
156 brw_state_batch(brw, AUB_TRACE_SURFACE_STATE, sizeof(*surf), 32,
158 memset(surf, 0, sizeof(*surf));
161 surf->ss0.vertical_alignment = 1;
163 surf->ss0.horizontal_alignment = 1;
165 surf->ss0.surface_format = surface->brw_surfaceformat;
166 surf->ss0.surface_type = BRW_SURFACE_2D;
167 surf->ss0.surface_array_spacing = surface->array_spacing_lod0 ?
171 surf->ss1.base_addr = surface->compute_tile_offsets(&tile_x, &tile_y)
    [all...]
  /bootable/recovery/minui/
graphics_adf.cpp 53 static int adf_surface_init(adf_pdata *pdata, drm_mode_modeinfo *mode, adf_surface_pdata *surf) {
54 memset(surf, 0, sizeof(*surf));
56 surf->fd = adf_interface_simple_buffer_alloc(pdata->intf_fd, mode->hdisplay,
57 mode->vdisplay, pdata->format, &surf->offset, &surf->pitch);
58 if (surf->fd < 0)
59 return surf->fd;
61 surf->base.width = mode->hdisplay;
62 surf->base.height = mode->vdisplay
199 adf_surface_pdata *surf = &pdata->surfaces[pdata->current_surface]; local
    [all...]
  /external/mesa3d/src/gallium/winsys/svga/drm/
vmw_surface.h 61 svga_winsys_surface(struct vmw_svga_winsys_surface *surf)
63 assert(!surf || surf->sid != SVGA3D_INVALID_ID);
64 return (struct svga_winsys_surface *)surf;
69 vmw_svga_winsys_surface(struct svga_winsys_surface *surf)
71 return (struct vmw_svga_winsys_surface *)surf;
  /external/skia/gm/
cgm.c 56 sk_surface_t* surf = sk_surface_new_raster(&info); local
57 do_draw(sk_surface_get_canvas(surf));
59 sk_image_t* img0 = sk_surface_new_image_snapshot(surf);
60 sk_surface_unref(surf);
image.cpp 57 static void test_surface(SkCanvas* canvas, SkSurface* surf, bool usePaint) {
58 drawContents(surf, SK_ColorRED);
59 SkImage* imgR = surf->newImageSnapshot();
62 SkImage* imgR2 = surf->newImageSnapshot();
67 drawContents(surf, SK_ColorGREEN);
68 SkImage* imgG = surf->newImageSnapshot();
73 drawContents(surf, SK_ColorBLUE);
81 surf->draw(canvas, 0, 160, usePaint ? &paint : NULL);
84 src1.iset(0, 0, surf->width(), surf->height())
    [all...]
surface.cpp 136 SkAutoTUnref<SkSurface> surf(canvas->newSurface(info, NULL));
137 if (!surf.get()) {
138 surf.reset(SkSurface::NewRaster(info));
140 drawInto(surf->getCanvas());
142 SkAutoTUnref<SkImage> image(surf->newImageSnapshot());
149 SkASSERT(equal(surf->props(), surf2->props()));
srcmode.cpp 137 SkAutoTUnref<SkSurface> surf(compat_surface(canvas, this->getISize(),
139 surf->getCanvas()->drawColor(SK_ColorWHITE);
140 this->drawContent(surf->getCanvas());
141 surf->draw(canvas, 0, 0, NULL);
  /external/mesa3d/src/gallium/state_trackers/vdpau/
presentation.c 206 vlVdpOutputSurface *surf; local
220 surf = vlGetDataHTAB(surface);
221 if (!surf)
242 surf->timestamp = (vlVdpTime)earliest_presentation_time;
266 vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL);
278 pipe->screen->fence_reference(pipe->screen, &surf->fence, NULL);
279 pipe->flush(pipe, &surf->fence);
313 vlVdpOutputSurface *surf; local
323 surf = vlGetDataHTAB(surface);
324 if (!surf)
347 vlVdpOutputSurface *surf; local
    [all...]
  /external/mesa3d/src/gallium/drivers/svga/
svga_surface.c 287 struct pipe_surface *surf)
289 struct svga_surface *s = svga_surface(surf);
290 struct svga_texture *t = svga_texture(surf->texture);
291 struct svga_screen *ss = svga_screen(surf->texture->screen);
298 pipe_resource_reference(&surf->texture, NULL);
299 FREE(surf);
304 svga_mark_surface_dirty(struct pipe_surface *surf)
306 struct svga_surface *s = svga_surface(surf);
309 struct svga_texture *tex = svga_texture(surf->texture);
315 if (surf->texture->target == PIPE_TEXTURE_CUBE
    [all...]
  /external/mesa3d/src/egl/drivers/dri2/
platform_drm.c 43 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local
44 struct dri2_egl_surface *dri2_surf = surf->dri_private;
62 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local
63 struct dri2_egl_surface *dri2_surf = surf->dri_private;
76 struct gbm_dri_surface *surf = (struct gbm_dri_surface *) _surf; local
77 struct dri2_egl_surface *dri2_surf = surf->dri_private;
95 struct gbm_dri_surface *surf; local
113 surf = gbm_dri_surface((struct gbm_surface *) window);
114 dri2_surf->gbm_surf = surf;
115 dri2_surf->base.Width = surf->base.width
184 struct gbm_dri_surface *surf = dri2_surf->gbm_surf; local
    [all...]
  /external/mesa3d/src/gallium/tests/graw/
clear.c 23 struct pipe_surface *surf; variable in typeref:struct:pipe_surface
34 graw_save_surface_to_file(ctx, surf, NULL);
89 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
90 if (surf == NULL)
97 fb.cbufs[0] = surf;
  /external/mesa3d/src/gbm/backends/dri/
gbm_dri.c 70 struct gbm_dri_surface *surf = data; local
71 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
77 count, out_count, surf->dri_private);
83 struct gbm_dri_surface *surf = data; local
84 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
87 dri->flush_front_buffer(driDrawable, surf->dri_private);
96 struct gbm_dri_surface *surf = data; local
97 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
104 count, out_count, surf->dri_private);
581 struct gbm_dri_surface *surf; local
599 struct gbm_dri_surface *surf = gbm_dri_surface(_surf); local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/egl/common/
egl_g3d_st.c 157 _EGLSurface *surf = (_EGLSurface *) stfbi->st_manager_private; local
158 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
193 _EGLSurface *surf = (_EGLSurface *) stfbi->st_manager_private; local
194 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
209 _EGLSurface *surf = (_EGLSurface *) stfbi->st_manager_private; local
210 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
289 egl_g3d_create_st_framebuffer(_EGLSurface *surf)
291 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
egl_g3d_api.c 462 destroy_surface(_EGLDisplay *dpy, _EGLSurface *surf)
464 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
478 egl_g3d_destroy_surface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf)
480 if (_eglPutSurface(surf))
481 destroy_surface(dpy, surf);
554 swap_buffers(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf,
557 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
571 if (ctx && ctx->DrawSurface == surf)
591 egl_g3d_swap_buffers(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf)
593 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
    [all...]
  /external/mesa3d/src/gallium/drivers/r600/
r600_state.c 1585 struct r600_surface *surf; local
    [all...]
  /external/mesa3d/src/gbm/main/
gbm.c 399 * \param surf The surface
402 gbm_surface_destroy(struct gbm_surface *surf)
404 surf->gbm->surface_destroy(surf);
420 * \param surf The surface
429 gbm_surface_lock_front_buffer(struct gbm_surface *surf)
431 return surf->gbm->surface_lock_front_buffer(surf);
443 * \param surf The surface
447 gbm_surface_release_buffer(struct gbm_surface *surf, struct gbm_bo *bo
    [all...]
  /hardware/ril/reference-ril/
Android.mk 26 ifeq ($(TARGET_DEVICE),surf)
  /external/mesa3d/src/gallium/auxiliary/postprocess/
pp_init.c 215 tmp_res.format = p->surf.format = PIPE_FORMAT_B8G8R8A8_UNORM;
221 tmp_res.bind = p->surf.usage = PIPE_BIND_RENDER_TARGET;
229 ppq->tmps[i] = p->pipe->create_surface(p->pipe, ppq->tmp[i], &p->surf);
239 &p->surf);
245 tmp_res.bind = p->surf.usage = PIPE_BIND_DEPTH_STENCIL;
247 tmp_res.format = p->surf.format = PIPE_FORMAT_S8_UINT_Z24_UNORM;
252 tmp_res.format = p->surf.format = PIPE_FORMAT_Z24_UNORM_S8_UINT;
260 ppq->stencils = p->pipe->create_surface(p->pipe, ppq->stencil, &p->surf);

Completed in 802 milliseconds

1 2 3 4 5 6 7