Searched refs:attribs (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp183 EGLint attribs[] = {EGL_RENDERABLE_TYPE, local
204 if (!eglChooseConfig(mEglDisplay, attribs, &mEglConfig, numConfigs, &numConfigs) ||
273 EGLint attribs[] = {EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE}; local
274 mPBufferSurface = eglCreatePbufferSurface(mEglDisplay, mEglConfig, attribs);
306 EGLint attribs[] = {EGL_NONE, EGL_NONE, EGL_NONE}; local
309 attribs[0] = EGL_GL_COLORSPACE_KHR;
312 attribs[1] = EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT;
314 attribs[1] = EGL_GL_COLORSPACE_SRGB_KHR;
318 attribs[1] = EGL_GL_COLORSPACE_SCRGB_EXT;
320 attribs[
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp103 EGLint attribs[] = {EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE, EGL_NONE}; local
104 EGLSurface dummy = eglCreatePbufferSurface(display, dummyConfig, attribs);
276 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fenceFd, EGL_NONE}; local
277 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs);
526 EGLAttributeVector attribs; local
528 attribs[EGL_RENDERABLE_TYPE] = renderableType;
529 attribs[EGL_RECORDABLE_ANDROID] = EGL_TRUE;
530 attribs[EGL_SURFACE_TYPE] = EGL_WINDOW_BIT | EGL_PBUFFER_BIT;
531 attribs[EGL_FRAMEBUFFER_TARGET_ANDROID] = EGL_TRUE;
532 attribs[EGL_RED_SIZ
[all...]
/frameworks/rs/driver/
H A DrsdVertexArray.cpp30 RsdVertexArray::RsdVertexArray(const Attrib *attribs, uint32_t numAttribs) { argument
31 mAttribs = attribs;
H A DrsdVertexArray.h51 RsdVertexArray(const Attrib *attribs, uint32_t numAttribs);
H A DrsdGL.cpp549 RsdVertexArray::Attrib attribs[2];
551 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position");
552 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0");
554 RsdVertexArray va(attribs, 2);
H A 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/
H A Dfilter.cpp58 EGLint attribs[] = { EGL_WIDTH, 320, EGL_HEIGHT, 480, EGL_NONE }; local
59 surface = eglCreatePbufferSurface(dpy, config, attribs);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DRenderTarget.java392 int[] attribs = { EGL10.EGL_WIDTH, width, EGL10.EGL_HEIGHT, height, EGL10.EGL_NONE };
393 return egl.eglCreatePbufferSurface(display, eglConfig, attribs);
/frameworks/native/libs/gui/
H A DGLConsumer.cpp995 EGLint attribs[] = { local
1000 EGL_SYNC_NATIVE_FENCE_ANDROID, attribs);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp273 const EGLint attribs[] = { local
289 eglChooseConfig(display, attribs, &config, 1, &numConfigs);

Completed in 2094 milliseconds