Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp163 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in load8BitsConfig() local
184 if (!eglChooseConfig(display, attribs, &config, numConfigs, &numConfigs) || numConfigs != 1) { in load8BitsConfig()
194 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in load1010102Config() local
213 if (!eglChooseConfig(display, attribs, &config, numConfigs, &numConfigs) || numConfigs != 1) { in load1010102Config()
223 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in loadFP16Config() local
244 if (!eglChooseConfig(display, attribs, &config, numConfigs, &numConfigs) || numConfigs != 1) { in loadFP16Config()
253 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in loadA8Config() local
269 if (!eglChooseConfig(display, attribs, nullptr, numConfigs, &numConfigs)) { in loadA8Config()
274 if (!eglChooseConfig(display, attribs, configs.data(), numConfigs, &numConfigs)) { in loadA8Config()
379 EGLint attribs[] = {EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE}; in createPBufferSurface() local
[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/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/native/libs/renderengine/skia/
DSkiaGLRenderEngine.cpp117 std::vector<EGLint> attribs; in selectEGLConfig() local
143 std::back_inserter(attribs)); in selectEGLConfig()
152 err = selectConfigForAttribute(display, attribs.data(), wantedAttribute, wantedAttributeValue, in selectEGLConfig()
448 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fenceDup.release(), EGL_NONE}; in waitGpuFence() local
449 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in waitGpuFence()
/frameworks/native/libs/nativedisplay/surfacetexture/
DEGLConsumer.cpp565 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fenceFd, EGL_NONE}; in doGLFenceWaitLocked() local
566 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in doGLFenceWaitLocked()
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp179 std::vector<EGLint> attribs; in selectEGLConfig() local
205 std::back_inserter(attribs)); in selectEGLConfig()
214 err = selectConfigForAttribute(display, attribs.data(), wantedAttribute, wantedAttributeValue, in selectEGLConfig()
598 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fenceFd.release(), EGL_NONE}; in waitFence() local
599 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in waitFence()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLESRenderEngine.cpp155 std::vector<EGLint> attribs; in selectEGLConfig() local
181 std::back_inserter(attribs)); in selectEGLConfig()
190 err = selectConfigForAttribute(display, attribs.data(), wantedAttribute, wantedAttributeValue, in selectEGLConfig()
537 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fenceFd.release(), EGL_NONE}; in waitFence() local
538 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in waitFence()
/frameworks/native/libs/gui/
DGLConsumer.cpp868 EGLint attribs[] = { in doGLFenceWaitLocked() local
873 EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in doGLFenceWaitLocked()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp462 const EGLint attribs[] = { in getEglConfig() local
471 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in getEglConfig()