Home
last modified time | relevance | path

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

12345678

/external/chromium_org/third_party/angle/src/libEGL/
DlibEGL.cpp22 bool validateDisplay(egl::Display *display) in validateDisplay()
26 return egl::error(EGL_BAD_DISPLAY, false); in validateDisplay()
31 return egl::error(EGL_NOT_INITIALIZED, false); in validateDisplay()
37 bool validateConfig(egl::Display *display, EGLConfig config) in validateConfig()
46 return egl::error(EGL_BAD_CONFIG, false); in validateConfig()
52 bool validateContext(egl::Display *display, gl::Context *context) in validateContext()
61 return egl::error(EGL_BAD_CONTEXT, false); in validateContext()
67 bool validateSurface(egl::Display *display, egl::Surface *surface) in validateSurface()
76 return egl::error(EGL_BAD_SURFACE, false); in validateSurface()
88 EGLint error = egl::getCurrentError(); in eglGetError()
[all …]
Dmain.cpp15 namespace egl namespace
20 Current *current = (egl::Current*)LocalAlloc(LPTR, sizeof(egl::Current)); in AllocateCurrent()
83 egl::AllocateCurrent(); in DllMain()
88 egl::DeallocateCurrent(); in DllMain()
93 egl::DeallocateCurrent(); in DllMain()
104 namespace egl namespace
188 egl::setCurrentError(errorCode); in error()
/external/chromium_org/third_party/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;
87 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
89 checkEglError("Before eglCreateContext", egl); in createContext()
91 EGLContext context = egl.eglCreateContext(display, eglConfig, in createContext()
93 checkEglError("After eglCreateContext", egl); in createContext()
97 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
98 egl.eglDestroyContext(display, context); in destroyContext()
[all …]
/external/deqp/modules/egl/
DteglRenderCase.hpp35 namespace egl namespace
47 virtual void executeForConfig (tcu::egl::Display& display, EGLConfig config);
49 …virtual void executeForSurface (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig…
62 …virtual void executeForSurface (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfi…
64 …virtual void executeForContext (const tcu::egl::Display& display, tcu::egl::Context& context, tc…
74 …void executeForSurface (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig con…
76 …ForContexts (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config, const std…
DteglRenderCase.cpp62 namespace egl namespace
72 static void postSurface (tcu::egl::Surface& surface) in postSurface()
74 const bool isWindow = instanceOf<tcu::egl::WindowSurface>(surface); in postSurface()
75 const bool isPixmap = instanceOf<tcu::egl::PixmapSurface>(surface); in postSurface()
76 const bool isPbuffer = instanceOf<tcu::egl::PbufferSurface>(surface); in postSurface()
82 tcu::egl::WindowSurface& window = static_cast<tcu::egl::WindowSurface&>(surface); in postSurface()
133 void RenderCase::executeForConfig (tcu::egl::Display& defaultDisplay, EGLConfig config) in executeForConfig()
149 tcu::egl::Display& display = m_eglTestCtx.getDisplay(); in executeForConfig()
152 tcu::egl::WindowSurface surface (display, eglSurface); in executeForConfig()
171 tcu::egl::Display& display = m_eglTestCtx.getDisplay(); in executeForConfig()
[all …]
DteglColorClearCase.hpp34 namespace egl namespace
43 …orContexts (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config, const std…
52 …orContexts (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config, const std…
DteglColorClearCase.cpp57 namespace egl namespace
142 …teForContexts (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config, const std… in executeForContexts()
164 tcu::egl::Context* context = contexts[0].second; in executeForContexts()
177 …for (vector<std::pair<EGLint, tcu::egl::Context*> >::const_iterator ctxIter = contexts.begin(); ct… in executeForContexts()
180 tcu::egl::Context* context = ctxIter->second; in executeForContexts()
198 tcu::egl::Context* context = contexts[0].second; in executeForContexts()
244 …ColorClearThread (tcu::egl::Display& display, tcu::egl::Surface& surface, tcu::egl::Context& conte… in ColorClearThread()
276 tcu::egl::Display& m_display;
277 tcu::egl::Surface& m_surface;
278 tcu::egl::Context& m_context;
[all …]
DteglQuerySurfaceTests.cpp46 namespace egl namespace
60 static void logSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface, const EGLint… in logSurfaceAttributes()
70 static void logCommonSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface) in logCommonSurfaceAttributes()
90 static void logPbufferSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface) in logPbufferSurfaceAttributes()
108 void checkCommonAttributes (const tcu::egl::Surface& surface, const ConfigInfo& info);
109 void checkNonPbufferAttributes (EGLDisplay display, const tcu::egl::Surface& surface);
117 void QuerySurfaceCase::checkCommonAttributes (const tcu::egl::Surface& surface, const ConfigInfo& i… in checkCommonAttributes()
249 void QuerySurfaceCase::checkNonPbufferAttributes (EGLDisplay display, const tcu::egl::Surface& surf… in checkNonPbufferAttributes()
300 void executeForConfig (tcu::egl::Display& display, EGLConfig config) in executeForConfig()
313 …tcu::egl::WindowSurface surface(display, eglu::createWindowSurface(m_eglTestCtx.getNativeDispla… in executeForConfig()
[all …]
DteglRenderTests.cpp72 namespace egl namespace
665 tcu::PixelFormat getPixelFormat (const tcu::egl::Display& display, EGLConfig config) in getPixelFormat()
682 …ForContexts (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config, const std…
692 …teForContexts (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config, const std… in executeForContexts()
733 tcu::egl::Context* context = contexts[ctxNdx].second; in executeForContexts()
745 tcu::egl::Context* context = contexts[0].second; in executeForContexts()
759 tcu::egl::Context* context = contexts[ctxNdx].second; in executeForContexts()
775 tcu::egl::Context* context = contexts[0].second; in executeForContexts()
804 …ForContexts (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config, const std…
829 …RenderTestThread (tcu::egl::Display& display, tcu::egl::Surface& surface, tcu::egl::Context& conte… in RenderTestThread()
[all …]
/external/chromium_org/gpu/gles2_conform_support/egl/
Degl.cc43 egl::Display* display = static_cast<egl::Display*>(dpy); in ValidateDisplay()
55 egl::Display* display = static_cast<egl::Display*>(dpy); in ValidateDisplayConfig()
67 egl::Display* display = static_cast<egl::Display*>(dpy); in ValidateDisplaySurface()
79 egl::Display* display = static_cast<egl::Display*>(dpy); in ValidateDisplayContext()
94 return new egl::Display(display_id); in eglGetDisplay()
101 egl::Display* display = static_cast<egl::Display*>(dpy); in eglInitialize()
122 egl::Display* display = static_cast<egl::Display*>(dpy); in eglTerminate()
159 egl::Display* display = static_cast<egl::Display*>(dpy); in eglChooseConfig()
177 egl::Display* display = static_cast<egl::Display*>(dpy); in eglGetConfigs()
192 egl::Display* display = static_cast<egl::Display*>(dpy); in eglGetConfigAttrib()
[all …]
/external/chromium_org/third_party/angle/src/libGLESv2/
Dmain.h14 namespace egl
27 egl::Display *display;
30 void makeCurrent(Context *context, egl::Display *display, egl::Surface *surface);
34 egl::Display *getDisplay();
58 void glMakeCurrent(gl::Context *context, egl::Display *display, egl::Surface *surface);
60 rx::Renderer *glCreateRenderer(egl::Display *display, HDC hDc, EGLNativeDisplayType displayId);
64 bool __stdcall glBindTexImage(egl::Surface *surface);
/external/chromium_org/third_party/mesa/src/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 …]
/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 …]
/external/chromium_org/third_party/skia/platform_tools/android/app/src/com/skia/
DSkiaSampleView.java10 import javax.microedition.khronos.egl.EGL10;
11 import javax.microedition.khronos.egl.EGLConfig;
12 import javax.microedition.khronos.egl.EGLDisplay;
193 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument
237 if (!egl.eglChooseConfig(display, configSpec, null, 0, value)) { in chooseConfig()
265 if (!egl.eglChooseConfig(display, configSpec, null, 0, value)) { in chooseConfig()
278 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, value)) { in chooseConfig()
284 if (findConfigAttrib(egl, display, config , EGL10.EGL_RED_SIZE, 0) == 8 && in chooseConfig()
285 findConfigAttrib(egl, display, config, EGL10.EGL_BLUE_SIZE, 0) == 8 && in chooseConfig()
286 findConfigAttrib(egl, display, config, EGL10.EGL_GREEN_SIZE, 0) == 8 && in chooseConfig()
[all …]
/external/skia/platform_tools/android/app/src/com/skia/
DSkiaSampleView.java10 import javax.microedition.khronos.egl.EGL10;
11 import javax.microedition.khronos.egl.EGLConfig;
12 import javax.microedition.khronos.egl.EGLDisplay;
193 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument
237 if (!egl.eglChooseConfig(display, configSpec, null, 0, value)) { in chooseConfig()
265 if (!egl.eglChooseConfig(display, configSpec, null, 0, value)) { in chooseConfig()
278 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, value)) { in chooseConfig()
284 if (findConfigAttrib(egl, display, config , EGL10.EGL_RED_SIZE, 0) == 8 && in chooseConfig()
285 findConfigAttrib(egl, display, config, EGL10.EGL_BLUE_SIZE, 0) == 8 && in chooseConfig()
286 findConfigAttrib(egl, display, config, EGL10.EGL_GREEN_SIZE, 0) == 8 && in chooseConfig()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DGLSurfaceView.java22 import javax.microedition.khronos.egl.EGL10;
23 import javax.microedition.khronos.egl.EGL11;
24 import javax.microedition.khronos.egl.EGLConfig;
25 import javax.microedition.khronos.egl.EGLContext;
26 import javax.microedition.khronos.egl.EGLDisplay;
27 import javax.microedition.khronos.egl.EGLSurface;
701 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext() argument
702 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext() argument
708 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument
712 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext()
[all …]
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/
DMakefile.am24 -I$(top_srcdir)/src/egl/main \
27 -I$(top_srcdir)/src/egl/wayland/wayland-egl \
28 -I$(top_srcdir)/src/egl/wayland/wayland-drm \
29 -I$(top_builddir)/src/egl/wayland/wayland-drm \
/external/mesa3d/src/egl/drivers/dri2/
DMakefile.am24 -I$(top_srcdir)/src/egl/main \
27 -I$(top_srcdir)/src/egl/wayland/wayland-egl \
28 -I$(top_srcdir)/src/egl/wayland/wayland-drm \
29 -I$(top_builddir)/src/egl/wayland/wayland-drm \
/external/mesa3d/src/gallium/targets/egl-static/
DSConscript2 # SConscript for egl-static target
10 '#/src/egl/main',
15 '#/src/gallium/state_trackers/egl',
34 egl,
43 'egl.c',
49 sources.append('#src/egl/main/egl.def')
129 env.Alias('egl-gallium', egl_gallium)
/external/chromium_org/third_party/mesa/src/src/gallium/targets/egl-static/
DSConscript2 # SConscript for egl-static target
10 '#/src/egl/main',
15 '#/src/gallium/state_trackers/egl',
34 egl,
43 'egl.c',
49 sources.append('#src/egl/main/egl.def')
129 env.Alias('egl-gallium', egl_gallium)
/external/chromium_org/gpu/gles2_conform_support/
Dgles2_conform_support.gyp47 'egl/config.cc',
48 'egl/config.h',
49 'egl/display.cc',
50 'egl/display.h',
51 'egl/egl.cc',
52 'egl/surface.cc',
53 'egl/surface.h',
/external/chromium_org/third_party/mesa/src/src/egl/wayland/wayland-egl/
DMakefile.am2 pkgconfig_DATA = wayland-egl.pc
7 lib_LTLIBRARIES = libwayland-egl.la
8 noinst_HEADERS = wayland-egl-priv.h
9 libwayland_egl_la_SOURCES = wayland-egl.c
Dwayland-egl.pc.in6 Name: wayland-egl
7 Description: Mesa wayland-egl library
9 Libs: -L${libdir} -lwayland-egl
/external/mesa3d/src/egl/wayland/wayland-egl/
DMakefile.am2 pkgconfig_DATA = wayland-egl.pc
7 lib_LTLIBRARIES = libwayland-egl.la
8 noinst_HEADERS = wayland-egl-priv.h
9 libwayland_egl_la_SOURCES = wayland-egl.c
Dwayland-egl.pc.in6 Name: wayland-egl
7 Description: Mesa wayland-egl library
9 Libs: -L${libdir} -lwayland-egl

12345678