HomeSort by relevance Sort by last modified time
    Searched refs:eglConfig (Results 1 - 25 of 35) sorted by null

1 2

  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
EglBase10.java 37 import javax.microedition.khronos.egl.EGLConfig;
52 private EGLConfig eglConfig;
69 eglConfig = getEglConfig(eglDisplay, configAttributes);
70 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig);
157 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs);
176 eglSurface = egl.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs);
216 || eglConfig == null) {
230 eglConfig = null;
275 // Return an EGLConfig, or die trying
    [all...]
EglBase14.java 33 import android.opengl.EGLConfig;
52 private EGLConfig eglConfig;
76 eglConfig = getEglConfig(eglDisplay, configAttributes);
77 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig);
102 eglSurface = EGL14.eglCreateWindowSurface(eglDisplay, eglConfig, surface, surfaceAttribs, 0);
120 eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs, 0);
160 || eglConfig == null) {
175 eglConfig = null;
230 // Return an EGLConfig, or die trying
    [all...]
  /external/deqp/framework/egl/
egluGLUtil.cpp 79 EGLContext createGLContext (const Library& egl, EGLDisplay display, EGLContext eglConfig, const glu::ContextType& contextType)
152 context = egl.createContext(display, eglConfig, EGL_NO_CONTEXT, &(attribList[0]));
158 static bool configMatches (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLConfig eglConfig, const glu::RenderConfig& renderConfig)
166 EGLU_CHECK_CALL(egl, getConfigAttrib(display, eglConfig, EGL_RENDERABLE_TYPE, &renderableType));
186 EGLU_CHECK_CALL(egl, getConfigAttrib(display, eglConfig, EGL_SURFACE_TYPE, &surfaceType));
214 EGLU_CHECK_CALL(egl, getConfigAttrib(display, eglConfig, s_attribs[attribNdx].attrib, &value));
224 EGLConfig chooseConfig (const Library& egl, EGLDisplay display, const glu::RenderConfig& config)
226 const std::vector<EGLConfig> configs = eglu::getConfigs(egl, display);
228 for (vector<EGLConfig>::const_iterator iter = configs.begin(); iter != configs.end(); ++iter
    [all...]
egluGLContextFactory.cpp 153 EGLConfig m_eglConfig;
223 WindowSurfacePair createWindow (NativeDisplay* nativeDisplay, const NativeWindowFactory* windowFactory, EGLDisplay eglDisplay, EGLConfig eglConfig, const glu::RenderConfig& config)
232 nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], WindowParams(width, height, visibility));
236 surface = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribList);
247 PixmapSurfacePair createPixmap (NativeDisplay* nativeDisplay, const NativePixmapFactory* pixmapFactory, EGLDisplay eglDisplay, EGLConfig eglConfig, const glu::RenderConfig& config)
255 nativePixmap = pixmapFactory->createPixmap(nativeDisplay, eglDisplay, eglConfig, &attribList[0], width, height);
259 surface = eglu::createPixmapSurface(*nativeDisplay, *nativePixmap, eglDisplay, eglConfig, attribList);
270 EGLSurface createPBuffer (const Library& egl, EGLDisplay display, EGLConfig eglConfig, const glu::RenderConfig& config
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 33 import javax.microedition.khronos.egl.EGLConfig;
58 /** The cached EGLConfig instance. */
59 private static EGLConfig mEglConfig = null;
61 /** The display for which the EGLConfig was chosen. We expect only one. */
89 EGLConfig eglConfig = chooseEglConfig(egl, eglDisplay);
90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig);
119 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay);
124 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceHolder, null)
    [all...]
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 26 import javax.microedition.khronos.egl.EGLConfig;
169 EGLConfig eglConfig = chooseEglConfig();
170 if (eglConfig == null) {
171 throw new RuntimeException("eglConfig not initialized");
174 mEglContext = createContext(mEgl, mEglDisplay, eglConfig);
176 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null);
199 private static EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
201 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list)
    [all...]
  /external/deqp/modules/egl/
