Home
last modified time | relevance | path

Searched refs:mConfig (Results 1 – 25 of 32) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLBackwardsCompatibleContextTest.cpp56 mConfig = config; in testSetUp()
60 if (!mConfig) in testSetUp()
62 mConfig = configs[0]; in testSetUp()
64 ASSERT_NE(nullptr, mConfig); in testSetUp()
67 eglGetConfigAttrib(mDisplay, mConfig, EGL_SURFACE_TYPE, &surfaceType); in testSetUp()
73 mPbuffer = eglCreatePbufferSurface(mDisplay, mConfig, pbufferAttribs); in testSetUp()
92 EGLConfig mConfig = 0; member in angle::EGLBackwardsCompatibleContextTest
124 EGLContext context = eglCreateContext(mDisplay, mConfig, nullptr, attribs); in TEST_P()
152 EGLContext es3Context = eglCreateContext(mDisplay, mConfig, nullptr, es3ContextAttribs); in TEST_P()
162 EGLContext es2Context = eglCreateContext(mDisplay, mConfig, nullptr, es2ContextAttribs); in TEST_P()
[all …]
DEGLIOSurfaceClientBufferTest.cpp140 eglGetConfigAttrib(mDisplay, mConfig, EGL_BIND_TO_TEXTURE_TARGET_ANGLE, &target); in getTextureTarget()
162 IOSurfaceClientBufferTest() : mConfig(0), mDisplay(nullptr) {} in IOSurfaceClientBufferTest()
166 mConfig = getEGLWindow()->getConfig(); in testSetUp()
193 mConfig, attribs); in createIOSurfacePbuffer()
449 EGLConfig mConfig; member in IOSurfaceClientBufferTest
763 …eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, ioSurface.get(), mConfig, attribs); in TEST_P()
786 ioSurface.get(), mConfig, attribs); in TEST_P()
806 ioSurface.get(), mConfig, attribs); in TEST_P()
826 ioSurface.get(), mConfig, attribs); in TEST_P()
847 ioSurface.get(), mConfig, attribs); in TEST_P()
[all …]
DEGLSurfaceTest.cpp136 *context = eglCreateContext(mDisplay, mConfig, nullptr, contextAttibutes); in initializeSingleContext()
160 eglGetConfigAttrib(mDisplay, mConfig, EGL_SURFACE_TYPE, &surfaceType); in initializeWindowSurfaceWithAttribs()
168 mWindowSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in initializeWindowSurfaceWithAttribs()
178 mConfig = config; in initializeSurfaceWithAttribs()
181 eglGetConfigAttrib(mDisplay, mConfig, EGL_SURFACE_TYPE, &surfaceType); in initializeSurfaceWithAttribs()
199 mPbufferSurface = eglCreatePbufferSurface(mDisplay, mConfig, pbufferAttributes.data()); in initializeSurfaceWithAttribs()
294 mWindowSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in runMessageLoopTest()
316 EGLConfig mConfig; member in __anon8ef31e100111::EGLSurfaceTest
837 ANGLE_SKIP_TEST_IF(EGLWindow::FindEGLConfig(mDisplay, configAttributes, &mConfig) == EGL_FALSE); in TEST_P()
850 eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), surfaceAttributes); in TEST_P()
[all …]
DEGLSurfacelessContextTest.cpp50 mConfig = config; in testSetUp()
56 if (!mConfig) in testSetUp()
58 mConfig = configs[0]; in testSetUp()
61 ASSERT_NE(nullptr, mConfig); in testSetUp()
86 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, contextAttribs); in createContext()
101 mPbuffer = eglCreatePbufferSurface(mDisplay, mConfig, pbufferAttribs); in createPbuffer()
134 EGLConfig mConfig = 0; member in __anon223a93ec0111::EGLSurfacelessContextTest
DEGLQueryContextTest.cpp36 EXPECT_TRUE(eglChooseConfig(mDisplay, cfgattrs, &mConfig, 1, &ncfg) != EGL_FALSE); in testSetUp()
40 mContext = eglCreateContext(mDisplay, mConfig, nullptr, ctxattrs); in testSetUp()
44 eglGetConfigAttrib(mDisplay, mConfig, EGL_SURFACE_TYPE, &surfaceType); in testSetUp()
48 mSurface = eglCreatePbufferSurface(mDisplay, mConfig, surfattrs); in testSetUp()
69 EGLConfig mConfig = EGL_NO_CONFIG_KHR; member in EGLQueryContextTest
77 EXPECT_TRUE(eglGetConfigAttrib(mDisplay, mConfig, EGL_CONFIG_ID, &configId) != EGL_FALSE); in TEST_P()
DEGLPresentPathD3D11Test.cpp25 mConfig(0), in EGLPresentPathD3D11()
72 ASSERT_EGL_TRUE(eglChooseConfig(mDisplay, configAttribs, &mConfig, 1, &numConfigs)); in initializeEGL()
77 mContext = eglCreateContext(mDisplay, mConfig, nullptr, contextAttribs); in initializeEGL()
83 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in createWindowSurface()
127 sharedHandle, mConfig, pBufferAttributes); in createPbufferFromClientBufferSurface()
301 EGLConfig mConfig; member in EGLPresentPathD3D11
DEGLSurfaceTestMac.mm48 EGLint ret = eglChooseConfig(mDisplay, configAttributes, &mConfig, 1, &configCount);
68 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, contextAttributes);
107 mSurface = eglCreateWindowSurface(mDisplay, mConfig, nativeWindow, nullptr);
122 EGLConfig mConfig;
DEGLSyncControlTest.cpp127 ASSERT_EGL_TRUE(eglChooseConfig(mDisplay, configAttributes, &mConfig, 1, &configCount)); in CreateWindowSurface()
132 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in CreateWindowSurface()
145 mContext = eglCreateContext(mDisplay, mConfig, nullptr, contextAttibutes); in CreateWindowSurface()
170 EGLConfig mConfig = 0; member in EGLSyncControlTest
DEGLRobustnessTest.cpp78 mConfig = config; in testSetUp()
87 eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in testSetUp()
108 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, contextAttribs); in createContext()
167 EGLConfig mConfig = 0; member in EGLRobustnessTest
DEGLDeviceTest.cpp38 mConfig(0) in EGLDeviceCreationTest()
121 ASSERT_EGL_TRUE(eglChooseConfig(mDisplay, configAttributes, &mConfig, 1, &configCount)); in CreateWindowSurface()
128 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in CreateWindowSurface()
133 mContext = eglCreateContext(mDisplay, mConfig, nullptr, contextAttibutes); in CreateWindowSurface()
176 EGLConfig mConfig; member in EGLDeviceCreationTest
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSwapChainD3D12.cpp158 mConfig.bufferCount = PresentModeToBufferCount(GetPresentMode()); in Initialize()
159 mConfig.format = D3D12TextureFormat(GetFormat()); in Initialize()
160 mConfig.swapChainFlags = PresentModeToSwapChainFlags(GetPresentMode()); in Initialize()
161 mConfig.usage = ToDXGIUsage(GetUsage()); in Initialize()
189 ((mConfig.swapChainFlags ^ previousD3D12SwapChain->mConfig.swapChainFlags) & in Initialize()
221 CheckHRESULT(mDXGISwapChain->ResizeBuffers(mConfig.bufferCount, GetWidth(), GetHeight(), in Initialize()
222 mConfig.format, mConfig.swapChainFlags), in Initialize()
235 swapChainDesc.Format = mConfig.format; in InitializeSwapChainFromScratch()
239 swapChainDesc.BufferUsage = mConfig.usage; in InitializeSwapChainFromScratch()
240 swapChainDesc.BufferCount = mConfig.bufferCount; in InitializeSwapChainFromScratch()
[all …]
DSwapChainD3D12.h77 Config mConfig; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DNativeSwapChainImplVk.cpp91 if (!ChooseSurfaceConfig(mInfo, &mConfig, mDevice->IsToggleEnabled(Toggle::TurnOffVsync))) { in UpdateSurfaceConfig()
121 createInfo.minImageCount = mConfig.minImageCount; in Configure()
122 createInfo.imageFormat = mConfig.nativeFormat; in Configure()
123 createInfo.imageColorSpace = mConfig.colorSpace; in Configure()
128 mDevice->GetValidInternalFormat(mConfig.format)); in Configure()
132 createInfo.preTransform = mConfig.preTransform; in Configure()
133 createInfo.compositeAlpha = mConfig.compositeAlpha; in Configure()
134 createInfo.presentMode = mConfig.presentMode; in Configure()
151 ASSERT(count >= mConfig.minImageCount); in Configure()
222 return mConfig.format; in GetPreferredFormat()
DSwapChainVk.cpp284 DAWN_TRY_ASSIGN(mConfig, ChooseConfig(surfaceInfo)); in Initialize()
292 createInfo.minImageCount = mConfig.targetImageCount; in Initialize()
293 createInfo.imageFormat = mConfig.format; in Initialize()
294 createInfo.imageColorSpace = mConfig.colorSpace; in Initialize()
295 createInfo.imageExtent = mConfig.extent; in Initialize()
297 createInfo.imageUsage = mConfig.usage; in Initialize()
301 createInfo.preTransform = mConfig.transform; in Initialize()
302 createInfo.compositeAlpha = mConfig.alphaMode; in Initialize()
303 createInfo.presentMode = mConfig.presentMode; in Initialize()
475 if (mConfig.needsBlit) { in PresentImpl()
[all …]
DNativeSwapChainImplVk.h64 ChosenConfig mConfig; variable
DSwapChainVk.h85 Config mConfig; variable
/third_party/libsnd/src/ALAC/
Dalac_decoder.c108 p->mConfig = theConfig ; in alac_decoder_init()
111 RequireAction (p->mConfig.compatibleVersion <= kALACVersion, return kALAC_IncompatibleVersion ;) ; in alac_decoder_init()
112 …RequireAction ((p->mConfig.bitDepth >= 8 && p->mConfig.bitDepth <= 32), return kALAC_BadBitWidth ;… in alac_decoder_init()
183 pb = p->mConfig.pb ; in alac_decode()
212 chanBits = p->mConfig.bitDepth - (bytesShifted * 8) ; in alac_decode()
249 …set_ag_params (&agParams, p->mConfig.mb, (pb * pbFactorU) / 4, p->mConfig.kb, numSamples, numSampl… in alac_decode()
307 switch (p->mConfig.bitDepth) in alac_decode()
365 chanBits = p->mConfig.bitDepth - (bytesShifted * 8) + 1 ; in alac_decode()
410 …set_ag_params (&agParams, p->mConfig.mb, (pb * pbFactorU) / 4, p->mConfig.kb, numSamples, numSampl… in alac_decode()
426 …set_ag_params (&agParams, p->mConfig.mb, (pb * pbFactorV) / 4, p->mConfig.kb, numSamples, numSampl… in alac_decode()
[all …]
Dalac_decoder.h43 ALACSpecificConfig mConfig ; member
DALACDecoder.h45 ALACSpecificConfig mConfig ;
Dalac_codec.h40 ALACSpecificConfig mConfig ; member
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DEGLMakeCurrentPerf.cpp37 EGLConfig mConfig; member in __anon836a83aa0111::EGLMakeCurrentPerfTest
47 mConfig(nullptr), in EGLMakeCurrentPerfTest()
112 ASSERT_TRUE(eglChooseConfig(mDisplay, configAttrs, &mConfig, 1, &numConfigs)); in SetUp()
114 mContexts[0] = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, nullptr); in SetUp()
116 mContexts[1] = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, nullptr); in SetUp()
119 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in SetUp()
/third_party/skia/third_party/externals/angle2/util/
DEGLWindow.cpp62 mConfig(0), in EGLWindow()
82 return mConfig; in getConfig()
436 if (!FindEGLConfig(mDisplay, configAttributes.data(), &mConfig)) in initializeSurface()
443 eglGetConfigAttrib(mDisplay, mConfig, EGL_RED_SIZE, &mConfigParams.redBits); in initializeSurface()
444 eglGetConfigAttrib(mDisplay, mConfig, EGL_GREEN_SIZE, &mConfigParams.greenBits); in initializeSurface()
445 eglGetConfigAttrib(mDisplay, mConfig, EGL_BLUE_SIZE, &mConfigParams.blueBits); in initializeSurface()
446 eglGetConfigAttrib(mDisplay, mConfig, EGL_ALPHA_SIZE, &mConfigParams.alphaBits); in initializeSurface()
447 eglGetConfigAttrib(mDisplay, mConfig, EGL_DEPTH_SIZE, &mConfigParams.depthBits); in initializeSurface()
448 eglGetConfigAttrib(mDisplay, mConfig, EGL_STENCIL_SIZE, &mConfigParams.stencilBits); in initializeSurface()
449 eglGetConfigAttrib(mDisplay, mConfig, EGL_SAMPLES, &mConfigParams.samples); in initializeSurface()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DPbufferSurfaceEGL.cpp36 mSurface = mEGL->createPbufferSurface(mConfig, nativeAttribs.data()); in initialize()
DWindowSurfaceEGL.cpp36 mSurface = mEGL->createWindowSurface(mConfig, mWindow, nativeAttribs.data()); in initialize()
DDisplayEGL.cpp224 EGLContext context = mEGL->createContext(mConfig, shareContext, attribVector.data()); in initializeContext()
237 EGLContext context = mEGL->createContext(mConfig, shareContext, attribVector.data()); in initializeContext()
306 if (mEGL->chooseConfig(attribVector.data(), &mConfig, 1, &numConfig) == EGL_TRUE) in initialize()
313 if (mConfig == EGL_NO_CONFIG_KHR) in initialize()
979 EGLContext context = mEGL->createContext(mConfig, sharedContext, workerAttribs.data()); in createWorkerContext()

12