/external/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_surface.h | 61 svga_winsys_surface(struct vmw_svga_winsys_surface *surf) argument 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) argument 71 return (struct vmw_svga_winsys_surface *)surf;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen7_wm_surface_state.c | 65 gen7_set_surface_tiling(struct gen7_surface_state *surf, uint32_t tiling) argument 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, argument 89 surf->ss4.num_multisamples = GEN7_SURFACE_MULTISAMPLECOUNT_8; 91 surf 103 gen7_set_surface_mcs_info(struct brw_context *brw, struct gen7_surface_state *surf, uint32_t surf_offset, const struct intel_mipmap_tree *mcs_mt, bool is_render_target) argument 143 gen7_check_surface_setup(struct gen7_surface_state *surf, bool is_render_target) argument 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...] |
H A D | 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 [all...] |
H A D | 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 | 741 surf[0] |= BRW_SURFACE_RC_READ_WRITE; 744 surf[1] = bo->offset; /* reloc */ 752 surf[2] = ((w & 0x7f) << BRW_SURFACE_WIDTH_SHIFT | 754 surf[3] = (((w >> 20) & 0x7f) << BRW_SURFACE_DEPTH_SHIFT | 757 surf[1] = 0; 758 surf[2] = 0; 759 surf[ 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...] |
/external/mesa3d/src/egl/main/ |
H A D | 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) argument 108 if (surf) 109 _eglGetResource(&surf->Resource); 110 return surf; 118 _eglPutSurface(_EGLSurface *surf) argument 129 _eglLinkSurface(_EGLSurface *surf) argument 141 _eglUnlinkSurface(_EGLSurface *surf) argument 154 _EGLSurface *surf = (_EGLSurface *) surface; local 165 _eglGetSurfaceHandle(_EGLSurface *surf) argument [all...] |
H A D | eglsurface.c | 48 _eglClampSwapInterval(_EGLSurface *surf, EGLint interval) argument 50 EGLint bound = surf->Config->MaxSwapInterval; 55 bound = surf->Config->MinSwapInterval; 59 surf->SwapInterval = interval; 65 _eglParseScreenSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) argument 82 surf->Width = val; 89 surf->Height = val; 111 _eglParseSurfaceAttribList(_EGLSurface *surf, const EGLint *attrib_list) argument 113 _EGLDisplay *dpy = surf->Resource.Display; 114 EGLint type = surf 279 _eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type, _EGLConfig *conf, const EGLint *attrib_list) argument 525 _eglSwapInterval(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint interval) argument [all...] |
H A D | 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) argument 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 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/libdrm/radeon/ |
H A D | radeon_surface.c | 91 struct radeon_surface *surf); 93 struct radeon_surface *surf); 162 static void surf_minify(struct radeon_surface *surf, argument 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 261 r6_surface_init_linear(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, uint64_t offset, unsigned start_level) argument 295 r6_surface_init_linear_aligned(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, uint64_t offset, unsigned start_level) argument 323 r6_surface_init_1d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, uint64_t offset, unsigned start_level) argument 356 r6_surface_init_2d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, uint64_t offset, unsigned start_level) argument 399 r6_surface_init(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 469 r6_surface_best(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 565 eg_surf_minify(struct radeon_surface *surf, struct radeon_surface_level *surflevel, unsigned bpe, unsigned level, unsigned slice_pt, unsigned mtilew, unsigned mtileh, unsigned mtileb, uint64_t offset) argument 606 eg_surface_init_1d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, struct radeon_surface_level *level, unsigned bpe, uint64_t offset, unsigned start_level) argument 647 eg_surface_init_2d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, struct radeon_surface_level *level, unsigned bpe, unsigned tile_split, uint64_t offset, unsigned start_level) argument 700 eg_surface_sanity(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, unsigned mode) argument 783 eg_surface_init_1d_miptrees(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 805 eg_surface_init_2d_miptrees(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 828 eg_surface_init(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 903 eg_surface_best(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 1279 si_surface_sanity(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, unsigned mode, unsigned *tile_mode, unsigned *stencil_tile_mode) argument 1414 si_surf_minify(struct radeon_surface *surf, struct radeon_surface_level *surflevel, unsigned bpe, unsigned level, uint32_t xalign, uint32_t yalign, uint32_t zalign, uint32_t slice_align, uint64_t offset) argument 1462 si_surf_minify_2d(struct radeon_surface *surf, struct radeon_surface_level *surflevel, unsigned bpe, unsigned level, unsigned slice_pt, uint32_t xalign, uint32_t yalign, uint32_t zalign, unsigned mtileb, uint64_t offset) argument 1510 si_surface_init_linear_aligned(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, unsigned tile_mode, uint64_t offset, unsigned start_level) argument 1543 si_surface_init_1d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, struct radeon_surface_level *level, unsigned bpe, unsigned tile_mode, uint64_t offset, unsigned start_level) argument 1592 si_surface_init_1d_miptrees(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, unsigned tile_mode, unsigned stencil_tile_mode) argument 1610 si_surface_init_2d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, struct radeon_surface_level *level, unsigned bpe, unsigned tile_mode, unsigned num_pipes, unsigned num_banks, unsigned tile_split, uint64_t offset, unsigned start_level) argument 1694 si_surface_init_2d_miptrees(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, unsigned tile_mode, unsigned stencil_tile_mode) argument 1718 si_surface_init(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 1778 si_surface_best(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 2109 cik_surface_sanity(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, unsigned mode, unsigned *tile_mode, unsigned *stencil_tile_mode) argument 2207 cik_surface_init_2d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, struct radeon_surface_level *level, unsigned bpe, unsigned tile_mode, unsigned tile_split, unsigned num_pipes, unsigned num_banks, uint64_t offset, unsigned start_level) argument 2296 cik_surface_init_2d_miptrees(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, unsigned tile_mode, unsigned stencil_tile_mode) argument 2322 cik_surface_init(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 2382 cik_surface_best(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 2459 radeon_surface_sanity(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, unsigned type, unsigned mode) argument 2527 radeon_surface_init(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument 2544 radeon_surface_best(struct radeon_surface_manager *surf_man, struct radeon_surface *surf) argument [all...] |
/external/skia/tests/ |
H A D | SpecialSurfaceTest.cpp | 20 static const SkIRect& Subset(const SkSpecialSurface* surf) { argument 21 return surf->subset(); 36 static void test_surface(SkSpecialSurface* surf, skiatest::Reporter* reporter, int offset) { argument 38 const SkIRect surfSubset = TestingSpecialSurfaceAccess::Subset(surf); 44 SkCanvas* canvas = surf->getCanvas(); 49 SkAutoTUnref<SkSpecialImage> img(surf->newImageSnapshot()); 56 REPORTER_ASSERT(reporter, !surf->getCanvas()); 62 SkAutoTUnref<SkSpecialSurface> surf(SkSpecialSurface::NewRaster(nullptr, info)); 64 test_surface(surf, reporter, 0); 74 SkAutoTUnref<SkSpecialSurface> surf(SkSpecialSurfac [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
H A D | egl_g3d_st.h | 43 egl_g3d_create_st_framebuffer(_EGLSurface *surf);
|
H A D | 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) argument 291 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf);
|
H A D | egl_g3d_api.c | 462 destroy_surface(_EGLDisplay *dpy, _EGLSurface *surf) argument 464 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf); 478 egl_g3d_destroy_surface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf) argument 480 if (_eglPutSurface(surf)) 481 destroy_surface(dpy, surf); 554 swap_buffers(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, argument 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) argument 593 struct egl_g3d_surface *gsurf = egl_g3d_surface(surf); 601 egl_g3d_swap_buffers_region(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint num_rects, const EGLint *rects) argument 610 egl_g3d_post_sub_buffer(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint x, EGLint y, EGLint width, EGLint height) argument 637 egl_g3d_copy_buffers(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLNativePixmapType target) argument 693 egl_g3d_bind_tex_image(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint buffer) argument 752 egl_g3d_release_tex_image(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint buffer) argument 794 egl_g3d_show_screen_surface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *scr, _EGLSurface *surf, _EGLMode *mode) argument [all...] |
/external/opencv3/samples/gpu/ |
H A D | surf_keypoint_matcher.cpp | 53 SURF_CUDA surf; local 58 surf(img1, GpuMat(), keypoints1GPU, descriptors1GPU); 59 surf(img2, GpuMat(), keypoints2GPU, descriptors2GPU); 65 Ptr<cv::cuda::DescriptorMatcher> matcher = cv::cuda::DescriptorMatcher::createBFMatcher(surf.defaultNorm()); 72 surf.downloadKeypoints(keypoints1GPU, keypoints1); 73 surf.downloadKeypoints(keypoints2GPU, keypoints2); 74 surf.downloadDescriptors(descriptors1GPU, descriptors1); 75 surf.downloadDescriptors(descriptors2GPU, descriptors2);
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | 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) argument 306 struct svga_surface *s = svga_surface(surf); 309 struct svga_texture *tex = svga_texture(surf->texture); 315 if (surf 286 svga_surface_destroy(struct pipe_context *pipe, struct pipe_surface *surf) argument 351 svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf) argument 392 svga_surface_needs_propagation(const struct pipe_surface *surf) argument [all...] |
H A D | svga_surface.h | 59 svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf); 62 svga_surface_needs_propagation(const struct pipe_surface *surf);
|
/external/skia/gm/ |
H A D | cgm.c | 57 sk_surface_t* surf = sk_surface_new_raster(&info, &surfaceProps); local 58 do_draw(sk_surface_get_canvas(surf)); 60 sk_image_t* img0 = sk_surface_new_image_snapshot(surf); 61 sk_surface_unref(surf);
|
H A D | surface.cpp | 137 SkAutoTUnref<SkSurface> surf(canvas->newSurface(info, nullptr)); 138 if (!surf.get()) { 139 surf.reset(SkSurface::NewRaster(info)); 141 drawInto(surf->getCanvas()); 143 SkAutoTUnref<SkImage> image(surf->newImageSnapshot()); 146 SkAutoTUnref<SkSurface> surf2(surf->newSurface(info)); 150 SkASSERT(equal(surf->props(), surf2->props()));
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
H A D | 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/auxiliary/postprocess/ |
H A D | pp_program.h | 57 struct pipe_surface surf; member in struct:program
|
/external/mesa3d/src/gbm/main/ |
H A D | gbm.c | 399 * \param surf The surface 402 gbm_surface_destroy(struct gbm_surface *surf) argument 404 surf->gbm->surface_destroy(surf); 420 * \param surf The surface 429 gbm_surface_lock_front_buffer(struct gbm_surface *surf) argument 431 return surf->gbm->surface_lock_front_buffer(surf); 443 * \param surf The surface 447 gbm_surface_release_buffer(struct gbm_surface *surf, struc argument 469 gbm_surface_has_free_buffers(struct gbm_surface *surf) argument [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
H A D | 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 151 dri2_destroy_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surf) argument 184 struct gbm_dri_surface *surf = dri2_surf->gbm_surf; local [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
H A D | 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/ |
H A D | 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/drivers/r600/ |
H A D | r600_state.c | 1255 struct r600_surface *surf, 1259 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; 1260 unsigned level = surf->base.u.tex.level; 1270 r600_init_flushed_depth_texture(&rctx->context, surf->base.texture, NULL); 1278 surf->base.u.tex.first_layer; 1302 desc = util_format_description(surf->base.format); 1325 format = r600_translate_colorformat(surf->base.format); 1328 swap = r600_translate_colorswap(surf->base.format); 1346 surf->alphatest_bypass = ntype == V_0280A0_NUMBER_UINT || ntype == V_0280A0_NUMBER_SINT; 1372 surf 1254 r600_init_color_surface(struct r600_context *rctx, struct r600_surface *surf, bool force_cmask_fmask) argument 1476 r600_init_depth_surface(struct r600_context *rctx, struct r600_surface *surf) argument 1585 struct r600_surface *surf; local [all...] |
/external/mesa3d/src/gallium/drivers/rbug/ |
H A D | rbug_context.h | 71 struct rbug_resource *surf; member in struct:rbug_context::__anon13660
|