Searched refs:surfaceType (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyCameraDevice.java | 301 int surfaceType = detectSurfaceType(output); in configureOutputs() local 305 Size[] sizes = streamConfigurations.getOutputSizes(surfaceType); in configureOutputs() 308 if ((surfaceType >= LegacyMetadataMapper.HAL_PIXEL_FORMAT_RGBA_8888 && in configureOutputs() 309 surfaceType <= LegacyMetadataMapper.HAL_PIXEL_FORMAT_BGRA_8888)) { in configureOutputs() 315 } else if (surfaceType == LegacyMetadataMapper.HAL_PIXEL_FORMAT_BLOB) { in configureOutputs() 328 surfaceType, reason)); in configureOutputs()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 1237 EGLint surfaceType; in createWindowSurface() local 1238 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createWindowSurface() 1241 if (!(surfaceType & EGL_WINDOW_BIT)) in createWindowSurface() 1286 EGLint surfaceType; in createPixmapSurface() local 1287 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPixmapSurface() 1290 if (!(surfaceType & EGL_PIXMAP_BIT)) in createPixmapSurface() 1330 EGLint surfaceType; in createPbufferSurface() local 1331 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPbufferSurface() 1334 if (!(surfaceType & EGL_PBUFFER_BIT)) in createPbufferSurface()
|