/external/skia/fuzz/ |
D | FuzzCreateDDL.cpp | 55 static SkImageInfo gen_fuzzed_imageinfo(Fuzz* fuzz, SkColorType surfaceType) { in gen_fuzzed_imageinfo() argument 120 return SkImageInfo::Make(width, height, surfaceType, alphaType, in gen_fuzzed_imageinfo() 125 SkImageInfo& ii, SkColorType surfaceType, in make_characterization() argument 127 if (!dContext->colorTypeSupportedAsSurface(surfaceType)) { in make_characterization() 133 GrBackendFormat backendFormat = dContext->defaultBackendFormat(surfaceType, in make_characterization() 189 SkColorType surfaceType, in create_surface_and_characterization() argument 191 SkImageInfo ii = gen_fuzzed_imageinfo(fuzz, surfaceType); in create_surface_and_characterization() 192 SkSurfaceCharacterization c = make_characterization(fuzz, dContext, ii, surfaceType, origin); in create_surface_and_characterization() 205 SkColorType surfaceType; in DEF_FUZZ() local 207 fuzz->nextEnum(&surfaceType, SkColorType::kLastEnum_SkColorType); in DEF_FUZZ() [all …]
|
/external/angle/src/tests/egl_tests/ |
D | EGLChooseConfigTest.cpp | 52 EGLint colorBufferType, level, renderableType, surfaceType, transparentType; in TEST_P() local 64 eglGetConfigAttrib(display, config, EGL_SURFACE_TYPE, &surfaceType); in TEST_P() 65 ASSERT_EQ(surfaceType & EGL_WINDOW_BIT, EGL_WINDOW_BIT); in TEST_P() 81 EGLint colorBufferType, level, renderableType, surfaceType, transparentType; in TEST_P() local 87 eglGetConfigAttrib(display, config, EGL_SURFACE_TYPE, &surfaceType); in TEST_P() 97 ((surfaceType & EGL_WINDOW_BIT) == EGL_WINDOW_BIT) && (transparentType == EGL_NONE) && in TEST_P()
|
D | EGLBackwardsCompatibleContextTest.cpp | 52 EGLint surfaceType; in testSetUp() local 53 eglGetConfigAttrib(mDisplay, config, EGL_SURFACE_TYPE, &surfaceType); in testSetUp() 54 if (surfaceType & EGL_PBUFFER_BIT) in testSetUp() 66 EGLint surfaceType = EGL_NONE; in testSetUp() local 67 eglGetConfigAttrib(mDisplay, mConfig, EGL_SURFACE_TYPE, &surfaceType); in testSetUp() 68 if (surfaceType & EGL_PBUFFER_BIT) in testSetUp()
|
D | EGLContextCompatibilityTest.cpp | 373 EGLint surfaceType; in TestBody() local 374 eglGetConfigAttrib(mDisplay, config, EGL_SURFACE_TYPE, &surfaceType); in TestBody() 377 ANGLE_SKIP_TEST_IF((surfaceType & EGL_WINDOW_BIT) == 0); in TestBody() 398 EGLint surfaceType; in TestBody() local 399 eglGetConfigAttrib(mDisplay, config, EGL_SURFACE_TYPE, &surfaceType); in TestBody() 402 ANGLE_SKIP_TEST_IF((surfaceType & EGL_PBUFFER_BIT) == 0); in TestBody() 428 EGLint surfaceType; in TestBody() local 429 eglGetConfigAttrib(mDisplay, config1, EGL_SURFACE_TYPE, &surfaceType); in TestBody() 432 ANGLE_SKIP_TEST_IF((surfaceType & EGL_WINDOW_BIT) == 0); in TestBody() 460 EGLint surfaceType; in TestBody() local [all …]
|
D | EGLQueryContextTest.cpp | 43 EGLint surfaceType = EGL_NONE; in testSetUp() local 44 eglGetConfigAttrib(mDisplay, mConfig, EGL_SURFACE_TYPE, &surfaceType); in testSetUp() 45 if (surfaceType & EGL_PBUFFER_BIT) in testSetUp()
|
D | EGLRobustnessTest.cpp | 73 EGLint surfaceType; in testSetUp() local 74 eglGetConfigAttrib(mDisplay, config, EGL_SURFACE_TYPE, &surfaceType); in testSetUp() 76 if ((surfaceType & EGL_WINDOW_BIT) != 0) in testSetUp()
|
D | EGLSurfacelessContextTest.cpp | 46 EGLint surfaceType; in testSetUp() local 47 eglGetConfigAttrib(mDisplay, config, EGL_SURFACE_TYPE, &surfaceType); in testSetUp() 48 if (surfaceType & EGL_PBUFFER_BIT) in testSetUp()
|
D | EGLPrintEGLinfoTest.cpp | 444 EGLint surfaceType = GetAttrib(mDisplay, config, EGL_SURFACE_TYPE); in TEST_P() local 446 if (surfaceType & EGL_WINDOW_BIT) in TEST_P() 448 if (surfaceType & EGL_PIXMAP_BIT) in TEST_P() 450 if (surfaceType & EGL_PBUFFER_BIT) in TEST_P() 452 if (surfaceType & EGL_MULTISAMPLE_RESOLVE_BOX_BIT) in TEST_P() 454 if (surfaceType & EGL_SWAP_BEHAVIOR_PRESERVED_BIT) in TEST_P()
|
/external/deqp/framework/opengl/ |
D | gluRenderConfig.cpp | 147 …case tcu::SURFACETYPE_WINDOW: config->surfaceType = RenderConfig::SURFACETYPE_WINDOW; break; in parseRenderConfig() 148 …case tcu::SURFACETYPE_OFFSCREEN_NATIVE: config->surfaceType = RenderConfig::SURFACETYPE_OFFSCREE… in parseRenderConfig() 149 …case tcu::SURFACETYPE_OFFSCREEN_GENERIC: config->surfaceType = RenderConfig::SURFACETYPE_OFFSCREE… in parseRenderConfig() 150 …case tcu::SURFACETYPE_FBO: config->surfaceType = RenderConfig::SURFACETYPE_DONT_CARE; break; in parseRenderConfig() 151 …case tcu::SURFACETYPE_LAST: config->surfaceType = RenderConfig::SURFACETYPE_DONT_CARE; brea… in parseRenderConfig()
|
D | gluRenderConfig.hpp | 79 SurfaceType surfaceType; member 98 , surfaceType (SURFACETYPE_DONT_CARE) in RenderConfig()
|
/external/deqp/modules/egl/ |
D | teglThreadCleanUpTests.cpp | 55 return (c.surfaceType() & EGL_PBUFFER_BIT) == EGL_PBUFFER_BIT; in isPBuffer() 151 static std::string testCaseName (ContextType contextType, SurfaceType surfaceType) in testCaseName() argument 160 if (surfaceType ==SURFACETYPE_SINGLE) in testCaseName() 169 ThreadCleanUpTest (EglTestContext& eglTestCtx, ContextType contextType, SurfaceType surfaceType) in ThreadCleanUpTest() argument 170 …: TestCase (eglTestCtx, testCaseName(contextType, surfaceType).c_str(), "Simple thread context c… in ThreadCleanUpTest() 172 , m_surfaceType (surfaceType) in ThreadCleanUpTest()
|
D | teglCreateSurfaceTests.cpp | 345 static bool surfaceType (const eglu::CandidateConfig& c) in surfaceType() function 347 return (c.surfaceType() & Type) == Type; in surfaceType() 358 baseFilters << surfaceType<EGL_WINDOW_BIT>; in init() 373 baseFilters << surfaceType<EGL_PIXMAP_BIT>; in init() 388 baseFilters << surfaceType<EGL_PBUFFER_BIT>; in init() 403 baseFilters << surfaceType<EGL_WINDOW_BIT>; in init() 418 baseFilters << surfaceType<EGL_PIXMAP_BIT>; in init() 433 baseFilters << surfaceType<EGL_WINDOW_BIT>; in init() 448 baseFilters << surfaceType<EGL_PIXMAP_BIT>; in init()
|
D | teglQuerySurfaceTests.cpp | 192 …if (multisampleResolve == EGL_MULTISAMPLE_RESOLVE_BOX && !(info.surfaceType & EGL_MULTISAMPLE_RESO… in checkCommonAttributes() 209 if (swapBehavior == EGL_BUFFER_PRESERVED && !(info.surfaceType & EGL_SWAP_BEHAVIOR_PRESERVED_BIT)) in checkCommonAttributes() 226 if (alphaFormat == EGL_ALPHA_FORMAT_PRE && !(info.surfaceType & EGL_VG_ALPHA_FORMAT_PRE_BIT)) in checkCommonAttributes() 243 if (colorspace == EGL_VG_COLORSPACE_LINEAR && !(info.surfaceType & EGL_VG_COLORSPACE_LINEAR_BIT)) in checkCommonAttributes() 459 …void testAttributes (EGLDisplay display, EGLSurface surface, EGLint surfaceType, const ConfigInfo… 467 void SurfaceAttribCase::testAttributes (EGLDisplay display, EGLSurface surface, EGLint surfaceType,… in testAttributes() argument 489 if (surfaceType == EGL_PBUFFER_BIT) in testAttributes() 682 static bool surfaceType (const eglu::CandidateConfig& c) in surfaceType() function 684 return (c.surfaceType() & Type) == Type; in surfaceType() 700 baseFilters << surfaceType<EGL_WINDOW_BIT>; in init() [all …]
|
D | teglRenderCase.cpp | 297 …TestCtx, const char* name, const char* description, EGLint api, EGLint surfaceType, const eglu::Fi… in MultiContextRenderCase() argument 298 : RenderCase (eglTestCtx, name, description, surfaceType, filters) in MultiContextRenderCase() 395 static bool surfaceType (const eglu::CandidateConfig& c) in surfaceType() function 397 return (c.surfaceType() & Type) == Type; in surfaceType() 437 { "window", EGL_WINDOW_BIT, surfaceType<EGL_WINDOW_BIT> }, in getDefaultRenderFilterLists() 438 { "pixmap", EGL_PIXMAP_BIT, surfaceType<EGL_PIXMAP_BIT>, }, in getDefaultRenderFilterLists() 439 { "pbuffer", EGL_PBUFFER_BIT, surfaceType<EGL_PBUFFER_BIT> } in getDefaultRenderFilterLists()
|
D | teglColorClearCase.hpp | 44 eglw::EGLint surfaceType, 62 eglw::EGLint surfaceType,
|
D | teglResizeTests.cpp | 116 virtual EGLenum surfaceType (void) const { return EGL_WINDOW_BIT; } in surfaceType() function in deqp::egl::ResizeTest 131 EGLConfig getEGLConfig (const Library& egl, const EGLDisplay eglDisplay, EGLenum surfaceType) in getEGLConfig() argument 135 attribMap[EGL_SURFACE_TYPE] = surfaceType; in getEGLConfig() 148 const EGLConfig eglConfig = getEGLConfig(egl, eglDisplay, surfaceType()); in init() 380 EGLenum surfaceType (void) const; 383 EGLenum PreserveBackBufferCase::surfaceType (void) const in surfaceType() function in deqp::egl::PreserveBackBufferCase
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderDerivateTests.cpp | 534 surfaceType = SURFACETYPE_UNORM_FBO; in DerivateCaseDefinition() 546 SurfaceType surfaceType; member 630 …m_colorFormat = vk::mapTextureFormat(glu::mapGLInternalFormat(m_definitions.surfaceType == SURFACE… in TriangleDerivateCaseInstance() 641 switch (m_definitions.surfaceType) in getSurfaceThreshold() 715 if (m_definitions.surfaceType == SURFACETYPE_FLOAT_FBO) in iterate() 1091 SurfaceType surfaceType, 1111 SurfaceType surfaceType, in LinearDerivateCase() argument 1124 m_definitions.surfaceType = surfaceType; in LinearDerivateCase() 1146 const bool packToInt = m_definitions.surfaceType == SURFACETYPE_FLOAT_FBO; in initPrograms() 1195 if (m_definitions.surfaceType == SURFACETYPE_FLOAT_FBO) in initPrograms() [all …]
|
/external/deqp/framework/egl/ |
D | egluGLUtil.cpp | 218 if (renderConfig.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE) in configMatches() 220 EGLint surfaceType = 0; in configMatches() local 223 switch (renderConfig.surfaceType) in configMatches() 232 EGLU_CHECK_CALL(egl, getConfigAttrib(display, eglConfig, EGL_SURFACE_TYPE, &surfaceType)); in configMatches() 234 if ((surfaceType & requiredSurface) == 0) in configMatches()
|
D | egluGLContextFactory.cpp | 312 glu::RenderConfig::SurfaceType surfaceType = config.surfaceType; in create() local 336 if (surfaceType == glu::RenderConfig::SURFACETYPE_DONT_CARE) in create() 342 surfaceType = glu::RenderConfig::SURFACETYPE_WINDOW; in create() 344 surfaceType = glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC; in create() 346 surfaceType = glu::RenderConfig::SURFACETYPE_OFFSCREEN_NATIVE; in create() 351 switch (surfaceType) in create()
|
D | egluConfigInfo.hpp | 68 deInt32 surfaceType; member in eglu::ConfigInfo 114 , surfaceType (0) in ConfigInfo()
|
/external/angle/src/tests/perf_tests/ |
D | TracePerfTest.cpp | 599 if (mParams.surfaceType != SurfaceType::Window && !gEnableAllTraceTests) in TracePerfTest() 1060 if (mParams.surfaceType == SurfaceType::Offscreen) in initializeBenchmark() 1117 if (mParams.surfaceType == SurfaceType::Offscreen) in destroyBenchmark() 1179 if (mParams.surfaceType == SurfaceType::Offscreen) in drawBenchmark() 1199 if (mParams.surfaceType == SurfaceType::Offscreen) in drawBenchmark() 1360 if (framebuffer == 0 && mParams.surfaceType == SurfaceType::Offscreen) in onReplayFramebufferChange() 1463 if (mParams.surfaceType != SurfaceType::Offscreen || !isDefaultFramebuffer(target)) in onReplayInvalidateFramebuffer() 1483 if (mParams.surfaceType != SurfaceType::Offscreen || !isDefaultFramebuffer(target)) in onReplayInvalidateSubFramebuffer() 1498 if (mParams.surfaceType != SurfaceType::Offscreen || !isDefaultFramebuffer(GL_DRAW_FRAMEBUFFER)) in onReplayDrawBuffers() 1511 if (mParams.surfaceType != SurfaceType::Offscreen || !isDefaultFramebuffer(GL_READ_FRAMEBUFFER)) in onReplayReadBuffer() [all …]
|
/external/deqp/android/cts/runner/src/com/drawelements/deqp/runner/ |
D | BatchRunConfiguration.java | 33 public BatchRunConfiguration(String glConfig, String rotation, String surfaceType, in BatchRunConfiguration() argument 37 mSurfaceType = surfaceType; in BatchRunConfiguration()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderDerivateTests.cpp | 989 …u::DataType type, glu::Precision precision, deUint32 hint, SurfaceType surfaceType, int numSamples… 1002 …u::DataType type, glu::Precision precision, deUint32 hint, SurfaceType surfaceType, int numSamples… in LinearDerivateCase() argument 1012 m_surfaceType = surfaceType; in LinearDerivateCase() 1226 …u::DataType type, glu::Precision precision, deUint32 hint, SurfaceType surfaceType, int numSamples… 1244 …u::DataType type, glu::Precision precision, deUint32 hint, SurfaceType surfaceType, int numSamples) in TextureDerivateCase() argument 1254 m_surfaceType = surfaceType; in TextureDerivateCase() 1745 SurfaceType surfaceType; in init() member 1768 SurfaceType surfaceType; in init() member 1780 SurfaceType surfaceType; in init() member 1823 const SurfaceType surfaceType = SURFACETYPE_DEFAULT_FRAMEBUFFER; in init() local [all …]
|
/external/deqp/framework/platform/lnx/X11/ |
D | tcuLnxX11GlxPlatform.cpp | 520 deUint32 bits = surfaceTypeToDrawableBits(renderCfg.surfaceType); in configMatches() 527 if (renderCfg.surfaceType == RenderConfig::SURFACETYPE_WINDOW && in configMatches() 664 RenderConfig::SurfaceType surfaceType = config.surfaceType; in createDrawable() local 666 if (surfaceType == RenderConfig::SURFACETYPE_DONT_CARE) in createDrawable() 670 surfaceType = RenderConfig::SURFACETYPE_OFFSCREEN_NATIVE; in createDrawable() 672 surfaceType = RenderConfig::SURFACETYPE_WINDOW; in createDrawable() 675 switch (surfaceType) in createDrawable()
|
/external/angle/src/tests/gl_tests/ |
D | PixmapTest.cpp | 44 EGLint surfaceType = 0; in testSetUp() local 46 &surfaceType); in testSetUp() 47 mSupportsPixmaps = (surfaceType & EGL_PIXMAP_BIT) != 0; in testSetUp()
|