/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_clear.c | 187 struct pipe_surface *rtv; in try_clear() local 209 rtv = svga_validate_surface_view(svga, in try_clear() 211 if (!rtv) in try_clear() 214 ret = SVGA3D_vgpu10_ClearRenderTargetView(svga->swc, rtv, rgba); in try_clear() 375 struct pipe_surface *rtv = in svga_clear_texture() local 378 if (!rtv) { in svga_clear_texture() 409 assert(svga_surface(rtv)->view_id != SVGA3D_INVALID_ID); in svga_clear_texture() 410 SVGA_RETRY(svga, SVGA3D_vgpu10_ClearRenderTargetView(svga->swc, rtv, in svga_clear_texture() 422 if (rtv->texture->target != PIPE_TEXTURE_3D && in svga_clear_texture() 423 pipe->screen->is_format_supported(pipe->screen, rtv->format, in svga_clear_texture() [all …]
|
D | svga_state_framebuffer.c | 187 struct pipe_surface *rtv[SVGA3D_MAX_RENDER_TARGETS]; in emit_fb_vgpu10() local 214 rtv[i] = svga_validate_surface_view(svga, svga_surface(s)); in emit_fb_vgpu10() 215 if (rtv[i] == NULL) { in emit_fb_vgpu10() 219 rtv[i] = svga->state.hw_clear.rtv[i]; in emit_fb_vgpu10() 222 assert(svga_surface(rtv[i])->view_id != SVGA3D_INVALID_ID); in emit_fb_vgpu10() 229 rtv[i] = NULL; in emit_fb_vgpu10() 256 memcmp(rtv, svga->state.hw_clear.rtv, num_color * sizeof(rtv[0]))) { in emit_fb_vgpu10() 258 ret = SVGA3D_vgpu10_SetRenderTargets(svga->swc, num_color, rtv, dsv); in emit_fb_vgpu10() 273 else if (svga->state.hw_clear.rtv[i] != hw->cbufs[i] && in emit_fb_vgpu10() 274 svga->state.hw_clear.rtv[i]) { in emit_fb_vgpu10() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11window.cpp | 107 ID3D11RenderTargetView * rtv); 258 GST_D3D11_CLEAR_COM (window->rtv); in gst_d3d11_window_release_resources() 301 GST_D3D11_CLEAR_COM (window->rtv); in gst_d3d11_window_on_resize_default() 350 hr = device_handle->CreateRenderTargetView (backbuffer, NULL, &window->rtv); in gst_d3d11_window_on_resize_default() 374 window->pov, window->rtv); in gst_d3d11_window_on_resize_default() 858 ID3D11RenderTargetView * rtv, RECT * input_rect) in gst_d3d11_window_do_convert() argument 866 srv, &rtv, NULL, NULL)) { in gst_d3d11_window_do_convert() 878 ID3D11VideoProcessorOutputView * pov, ID3D11RenderTargetView * rtv) in gst_d3d111_window_present() argument 962 convert_ret = gst_d3d11_window_do_convert (self, srv, rtv, &input_rect); in gst_d3d111_window_present() 977 gst_d3d11_overlay_compositor_draw_unlocked (self->compositor, &rtv); in gst_d3d111_window_present() [all …]
|
D | gstd3d11shader.cpp | 249 ID3D11RenderTargetView *rtv[GST_VIDEO_MAX_PLANES]; member 329 ID3D11RenderTargetView * rtv[GST_VIDEO_MAX_PLANES], guint num_rtv, in gst_d3d11_draw_quad() 339 srv, num_srv, rtv, num_viewport, blend, blend_factor, sampler, in gst_d3d11_draw_quad() 350 ID3D11RenderTargetView * rtv[GST_VIDEO_MAX_PLANES], guint num_rtv, in gst_d3d11_draw_quad_unlocked() 362 g_return_val_if_fail (rtv != NULL, FALSE); in gst_d3d11_draw_quad_unlocked() 386 context->OMSetRenderTargets (num_rtv, rtv, NULL); in gst_d3d11_draw_quad_unlocked()
|
D | gstd3d11overlaycompositor.h | 45 … ID3D11RenderTargetView *rtv[GST_VIDEO_MAX_PLANES]); 48 … ID3D11RenderTargetView *rtv[GST_VIDEO_MAX_PLANES]);
|
D | gstd3d11window_dummy.cpp | 341 ID3D11RenderTargetView *rtv = NULL; in gst_d3d11_window_dummy_open_shared_handle() local 410 NULL, &rtv); in gst_d3d11_window_dummy_open_shared_handle() 427 data->rtv = rtv; in gst_d3d11_window_dummy_open_shared_handle() 443 GST_D3D11_CLEAR_COM (rtv); in gst_d3d11_window_dummy_open_shared_handle() 516 GST_D3D11_CLEAR_COM (data->rtv); in gst_d3d11_window_dummy_release_shared_handle()
|
D | gstd3d11converter.h | 48 ID3D11RenderTargetView *rtv[GST_VIDEO_MAX_PLANES], 54 … ID3D11RenderTargetView *rtv[GST_VIDEO_MAX_PLANES],
|
D | gstd3d11shader.h | 65 ID3D11RenderTargetView *rtv[GST_VIDEO_MAX_PLANES], 77 ID3D11RenderTargetView *rtv[GST_VIDEO_MAX_PLANES],
|
D | gstd3d11overlaycompositor.cpp | 608 ID3D11RenderTargetView * rtv[GST_VIDEO_MAX_PLANES]) in gst_d3d11_overlay_compositor_draw() 613 g_return_val_if_fail (rtv != NULL, FALSE); in gst_d3d11_overlay_compositor_draw() 616 ret = gst_d3d11_overlay_compositor_draw_unlocked (compositor, rtv); in gst_d3d11_overlay_compositor_draw() 624 compositor, ID3D11RenderTargetView * rtv[GST_VIDEO_MAX_PLANES]) in gst_d3d11_overlay_compositor_draw_unlocked() 630 g_return_val_if_fail (rtv != NULL, FALSE); in gst_d3d11_overlay_compositor_draw_unlocked() 637 &compositor->viewport, 1, &overlay->srv, 1, rtv, 1, in gst_d3d11_overlay_compositor_draw_unlocked()
|
D | gstd3d11window.h | 75 ID3D11RenderTargetView *rtv; member 119 ID3D11RenderTargetView *rtv; member
|
D | gstd3d11convert.cpp | 1508 ID3D11DeviceContext * context_handle, ID3D11RenderTargetView * rtv, in clear_rtv_color_rgb() argument 1523 context_handle->ClearRenderTargetView (rtv, target); in clear_rtv_color_rgb() 1528 ID3D11DeviceContext * context_handle, ID3D11RenderTargetView * rtv, in clear_rtv_color_vuya() argument 1541 context_handle->ClearRenderTargetView (rtv, target); in clear_rtv_color_vuya() 1546 ID3D11DeviceContext * context_handle, ID3D11RenderTargetView * rtv, in clear_rtv_color_luma() argument 1561 context_handle->ClearRenderTargetView (rtv, target); in clear_rtv_color_luma() 1566 ID3D11DeviceContext * context_handle, ID3D11RenderTargetView * rtv) in clear_rtv_color_chroma() argument 1570 context_handle->ClearRenderTargetView (rtv, clear_color); in clear_rtv_color_chroma() 1576 ID3D11RenderTargetView * rtv[GST_VIDEO_MAX_PLANES]) in clear_rtv_color_all() 1582 if (!rtv[i]) in clear_rtv_color_all() [all …]
|
D | gstd3d11screencapture.h | 49 ID3D11RenderTargetView * rtv,
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ExternalImageSiblingImpl11.cpp | 117 d3d11::RenderTargetView rtv; in createRenderTarget() local 126 ANGLE_TRY(mRenderer->allocateResource(context11, rtvDesc, mTexture.get(), &rtv)); in createRenderTarget() 127 rtv.setDebugName("getAttachmentRenderTarget.RTV"); in createRenderTarget() 146 std::move(rtv), mTexture, std::move(srv), std::move(blitSrv), formatInfo.internalFormat, in createRenderTarget()
|
D | ResourceManager11.cpp | 324 d3d11::RenderTargetView rtv; in ClearResource() local 325 ANGLE_TRY(renderer->allocateResourceNoDesc(context, texture, &rtv)); in ClearResource() 327 deviceContext->ClearRenderTargetView(rtv.get(), kDebugColorInitClearValue); in ClearResource() 344 d3d11::RenderTargetView rtv; in ClearResource() local 345 ANGLE_TRY(renderer->allocateResourceNoDesc(context, texture, &rtv)); in ClearResource() 347 deviceContext->ClearRenderTargetView(rtv.get(), kDebugColorInitClearValue); in ClearResource()
|
D | TextureStorage11.cpp | 1207 d3d11::RenderTargetView rtv; in getRenderTarget() local 1209 mRenderer->allocateResource(context11, rtvDesc, mLevelZeroTexture.get(), &rtv)); in getRenderTarget() 1210 rtv.setDebugName("TexStorage2D.Level0RTV"); in getRenderTarget() 1213 std::move(rtv), mLevelZeroTexture, d3d11::SharedSRV(), d3d11::SharedSRV(), in getRenderTarget() 1229 d3d11::RenderTargetView rtv; in getRenderTarget() local 1230 ANGLE_TRY(mRenderer->allocateResource(context11, rtvDesc, texture->get(), &rtv)); in getRenderTarget() 1231 rtv.setDebugName("TexStorage2D.RTV"); in getRenderTarget() 1234 std::move(rtv), *texture, *srv, *blitSRV, mFormatInfo.internalFormat, getFormatSet(), in getRenderTarget() 2247 d3d11::RenderTargetView rtv; in getRenderTarget() local 2249 mRenderer->allocateResource(context11, rtvDesc, mLevelZeroTexture.get(), &rtv)); in getRenderTarget() [all …]
|
D | Framebuffer11.cpp | 238 const auto &rtv = renderTarget->getRenderTargetView(); in invalidateAttachment() local 240 if (rtv.valid()) in invalidateAttachment() 242 deviceContext1->DiscardView(rtv.get()); in invalidateAttachment()
|
D | RenderTarget11.cpp | 203 TextureRenderTarget11::TextureRenderTarget11(d3d11::RenderTargetView &&rtv, in TextureRenderTarget11() argument 221 mRenderTarget(std::move(rtv)), in TextureRenderTarget11()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ExternalImageSiblingImpl11.cpp | 126 d3d11::RenderTargetView rtv; in createRenderTarget() local 160 ANGLE_TRY(mRenderer->allocateResource(context11, rtvDesc, mTexture.get(), &rtv)); in createRenderTarget() 161 rtv.setInternalName("getAttachmentRenderTarget.RTV"); in createRenderTarget() 206 std::move(rtv), mTexture, std::move(srv), std::move(blitSrv), mFormat.info->internalFormat, in createRenderTarget()
|
D | ResourceManager11.cpp | 324 d3d11::RenderTargetView rtv; in ClearResource() local 325 ANGLE_TRY(renderer->allocateResourceNoDesc(context, texture, &rtv)); in ClearResource() 327 deviceContext->ClearRenderTargetView(rtv.get(), kDebugColorInitClearValue); in ClearResource() 344 d3d11::RenderTargetView rtv; in ClearResource() local 345 ANGLE_TRY(renderer->allocateResourceNoDesc(context, texture, &rtv)); in ClearResource() 347 deviceContext->ClearRenderTargetView(rtv.get(), kDebugColorInitClearValue); in ClearResource()
|
D | TextureStorage11.cpp | 1396 d3d11::RenderTargetView rtv; in getRenderTarget() local 1398 mRenderer->allocateResource(context11, rtvDesc, mLevelZeroTexture.get(), &rtv)); in getRenderTarget() 1399 rtv.setLabels("TexStorage2D.Level0RTV", &mTextureLabel); in getRenderTarget() 1402 std::move(rtv), mLevelZeroTexture, d3d11::SharedSRV(), d3d11::SharedSRV(), in getRenderTarget() 1418 d3d11::RenderTargetView rtv; in getRenderTarget() local 1419 ANGLE_TRY(mRenderer->allocateResource(context11, rtvDesc, texture->get(), &rtv)); in getRenderTarget() 1420 rtv.setLabels("TexStorage2D.RTV", &mTextureLabel); in getRenderTarget() 1423 std::move(rtv), *texture, *srv, *blitSRV, mFormatInfo.internalFormat, getFormatSet(), in getRenderTarget() 2536 d3d11::RenderTargetView rtv; in getRenderTarget() local 2538 mRenderer->allocateResource(context11, rtvDesc, mLevelZeroTexture.get(), &rtv)); in getRenderTarget() [all …]
|
D | Framebuffer11.cpp | 239 const auto &rtv = renderTarget->getRenderTargetView(); in invalidateAttachment() local 241 if (rtv.valid()) in invalidateAttachment() 243 deviceContext1->DiscardView(rtv.get()); in invalidateAttachment()
|
D | RenderTarget11.cpp | 203 TextureRenderTarget11::TextureRenderTarget11(d3d11::RenderTargetView &&rtv, in TextureRenderTarget11() argument 221 mRenderTarget(std::move(rtv)), in TextureRenderTarget11()
|
/third_party/cef/tests/cefclient/browser/ |
D | osr_d3d11_win.cc | 59 ID3D11RenderTargetView* rtv, in SwapChain() argument 65 rtv_(to_com_ptr(rtv)), in SwapChain() 73 ID3D11RenderTargetView* rtv[1] = {rtv_.get()}; in bind() local 74 d3d11_ctx->OMSetRenderTargets(1, rtv, nullptr); in bind() 465 ID3D11RenderTargetView* rtv = nullptr; in create_swapchain() local 466 hr = device_->CreateRenderTargetView(back_buffer, nullptr, &rtv); in create_swapchain() 475 ctx->OMSetRenderTargets(1, &rtv, nullptr); in create_swapchain() 521 return std::make_shared<SwapChain>(swapchain, rtv, sampler, blender); in create_swapchain()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/ |
D | d3d11videosink-shared-texture.cpp | 51 ComPtr<ID3D11RenderTargetView> rtv; variable 97 ID3D11RenderTargetView *render_target_view = rtv.Get(); in on_begin_draw() 116 rtv = nullptr; in on_resize() 135 hr = device->CreateRenderTargetView (backbuffer.Get(), nullptr, &rtv); in on_resize()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_screen.cpp | 1089 D3D12_RENDER_TARGET_VIEW_DESC rtv = {}; in d3d12_init_null_rtv() local 1090 rtv.Format = DXGI_FORMAT_R8G8B8A8_UNORM; in d3d12_init_null_rtv() 1091 rtv.ViewDimension = D3D12_RTV_DIMENSION_TEXTURE2D; in d3d12_init_null_rtv() 1092 rtv.Texture2D.MipSlice = 0; in d3d12_init_null_rtv() 1093 rtv.Texture2D.PlaneSlice = 0; in d3d12_init_null_rtv() 1095 screen->dev->CreateRenderTargetView(NULL, &rtv, screen->null_rtv.cpu_handle); in d3d12_init_null_rtv()
|