/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_sampler_view.c | 92 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 in st_texture_set_sampler_view() 207 struct st_sampler_views *views = p_atomic_read(&stObj->sampler_views); st_texture_get_current_sampler_view() local 231 struct st_sampler_views *views = stObj->sampler_views; st_texture_release_context_sampler_view() local 262 struct st_sampler_views *views = stObj->sampler_views; st_texture_release_all_sampler_views() local 301 struct st_sampler_views *views = stObj->sampler_views_old; st_delete_texture_sampler_views() local [all...] |
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_blitter.c | 193 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() 219 for (unsigned i = 0; i < MAX2(views in pan_blitter_emit_blends() 213 pan_blitter_emit_blends(const struct panfrost_device *dev, const struct pan_blit_shader_data *blit_shader, struct pan_blitter_views *views, mali_ptr *blend_shaders, void *out) pan_blitter_emit_blends() argument 232 pan_blitter_emit_rsd(const struct panfrost_device *dev, const struct pan_blit_shader_data *blit_shader, struct pan_blitter_views *views, mali_ptr *blend_shaders, void *out) pan_blitter_emit_rsd() argument 651 pan_blitter_get_key(struct pan_blitter_views *views) pan_blitter_get_key() argument 696 pan_blitter_get_rsd(struct panfrost_device *dev, struct pan_blitter_views *views) pan_blitter_get_rsd() argument 780 struct pan_blitter_views views = { }; pan_blit_get_rsd() local 808 struct pan_blitter_views views = { 0 }; pan_preload_get_views() local 934 pan_blitter_emit_textures(struct pan_pool *pool, unsigned tex_count, const struct pan_image_view **views) pan_blitter_emit_textures() argument 981 const struct pan_image_view *views[8]; pan_preload_emit_textures() local 1096 struct pan_blitter_views views = pan_preload_get_views(fb, zs, &patched_s); pan_preload_emit_dcd() local [all...] |
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_meta_blit.c | 37 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[ in panvk_meta_blit() [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_sampler.c | 124 struct pipe_sampler_view **views) in llvmpipe_set_sampler_views() 136 /* set the new sampler views */ in llvmpipe_set_sampler_views() 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() 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() 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() 118 llvmpipe_set_sampler_views(struct pipe_context *pipe, enum pipe_shader_type shader, unsigned start, unsigned num, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) llvmpipe_set_sampler_views() argument 275 prepare_shader_sampling( struct llvmpipe_context *lp, unsigned num, struct pipe_sampler_view **views, enum pipe_shader_type shader_type) prepare_shader_sampling() argument 380 llvmpipe_prepare_vertex_sampling(struct llvmpipe_context *lp, unsigned num, struct pipe_sampler_view **views) llvmpipe_prepare_vertex_sampling() argument 392 llvmpipe_prepare_geometry_sampling(struct llvmpipe_context *lp, unsigned num, struct pipe_sampler_view **views) llvmpipe_prepare_geometry_sampling() argument 403 llvmpipe_prepare_tess_ctrl_sampling(struct llvmpipe_context *lp, unsigned num, struct pipe_sampler_view **views) llvmpipe_prepare_tess_ctrl_sampling() argument 414 llvmpipe_prepare_tess_eval_sampling(struct llvmpipe_context *lp, unsigned num, struct pipe_sampler_view **views) llvmpipe_prepare_tess_eval_sampling() argument 426 struct pipe_sampler_view **views; llvmpipe_cleanup_stage_sampling() local 447 prepare_shader_images( struct llvmpipe_context *lp, unsigned num, struct pipe_image_view *views, enum pipe_shader_type shader_type) prepare_shader_images() argument 547 llvmpipe_prepare_vertex_images(struct llvmpipe_context *lp, unsigned num, struct pipe_image_view *views) llvmpipe_prepare_vertex_images() argument 559 llvmpipe_prepare_geometry_images(struct llvmpipe_context *lp, unsigned num, struct pipe_image_view *views) llvmpipe_prepare_geometry_images() argument 570 llvmpipe_prepare_tess_ctrl_images(struct llvmpipe_context *lp, unsigned num, struct pipe_image_view *views) llvmpipe_prepare_tess_ctrl_images() argument 581 llvmpipe_prepare_tess_eval_images(struct llvmpipe_context *lp, unsigned num, struct pipe_image_view *views) llvmpipe_prepare_tess_eval_images() argument 593 struct pipe_image_view *views; llvmpipe_cleanup_stage_images() local [all...] |
H A D | lp_state.h | 164 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/ |
H A D | GrYUVATextureProxies.cpp | 70 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[ in GrYUVATextureProxies() 69 GrYUVATextureProxies(const SkYUVAInfo& yuvaInfo, GrSurfaceProxyView views[SkYUVAInfo::kMaxPlanes], GrColorType colorTypes[SkYUVAInfo::kMaxPlanes]) GrYUVATextureProxies() argument [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrDistanceFieldGeoProc.h | 67 const GrSurfaceProxyView* views, in Make() 75 caps, views, numActiveViews, params, lum, flags, localMatrixIfUsesLocalCoords); in Make() 81 const GrSurfaceProxyView* views, in Make() 88 caps, views, numActiveViews, params, flags, localMatrixIfUsesLocalCoords); in Make() 99 void addNewViews(const GrSurfaceProxyView* views, int numViews, GrSamplerState); 109 const GrSurfaceProxyView* views, 153 const GrSurfaceProxyView* views, int numActiveViews, 156 return new (ptr) GrDistanceFieldPathGeoProc(caps, matrix, wideColor, views, 179 const GrSurfaceProxyView* views, 230 const GrSurfaceProxyView* views, 65 Make(SkArenaAlloc* arena, const GrShaderCaps& caps, const GrSurfaceProxyView* views, int numActiveViews, GrSamplerState params, float lum, uint32_t flags, const SkMatrix& localMatrixIfUsesLocalCoords) Make() argument 79 Make(SkArenaAlloc* arena, const GrShaderCaps& caps, const GrSurfaceProxyView* views, int numActiveViews, GrSamplerState params, uint32_t flags, const SkMatrix& localMatrixIfUsesLocalCoords) Make() argument [all...] |
H A D | GrDistanceFieldGeoProc.cpp | 205 const GrSurfaceProxyView* views, in GrDistanceFieldA8TextGeoProc() 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() 491 const GrSurfaceProxyView* views, in GrDistanceFieldPathGeoProc() 508 fAtlasDimensions = views[ in GrDistanceFieldPathGeoProc() 204 GrDistanceFieldA8TextGeoProc(const GrShaderCaps& caps, const GrSurfaceProxyView* views, int numViews, GrSamplerState params, float distanceAdjust, uint32_t flags, const SkMatrix& localMatrix) GrDistanceFieldA8TextGeoProc() argument 488 GrDistanceFieldPathGeoProc(const GrShaderCaps& caps, const SkMatrix& matrix, bool wideColor, const GrSurfaceProxyView* views, int numViews, GrSamplerState params, uint32_t flags) GrDistanceFieldPathGeoProc() argument 520 addNewViews(const GrSurfaceProxyView* views, int numViews, GrSamplerState params) addNewViews() argument 804 GrDistanceFieldLCDTextGeoProc(const GrShaderCaps& caps, const GrSurfaceProxyView* views, int numViews, GrSamplerState params, DistanceAdjust distanceAdjust, uint32_t flags, const SkMatrix& localMatrix) GrDistanceFieldLCDTextGeoProc() argument 841 addNewViews(const GrSurfaceProxyView* views, int numViews, GrSamplerState params) addNewViews() argument [all...] |
H A D | GrBitmapTextGeoProc.cpp | 116 const GrSurfaceProxyView* views, in GrBitmapTextGeoProc() 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() 113 GrBitmapTextGeoProc(const GrShaderCaps& caps, const SkPMColor4f& color, bool wideColor, const GrSurfaceProxyView* views, int numActiveViews, GrSamplerState params, GrMaskFormat format, const SkMatrix& localMatrix, bool usesW) GrBitmapTextGeoProc() argument
|
H A D | GrBitmapTextGeoProc.h | 36 const GrSurfaceProxyView* views, in Make() 43 return new (ptr) GrBitmapTextGeoProc(caps, color, wideColor, views, numActiveViews, in Make() 64 const GrSurfaceProxyView* views, int numViews, GrSamplerState params, 32 Make(SkArenaAlloc* arena, const GrShaderCaps& caps, const SkPMColor4f& color, bool wideColor, const GrSurfaceProxyView* views, int numActiveViews, GrSamplerState p, GrMaskFormat format, const SkMatrix& localMatrix, bool usesW) Make() argument
|
/third_party/mesa3d/src/gallium/frontends/omx/ |
H A D | vid_dec_common.c | 86 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()
|
H A D | vid_enc_common.c | 216 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/skia/src/gpu/ops/ |
H A D | AtlasTextOp.cpp | 212 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 || in createDrawForGeneratedGlyphs() 439 setupDfProcessor(SkArenaAlloc* arena, const GrShaderCaps& caps, const SkMatrix& localMatrix, const GrSurfaceProxyView* views, unsigned int numActiveViews) const setupDfProcessor() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_texture.c | 243 unsigned nr, bool take_ownership, struct pipe_sampler_view **views) in set_sampler_views() 250 struct pipe_sampler_view *view = views ? views[j] : NULL; in set_sampler_views() 270 /* sampler views that changed state (even to inactive) are also dirty */ in set_sampler_views() 277 struct pipe_sampler_view **views) in etna_fragtex_set_sampler_views() 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() 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() 314 etna_fragtex_set_sampler_views(ctx, num_views, take_ownership, views); in etna_set_sampler_views() 242 set_sampler_views(struct etna_context *ctx, unsigned start, unsigned end, unsigned nr, bool take_ownership, struct pipe_sampler_view **views) set_sampler_views() argument 275 etna_fragtex_set_sampler_views(struct etna_context *ctx, unsigned nr, bool take_ownership, struct pipe_sampler_view **views) etna_fragtex_set_sampler_views() argument 289 etna_vertex_set_sampler_views(struct etna_context *ctx, unsigned nr, bool take_ownership, struct pipe_sampler_view **views) etna_vertex_set_sampler_views() argument 301 etna_set_sampler_views(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start_slot, unsigned num_views, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) etna_set_sampler_views() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_sampler.c | 105 struct pipe_sampler_view **views) in softpipe_set_sampler_views() 115 /* set the new sampler views */ in softpipe_set_sampler_views() 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() 200 struct pipe_sampler_view *view = views[i]; in prepare_shader_sampling() 306 struct pipe_sampler_view **views) in softpipe_prepare_vertex_sampling() 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() 99 softpipe_set_sampler_views(struct pipe_context *pipe, enum pipe_shader_type shader, unsigned start, unsigned num, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) softpipe_set_sampler_views() argument 181 prepare_shader_sampling( struct softpipe_context *sp, unsigned num, struct pipe_sampler_view **views, enum pipe_shader_type shader_type, struct pipe_resource *mapped_tex[PIPE_MAX_SHADER_SAMPLER_VIEWS]) prepare_shader_sampling() argument 304 softpipe_prepare_vertex_sampling(struct softpipe_context *sp, unsigned num, struct pipe_sampler_view **views) softpipe_prepare_vertex_sampling() argument 328 softpipe_prepare_geometry_sampling(struct softpipe_context *sp, unsigned num, struct pipe_sampler_view **views) softpipe_prepare_geometry_sampling() argument [all...] |
H A D | sp_state.h | 179 struct pipe_sampler_view **views); 209 struct pipe_sampler_view **views); 217 struct pipe_sampler_view **views);
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_state_common.c | 649 struct pipe_sampler_view **views) in r600_set_sampler_views() 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[ in r600_set_sampler_views() 644 r600_set_sampler_views(struct pipe_context *pipe, enum pipe_shader_type shader, unsigned start, unsigned count, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) r600_set_sampler_views() argument 745 r600_update_compressed_colortex_mask(struct r600_samplerview_state *views) r600_update_compressed_colortex_mask() argument 1716 struct r600_samplerview_state *views = &rctx->samplers[i].views; r600_update_compressed_resource_state() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_fragtex.c | 177 struct pipe_sampler_view **views) in nv30_fragtex_set_sampler_views() 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() 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() 175 nv30_fragtex_set_sampler_views(struct pipe_context *pipe, unsigned nr, bool take_ownership, struct pipe_sampler_view **views) nv30_fragtex_set_sampler_views() argument 205 nv30_set_sampler_views(struct pipe_context *pipe, enum pipe_shader_type shader, unsigned start, unsigned nr, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) nv30_set_sampler_views() argument
|
H A D | nv40_verttex.c | 76 struct pipe_sampler_view **views) in nv40_verttex_set_sampler_views() 85 nv30->vertprog.textures[i] = views[i]; in nv40_verttex_set_sampler_views() 87 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]); in nv40_verttex_set_sampler_views() 74 nv40_verttex_set_sampler_views(struct pipe_context *pipe, unsigned nr, bool take_ownership, struct pipe_sampler_view **views) nv40_verttex_set_sampler_views() argument
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_texture.c | 72 struct pipe_sampler_view **views) in set_sampler_views() 77 struct pipe_sampler_view *view = views ? views[i] : NULL; in set_sampler_views() 118 struct pipe_sampler_view **views) in_dt 123 take_ownership, views); 70 set_sampler_views(struct fd_texture_stateobj *tex, unsigned start, unsigned nr, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) set_sampler_views() argument
|
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | image.c | 474 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/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_sampler.c | 419 struct pipe_sampler_view **views) in svga_set_sampler_views() 433 struct pipe_sampler_view *view = views[i]; in svga_set_sampler_views() 442 * If start=num=0 it means all sampler views should be released. in svga_set_sampler_views() 443 * Note that the CSO module treats sampler views for fragment shaders 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[ in svga_set_sampler_views() 413 svga_set_sampler_views(struct pipe_context *pipe, enum pipe_shader_type shader, unsigned start, unsigned num, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) svga_set_sampler_views() argument [all...] |
/third_party/skia/tests/ |
H A D | ProgramsTest.cpp | 245 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/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | BindGroupD3D12.cpp | 63 // The Buffer was destroyed. Skip creating buffer views since there is no in BindGroup() 180 const std::array<Ref<TextureViewBase>, kMaxPlanesPerFormat>& views = in BindGroup() local 185 ASSERT(views[1].Get() == nullptr); in BindGroup() 186 ASSERT(views[2].Get() == nullptr); in BindGroup() 188 auto& srv = ToBackend(views[0])->GetSRVDescriptor(); in BindGroup() 191 ToBackend(views[0]->GetTexture())->GetD3D12Resource(); in BindGroup()
|
/third_party/skia/gm/ |
H A D | yuvtorgbsubset.cpp | 92 GrSurfaceProxyView views[SkYUVAInfo::kMaxPlanes]; variable 98 views[i] = std::get<0>(GrMakeCachedBitmapProxyView(context, bitmap, GrMipmapped::kNo)); 99 if (!views[i]) { 105 fProxies = GrYUVATextureProxies(fPixmaps.yuvaInfo(), views, colorTypes);
|