Home
last modified time | relevance | path

Searched refs:mDeviceContext (Results 1 – 13 of 13) sorted by relevance

/external/angle/src/libANGLE/renderer/gl/wgl/
DWindowSurfaceWGL.cpp27 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 …]
DDisplayWGL.cpp101 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 …]
DWindowSurfaceWGL.h59 HDC mDeviceContext; variable
DD3DTextureSurfaceWGL.h87 HDC mDeviceContext; variable
DD3DTextureSurfaceWGL.cpp258 mDeviceContext(deviceContext), in D3DTextureSurfaceWGL()
493 return mDeviceContext; in getDC()
DDisplayWGL.h133 HDC mDeviceContext; variable
/external/angle/util/windows/
DWGLWindow.cpp119 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 …]
DWGLWindow.h89 HDC mDeviceContext; variable
/external/angle/src/tests/egl_tests/
DEGLDeviceTest.cpp32 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()
DEGLSyncControlTest.cpp56 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/
DRenderer11.cpp599 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 …]
DRenderer11.h307 ID3D11DeviceContext *getDeviceContext() { return mDeviceContext.Get(); } in getDeviceContext()
614 angle::ComPtr<ID3D11DeviceContext> mDeviceContext; variable
/external/angle/src/tests/deqp_support/
DtcuANGLENativeDisplayFactory.cpp105 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()