Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/RenderEngine/
DRenderEngine.cpp105 EGLint attribs[] = { EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE, EGL_NONE }; in create() local
106 EGLSurface dummy = eglCreatePbufferSurface(display, dummyConfig, attribs); in create()
374 EGLAttributeVector attribs; in selectEGLConfig() local
376 attribs[EGL_RENDERABLE_TYPE] = renderableType; in selectEGLConfig()
377 attribs[EGL_RECORDABLE_ANDROID] = EGL_TRUE; in selectEGLConfig()
378 attribs[EGL_SURFACE_TYPE] = EGL_WINDOW_BIT|EGL_PBUFFER_BIT; in selectEGLConfig()
379 attribs[EGL_FRAMEBUFFER_TARGET_ANDROID] = EGL_TRUE; in selectEGLConfig()
380 attribs[EGL_RED_SIZE] = 8; in selectEGLConfig()
381 attribs[EGL_GREEN_SIZE] = 8; in selectEGLConfig()
382 attribs[EGL_BLUE_SIZE] = 8; in selectEGLConfig()
[all …]
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp115 EGLint attribs[] = { in loadConfig() local
129 if (!eglChooseConfig(mEglDisplay, attribs, &mEglConfig, num_configs, &num_configs) in loadConfig()
144 EGLint attribs[] = { EGL_CONTEXT_CLIENT_VERSION, GLES_VERSION, EGL_NONE }; in createContext() local
145 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attribs); in createContext()
181 EGLint attribs[] = { EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE }; in createPBufferSurface() local
182 mPBufferSurface = eglCreatePbufferSurface(mEglDisplay, mEglConfig, attribs); in createPBufferSurface()
/frameworks/rs/driver/
DrsdVertexArray.cpp31 RsdVertexArray::RsdVertexArray(const Attrib *attribs, uint32_t numAttribs) { in RsdVertexArray() argument
32 mAttribs = attribs; in RsdVertexArray()
DrsdVertexArray.h49 RsdVertexArray(const Attrib *attribs, uint32_t numAttribs);
DrsdGL.cpp543 RsdVertexArray::Attrib attribs[2]; in rsdGLDrawQuadTexCoords() local
545 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position"); in rsdGLDrawQuadTexCoords()
546 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0"); in rsdGLDrawQuadTexCoords()
548 RsdVertexArray va(attribs, 2); in rsdGLDrawQuadTexCoords()
DrsdRuntimeStubs.cpp579 RsdVertexArray::Attrib attribs[2]; local
580 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position");
581 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0");
583 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/docs/html/ndk/reference/
Dstruct_a_meta_data_event.jd8 <a href="#pub-attribs">Data Fields</a> </div>
16 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Dstruct_a_heart_rate_event.jd8 <a href="#pub-attribs">Data Fields</a> </div>
16 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Dstruct_a_rect.jd8 <a href="#pub-attribs">Data Fields</a> </div>
16 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Dstruct_a_native_window___buffer.jd8 <a href="#pub-attribs">Data Fields</a> </div>
16 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Dstruct_android_bitmap_info.jd8 <a href="#pub-attribs">Data Fields</a> </div>
16 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Dstruct_a_sensor_vector.jd8 <a href="#pub-attribs">Data Fields</a> </div>
16 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Dstruct_a_uncalibrated_event.jd8 <a href="#pub-attribs">Data Fields</a> </div>
16 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Dstruct_a_native_activity.jd8 <a href="#pub-attribs">Data Fields</a> </div>
16 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Dstruct_a_sensor_event.jd8 <a href="#pub-attribs">Data Fields</a> </div>
16 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Dstruct_a_native_activity_callbacks.jd8 <a href="#pub-attribs">Data Fields</a> </div>
16 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
/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/cmds/bootanimation/
DBootAnimation.cpp252 const EGLint attribs[] = { in readyToRun() local
268 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in readyToRun()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java711 int attribs[] = { in initGL() local
716 EGLSurface tmpSurface = mEgl.eglCreatePbufferSurface(mEglDisplay, mEglConfig, attribs); in initGL()
/frameworks/native/libs/gui/
DGLConsumer.cpp969 EGLint attribs[] = { in doGLFenceWaitLocked() local
974 EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in doGLFenceWaitLocked()