/external/deqp/framework/egl/ |
egluConfigFilter.cpp | 83 deUint32 CandidateConfig::surfaceType (void) const { return (deUint32)get(EGL_SURFACE_TYPE); }
|
egluGLUtil.cpp | 172 if (renderConfig.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE) 174 EGLint surfaceType = 0; 177 switch (renderConfig.surfaceType) 186 EGLU_CHECK_CALL(egl, getConfigAttrib(display, eglConfig, EGL_SURFACE_TYPE, &surfaceType)); 188 if ((surfaceType & requiredSurface) == 0)
|
egluConfigInfo.hpp | 68 deInt32 surfaceType; 114 , surfaceType (0)
|
egluGLContextFactory.cpp | 290 glu::RenderConfig::SurfaceType surfaceType = config.surfaceType; 307 if (surfaceType == glu::RenderConfig::SURFACETYPE_DONT_CARE) 313 surfaceType = glu::RenderConfig::SURFACETYPE_WINDOW; 315 surfaceType = glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC; 317 surfaceType = glu::RenderConfig::SURFACETYPE_OFFSCREEN_NATIVE; 322 switch (surfaceType)
|
/external/deqp/modules/egl/ |
teglMutableRenderBufferTests.cpp | 135 EGLint surfaceType = -1; 136 EGLU_CHECK_CALL(egl, getConfigAttrib(m_eglDisplay, *config, EGL_SURFACE_TYPE, &surfaceType)); 138 if (!(surfaceType & EGL_MUTABLE_RENDER_BUFFER_BIT_KHR))
|
teglCreateSurfaceTests.cpp | 285 static bool surfaceType (const eglu::CandidateConfig& c) 287 return (c.surfaceType() & Type) == Type; 298 baseFilters << surfaceType<EGL_WINDOW_BIT>; 313 baseFilters << surfaceType<EGL_PIXMAP_BIT>; 328 baseFilters << surfaceType<EGL_PBUFFER_BIT>; 343 baseFilters << surfaceType<EGL_WINDOW_BIT>; 358 baseFilters << surfaceType<EGL_PIXMAP_BIT>;
|
teglNativeColorMappingTests.cpp | 565 static bool surfaceType (const eglu::CandidateConfig& c) 567 return (c.surfaceType() & Type) == Type; 577 baseFilters << surfaceType<EGL_WINDOW_BIT>; 581 baseFilters << surfaceType<EGL_PIXMAP_BIT>; 585 baseFilters << surfaceType<EGL_PBUFFER_BIT>;
|
teglQuerySurfaceTests.cpp | 192 if (multisampleResolve == EGL_MULTISAMPLE_RESOLVE_BOX && !(info.surfaceType & EGL_MULTISAMPLE_RESOLVE_BOX_BIT)) 209 if (swapBehavior == EGL_BUFFER_PRESERVED && !(info.surfaceType & EGL_SWAP_BEHAVIOR_PRESERVED_BIT)) 226 if (alphaFormat == EGL_ALPHA_FORMAT_PRE && !(info.surfaceType & EGL_VG_ALPHA_FORMAT_PRE_BIT)) 243 if (colorspace == EGL_VG_COLORSPACE_LINEAR && !(info.surfaceType & EGL_VG_COLORSPACE_LINEAR_BIT)) 459 void testAttributes (EGLDisplay display, EGLSurface surface, EGLint surfaceType, const ConfigInfo& info); 467 void SurfaceAttribCase::testAttributes (EGLDisplay display, EGLSurface surface, EGLint surfaceType, const ConfigInfo& info) 489 if (surfaceType == EGL_PBUFFER_BIT) 682 static bool surfaceType (const eglu::CandidateConfig& c) 684 return (c.surfaceType() & Type) == Type; 700 baseFilters << surfaceType<EGL_WINDOW_BIT> [all...] |
teglRenderCase.cpp | 292 MultiContextRenderCase::MultiContextRenderCase (EglTestContext& eglTestCtx, const char* name, const char* description, EGLint api, EGLint surfaceType, const eglu::FilterList& filters, int numContextsPerApi) 293 : RenderCase (eglTestCtx, name, description, surfaceType, filters) 390 static bool surfaceType (const eglu::CandidateConfig& c) 392 return (c.surfaceType() & Type) == Type; 427 { "window", EGL_WINDOW_BIT, surfaceType<EGL_WINDOW_BIT> }, 428 { "pixmap", EGL_PIXMAP_BIT, surfaceType<EGL_PIXMAP_BIT>, }, 429 { "pbuffer", EGL_PBUFFER_BIT, surfaceType<EGL_PBUFFER_BIT> }
|
teglChooseConfigTests.cpp | 624 static const EGLenum surfaceType[] = 629 randomGroup->addChild(new ChooseConfigRandomCase(m_eglTestCtx, "surface_type", "Surface type rules", toSet(surfaceType)));
|
teglNativeCoordMappingTests.cpp | 601 static bool surfaceType (const eglu::CandidateConfig& c) 603 return (c.surfaceType() & Type) == Type; 613 baseFilters << surfaceType<EGL_WINDOW_BIT>; 617 baseFilters << surfaceType<EGL_PIXMAP_BIT>; 621 baseFilters << surfaceType<EGL_PBUFFER_BIT>;
|
teglResizeTests.cpp | 116 virtual EGLenum surfaceType (void) const { return EGL_WINDOW_BIT; } 131 EGLConfig getEGLConfig (const Library& egl, const EGLDisplay eglDisplay, EGLenum surfaceType) 135 attribMap[EGL_SURFACE_TYPE] = surfaceType; 148 const EGLConfig eglConfig = getEGLConfig(egl, eglDisplay, surfaceType()); 377 EGLenum surfaceType (void) const; 380 EGLenum PreserveBackBufferCase::surfaceType (void) const
|
/external/swiftshader/tests/unittests/ |
unittests.cpp | 96 EGLint surfaceType = 0; 97 eglGetConfigAttrib(display, config, EGL_RENDERABLE_TYPE, &surfaceType); 99 EXPECT_TRUE(surfaceType & EGL_WINDOW_BIT);
|
/frameworks/av/camera/camera2/ |
OutputConfiguration.cpp | 100 int surfaceType = SURFACE_TYPE_UNKNOWN; 101 if ((err = parcel->readInt32(&surfaceType)) != OK) { 130 if (isDeferred && surfaceType != SURFACE_TYPE_SURFACE_VIEW && 131 surfaceType != SURFACE_TYPE_SURFACE_TEXTURE) { 144 mSurfaceType = surfaceType; 156 ALOGV("%s: OutputConfiguration: rotation = %d, setId = %d, surfaceType = %d",
|
/external/deqp/framework/opengl/ |
gluRenderConfig.hpp | 42 enum SurfaceType 70 SurfaceType surfaceType; 87 , surfaceType (SURFACETYPE_DONT_CARE)
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
OutputConfiguration.java | 420 int surfaceType = source.readInt(); 441 mSurfaceType = surfaceType;
|
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
VideoSurfaceTextureImpl.java | 35 @SurfaceType private final int surfaceType; 44 public VideoSurfaceTextureImpl(@SurfaceType int surfaceType) { 45 this.surfaceType = surfaceType; 56 return surfaceType; 168 (surfaceType == SURFACE_TYPE_LOCAL ? "local, " : "remote, "),
|
/external/deqp/framework/platform/lnx/X11/ |
tcuLnxX11GlxPlatform.cpp | 404 static deUint32 surfaceTypeToDrawableBits (RenderConfig::SurfaceType type) 436 deUint32 bits = surfaceTypeToDrawableBits(renderCfg.surfaceType); 443 if (renderCfg.surfaceType == RenderConfig::SURFACETYPE_WINDOW && 573 RenderConfig::SurfaceType surfaceType = config.surfaceType; 575 if (surfaceType == RenderConfig::SURFACETYPE_DONT_CARE) 579 surfaceType = RenderConfig::SURFACETYPE_OFFSCREEN_NATIVE; 581 surfaceType = RenderConfig::SURFACETYPE_WINDOW; 584 switch (surfaceType) [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
CameraDeviceClient.cpp | 474 int surfaceType = outputConfiguration.getSurfaceType(); 475 bool validSurfaceType = ((surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) || 476 (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_TEXTURE)); 479 ALOGE("%s: Target surface is invalid: bufferProducer = %p, surfaceType = %d.", 480 __FUNCTION__, bufferProducers[0].get(), surfaceType); 572 int width, height, format, surfaceType; 585 surfaceType = outputConfiguration.getSurfaceType(); 590 if (surfaceType == OutputConfiguration::SURFACE_TYPE_SURFACE_VIEW) { [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyCameraDevice.java | 366 int surfaceType = detectSurfaceType(output); 370 Size[] sizes = streamConfigurations.getOutputSizes(surfaceType); 372 if (surfaceType == ImageFormat.PRIVATE) { 378 } else if (surfaceType == LegacyMetadataMapper.HAL_PIXEL_FORMAT_BLOB) { 391 surfaceType, reason)); 671 int surfaceType = nativeDetectSurfaceType(surface); 675 if ((surfaceType >= LegacyMetadataMapper.HAL_PIXEL_FORMAT_RGBA_8888 && 676 surfaceType <= LegacyMetadataMapper.HAL_PIXEL_FORMAT_BGRA_8888)) { 677 surfaceType = ImageFormat.PRIVATE; 680 return LegacyExceptionUtils.throwOnError(surfaceType); [all...] |
/hardware/qcom/display/msm8084/libcopybit/ |
copybit_c2d.cpp | 498 C2D_SURFACE_TYPE surfaceType; 535 surfaceType = (C2D_SURFACE_TYPE) (C2D_SURFACE_RGB_HOST | C2D_SURFACE_WITH_PHYS); 547 if(LINK_c2dUpdateSurface( surfaceId,C2D_TARGET | C2D_SOURCE, surfaceType, 556 surfaceType = (C2D_SURFACE_TYPE)(C2D_SURFACE_YUV_HOST | C2D_SURFACE_WITH_PHYS); 586 if(LINK_c2dUpdateSurface( surfaceId,C2D_TARGET | C2D_SOURCE, surfaceType, [all...] |
/hardware/qcom/display/msm8226/libcopybit/ |
copybit_c2d.cpp | 504 C2D_SURFACE_TYPE surfaceType; 541 surfaceType = (C2D_SURFACE_TYPE) (C2D_SURFACE_RGB_HOST | C2D_SURFACE_WITH_PHYS); 553 if(LINK_c2dUpdateSurface( surfaceId,C2D_TARGET | C2D_SOURCE, surfaceType, 562 surfaceType = (C2D_SURFACE_TYPE)(C2D_SURFACE_YUV_HOST | C2D_SURFACE_WITH_PHYS); 592 if(LINK_c2dUpdateSurface( surfaceId,C2D_TARGET | C2D_SOURCE, surfaceType, [all...] |
/hardware/qcom/display/msm8909/libcopybit/ |
copybit_c2d.cpp | 503 C2D_SURFACE_TYPE surfaceType; 540 surfaceType = (C2D_SURFACE_TYPE) (C2D_SURFACE_RGB_HOST | C2D_SURFACE_WITH_PHYS); 552 if(LINK_c2dUpdateSurface( surfaceId,C2D_TARGET | C2D_SOURCE, surfaceType, 561 surfaceType = (C2D_SURFACE_TYPE)(C2D_SURFACE_YUV_HOST | C2D_SURFACE_WITH_PHYS); 591 if(LINK_c2dUpdateSurface( surfaceId,C2D_TARGET | C2D_SOURCE, surfaceType, [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
copybit_c2d.cpp | 488 C2D_SURFACE_TYPE surfaceType; 525 surfaceType = (C2D_SURFACE_TYPE) (C2D_SURFACE_RGB_HOST | C2D_SURFACE_WITH_PHYS); 537 if(LINK_c2dUpdateSurface( surfaceId,C2D_TARGET | C2D_SOURCE, surfaceType, 546 surfaceType = (C2D_SURFACE_TYPE)(C2D_SURFACE_YUV_HOST | C2D_SURFACE_WITH_PHYS); 576 if(LINK_c2dUpdateSurface( surfaceId,C2D_TARGET | C2D_SOURCE, surfaceType, [all...] |
/hardware/qcom/display/msm8994/libcopybit/ |
copybit_c2d.cpp | 507 C2D_SURFACE_TYPE surfaceType; 544 surfaceType = (C2D_SURFACE_TYPE) (C2D_SURFACE_RGB_HOST | C2D_SURFACE_WITH_PHYS); 556 if(LINK_c2dUpdateSurface( surfaceId,C2D_TARGET | C2D_SOURCE, surfaceType, 565 surfaceType = (C2D_SURFACE_TYPE)(C2D_SURFACE_YUV_HOST | C2D_SURFACE_WITH_PHYS); 595 if(LINK_c2dUpdateSurface( surfaceId,C2D_TARGET | C2D_SOURCE, surfaceType, [all...] |