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

1 2 3 4 5

  /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/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...]
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...]
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...]
  /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/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/skia/tests/
SpecialSurfaceTest.cpp 20 static const SkIRect& Subset(const SkSpecialSurface* surf) {
21 return surf->subset();
36 static void test_surface(SkSpecialSurface* surf, skiatest::Reporter* reporter, int offset) {
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(SkSpecialSurface::NewFromBitmap(nullptr, subset, bm))
    [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/state_trackers/egl/common/
egl_g3d_st.h 43 egl_g3d_create_st_framebuffer(_EGLSurface *surf);
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/opencv3/samples/gpu/
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/
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...]
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/
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);
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/
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/
pp_program.h 57 struct pipe_surface surf; member in struct:program
  /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...]
  /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/drivers/r600/
r600_state.c 1585 struct r600_surface *surf; local
    [all...]

Completed in 503 milliseconds

1 2 3 4 5