Home
last modified time | relevance | path

Searched refs:bufferDesc (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
DBufferStorage11.cpp81 D3D11_BUFFER_DESC bufferDesc; in getData() local
82 bufferDesc.ByteWidth = mSize; in getData()
83 bufferDesc.Usage = D3D11_USAGE_STAGING; in getData()
84 bufferDesc.BindFlags = 0; in getData()
85 bufferDesc.CPUAccessFlags = D3D11_CPU_ACCESS_READ | D3D11_CPU_ACCESS_WRITE; in getData()
86 bufferDesc.MiscFlags = 0; in getData()
87 bufferDesc.StructureByteStride = 0; in getData()
89 result = device->CreateBuffer(&bufferDesc, NULL, &mStagingBuffer); in getData()
95 mStagingBufferSize = bufferDesc.ByteWidth; in getData()
155 D3D11_BUFFER_DESC bufferDesc; in setData() local
[all …]
DIndexBuffer11.cpp46 D3D11_BUFFER_DESC bufferDesc; in initialize() local
47 bufferDesc.ByteWidth = bufferSize; in initialize()
48 bufferDesc.Usage = D3D11_USAGE_DYNAMIC; in initialize()
49 bufferDesc.BindFlags = D3D11_BIND_INDEX_BUFFER; in initialize()
50 bufferDesc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; in initialize()
51 bufferDesc.MiscFlags = 0; in initialize()
52 bufferDesc.StructureByteStride = 0; in initialize()
54 HRESULT result = dxDevice->CreateBuffer(&bufferDesc, NULL, &mBuffer); in initialize()
DVertexBuffer11.cpp50 D3D11_BUFFER_DESC bufferDesc; in initialize() local
51 bufferDesc.ByteWidth = size; in initialize()
52 bufferDesc.Usage = D3D11_USAGE_DYNAMIC; in initialize()
53 bufferDesc.BindFlags = D3D11_BIND_VERTEX_BUFFER; in initialize()
54 bufferDesc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; in initialize()
55 bufferDesc.MiscFlags = 0; in initialize()
56 bufferDesc.StructureByteStride = 0; in initialize()
58 HRESULT result = dxDevice->CreateBuffer(&bufferDesc, NULL, &mBuffer); in initialize()