Home
last modified time | relevance | path

Searched refs:views (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/third_party/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c92 struct st_sampler_views *views; in st_texture_set_sampler_view() local
99 views = stObj->sampler_views; in st_texture_set_sampler_view()
101 for (i = 0; i < views->count; ++i) { in st_texture_set_sampler_view()
102 sv = &views->views[i]; in st_texture_set_sampler_view()
122 if (views->count >= views->max) { in st_texture_set_sampler_view()
124 unsigned new_max = 2 * views->max; in st_texture_set_sampler_view()
125 unsigned new_size = sizeof(*views) + new_max * sizeof(views->views[0]); in st_texture_set_sampler_view()
127 if (new_max < views->max || in st_texture_set_sampler_view()
128 new_max > (UINT_MAX - sizeof(*views)) / sizeof(views->views[0])) { in st_texture_set_sampler_view()
139 new_views->count = views->count; in st_texture_set_sampler_view()
[all …]
/third_party/mesa3d/src/panfrost/lib/
Dpan_blitter.c193 pan_blitter_is_ms(struct pan_blitter_views *views) in pan_blitter_is_ms() argument
195 for (unsigned i = 0; i < views->rt_count; i++) { in pan_blitter_is_ms()
196 if (views->dst_rts[i]) { in pan_blitter_is_ms()
197 if (views->dst_rts[i]->image->layout.nr_samples > 1) in pan_blitter_is_ms()
202 if (views->dst_z && views->dst_z->image->layout.nr_samples > 1) in pan_blitter_is_ms()
205 if (views->dst_s && views->dst_s->image->layout.nr_samples > 1) in pan_blitter_is_ms()
215 struct pan_blitter_views *views, in pan_blitter_emit_blends() argument
219 for (unsigned i = 0; i < MAX2(views->rt_count, 1); ++i) { in pan_blitter_emit_blends()
221 const struct pan_image_view *rt_view = views->dst_rts[i]; in pan_blitter_emit_blends()
234 struct pan_blitter_views *views, in pan_blitter_emit_rsd() argument
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_blit.c37 struct pan_image_view views[2] = { in panvk_meta_blit() local
73 views[0].format = blitinfo->dst.planes[0].image->layout.format; in panvk_meta_blit()
74 fbinfo->zs.view.zs = &views[0]; in panvk_meta_blit()
78 fbinfo->zs.view.s = &views[0]; in panvk_meta_blit()
82 fbinfo->rts[0].view = &views[0]; in panvk_meta_blit()
90 views[1].format = blitinfo->dst.planes[1].format; in panvk_meta_blit()
91 views[1].dim = MALI_TEXTURE_DIMENSION_2D; in panvk_meta_blit()
92 views[1].image = blitinfo->dst.planes[1].image; in panvk_meta_blit()
93 views[1].nr_samples = blitinfo->dst.planes[1].image->layout.nr_samples; in panvk_meta_blit()
94 views[1].first_level = blitinfo->dst.level; in panvk_meta_blit()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c124 struct pipe_sampler_view **views) in llvmpipe_set_sampler_views() argument
140 if (views && views[i]) in llvmpipe_set_sampler_views()
141 view = views[i]; in llvmpipe_set_sampler_views()
278 struct pipe_sampler_view **views, in prepare_shader_sampling() argument
293 struct pipe_sampler_view *view = i < num ? views[i] : NULL; in prepare_shader_sampling()
382 struct pipe_sampler_view **views) in llvmpipe_prepare_vertex_sampling() argument
384 prepare_shader_sampling(lp, num, views, PIPE_SHADER_VERTEX); in llvmpipe_prepare_vertex_sampling()
394 struct pipe_sampler_view **views) in llvmpipe_prepare_geometry_sampling() argument
396 prepare_shader_sampling(lp, num, views, PIPE_SHADER_GEOMETRY); in llvmpipe_prepare_geometry_sampling()
405 struct pipe_sampler_view **views) in llvmpipe_prepare_tess_ctrl_sampling() argument
[all …]
Dlp_state.h164 struct pipe_sampler_view **views);
169 struct pipe_sampler_view **views);
174 struct pipe_sampler_view **views);
179 struct pipe_sampler_view **views);
187 struct pipe_image_view *views);
192 struct pipe_image_view *views);
197 struct pipe_image_view *views);
202 struct pipe_image_view *views);
/third_party/skia/src/gpu/
DGrYUVATextureProxies.cpp70 GrSurfaceProxyView views[SkYUVAInfo::kMaxPlanes], in GrYUVATextureProxies()
84 num_channels(views[i].proxy()->backendFormat().channelMask())); in GrYUVATextureProxies()
85 if (!views[i] || views[i].origin() != views[0].origin()) { in GrYUVATextureProxies()
90 if (views[i].proxy()->asTextureProxy()->mipmapped() == GrMipmapped::kNo) { in GrYUVATextureProxies()
107 switch (views[plane].swizzle()[chanAsIdx]) { in GrYUVATextureProxies()
114 SkDEBUGFAILF("Unexpected swizzle value: %c", views[i].swizzle()[chanAsIdx]); in GrYUVATextureProxies()
122 fProxies[i] = views[i].detachProxy(); in GrYUVATextureProxies()
124 fTextureOrigin = views[0].origin(); in GrYUVATextureProxies()
/third_party/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.h67 const GrSurfaceProxyView* views, in Make() argument
75 caps, views, numActiveViews, params, lum, flags, localMatrixIfUsesLocalCoords); in Make()
81 const GrSurfaceProxyView* views, in Make() argument
88 caps, views, numActiveViews, params, flags, localMatrixIfUsesLocalCoords); in Make()
97 void addNewViews(const GrSurfaceProxyView* views, int numViews, GrSamplerState);
107 const GrSurfaceProxyView* views,
151 const GrSurfaceProxyView* views, int numActiveViews, in Make() argument
154 return new (ptr) GrDistanceFieldPathGeoProc(caps, matrix, wideColor, views, in Make()
175 const GrSurfaceProxyView* views,
226 const GrSurfaceProxyView* views, in Make() argument
[all …]
DGrDistanceFieldGeoProc.cpp205 const GrSurfaceProxyView* views, in GrDistanceFieldA8TextGeoProc() argument
234 fAtlasDimensions = views[0].proxy()->dimensions(); in GrDistanceFieldA8TextGeoProc()
237 const GrSurfaceProxy* proxy = views[i].proxy(); in GrDistanceFieldA8TextGeoProc()
240 fTextureSamplers[i].reset(params, proxy->backendFormat(), views[i].swizzle()); in GrDistanceFieldA8TextGeoProc()
245 void GrDistanceFieldA8TextGeoProc::addNewViews(const GrSurfaceProxyView* views, in addNewViews() argument
253 fAtlasDimensions = views[0].proxy()->dimensions(); in addNewViews()
257 const GrSurfaceProxy* proxy = views[i].proxy(); in addNewViews()
261 fTextureSamplers[i].reset(params, proxy->backendFormat(), views[i].swizzle()); in addNewViews()
483 const GrSurfaceProxyView* views, in GrDistanceFieldPathGeoProc() argument
500 fAtlasDimensions = views[0].proxy()->dimensions(); in GrDistanceFieldPathGeoProc()
[all …]
DGrBitmapTextGeoProc.cpp116 const GrSurfaceProxyView* views, in GrBitmapTextGeoProc() argument
146 fAtlasDimensions = views[0].proxy()->dimensions(); in GrBitmapTextGeoProc()
149 const GrSurfaceProxy* proxy = views[i].proxy(); in GrBitmapTextGeoProc()
152 fTextureSamplers[i].reset(params, proxy->backendFormat(), views[i].swizzle()); in GrBitmapTextGeoProc()
157 void GrBitmapTextGeoProc::addNewViews(const GrSurfaceProxyView* views, in addNewViews() argument
165 fAtlasDimensions = views[0].proxy()->dimensions(); in addNewViews()
169 const GrSurfaceProxy* proxy = views[i].proxy(); in addNewViews()
174 fTextureSamplers[i].reset(params, proxy->backendFormat(), views[i].swizzle()); in addNewViews()
/third_party/skia/src/gpu/ops/
DAtlasTextOp.cpp212 const GrSurfaceProxyView* views = atlasManager->getViews(maskFormat, &numActiveViews); in onPrepareDraws() local
213 if (!views) { in onPrepareDraws()
217 SkASSERT(views[0].proxy()); in onPrepareDraws()
225 primProcProxies[i] = views[i].proxy(); in onPrepareDraws()
228 target->sampledProxyArray()->push_back(views[i].proxy()); in onPrepareDraws()
238 localMatrix, views, numActiveViews); in onPrepareDraws()
246 false, views, numActiveViews, filter, maskFormat, localMatrix, fHasPerspective); in onPrepareDraws()
345 const GrSurfaceProxyView* views = atlasManager->getViews(maskFormat, &numActiveViews); in createDrawForGeneratedGlyphs() local
346 SkASSERT(views); in createDrawForGeneratedGlyphs()
348 if (!views || 0 == numActiveViews) { in createDrawForGeneratedGlyphs()
[all …]
/third_party/mesa3d/src/gallium/frontends/omx/
Dvid_dec_common.c86 struct pipe_sampler_view **views; in vid_dec_FillOutput() local
90 views = buf->get_sampler_view_planes(buf); in vid_dec_FillOutput()
106 assert(views); in vid_dec_FillOutput()
131 if (!views[i]) continue; in vid_dec_FillOutput()
137 for (j = 0; j < views[i]->texture->array_size; ++j) { in vid_dec_FillOutput()
141 map = priv->pipe->texture_map(priv->pipe, views[i]->texture, 0, in vid_dec_FillOutput()
149 views[i]->texture->format, in vid_dec_FillOutput()
150 def->nStride * views[i]->texture->array_size, 0, 0, in vid_dec_FillOutput()
Dvid_enc_common.c216 struct pipe_sampler_view **views; in enc_ScaleInput_common() local
223 views = src_buf->get_sampler_view_planes(src_buf); in enc_ScaleInput_common()
230 if (!views[i] || !dst_surface[i]) in enc_ScaleInput_common()
240 vl_compositor_set_rgba_layer(s, compositor, 0, views[i], &src_rect, NULL, NULL); in enc_ScaleInput_common()
406 struct pipe_sampler_view **views; in enc_LoadImage_common() local
409 views = vbuf->get_sampler_view_planes(vbuf); in enc_LoadImage_common()
410 if (!views) in enc_LoadImage_common()
417 pipe->texture_subdata(pipe, views[0]->texture, 0, in enc_LoadImage_common()
424 pipe->texture_subdata(pipe, views[1]->texture, 0, in enc_LoadImage_common()
/third_party/elfutils/tests/
Dtestfile-dwarf-45.source75 $ gcc -gdwarf-4 -gno-as-loc-support -gno-variable-location-views -O2 -c world.c
76 $ gcc -gdwarf-4 -gno-as-loc-support -gno-variable-location-views -O2 -c hello.c
79 $ gcc -gdwarf-5 -gno-as-loc-support -gno-variable-location-views -O2 -c world.c
80 $ gcc -gdwarf-5 -gno-as-loc-support -gno-variable-location-views -O2 -c hello.c
83 $ gcc -gdwarf-4 -gsplit-dwarf -gno-as-loc-support -gno-variable-location-views -O2 -o testfile-worl…
84 $ gcc -gdwarf-4 -gsplit-dwarf -gno-as-loc-support -gno-variable-location-views -O2 -o testfile-hell…
87 $ gcc -gdwarf-5 -gsplit-dwarf -gno-as-loc-support -gno-variable-location-views -O2 -o testfile-worl…
88 $ gcc -gdwarf-5 -gsplit-dwarf -gno-as-loc-support -gno-variable-location-views -O2 -o testfile-hell…
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c649 struct pipe_sampler_view **views) in r600_set_sampler_views() argument
653 struct r600_pipe_sampler_view **rviews = (struct r600_pipe_sampler_view **)views; in r600_set_sampler_views()
666 if (!views) { in r600_set_sampler_views()
671 remaining_mask = dst->views.enabled_mask & disable_mask; in r600_set_sampler_views()
675 assert(dst->views.views[i]); in r600_set_sampler_views()
677 pipe_sampler_view_reference((struct pipe_sampler_view **)&dst->views.views[i], NULL); in r600_set_sampler_views()
681 if (rviews[i] == dst->views.views[i]) { in r600_set_sampler_views()
683 struct pipe_sampler_view *view = views[i]; in r600_set_sampler_views()
695 dst->views.compressed_depthtex_mask |= 1 << i; in r600_set_sampler_views()
697 dst->views.compressed_depthtex_mask &= ~(1 << i); in r600_set_sampler_views()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture.c243 unsigned nr, bool take_ownership, struct pipe_sampler_view **views) in set_sampler_views() argument
250 struct pipe_sampler_view *view = views ? views[j] : NULL; in set_sampler_views()
277 struct pipe_sampler_view **views) in etna_fragtex_set_sampler_views() argument
283 set_sampler_views(ctx, start, end, nr, take_ownership, views); in etna_fragtex_set_sampler_views()
291 struct pipe_sampler_view **views) in etna_vertex_set_sampler_views() argument
297 set_sampler_views(ctx, start, end, nr, take_ownership, views); in etna_vertex_set_sampler_views()
305 struct pipe_sampler_view **views) in etna_set_sampler_views() argument
314 etna_fragtex_set_sampler_views(ctx, num_views, take_ownership, views); in etna_set_sampler_views()
317 etna_vertex_set_sampler_views(ctx, num_views, take_ownership, views); in etna_set_sampler_views()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c105 struct pipe_sampler_view **views) in softpipe_set_sampler_views() argument
124 *pview = views[i]; in softpipe_set_sampler_views()
126 pipe_sampler_view_reference(pview, views[i]); in softpipe_set_sampler_views()
129 views[i]); in softpipe_set_sampler_views()
184 struct pipe_sampler_view **views, in prepare_shader_sampling() argument
200 struct pipe_sampler_view *view = views[i]; in prepare_shader_sampling()
306 struct pipe_sampler_view **views) in softpipe_prepare_vertex_sampling() argument
308 prepare_shader_sampling(sp, num, views, PIPE_SHADER_VERTEX, in softpipe_prepare_vertex_sampling()
330 struct pipe_sampler_view **views) in softpipe_prepare_geometry_sampling() argument
332 prepare_shader_sampling(sp, num, views, PIPE_SHADER_GEOMETRY, in softpipe_prepare_geometry_sampling()
/third_party/mesa3d/src/gallium/frontends/va/
Dimage.c474 struct pipe_sampler_view **views; in vlVaGetImage() local
547 views = surf->buffer->get_sampler_view_planes(surf->buffer); in vlVaGetImage()
548 if (!views) { in vlVaGetImage()
573 if (!views[i]) continue; in vlVaGetImage()
580 for (j = 0; j < views[i]->texture->array_size; ++j) { in vlVaGetImage()
584 map = drv->pipe->texture_map(drv->pipe, views[i]->texture, 0, in vlVaGetImage()
593 transfer->stride, views[i]->texture->array_size, in vlVaGetImage()
597 views[i]->texture->format, in vlVaGetImage()
598 pitches[i] * views[i]->texture->array_size, 0, 0, in vlVaGetImage()
618 struct pipe_sampler_view **views; in vlVaPutImage() local
[all …]
/third_party/skia/tests/
DProgramsTest.cpp245 GrProcessorTestData::ViewInfo views[2]; in ProgramUnitTest() local
257 views[0] = {{std::move(proxy), kBottomLeft_GrSurfaceOrigin, swizzle}, in ProgramUnitTest()
268 views[1] = {{std::move(proxy), kTopLeft_GrSurfaceOrigin, swizzle}, in ProgramUnitTest()
272 if (!std::get<0>(views[0]) || !std::get<0>(views[1])) { in ProgramUnitTest()
288 GrProcessorTestData ptd(&random, direct, /*maxTreeDepth=*/1, SK_ARRAY_COUNT(views), views); in ProgramUnitTest()
310 GrProcessorTestData ptd(&random, direct, /*maxTreeDepth=*/1, SK_ARRAY_COUNT(views), in ProgramUnitTest()
311 views); in ProgramUnitTest()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_texture.c72 struct pipe_sampler_view **views) in set_sampler_views() argument
77 struct pipe_sampler_view *view = views ? views[i] : NULL; in set_sampler_views()
118 struct pipe_sampler_view **views) in_dt in fd_set_sampler_views() argument
123 take_ownership, views); in fd_set_sampler_views()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_fragtex.c177 struct pipe_sampler_view **views) in nv30_fragtex_set_sampler_views() argument
186 nv30->fragprog.textures[i] = views[i]; in nv30_fragtex_set_sampler_views()
188 pipe_sampler_view_reference(&nv30->fragprog.textures[i], views[i]); in nv30_fragtex_set_sampler_views()
209 struct pipe_sampler_view **views) in nv30_set_sampler_views() argument
214 nv30_fragtex_set_sampler_views(pipe, nr, take_ownership, views); in nv30_set_sampler_views()
217 nv40_verttex_set_sampler_views(pipe, nr, take_ownership, views); in nv30_set_sampler_views()
/third_party/skia/third_party/externals/opengl-registry/extensions/OVR/
DOVR_multiview_multisampled_render_to_texture.txt98 the number of views in the current read framebuffer is greater than 1.
108 number of views in the current draw framebuffer is not equal to the number
109 of views declared in the currently bound program.
127 GLsizei views = 2;
129 glGenTextures(views, tex);
132 glTexStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_RGBA8, width, height, views );
135 glTexStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_DEPTH_COMPONENT24, width, height, views )
138 …reMultisampleMultiviewOVR(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex[0], 0, samples, 0, views);
139 …ureMultisampleMultiviewOVR(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, tex[1], 0, samples, 0, views);
164 and OVR_multiview, i.e., the number of views and the number of samples
DOVR_multiview.txt91 tiles for multiple views in a single pass, and the implementation could even
96 views: one view for each eye. However, we also anticipate a usage where two
97 views are rendered per eye, where one has a wide field of view and the other
100 By rendering two inset eye views per eye, we can get the required sample
154 views, and the corresponding attachment point is considered to be
171 - the number of views rendered to by Begin/End is an undefined subset
172 of the views present in the framebuffer
181 then <params> will contain the number of views that were specified for the
215 of views which can be bound simultaneously is determined by the value
241 The number of views, as specified by <numViews>, must be the same for all
[all …]
/third_party/openGLES/extensions/OVR/
DOVR_multiview_multisampled_render_to_texture.txt98 the number of views in the current read framebuffer is greater than 1.
108 number of views in the current draw framebuffer is not equal to the number
109 of views declared in the currently bound program.
127 GLsizei views = 2;
129 glGenTextures(views, tex);
132 glTexStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_RGBA8, width, height, views );
135 glTexStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_DEPTH_COMPONENT24, width, height, views )
138 …reMultisampleMultiviewOVR(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex[0], 0, samples, 0, views);
139 …ureMultisampleMultiviewOVR(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, tex[1], 0, samples, 0, views);
164 and OVR_multiview, i.e., the number of views and the number of samples
DOVR_multiview.txt95 tiles for multiple views in a single pass, and the implementation could even
100 views: one view for each eye. However, we also anticipate a usage where two
101 views are rendered per eye, where one has a wide field of view and the other
104 By rendering two inset eye views per eye, we can get the required sample
158 views, and the corresponding attachment point is considered to be
175 - the number of views rendered to by Begin/End is an undefined subset
176 of the views present in the framebuffer
185 then <params> will contain the number of views that were specified for the
219 of views which can be bound simultaneously is determined by the value
245 The number of views, as specified by <numViews>, must be the same for all
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_sampler.c419 struct pipe_sampler_view **views) in svga_set_sampler_views() argument
433 struct pipe_sampler_view *view = views[i]; in svga_set_sampler_views()
457 any_change |= svga->curr.sampler_views[shader][start + i] != views[i]; in svga_set_sampler_views()
462 svga->curr.sampler_views[shader][start + i] = views[i]; in svga_set_sampler_views()
463 } else if (svga->curr.sampler_views[shader][start + i] != views[i]) { in svga_set_sampler_views()
465 views[i]); in svga_set_sampler_views()
468 if (!views[i]) in svga_set_sampler_views()
471 if (util_format_is_srgb(views[i]->format)) in svga_set_sampler_views()
474 target = views[i]->target; in svga_set_sampler_views()

12345678910>>...16