Home
last modified time | relevance | path

Searched refs:attribs (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp153 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in load8BitsConfig() local
174 if (!eglChooseConfig(display, attribs, &config, numConfigs, &numConfigs) || numConfigs != 1) { in load8BitsConfig()
184 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in loadFP16Config() local
205 if (!eglChooseConfig(display, attribs, &config, numConfigs, &numConfigs) || numConfigs != 1) { in loadFP16Config()
290 EGLint attribs[] = {EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE}; in createPBufferSurface() local
291 mPBufferSurface = eglCreatePbufferSurface(mEglDisplay, mEglConfig, attribs); in createPBufferSurface()
325 EGLint attribs[] = {EGL_NONE, EGL_NONE, EGL_NONE}; in createSurface() local
328 attribs[0] = EGL_GL_COLORSPACE_KHR; in createSurface()
334 attribs[1] = EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT; in createSurface()
336 attribs[1] = EGL_GL_COLORSPACE_SCRGB_EXT; in createSurface()
[all …]
/frameworks/native/opengl/tools/glgen/stubs/egl/
DEGL15cHeader.cpp180 EGLAttrib *attribs; member
181 WrappedEGLAttribs(): attribs(nullptr) { }; in WrappedEGLAttribs()
187 attribs = backing.data(); in init()
189 attribs = (EGLAttrib*)array; in init()
DeglGetPlatformDisplay.cpp33 attrib_list.attribs in android_eglGetPlatformDisplay()
DeglCreateImage.cpp37 attrib_list.attribs in android_eglCreateImage()
DeglCreatePlatformWindowSurface.cpp51 attrib_list.attribs in android_eglCreatePlatformWindowSurface()
DeglCreateSync.cpp34 attrib_list.attribs in android_eglCreateSync()
/frameworks/base/core/jni/
Dandroid_opengl_EGL15.cpp180 EGLAttrib *attribs; member
181 WrappedEGLAttribs(): attribs(nullptr) { }; in WrappedEGLAttribs()
187 attribs = backing.data(); in init()
189 attribs = (EGLAttrib*)array; in init()
228 attrib_list.attribs in android_eglCreateSync()
360 attrib_list.attribs in android_eglGetPlatformDisplay()
425 attrib_list.attribs in android_eglCreatePlatformWindowSurface()
504 attrib_list.attribs in android_eglCreateImage()
/frameworks/rs/driver/
DrsdVertexArray.cpp30 RsdVertexArray::RsdVertexArray(const Attrib *attribs, uint32_t numAttribs) { in RsdVertexArray() argument
31 mAttribs = attribs; in RsdVertexArray()
DrsdVertexArray.h51 RsdVertexArray(const Attrib *attribs, uint32_t numAttribs);
DrsdGL.cpp549 RsdVertexArray::Attrib attribs[2]; in rsdGLDrawQuadTexCoords() local
551 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position"); in rsdGLDrawQuadTexCoords()
552 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0"); in rsdGLDrawQuadTexCoords()
554 RsdVertexArray va(attribs, 2); in rsdGLDrawQuadTexCoords()
DrsdRuntimeStubs.cpp877 RsdVertexArray::Attrib attribs[2]; local
878 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position");
879 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0");
881 RsdVertexArray va(attribs, 2);
/frameworks/native/opengl/tests/filter/
Dfilter.cpp58 EGLint attribs[] = { EGL_WIDTH, 320, EGL_HEIGHT, 480, EGL_NONE }; in main() local
59 surface = eglCreatePbufferSurface(dpy, config, attribs); in main()
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp202 EGLAttributeVector attribs; in selectEGLConfig() local
204 attribs[EGL_RENDERABLE_TYPE] = renderableType; in selectEGLConfig()
205 attribs[EGL_RECORDABLE_ANDROID] = EGL_TRUE; in selectEGLConfig()
206 attribs[EGL_SURFACE_TYPE] = EGL_WINDOW_BIT | EGL_PBUFFER_BIT; in selectEGLConfig()
207 attribs[EGL_FRAMEBUFFER_TARGET_ANDROID] = EGL_TRUE; in selectEGLConfig()
208 attribs[EGL_RED_SIZE] = 8; in selectEGLConfig()
209 attribs[EGL_GREEN_SIZE] = 8; in selectEGLConfig()
210 attribs[EGL_BLUE_SIZE] = 8; in selectEGLConfig()
211 attribs[EGL_ALPHA_SIZE] = 8; in selectEGLConfig()
220 err = selectConfigForAttribute(display, attribs, wantedAttribute, wantedAttributeValue, config); in selectEGLConfig()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java392 int[] attribs = { EGL10.EGL_WIDTH, width, EGL10.EGL_HEIGHT, height, EGL10.EGL_NONE }; in createSurface() local
393 return egl.eglCreatePbufferSurface(display, eglConfig, attribs); in createSurface()
/frameworks/base/libs/hwui/surfacetexture/
DEGLConsumer.cpp566 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fenceFd, EGL_NONE}; in doGLFenceWaitLocked() local
567 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in doGLFenceWaitLocked()
/frameworks/native/libs/gui/
DGLConsumer.cpp869 EGLint attribs[] = { in doGLFenceWaitLocked() local
874 EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in doGLFenceWaitLocked()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp303 const EGLint attribs[] = { in readyToRun() local
319 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in readyToRun()