Home
last modified time | relevance | path

Searched refs:egl (Results 1 – 25 of 228) sorted by relevance

12345678910

/external/deqp/framework/egl/
DegluConfigInfo.cpp87 void queryCoreConfigInfo (const Library& egl, EGLDisplay display, EGLConfig config, ConfigInfo* dst) in queryCoreConfigInfo() argument
89 egl.getConfigAttrib(display, config, EGL_BUFFER_SIZE, &dst->bufferSize); in queryCoreConfigInfo()
90 egl.getConfigAttrib(display, config, EGL_RED_SIZE, &dst->redSize); in queryCoreConfigInfo()
91 egl.getConfigAttrib(display, config, EGL_GREEN_SIZE, &dst->greenSize); in queryCoreConfigInfo()
92 egl.getConfigAttrib(display, config, EGL_BLUE_SIZE, &dst->blueSize); in queryCoreConfigInfo()
93 egl.getConfigAttrib(display, config, EGL_LUMINANCE_SIZE, &dst->luminanceSize); in queryCoreConfigInfo()
94 egl.getConfigAttrib(display, config, EGL_ALPHA_SIZE, &dst->alphaSize); in queryCoreConfigInfo()
95 egl.getConfigAttrib(display, config, EGL_ALPHA_MASK_SIZE, &dst->alphaMaskSize); in queryCoreConfigInfo()
96 egl.getConfigAttrib(display, config, EGL_BIND_TO_TEXTURE_RGB, (EGLint*)&dst->bindToTextureRGB); in queryCoreConfigInfo()
97 egl.getConfigAttrib(display, config, EGL_BIND_TO_TEXTURE_RGBA, (EGLint*)&dst->bindToTextureRGBA); in queryCoreConfigInfo()
[all …]
DegluUtil.cpp61 Version getVersion (const Library& egl, EGLDisplay display) in getVersion() argument
66 EGLU_CHECK_CALL(egl, initialize(display, &major, &minor)); in getVersion()
71 vector<string> getExtensions (const Library& egl, EGLDisplay display) in getExtensions() argument
73 const char* const extensionStr = egl.queryString(display, EGL_EXTENSIONS); in getExtensions()
75 EGLU_CHECK_MSG(egl, "Querying extensions failed"); in getExtensions()
80 bool hasExtension (const Library& egl, EGLDisplay display, const string& str) in hasExtension() argument
82 const vector<string> extensions = getExtensions(egl, display); in hasExtension()
86 vector<string> getClientExtensions (const Library& egl) in getClientExtensions() argument
88 return getExtensions(egl, EGL_NO_DISPLAY); in getClientExtensions()
91 vector<string> getDisplayExtensions (const Library& egl, EGLDisplay display) in getDisplayExtensions() argument
[all …]
DegluGLContextFactory.cpp96 GetProcFuncLoader (const Library& egl) in GetProcFuncLoader() argument
97 : m_egl(egl) in GetProcFuncLoader()
270 EGLSurface createPBuffer (const Library& egl, EGLDisplay display, EGLConfig eglConfig, const glu::R… in createPBuffer() argument
282 surface = egl.createPbufferSurface(display, eglConfig, &(attribList[0])); in createPBuffer()
283 EGLU_CHECK_MSG(egl, "eglCreatePbufferSurface()"); in createPBuffer()
297 const Library& egl = m_display->getLibrary(); in create() local
302 EGLU_CHECK_CALL(egl, initialize(m_eglDisplay, &major, &minor)); in create()
305 m_eglConfig = chooseConfig(egl, m_eglDisplay, config); in create()
310 …const EGLint supportedTypes = eglu::getConfigAttribInt(egl, m_eglDisplay, m_eglConfig, EGL_SURFACE… in create()
351 m_eglSurface = createPBuffer(egl, m_eglDisplay, m_eglConfig, config); in create()
[all …]
DegluUtil.hpp57 Version getVersion (const eglw::Library& egl, eglw::EGLDisplay display);
59 std::vector<std::string> getClientExtensions (const eglw::Library& egl);
60 std::vector<std::string> getDisplayExtensions (const eglw::Library& egl, eglw::EGLDisplay display…
61 bool hasExtension (const eglw::Library& egl, eglw::EGLDisplay display, const std::string& …
63 std::vector<eglw::EGLConfig> getConfigs (const eglw::Library& egl, eglw::EGLDisplay display);
64 std::vector<eglw::EGLConfig> chooseConfigs (const eglw::Library& egl, eglw::EGLDisplay display, …
65 std::vector<eglw::EGLConfig> chooseConfigs (const eglw::Library& egl, eglw::EGLDisplay display, …
66 std::vector<eglw::EGLConfig> chooseConfigs (const eglw::Library& egl, eglw::EGLDisplay display, …
67 eglw::EGLConfig chooseSingleConfig (const eglw::Library& egl, eglw::EGLDisplay display, const…
68 eglw::EGLConfig chooseSingleConfig (const eglw::Library& egl, eglw::EGLDisplay display, const…
[all …]
DegluUnique.cpp33 UniqueDisplay::UniqueDisplay (const Library& egl, EGLDisplay display) in UniqueDisplay() argument
34 : m_egl (egl) in UniqueDisplay()
50 UniqueSurface::UniqueSurface (const Library& egl, EGLDisplay display, EGLSurface surface) in UniqueSurface() argument
51 : m_egl (egl) in UniqueSurface()
68 UniqueContext::UniqueContext (const Library& egl, EGLDisplay display, EGLContext context) in UniqueContext() argument
69 : m_egl (egl) in UniqueContext()
86 ScopedCurrentContext::ScopedCurrentContext (const Library& egl, EGLDisplay display, EGLSurface draw… in ScopedCurrentContext() argument
87 : m_egl (egl) in ScopedCurrentContext()
98 UniqueImage::UniqueImage (const Library& egl, EGLDisplay display, EGLImage image) in UniqueImage() argument
99 : m_egl (egl) in UniqueImage()
/external/jmonkeyengine/engine/src/android/com/jme3/system/android/
DAndroidConfigChooser.java7 import javax.microedition.khronos.egl.EGL10;
8 import javax.microedition.khronos.egl.EGLConfig;
9 import javax.microedition.khronos.egl.EGLDisplay;
54 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument
56 logEGLConfig(choosenConfig, display, egl); in chooseConfig()
67 public boolean findConfig(EGL10 egl, EGLDisplay display) { in findConfig() argument
71 choosenConfig = compChooser.chooseConfig(egl, display); in findConfig()
75 choosenConfig = compChooser.chooseConfig(egl, display); in findConfig()
78 choosenConfig = compChooser.chooseConfig(egl, display); in findConfig()
81 choosenConfig = compChooser.chooseConfig(egl, display); in findConfig()
[all …]
/external/deqp/modules/egl/
DteglConfigList.cpp36 namespace egl namespace
62 const Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
65 vector<EGLConfig> configs = eglu::getConfigs(egl, display); in iterate()
81 egl.getConfigAttrib(display, configs[i], EGL_BUFFER_SIZE, &val); in iterate()
84 egl.getConfigAttrib(display, configs[i], EGL_RED_SIZE, &val); in iterate()
87 egl.getConfigAttrib(display, configs[i], EGL_GREEN_SIZE, &val); in iterate()
90 egl.getConfigAttrib(display, configs[i], EGL_BLUE_SIZE, &val); in iterate()
93 egl.getConfigAttrib(display, configs[i], EGL_LUMINANCE_SIZE, &val); in iterate()
96 egl.getConfigAttrib(display, configs[i], EGL_ALPHA_SIZE, &val); in iterate()
99 egl.getConfigAttrib(display, configs[i], EGL_ALPHA_MASK_SIZE, &val); in iterate()
[all …]
DteglNegativePartialUpdateTests.cpp45 namespace egl namespace
100 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, NegativePartialUpdateTest::Surfa… in getEGLConfig() argument
115 return chooseSingleConfig(egl, eglDisplay, filters); in getEGLConfig()
118 EGLContext initAndMakeCurrentEGLContext (const Library& egl, EGLDisplay eglDisplay, EGLSurface eglS… in initAndMakeCurrentEGLContext() argument
122 egl.bindAPI(EGL_OPENGL_ES_API); in initAndMakeCurrentEGLContext()
123 eglContext = egl.createContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attribList); in initAndMakeCurrentEGLContext()
124 EGLU_CHECK_MSG(egl, "eglCreateContext"); in initAndMakeCurrentEGLContext()
126 egl.makeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in initAndMakeCurrentEGLContext()
127 EGLU_CHECK_MSG(egl, "eglMakeCurrent"); in initAndMakeCurrentEGLContext()
150 const Library& egl = m_eglTestCtx.getLibrary(); in init() local
[all …]
DteglSyncTests.cpp57 namespace egl namespace
123 void requiredEGLExtensions (const Library& egl, EGLDisplay display, SyncTest::Extension requiredExt… in requiredEGLExtensions() argument
126 std::istringstream extensionStream(egl.queryString(display, EGL_EXTENSIONS)); in requiredEGLExtensions()
129 EGLU_CHECK_MSG(egl, "eglQueryString(display, EGL_EXTENSIONS)"); in requiredEGLExtensions()
187 const Library& egl = m_eglTestCtx.getLibrary(); in init() local
205 m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, displayAttribList); in init()
211 requiredEGLExtensions(egl, m_eglDisplay, (Extension)(m_extensions | syncTypeExtension)); in init()
217 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); in init()
218 m_eglContext = egl.createContext(m_eglDisplay, m_eglConfig, EGL_NO_CONTEXT, contextAttribList); in init()
219 EGLU_CHECK_MSG(egl, "Failed to create GLES2 context"); in init()
[all …]
DteglCreateSurfaceTests.cpp47 namespace egl namespace
57 void checkEGLPlatformSupport (const Library& egl, const char* platformExt) in checkEGLPlatformSupport() argument
59 std::vector<std::string> extensions = eglu::getClientExtensions(egl); in checkEGLPlatformSupport()
67 const Library& egl = nativeDisplay.getLibrary(); in createWindowSurface() local
72 surface = egl.createWindowSurface(display, config, window.getLegacyNative(), DE_NULL); in createWindowSurface()
73 EGLU_CHECK_MSG(egl, "eglCreateWindowSurface() failed"); in createWindowSurface()
77 checkEGLPlatformSupport(egl, nativeDisplay.getPlatformExtensionName()); in createWindowSurface()
79 …surface = egl.createPlatformWindowSurfaceEXT(display, config, window.getPlatformNative(), DE_NULL); in createWindowSurface()
80 EGLU_CHECK_MSG(egl, "eglCreatePlatformWindowSurfaceEXT() failed"); in createWindowSurface()
88 const Library& egl = nativeDisplay.getLibrary(); in createPixmapSurface() local
[all …]
DteglQuerySurfaceTests.cpp49 namespace egl namespace
64 static void logSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, EGLSur… in logSurfaceAttributes() argument
67 …logSurfaceAttribute(log, attributes[ndx], eglu::querySurfaceInt(egl, display, surface, attributes[… in logSurfaceAttributes()
70 static void logCommonSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, … in logCommonSurfaceAttributes() argument
87 logSurfaceAttributes(log, egl, display, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); in logCommonSurfaceAttributes()
90 static void logPbufferSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display,… in logPbufferSurfaceAttributes() argument
101 logSurfaceAttributes(log, egl, display, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); in logPbufferSurfaceAttributes()
120 const Library& egl = m_eglTestCtx.getLibrary(); in checkCommonAttributes() local
127 const EGLint id = eglu::querySurfaceInt(egl, display, surface, EGL_CONFIG_ID); in checkCommonAttributes()
138 const EGLint width = eglu::querySurfaceInt(egl, display, surface, EGL_WIDTH); in checkCommonAttributes()
[all …]
DteglRenderCase.cpp51 namespace egl namespace
60 static void postSurface (const Library& egl, EGLDisplay display, EGLSurface surface, EGLint typeBit) in postSurface() argument
63 EGLU_CHECK_CALL(egl, swapBuffers(display, surface)); in postSurface()
65 EGLU_CHECK_CALL(egl, waitClient()); in postSurface()
67 EGLU_CHECK_CALL(egl, waitClient()); in postSurface()
114 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
118 const EGLint configId = eglu::getConfigID(egl, display, config); in executeForConfig()
139 eglu::UniqueSurface surface (egl, display, eglSurface); in executeForConfig()
163 eglu::UniqueSurface surface (egl, display, eglSurface); in executeForConfig()
189 …eglu::UniqueSurface surface(egl, display, egl.createPbufferSurface(display, config, surfaceAttribs… in executeForConfig()
[all …]
DteglMultiContextTests.cpp48 namespace egl namespace
94 eglw::EGLConfig getConfig (const eglw::Library& egl, eglw::EGLDisplay display) in getConfig() argument
98 return eglu::chooseSingleConfig(egl, display, filters); in getConfig()
122 const eglw::Library& egl = m_eglTestCtx.getLibrary(); in iterate() local
123 …const eglu::UniqueDisplay display (egl, eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()… in iterate()
124 const eglw::EGLConfig config = getConfig(egl, *display); in iterate()
126 …const eglu::UniqueSurface surface (egl, *display, m_use != USE_NONE ? egl.createPbufferSurface(… in iterate()
127 EGLU_CHECK_MSG(egl, "Failed to create pbuffer."); in iterate()
140 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); in iterate()
147 … const eglw::EGLContext context = egl.createContext(*display, config, sharedContext, attribList); in iterate()
[all …]
DteglNativeColorMappingTests.cpp65 namespace egl namespace
70 EGLContext createGLES2Context (const Library& egl, EGLDisplay display, EGLConfig config) in createGLES2Context() argument
79 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); in createGLES2Context()
81 context = egl.createContext(display, config, EGL_NO_CONTEXT, attribList); in createGLES2Context()
82 EGLU_CHECK_MSG(egl, "eglCreateContext() failed"); in createGLES2Context()
248 bool validate (TestLog& log, const Library& egl, EGLDisplay display, EGLConfig config, const tcu::T… in validate() argument
250 …const tcu::UVec4 eglBitDepth((deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_RED_SIZE… in validate()
251 (deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_GREEN_SIZE), in validate()
252 (deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_BLUE_SIZE), in validate()
253 (deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_ALPHA_SIZE)); in validate()
[all …]
DteglResizeTests.cpp59 namespace egl namespace
131 EGLConfig getEGLConfig (const Library& egl, const EGLDisplay eglDisplay, EGLenum surfaceType) in getEGLConfig() argument
138 return eglu::chooseSingleConfig(egl, eglDisplay, attribMap); in getEGLConfig()
145 const Library& egl = m_eglTestCtx.getLibrary(); in init() local
148 const EGLConfig eglConfig = getEGLConfig(egl, eglDisplay, surfaceType()); in init()
154 EGLContext eglContext = egl.createContext(eglDisplay, in init()
158 EGLU_CHECK_MSG(egl, "eglCreateContext()"); in init()
159 MovePtr<UniqueContext> context (new UniqueContext(egl, eglDisplay, eglContext)); in init()
160 const EGLint configId = eglu::getConfigAttribInt(egl, in init()
180 MovePtr<UniqueSurface> surface (new UniqueSurface(egl, eglDisplay, eglSurface)); in init()
[all …]
DteglSwapBuffersWithDamageTests.cpp61 namespace egl namespace
129 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveBuffer);
275 virtual EGLConfig getConfig (const Library& egl, EGLDisplay eglDisplay);
276 virtual void checkExtension (const Library& egl, EGLDisplay eglDisplay);
312 EGLConfig SwapBuffersWithDamageTest::getConfig (const Library& egl, EGLDisplay eglDisplay) in getConfig() argument
314 return getEGLConfig(egl, eglDisplay, false); in getConfig()
317 void SwapBuffersWithDamageTest::checkExtension (const Library& egl, EGLDisplay eglDisplay) in checkExtension() argument
319 if (!eglu::hasExtension(egl, eglDisplay, "EGL_KHR_swap_buffers_with_damage")) in checkExtension()
325 const Library& egl = m_eglTestCtx.getLibrary(); in init() local
328 m_eglConfig = getConfig(egl, m_eglDisplay); in init()
[all …]
DteglSurfacelessContextTests.cpp50 namespace egl namespace
75 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
77 const EGLint id = eglu::getConfigAttribInt(egl, display, config, EGL_CONFIG_ID); in executeForConfig()
78 const EGLint apiBits = eglu::getConfigAttribInt(egl, display, config, EGL_RENDERABLE_TYPE); in executeForConfig()
99 if (!eglu::hasExtension(egl, display, "EGL_KHR_surfaceless_context")) in executeForConfig()
109 EGLU_CHECK_CALL(egl, bindAPI(apis[apiNdx].api)); in executeForConfig()
111 …eglu::UniqueContext context(egl, display, egl.createContext(display, config, EGL_NO_CONTEXT, apis[… in executeForConfig()
112 EGLU_CHECK_MSG(egl, "eglCreateContext()"); in executeForConfig()
114 if (!egl.makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, *context)) in executeForConfig()
116 const EGLenum err = egl.getError(); in executeForConfig()
[all …]
DteglSwapBuffersTests.cpp55 namespace egl namespace
66 EGLContext createGLES2Context (const Library& egl, EGLDisplay display, EGLConfig config) in createGLES2Context() argument
76 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); in createGLES2Context()
78 context = egl.createContext(display, config, EGL_NO_CONTEXT, attribList); in createGLES2Context()
79 EGLU_CHECK_MSG(egl, "eglCreateContext() failed"); in createGLES2Context()
109 string getConfigIdString (const Library& egl, EGLDisplay display, EGLConfig config) in getConfigIdString() argument
114 EGLU_CHECK_CALL(egl, getConfigAttrib(display, config , EGL_CONFIG_ID, &id)); in getConfigIdString()
269 const Library& egl = m_eglTestCtx.getLibrary(); in executeForConfig() local
270 const string configIdStr (getConfigIdString(egl, display, config)); in executeForConfig()
281 …log << TestLog::Message << "EGL_RED_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL… in executeForConfig()
[all …]
DteglNativeCoordMappingTests.cpp66 namespace egl namespace
71 EGLContext createGLES2Context (const Library& egl, EGLDisplay display, EGLConfig config) in createGLES2Context() argument
80 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); in createGLES2Context()
82 context = egl.createContext(display, config, EGL_NO_CONTEXT, attribList); in createGLES2Context()
83 EGLU_CHECK_MSG(egl, "eglCreateContext() failed"); in createGLES2Context()
350 void logConfigInfo (TestLog& log, const Library& egl, EGLDisplay display, EGLConfig config, NativeC… in logConfigInfo() argument
352 …log << TestLog::Message << "EGL_RED_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL… in logConfigInfo()
353 …log << TestLog::Message << "EGL_GREEN_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EG… in logConfigInfo()
354 …log << TestLog::Message << "EGL_BLUE_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL… in logConfigInfo()
355 …log << TestLog::Message << "EGL_ALPHA_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EG… in logConfigInfo()
[all …]
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/
DGLSurfaceView20.java16 import javax.microedition.khronos.egl.EGL10;
17 import javax.microedition.khronos.egl.EGLConfig;
18 import javax.microedition.khronos.egl.EGLContext;
19 import javax.microedition.khronos.egl.EGLDisplay;
143 public EGLContext createContext (EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
145 checkEglError("Before eglCreateContext "+targetGLESVersion, egl); in createContext()
148 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
149 boolean success = checkEglError("After eglCreateContext "+targetGLESVersion, egl); in createContext()
154 return createContext(egl, display, eglConfig); in createContext()
160 public void destroyContext (EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
[all …]
DGLSurfaceView20API18.java16 import javax.microedition.khronos.egl.EGL10;
17 import javax.microedition.khronos.egl.EGLConfig;
18 import javax.microedition.khronos.egl.EGLContext;
19 import javax.microedition.khronos.egl.EGLDisplay;
135 public EGLContext createContext (EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
137 checkEglError("Before eglCreateContext", egl); in createContext()
141 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
142 checkEglError("After eglCreateContext", egl); in createContext()
146 public void destroyContext (EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
147 egl.eglDestroyContext(display, context); in destroyContext()
[all …]
DGdxEglConfigChooser.java16 import javax.microedition.khronos.egl.EGL10;
17 import javax.microedition.khronos.egl.EGLConfig;
18 import javax.microedition.khronos.egl.EGLDisplay;
56 public EGLConfig chooseConfig (EGL10 egl, EGLDisplay display) { in chooseConfig() argument
60 egl.eglChooseConfig(display, mConfigAttribs, null, 0, num_config); in chooseConfig()
69 egl.eglChooseConfig(display, mConfigAttribs, configs, numConfigs, num_config); in chooseConfig()
75 EGLConfig config = chooseConfig(egl, display, configs); in chooseConfig()
82 public EGLConfig chooseConfig (EGL10 egl, EGLDisplay display, EGLConfig[] configs) { in chooseConfig() argument
88 int d = findConfigAttrib(egl, display, config, EGL10.EGL_DEPTH_SIZE, 0); in chooseConfig()
89 int s = findConfigAttrib(egl, display, config, EGL10.EGL_STENCIL_SIZE, 0); in chooseConfig()
[all …]
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
DViEAndroidGLES20.java15 import javax.microedition.khronos.egl.EGL10;
16 import javax.microedition.khronos.egl.EGLConfig;
17 import javax.microedition.khronos.egl.EGLContext;
18 import javax.microedition.khronos.egl.EGLDisplay;
88 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
90 checkEglError("Before eglCreateContext", egl); in createContext()
92 EGLContext context = egl.eglCreateContext(display, eglConfig, in createContext()
94 checkEglError("After eglCreateContext", egl); in createContext()
98 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
99 egl.eglDestroyContext(display, context); in destroyContext()
[all …]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DEglBase10.java36 import javax.microedition.khronos.egl.EGL10;
37 import javax.microedition.khronos.egl.EGLConfig;
38 import javax.microedition.khronos.egl.EGLContext;
39 import javax.microedition.khronos.egl.EGLDisplay;
40 import javax.microedition.khronos.egl.EGLSurface;
50 private final EGL10 egl; field in EglBase10
67 this.egl = (EGL10) EGLContext.getEGL(); in EglBase10()
157 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs); in createSurfaceInternal()
176 eglSurface = egl.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs); in createPbufferSurface()
195 egl.eglQuerySurface(eglDisplay, eglSurface, EGL10.EGL_WIDTH, widthArray); in surfaceWidth()
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/
DMakefile8 -I$(TOP)/src/egl/main \
9 -I$(TOP)/src/egl/wayland/wayland-drm/ \
29 -I$(TOP)/src/egl/wayland/wayland-egl \
30 -I$(TOP)/src/egl/wayland/wayland-drm \
87 $(MKLIB) -o egl -static $(EGL_OBJECTS)
105 define egl-cc
113 $(call egl-cc,x11)
116 $(call egl-cc,wayland)
119 $(call egl-cc,drm)
122 $(call egl-cc,fbdev)
[all …]

12345678910