Home
last modified time | relevance | path

Searched refs:D3DLOCK_DISCARD (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/nine/
Dbuffer9.c348 … if ((Flags & (D3DLOCK_DISCARD | D3DLOCK_NOOVERWRITE)) == (D3DLOCK_DISCARD | D3DLOCK_NOOVERWRITE)) in NineBuffer9_Lock()
349 Flags &= ~D3DLOCK_DISCARD; in NineBuffer9_Lock()
351 if (Flags & D3DLOCK_DISCARD) in NineBuffer9_Lock()
364 This->discard_nooverwrite_only &= !!(Flags & (D3DLOCK_DISCARD | D3DLOCK_NOOVERWRITE)); in NineBuffer9_Lock()
410 if (This->buf && (Flags & D3DLOCK_DISCARD)) { in NineBuffer9_Lock()
445 if (This->need_sync_if_nooverwrite && !(Flags & D3DLOCK_DISCARD) && in NineBuffer9_Lock()
455 This->need_sync_if_nooverwrite = !(Flags & (D3DLOCK_DISCARD | D3DLOCK_NOOVERWRITE)); in NineBuffer9_Lock()
460 if (Flags & D3DLOCK_DISCARD && device->csmt_active) { in NineBuffer9_Lock()
Dvolume9.c278 user_assert(!((Flags & D3DLOCK_DISCARD) && (Flags & D3DLOCK_READONLY)), in NineVolume9_LockBox()
291 if (Flags & D3DLOCK_DISCARD) { in NineVolume9_LockBox()
Dsurface9.c456 user_assert(!((Flags & D3DLOCK_DISCARD) && (Flags & D3DLOCK_READONLY)), in NineSurface9_LockRect()
473 if (Flags & D3DLOCK_DISCARD) { in NineSurface9_LockRect()
Dvertexdeclaration9.c520 &dst_map, D3DLOCK_DISCARD); in NineVertexDeclaration9_ConvertStreamOutput()
Ddevice9.c1931 hr = NineSurface9_LockRect(surf, &lock, NULL, pRect ? 0 : D3DLOCK_DISCARD); in NineDevice9_ColorFill()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexBuffer9.cpp140 result = mVertexBuffer->Lock(0, 1, &mock, D3DLOCK_DISCARD); in discard()
DIndexBuffer9.cpp131 result = mIndexBuffer->Lock(0, 1, &mock, D3DLOCK_DISCARD); in discard()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx9.cpp186 …0, (UINT)(draw_data->TotalVtxCount * sizeof(CUSTOMVERTEX)), (void**)&vtx_dst, D3DLOCK_DISCARD) < 0) in ImGui_ImplDX9_RenderDrawData()
191 …ck(0, (UINT)(draw_data->TotalIdxCount * sizeof(ImDrawIdx)), (void**)&idx_dst, D3DLOCK_DISCARD) < 0) in ImGui_ImplDX9_RenderDrawData()
/third_party/ffmpeg/libavutil/
Dhwcontext_dxva2.c298 lock_flags |= D3DLOCK_DISCARD; in dxva2_map_frame()
/third_party/mesa3d/include/D3D9/
Dd3d9types.h275 #define D3DLOCK_DISCARD 0x00002000 macro