teglResizeTests.cpp 122 EGLConfig m_config;
131 EGLConfig getEGLConfig (const Library& egl, const EGLDisplay eglDisplay, EGLenum surfaceType)
148 const EGLConfig eglConfig = getEGLConfig(egl, eglDisplay, surfaceType());
155 eglConfig,
162 eglConfig,
172 eglConfig,
178 eglConfig,
183 << "Chose EGLConfig with id " << configId << ".\n"
188 m_config = eglConfig;
    [all...]
teglGLES2SharedRenderingPerfTests.cpp 104 TestContext (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig eglConfig, const TestConfig& config, bool share, TestContext* parent);
444 EGLContext createEGLContext (EglTestContext& testCtx, EGLDisplay eglDisplay, EGLConfig eglConfig, EGLContext share)
455 EGLContext context = egl.createContext(eglDisplay, eglConfig, share, attribList);
461 EGLSurface createEGLSurface (EglTestContext& testCtx, EGLDisplay display, EGLConfig eglConfig, const TestConfig& config)
471 EGLSurface surface = egl.createPbufferSurface(display, eglConfig, attribList);
479 TestContext::TestContext (EglTestContext& testCtx, EGLDisplay eglDisplay, EGLConfig eglConfig, const TestConfig& config, bool share, TestContext* parent
    [all...]
  /external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/
GLSurfaceView20.java 17 import javax.microedition.khronos.egl.EGLConfig;
37 * - The class must use a custom EGLConfigChooser to be able to select an EGLConfig that supports 2.0. This is done by providing a
41 * - The class must select the surface's format, then choose an EGLConfig that matches it exactly (with regards to
131 * We need to choose an EGLConfig that matches the format of our surface exactly. This is going to be done in our custom
143 public EGLContext createContext (EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
148 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
154 return createContext(egl, display, eglConfig);
194 public EGLConfig chooseConfig (EGL10 egl, EGLDisplay display) {
211 EGLConfig[] configs = new EGLConfig[numConfigs];
    [all...]
GLSurfaceView20API18.java 17 import javax.microedition.khronos.egl.EGLConfig;
38 * - The class must use a custom EGLConfigChooser to be able to select an EGLConfig that supports 2.0. This is done by providing a
42 * - The class must select the surface's format, then choose an EGLConfig that matches it exactly (with regards to
123 * We need to choose an EGLConfig that matches the format of our surface exactly. This is going to be done in our custom
135 public EGLContext createContext (EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
141 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
177 public EGLConfig chooseConfig (EGL10 egl, EGLDisplay display) {
194 EGLConfig[] configs = new EGLConfig[numConfigs]
    [all...]
  /packages/apps/Camera2/src/com/android/camera/data/
GlideFilmstripManager.java 23 import android.opengl.EGLConfig;
244 EGLConfig[] eglConfigs = new EGLConfig[1];
253 EGLConfig eglConfig = eglConfigs[0];
262 EGLSurface eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig,
271 EGLContext eglContext = EGL14.eglCreateContext(eglDisplay, eglConfig, EGL14.EGL_NO_CONTEXT,
  /cts/hostsidetests/sustainedperf/shadertoy_android/src/
GLtestView.java 44 import javax.microedition.khronos.egl.EGLConfig;
58 * an EGLConfig that supports 2.0. This is done by providing a config
63 * - The class must select the surface's format, then choose an EGLConfig
97 /* We need to choose an EGLConfig that matches the format of
112 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
116 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
158 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
173 EGLConfig[] configs = new EGLConfig[numConfigs];
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
TextureViewCtsActivity.java 40 import javax.microedition.khronos.egl.EGLConfig;
62 private EGLConfig mEglConfig;
223 throw new RuntimeException("eglConfig not initialized");
244 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
246 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
249 private EGLConfig chooseEglConfig() {
251 EGLConfig[] configs = new EGLConfig[1];
  /development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/
GL2JNIView.java 44 import javax.microedition.khronos.egl.EGLConfig;
58 * an EGLConfig that supports 2.0. This is done by providing a config
63 * - The class must select the surface's format, then choose an EGLConfig
97 /* We need to choose an EGLConfig that matches the format of
112 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
116 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
158 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
173 EGLConfig[] configs = new EGLConfig[numConfigs]
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
SingleFrameTextureViewTestActivity.java 37 import javax.microedition.khronos.egl.EGLConfig;
86 private EGLConfig mEglConfig;
142 throw new RuntimeException("eglConfig not initialized");
166 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
168 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
171 private EGLConfig chooseEglConfig() {
173 EGLConfig[] configs = new EGLConfig[1];
GLTextureViewActivity.java 37 import javax.microedition.khronos.egl.EGLConfig;
142 private EGLConfig mEglConfig;
378 throw new RuntimeException("eglConfig not initialized");
404 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
406 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
409 private EGLConfig chooseEglConfig() {
411 EGLConfig[] configs = new EGLConfig[1];
  /frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
GL2JNIView.java 43 import javax.microedition.khronos.egl.EGLConfig;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
121 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
131 EGLConfig[] configs = new EGLConfig[numConfigs];
137 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
138 EGLConfig[] configs) {
139 EGLConfig closestConfig = null
    [all...]
  /frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
GLPerfView.java 43 import javax.microedition.khronos.egl.EGLConfig;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
121 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
131 EGLConfig[] configs = new EGLConfig[numConfigs];
137 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
138 EGLConfig[] configs) {
139 EGLConfig closestConfig = null
    [all...]
  /frameworks/native/opengl/tests/gldual/src/com/android/gldual/
GLDualGL2View.java 36 import javax.microedition.khronos.egl.EGLConfig;
83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
87 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
124 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
134 EGLConfig[] configs = new EGLConfig[numConfigs];
140 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
141 EGLConfig[] configs) {
142 EGLConfig closestConfig = null
    [all...]
  /external/skia/src/views/win/
SkOSWindow_win.cpp 404 EGLConfig* eglConfig) {
455 if (eglChooseConfig(display, msaaConfigAttribList, eglConfig, 1, &numConfigs)) {
461 if (!eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) {
467 EGLSurface surface = eglCreateWindowSurface(display, *eglConfig,
475 EGLContext context = eglCreateContext(display, *eglConfig,
  /external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
ViEAndroidGLES20.java 16 import javax.microedition.khronos.egl.EGLConfig;
73 // We need to choose an EGLConfig that matches the format of
88 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
92 EGLContext context = egl.eglCreateContext(display, eglConfig,
134 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
147 EGLConfig[] configs = new EGLConfig[numConfigs];
157 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
158 EGLConfig[] configs)
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
BlockingGLTextureView.java 28 import javax.microedition.khronos.egl.EGLConfig;
111 EGLConfig mEglConfig;
114 private EGLConfig chooseEglConfig() {
116 EGLConfig[] configs = new EGLConfig[1];
140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList);
  /packages/apps/Gallery2/src/com/android/photos/views/
BlockingGLTextureView.java 28 import javax.microedition.khronos.egl.EGLConfig;
111 EGLConfig mEglConfig;
114 private EGLConfig chooseEglConfig() {
116 EGLConfig[] configs = new EGLConfig[1];
140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList);
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
MosaicRendererSurfaceView.java 29 import javax.microedition.khronos.egl.EGLConfig;
84 /* We need to choose an EGLConfig that matches the format of
102 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
107 display, eglConfig, EGL10.EGL_NO_CONTEXT, attribList);
149 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
164 EGLConfig[] configs = new EGLConfig[numConfigs];
175 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
176 EGLConfig[] configs)
    [all...]
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
ImageFlipRenderThread.java 32 import javax.microedition.khronos.egl.EGLConfig;
96 private EGLConfig mEglConfig;
331 throw new RuntimeException("eglConfig not initialized");
355 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
357 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
360 private EGLConfig chooseEglConfig() {
362 EGLConfig[] configs = new EGLConfig[1];

Completed in 297 milliseconds

1 2