/external/angle/src/libANGLE/renderer/gl/wgl/ |
D | WindowSurfaceWGL.cpp | 27 mDeviceContext(nullptr), in WindowSurfaceWGL() 37 ReleaseDC(mWindow, mDeviceContext); in ~WindowSurfaceWGL() 38 mDeviceContext = nullptr; in ~WindowSurfaceWGL() 43 mDeviceContext = GetDC(mWindow); in initialize() 44 if (!mDeviceContext) in initialize() 53 int windowPixelFormat = GetPixelFormat(mDeviceContext); in initialize() 57 if (!DescribePixelFormat(mDeviceContext, mPixelFormat, sizeof(pixelFormatDescriptor), in initialize() 64 if (!SetPixelFormat(mDeviceContext, mPixelFormat, &pixelFormatDescriptor)) in initialize() 79 wgl::QueryWGLFormatAttrib(mDeviceContext, mPixelFormat, WGL_SWAP_METHOD_ARB, mFunctionsWGL)) in initialize() 102 if (!mFunctionsWGL->swapBuffers(mDeviceContext)) in swap() [all …]
|
D | DisplayWGL.cpp | 101 mDeviceContext(nullptr), in DisplayWGL() 248 mDeviceContext = GetDC(mWindow); in initializeImpl() 249 if (!mDeviceContext) in initializeImpl() 260 mFunctionsWGL->choosePixelFormatARB(mDeviceContext, &attribs[0], nullptr, 1u, &mPixelFormat, in initializeImpl() 266 mPixelFormat = ChoosePixelFormat(mDeviceContext, &pixelFormatDescriptor); in initializeImpl() 275 if (!SetPixelFormat(mDeviceContext, mPixelFormat, &pixelFormatDescriptor)) in initializeImpl() 355 if (mDeviceContext) in destroy() 357 mFunctionsWGL->makeCurrent(mDeviceContext, nullptr); in destroy() 364 if (mDeviceContext) in destroy() 366 ReleaseDC(mWindow, mDeviceContext); in destroy() [all …]
|
D | WindowSurfaceWGL.h | 59 HDC mDeviceContext; variable
|
D | D3DTextureSurfaceWGL.h | 87 HDC mDeviceContext; variable
|
D | D3DTextureSurfaceWGL.cpp | 258 mDeviceContext(deviceContext), in D3DTextureSurfaceWGL() 493 return mDeviceContext; in getDC()
|
D | DisplayWGL.h | 133 HDC mDeviceContext; variable
|
/external/angle/util/windows/ |
D | WGLWindow.cpp | 119 mDeviceContext(nullptr), in WGLWindow() 151 mDeviceContext = GetDC(mWindow); in initializeGLWithResult() 165 _wglChoosePixelFormatARB(mDeviceContext, &pixelFormatAttribs[0], nullptr, 1u, &pixelFormat, in initializeGLWithResult() 178 pixelFormat = ChoosePixelFormat(mDeviceContext, &pixelFormatDescriptor); in initializeGLWithResult() 189 int currentPixelFormat = GetPixelFormat(mDeviceContext); in initializeGLWithResult() 192 if (SetPixelFormat(mDeviceContext, pixelFormat, &pixelFormatDescriptor) != TRUE) in initializeGLWithResult() 230 HGLRC context = _wglCreateContext(mDeviceContext); in createContext() 252 const char *extensionsString = _wglGetExtensionsStringARB(mDeviceContext); in createContext() 299 context = _wglCreateContextAttribsARB(mDeviceContext, shareContext, createAttribs); in createContext() 317 if (mDeviceContext) in destroyGL() [all …]
|
D | WGLWindow.h | 89 HDC mDeviceContext; variable
|
/external/angle/src/tests/egl_tests/ |
D | EGLDeviceTest.cpp | 32 mDeviceContext(nullptr), in EGLDeviceCreationTest() 74 SafeRelease(mDeviceContext); in testTearDown() 104 D3D11_SDK_VERSION, &mDevice, &mFeatureLevel, &mDeviceContext); in CreateD3D11Device() 154 mDeviceContext->GSSetConstantBuffers(0, 1, &gsBuffer); in trigger9_3DeviceLost() 166 ID3D11DeviceContext *mDeviceContext; member in EGLDeviceCreationTest 285 EGL_D3D11_DEVICE_ANGLE, reinterpret_cast<void *>(mDeviceContext), nullptr); in TEST_P() 304 SafeRelease(mDeviceContext); in TEST_P()
|
D | EGLSyncControlTest.cpp | 56 SafeRelease(mDeviceContext); in TearDown() 86 D3D11_SDK_VERSION, &mDevice, &mFeatureLevel, &mDeviceContext); in CreateD3D11Device() 158 ID3D11DeviceContext *mDeviceContext = nullptr; member in EGLSyncControlTest
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Renderer11.cpp | 599 mDeviceContext.As(&mDeviceContext1); in initialize() 600 mDeviceContext.As(&mDeviceContext3); in initialize() 693 &(mRenderer11DeviceCaps.featureLevel), &mDeviceContext); in callD3D11CreateDevice() 723 mDevice->GetImmediateContext(&mDeviceContext); in initializeDXGIAdapter() 866 0 /* NodeMask */, &mDevice, &mDeviceContext, &(mRenderer11DeviceCaps.featureLevel)); in callD3D11On12CreateDevice() 1026 d3d11::SetDebugName(mDeviceContext, "DeviceContext", nullptr); in initializeD3DDevice() 1028 mAnnotatorContext.initialize(mDeviceContext.Get()); in initializeD3DDevice() 1445 mDeviceContext->Flush(); in flush() 1460 mDeviceContext->End(mSyncQuery.get()); in finish() 1470 result = mDeviceContext->GetData(mSyncQuery.get(), nullptr, 0, flags); in finish() [all …]
|
D | Renderer11.h | 307 ID3D11DeviceContext *getDeviceContext() { return mDeviceContext.Get(); } in getDeviceContext() 614 angle::ComPtr<ID3D11DeviceContext> mDeviceContext; variable
|
/external/angle/src/tests/deqp_support/ |
D | tcuANGLENativeDisplayFactory.cpp | 105 return bitCast<void *>(mDeviceContext); in getPlatformNative() 113 EGLNativeDisplayType getDeviceContext() const { return mDeviceContext; } in getDeviceContext() 116 EGLNativeDisplayType mDeviceContext; member in tcu::__anond9553cf30111::ANGLENativeDisplay 197 mDeviceContext(display), in ANGLENativeDisplay()
|