Searched refs:textureDesc (Results 1 – 6 of 6) sorted by relevance
100 D3D11_TEXTURE2D_DESC textureDesc = {0}; in createPbufferFromClientBufferSurface() local101 textureDesc.Width = mWindowWidth; in createPbufferFromClientBufferSurface()102 textureDesc.Height = mWindowWidth; in createPbufferFromClientBufferSurface()103 textureDesc.Format = DXGI_FORMAT_B8G8R8A8_UNORM; in createPbufferFromClientBufferSurface()104 textureDesc.MipLevels = 1; in createPbufferFromClientBufferSurface()105 textureDesc.ArraySize = 1; in createPbufferFromClientBufferSurface()106 textureDesc.SampleDesc.Count = 1; in createPbufferFromClientBufferSurface()107 textureDesc.SampleDesc.Quality = 0; in createPbufferFromClientBufferSurface()108 textureDesc.Usage = D3D11_USAGE_DEFAULT; in createPbufferFromClientBufferSurface()109 textureDesc.BindFlags = D3D11_BIND_RENDER_TARGET | D3D11_BIND_SHADER_RESOURCE; in createPbufferFromClientBufferSurface()[all …]
31 wgpu::TextureDescriptor textureDesc; in Make() local33 textureDesc.usage = in Make()39 textureDesc.usage |= wgpu::TextureUsage::OutputAttachment; in Make()42 textureDesc.size.width = dimensions.fWidth; in Make()43 textureDesc.size.height = dimensions.fHeight; in Make()44 textureDesc.size.depth = 1; in Make()45 textureDesc.format = format; in Make()46 textureDesc.mipLevelCount = std::max(mipLevels, 1); in Make()47 textureDesc.sampleCount = sampleCnt; in Make()49 wgpu::Texture tex = gpu->device().CreateTexture(&textureDesc); in Make()[all …]
39 D3D11_TEXTURE2D_DESC textureDesc = {}; in initialize() local40 mTexture.getDesc(&textureDesc); in initialize()48 mIsRenderable = (textureDesc.BindFlags & D3D11_BIND_RENDER_TARGET) && in initialize()52 mIsTexturable = (textureDesc.BindFlags & D3D11_BIND_SHADER_RESOURCE) && in initialize()
1761 D3D11_TEXTURE2D_DESC textureDesc; in initResolveDepthOnly() local1762 textureDesc.Width = extents.width; in initResolveDepthOnly()1763 textureDesc.Height = extents.height; in initResolveDepthOnly()1764 textureDesc.MipLevels = 1; in initResolveDepthOnly()1765 textureDesc.ArraySize = 1; in initResolveDepthOnly()1766 textureDesc.Format = format.texFormat; in initResolveDepthOnly()1767 textureDesc.SampleDesc.Count = 1; in initResolveDepthOnly()1768 textureDesc.SampleDesc.Quality = 0; in initResolveDepthOnly()1769 textureDesc.Usage = D3D11_USAGE_DEFAULT; in initResolveDepthOnly()1770 textureDesc.BindFlags = D3D11_BIND_DEPTH_STENCIL | D3D11_BIND_SHADER_RESOURCE; in initResolveDepthOnly()[all …]
35 D3D11_TEXTURE2D_DESC textureDesc; in GetD3D11TextureInfo() local36 texture11->GetDesc(&textureDesc); in GetD3D11TextureInfo()41 switch (textureDesc.Format) in GetD3D11TextureInfo()54 << "Unknown client buffer texture format: " << textureDesc.Format; in GetD3D11TextureInfo()68 *angleFormat = &d3d11_angle::GetFormat(textureDesc.Format); in GetD3D11TextureInfo()73 *width = textureDesc.Width; in GetD3D11TextureInfo()77 *height = textureDesc.Height; in GetD3D11TextureInfo()
667 MTLTextureDescriptor* textureDesc = GrGetMTLTextureDescriptor(dstTex);668 textureDesc.width = srcRect.width();669 textureDesc.height = srcRect.height();670 textureDesc.mipmapLevelCount = 1;671 textureDesc.usage |= MTLTextureUsageRenderTarget;677 textureDesc,