Lines Matching refs:d3d_device_
38 d3d_device_(NULL), in D3dRenderer()
64 d3d_device_ = NULL; in Destroy()
102 d3d_device_ = d3d_device; in Init()
107 if (d3d_device_->CreateVertexBuffer(kRectVertices * sizeof(D3dCustomVertex), in Init()
116 d3d_device_->SetRenderState(D3DRS_CULLMODE, D3DCULL_NONE); in Init()
117 d3d_device_->SetRenderState(D3DRS_LIGHTING, FALSE); in Init()
121 d3d_device_->Present(NULL, NULL, NULL, NULL); in Init()
158 d3d_device_->CreateTexture(static_cast<UINT>(width_), in Resize()
195 d3d_device_->BeginScene(); in OnFrame()
196 d3d_device_->SetFVF(D3DFVF_CUSTOMVERTEX); in OnFrame()
197 d3d_device_->SetStreamSource(0, vertex_buffer_, 0, sizeof(D3dCustomVertex)); in OnFrame()
198 d3d_device_->SetTexture(0, texture_); in OnFrame()
199 d3d_device_->DrawPrimitive(D3DPT_TRIANGLESTRIP, 0, 2); in OnFrame()
200 d3d_device_->EndScene(); in OnFrame()
202 d3d_device_->Present(NULL, NULL, NULL, NULL); in OnFrame()