Searched refs:mDevice (Results 1 - 6 of 6) sorted by relevance

/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/
H A DDisplay.cpp31 mDevice = NULL;
238 if (mDevice)
241 if (FAILED(mDevice->TestCooperativeLevel()))
246 mDevice->Release();
247 mDevice = NULL;
279 long result = mDevice->BeginScene();
289 long result = mDevice->EndScene();
347 HRESULT result = mD3d9->CreateDevice(mAdapter, mDeviceType, mDeviceWindow, behaviorFlags | D3DCREATE_HARDWARE_VERTEXPROCESSING | D3DCREATE_PUREDEVICE, &presentParameters, &mDevice);
356 result = mD3d9->CreateDevice(mAdapter, mDeviceType, mDeviceWindow, behaviorFlags | D3DCREATE_SOFTWARE_VERTEXPROCESSING, &presentParameters, &mDevice);
366 mDevice
[all...]
H A DDisplay.h84 IDirect3DDevice9 *mDevice; member in class:egl::Display
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
H A DIndexDataManager.cpp26 IndexDataManager::IndexDataManager(Context *context, IDirect3DDevice9 *device) : mDevice(device)
28 mStreamingBufferShort = new StreamingIndexBuffer(mDevice, INITIAL_INDEX_BUFFER_SIZE, D3DFMT_INDEX16);
32 mStreamingBufferInt = new StreamingIndexBuffer(mDevice, INITIAL_INDEX_BUFFER_SIZE, D3DFMT_INDEX32);
207 IndexBuffer::IndexBuffer(IDirect3DDevice9 *device, UINT size, D3DFORMAT format) : mDevice(device), mBufferSize(size), mIndexBuffer(NULL)
285 HRESULT result = mDevice->CreateIndexBuffer(mBufferSize, D3DUSAGE_DYNAMIC | D3DUSAGE_WRITEONLY, type == GL_UNSIGNED_INT ? D3DFMT_INDEX32 : D3DFMT_INDEX16, pool, &mIndexBuffer, NULL);
338 HRESULT result = mDevice->CreateIndexBuffer(requiredSpace, D3DUSAGE_WRITEONLY, type == GL_UNSIGNED_INT ? D3DFMT_INDEX32 : D3DFMT_INDEX16, pool, &mIndexBuffer, NULL);
H A DIndexDataManager.h47 IDirect3DDevice9 *const mDevice; member in class:gl::IndexBuffer
112 IDirect3DDevice9 *const mDevice; member in class:gl::IndexDataManager
H A DVertexDataManager.h47 IDirect3DDevice9 *const mDevice; member in class:gl::VertexBuffer
132 IDirect3DDevice9 *const mDevice; member in class:gl::VertexDataManager
H A DVertexDataManager.cpp29 VertexDataManager::VertexDataManager(Context *context, IDirect3DDevice9 *device) : mContext(context), mDevice(device)
40 mStreamingBuffer = new StreamingVertexBuffer(mDevice, INITIAL_STREAM_BUFFER_SIZE);
251 mCurrentValueBuffer[i] = new ConstantVertexBuffer(mDevice, attribs[i].mCurrentValue[0], attribs[i].mCurrentValue[1], attribs[i].mCurrentValue[2], attribs[i].mCurrentValue[3]);
519 mDevice->SetStreamSource(i, attributes[i].vertexBuffer, attributes[i].offset, attributes[i].stride);
535 mDevice->CreateVertexDeclaration(elements, &vertexDeclaration);
536 mDevice->SetVertexDeclaration(vertexDeclaration);
540 VertexBuffer::VertexBuffer(IDirect3DDevice9 *device, std::size_t size, DWORD usageFlags) : mDevice(device), mVertexBuffer(NULL)
669 HRESULT result = mDevice->CreateVertexBuffer(mBufferSize, D3DUSAGE_DYNAMIC | D3DUSAGE_WRITEONLY, 0, pool, &mVertexBuffer, NULL);
731 HRESULT result = mDevice->CreateVertexBuffer(mRequiredSpace, D3DUSAGE_WRITEONLY, 0, pool, &mVertexBuffer, NULL);

Completed in 185 milliseconds