Lines Matching refs:Texture2D
141 vdesc.Texture2D.MipSlice = 0; in resize()
213 Texture2D::Texture2D(ID3D11Texture2D* tex, ID3D11ShaderResourceView* srv) in Texture2D() function in client::d3d11::Texture2D
232 uint32_t Texture2D::width() const { in width()
238 uint32_t Texture2D::height() const { in height()
244 DXGI_FORMAT Texture2D::format() const { in format()
250 bool Texture2D::has_mutex() const { in has_mutex()
254 bool Texture2D::lock_key(uint64_t key, uint32_t timeout_ms) { in lock_key()
262 void Texture2D::unlock_key(uint64_t key) { in unlock_key()
268 void Texture2D::bind(const std::shared_ptr<Context>& ctx) { in bind()
277 void Texture2D::unbind() {} in unbind()
279 void* Texture2D::share_handle() const { in share_handle()
283 void Texture2D::copy_from(const std::shared_ptr<Texture2D>& other) { in copy_from()
573 std::shared_ptr<Texture2D> Device::open_shared_texture(void* handle) { in open_shared_texture()
590 srv_desc.Texture2D.MostDetailedMip = 0; in open_shared_texture()
591 srv_desc.Texture2D.MipLevels = 1; in open_shared_texture()
600 return std::make_shared<Texture2D>(tex, srv); in open_shared_texture()
603 std::shared_ptr<Texture2D> Device::create_texture(int width, in create_texture()
635 srv_desc.Texture2D.MostDetailedMip = 0; in create_texture()
636 srv_desc.Texture2D.MipLevels = 1; in create_texture()
645 return std::make_shared<Texture2D>(tex, srv); in create_texture()
818 const std::shared_ptr<Texture2D>& texture) { in render_texture()
833 ScopedBinder<Texture2D> tex_binder(ctx, texture); in render_texture()