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

1 2

  /sdk/emulator/opengl/tests/ut_renderer/
RendererSurface.cpp 25 EGLConfig RendererSurface::getEglConfig(EGLDisplay eglDisplay, SurfaceConfig config)
27 EGLConfig eglConfig;
37 if (!eglChooseConfig(eglDisplay, attrib, &eglConfig, 1, &nConfigs)) {
42 if (eglGetConfigAttrib(eglDisplay, eglConfig, EGL_BUFFER_SIZE, &ibuf)) {
47 if (eglGetConfigAttrib(eglDisplay, eglConfig, EGL_DEPTH_SIZE, &ibuf)) {
58 return eglConfig;
81 EGLConfig eglConfig = getEglConfig(eglDisplay, config);
82 if (eglConfig == 0)
    [all...]
RendererSurface.h 31 EGLConfig eglConfig() { return m_config; }
35 static EGLConfig getEglConfig(EGLDisplay eglDisplay, SurfaceConfig config);
40 RendererSurface(EGLDisplay display, NativeWindowType window, EGLSurface surface, EGLConfig config) :
48 EGLConfig m_config;
  /external/chromium_org/gpu/gles2_conform_support/native/
egl_native.cc 13 EGLDisplay eglDisplay, EGLConfig eglConfig,
egl_native_aura.cc 35 EGLDisplay eglDisplay, EGLConfig eglConfig,
egl_native_windowless.cc 24 EGLDisplay eglDisplay, EGLConfig eglConfig,
egl_native_win.cc 53 EGLDisplay eglDisplay, EGLConfig eglConfig,
  /cts/tests/tests/nativeopengl/standalone/jni/tests/
EGLCleanup_test.cpp 257 EGLConfig eglConfig;
259 if (!eglChooseConfig(mEglDisplay, kConfigAttribs, &eglConfig,
265 mEglSurface = eglCreatePbufferSurface(mEglDisplay, eglConfig,
272 mEglContext = eglCreateContext(mEglDisplay, eglConfig, EGL_NO_CONTEXT,
  /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/framework/egl/
egluGLContextFactory.cpp 157 EGLConfig m_eglConfig;
209 bool configMatches (EGLDisplay display, EGLConfig eglConfig, const glu::RenderConfig& renderConfig)
232 EGLU_CHECK_CALL(eglGetConfigAttrib(display, eglConfig, EGL_RENDERABLE_TYPE, &renderableType));
252 EGLU_CHECK_CALL(eglGetConfigAttrib(display, eglConfig, EGL_SURFACE_TYPE, &surfaceType));
280 EGLU_CHECK_CALL(eglGetConfigAttrib(display, eglConfig, s_attribs[attribNdx].attrib, &value));
290 EGLConfig chooseConfig (EGLDisplay display, const glu::RenderConfig& config)
292 const std::vector<EGLConfig> configs = eglu::getConfigs(display);
294 for (vector<EGLConfig>::const_iterator iter = configs.begin(); iter != configs.end(); ++iter)
321 WindowSurfacePair createWindow (NativeDisplay* nativeDisplay, const NativeWindowFactory* windowFactory, EGLDisplay eglDisplay, EGLConfig eglConfig, const glu::RenderConfig& config
    [all...]
  /external/chromium_org/third_party/skia/src/views/win/
SkOSWindow_win.cpp 391 EGLConfig* eglConfig) {
440 if (eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) {
446 if (!eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) {
452 EGLSurface surface = eglCreateWindowSurface(display, *eglConfig,
460 EGLContext context = eglCreateContext(display, *eglConfig,
  /external/skia/src/views/win/
SkOSWindow_win.cpp 391 EGLConfig* eglConfig) {
440 if (eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) {
446 if (!eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) {
452 EGLSurface surface = eglCreateWindowSurface(display, *eglConfig,
460 EGLContext context = eglCreateContext(display, *eglConfig,
  /external/deqp/modules/egl/
teglResizeTests.cpp 115 EGLConfig m_config;
124 EGLConfig getEGLConfig (const EGLDisplay eglDisplay, EGLenum surfaceType)
140 const EGLConfig eglConfig = getEGLConfig(eglDisplay, surfaceType());
147 eglConfig,
153 eglConfig,
158 eglConfig,
166 eglConfig,
171 << "Chose EGLConfig with id " << configId << ".\n"
176 m_config = eglConfig;
    [all...]
teglGLES2SharedRenderingPerfTests.cpp 102 TestContext (EglTestContext& eglTestCtx, EGLConfig eglConfig, const TestConfig& config, bool share, TestContext* parent);
461 EGLContext createEGLContext (EglTestContext& testCtx, EGLConfig eglConfig, EGLContext share)
470 EGLContext context = eglCreateContext(testCtx.getDisplay().getEGLDisplay(), eglConfig, share, attribList);
476 EGLSurface createEGLSurface (EglTestContext& testCtx, EGLConfig eglConfig, const TestConfig& config)
484 EGLSurface surface = eglCreatePbufferSurface(testCtx.getDisplay().getEGLDisplay(), eglConfig, attribList);
492 TestContext::TestContext (EglTestContext& testCtx, EGLConfig eglConfig, const TestConfig& config, bool share, TestContext* parent
    [all...]
  /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/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/chromium_org/third_party/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
ViEAndroidGLES20.java 16 import javax.microedition.khronos.egl.EGLConfig;
72 // We need to choose an EGLConfig that matches the format of
87 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
91 EGLContext context = egl.eglCreateContext(display, eglConfig,
133 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
146 EGLConfig[] configs = new EGLConfig[numConfigs];
156 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display,
157 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/Launcher3/WallpaperPicker/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/HwAccelerationTest/src/com/android/test/hwui/
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/base/packages/SystemUI/src/com/android/systemui/
ImageWallpaper.java 50 import javax.microedition.khronos.egl.EGLConfig;
128 private EGLConfig mEglConfig;
693 throw new RuntimeException("eglConfig not initialized");
747 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
749 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list);
752 private EGLConfig chooseEglConfig() {
754 EGLConfig[] configs = new EGLConfig[1];

Completed in 849 milliseconds

1 2