MCPcopy Create free account
hub / github.com/cybereality/Perception / AddRef

Method AddRef

Perception_v3/DxProxy/DxProxy/D3D9ProxySurface.cpp:95–105  ·  view source on GitHub ↗

* Behaviour determined through observing D3D with various test cases. * * Creating a surface should only increase the device ref count iff the surface has no parent container. * (The container adds one ref to the device for it and all its surfaces) * If a surface has a container then adding references to the surface should increase the ref count on * the container instead of the surface. The surf

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

D3D9ProxySurfaceMethod · 0.45
GetDeviceMethod · 0.45
GetContainerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected