/external/swiftshader/src/OpenGL/libGLESv2/ |
main.h | 47 namespace egl namespace
|
/frameworks/base/libs/hwui/ |
Image.h | 20 #include <EGL/egl.h> 21 #include <EGL/eglext.h> 53 * Returns the name of the EGL image represented by this object.
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
EGLDisplayImpl.java | 19 import javax.microedition.khronos.egl.*;
|
/frameworks/native/opengl/libs/EGL/ |
egldefs.h | 45 egl_t egl; member in struct:android::egl_connection_t
|
eglApi.cpp | 26 #include <EGL/egl.h> 27 #include <EGL/eglext.h> 64 * This is the list of EGL extensions exposed to applications. 66 * Some of them (gBuiltinExtensionString) are implemented entirely in this EGL 69 * The rest (gExtensionString) depend on support in the EGL driver, and are 137 * EGL Extensions entry-points exposed to 3rd party applications 236 * They're used internally by the Android EGL layer. 316 // terminates an EGLDisplay, not a EGL itself. 350 res = cnx->egl.eglGetConfigs [all...] |
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
TestFramerateView.java | 31 import javax.microedition.khronos.egl.EGL10; 32 import javax.microedition.khronos.egl.EGLConfig; 33 import javax.microedition.khronos.egl.EGLContext; 34 import javax.microedition.khronos.egl.EGLDisplay;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
FrameBuffer.h | 3 #include <EGL/egl.h>
|
/packages/services/Car/evs/app/ |
glError.cpp | 18 #include <EGL/egl.h>
|
/external/deqp/framework/egl/ |
egluConfigFilter.hpp | 23 * \brief EGL Config selection helper. 46 CandidateConfig (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLConfig config); 80 const eglw::Library* egl; member in struct:eglu::CandidateConfig::__anon16923::__anon16924 99 bool match (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLConfig config) const;
|
egluGLUtil.cpp | 21 * \brief EGL utilities for interfacing with GL APIs. 79 EGLContext createGLContext (const Library& egl, EGLDisplay display, EGLContext eglConfig, const glu::ContextType& contextType) 81 const bool khrCreateContextSupported = hasExtension(egl, display, "EGL_KHR_create_context"); 151 EGLU_CHECK_CALL(egl, bindAPI(api)); 152 context = egl.createContext(display, eglConfig, EGL_NO_CONTEXT, &(attribList[0])); 153 EGLU_CHECK_MSG(egl, "eglCreateContext()"); 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)) [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
Framebuffer.h | 48 egl::Image *getRenderTarget(); 49 egl::Image *getDepthBuffer(); 50 egl::Image *getStencilBuffer();
|
Renderbuffer.cpp | 98 egl::Image *RenderbufferTexture2D::getRenderTarget() 105 egl::Image *RenderbufferTexture2D::createSharedImage() 171 egl::Image *Renderbuffer::getRenderTarget() 178 egl::Image *Renderbuffer::createSharedImage() 289 Colorbuffer::Colorbuffer(egl::Image *renderTarget) : mRenderTarget(renderTarget) 338 egl::Image *Colorbuffer::getRenderTarget() 350 egl::Image *Colorbuffer::createSharedImage() 366 DepthStencilbuffer::DepthStencilbuffer(egl::Image *depthStencil) : mDepthStencil(depthStencil) 414 egl::Image *DepthStencilbuffer::getRenderTarget() 426 egl::Image *DepthStencilbuffer::createSharedImage( [all...] |
Texture.cpp | 34 Texture::Texture(GLuint name) : egl::Texture(name) 218 egl::Image *Texture::createSharedImage(GLenum target, unsigned int level) 220 egl::Image *image = getRenderTarget(target, level); // Increments reference count 230 void Texture::setImage(egl::Context *context, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels, egl::Image *image) 234 egl::Image::UnpackInfo unpackInfo; 240 void Texture::setCompressedImage(GLsizei imageSize, const void *pixels, egl::Image *image) 248 void Texture::subImage(egl::Context *context, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels, egl::Image *image) 272 egl::Image::UnpackInfo unpackInfo [all...] |
/external/deqp/modules/egl/ |
teglGetFrameTimestampsTests.cpp | 2 * drawElements Quality Program EGL Module 58 // Tentative EGL header definitions for EGL_ANDROID_get_Frame_timestamps. 87 namespace egl namespace in namespace:deqp 279 EGLContext createGLES2Context (const Library& egl, EGLDisplay display, EGLConfig config) 288 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); 290 context = egl.createContext(display, config, EGL_NO_CONTEXT, attribList); 291 EGLU_CHECK_MSG(egl, "eglCreateContext() failed"); 305 void initializeExtension (const Library& egl); 336 void GetFrameTimestampTest::initializeExtension (const Library& egl) 338 m_eglGetNextFrameIdANDROID = reinterpret_cast<eglGetNextFrameIdANDROIDFunc>(egl.getProcAddress("eglGetNextFrameIdANDROID")) 488 const Library& egl = m_eglTestCtx.getLibrary(); local [all...] |
teglNativeColorMappingTests.cpp | 2 * drawElements Quality Program EGL Module 65 namespace egl namespace in namespace:deqp 70 EGLContext createGLES2Context (const Library& egl, EGLDisplay display, EGLConfig config) 79 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); 81 context = egl.createContext(display, config, EGL_NO_CONTEXT, attribList); 82 EGLU_CHECK_MSG(egl, "eglCreateContext() failed"); 248 bool validate (TestLog& log, const Library& egl, EGLDisplay display, EGLConfig config, const tcu::TextureLevel& result, const tcu::Vec4& color) 250 const tcu::UVec4 eglBitDepth((deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_RED_SIZE), 251 (deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_GREEN_SIZE), 252 (deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_BLUE_SIZE) 325 const Library& egl = nativeDisplay.getLibrary(); local 368 const Library& egl = nativeDisplay.getLibrary(); local 474 const Library& egl = m_eglTestCtx.getLibrary(); local [all...] |
teglColorClearCase.cpp | 2 * drawElements Quality Program EGL Module 48 namespace egl namespace in namespace:deqp 149 static tcu::PixelFormat getPixelFormat (const Library& egl, EGLDisplay display, EGLConfig config) 153 egl.getConfigAttrib(display, config, EGL_RED_SIZE, &pixelFmt.redBits); 154 egl.getConfigAttrib(display, config, EGL_GREEN_SIZE, &pixelFmt.greenBits); 155 egl.getConfigAttrib(display, config, EGL_BLUE_SIZE, &pixelFmt.blueBits); 156 egl.getConfigAttrib(display, config, EGL_ALPHA_SIZE, &pixelFmt.alphaBits); 170 const Library& egl = m_eglTestCtx.getLibrary(); local 172 const tcu::IVec2 surfaceSize = eglu::getSurfaceSize(egl, display, surface); 180 tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config) 332 const Library& egl = m_eglTestCtx.getLibrary(); local [all...] |
teglPartialUpdateTests.cpp | 2 * drawElements Quality Program EGL Module 62 namespace egl namespace in namespace:deqp 183 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay); 375 const Library& egl = m_eglTestCtx.getLibrary(); local 386 m_supportBufferAge = eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_buffer_age"); 388 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_KHR_partial_update")) 397 const Library& egl = m_eglTestCtx.getLibrary(); local 407 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 408 egl.destroyContext(m_eglDisplay, m_eglContext); 414 egl.destroySurface(m_eglDisplay, m_eglSurface) 438 const Library& egl = m_eglTestCtx.getLibrary(); local 490 const Library& egl = m_eglTestCtx.getLibrary(); local 681 const Library& egl = m_eglTestCtx.getLibrary(); local 743 const Library& egl = m_eglTestCtx.getLibrary(); local [all...] |
teglMemoryStressTests.cpp | 2 * drawElements Quality Program EGL Module 54 namespace egl namespace in namespace:deqp 125 const Library& egl = m_eglTestCtx.getLibrary(); local 128 egl.destroySurface(m_display, *iter); 133 egl.destroyContext(m_display, *iter); 199 const Library& egl = m_eglTestCtx.getLibrary(); local 209 EGLSurface surface = egl.createPbufferSurface(m_display, m_config, attribList); 210 EGLU_CHECK_MSG(egl, "eglCreatePbufferSurface"); 224 EGLU_CHECK_CALL(egl, makeCurrent(m_display, surface, surface, context)); 232 EGLU_CHECK_CALL(egl, makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)) 265 const Library& egl = m_eglTestCtx.getLibrary(); local 358 const Library& egl = m_eglTestCtx.getLibrary(); local [all...] |
teglQueryContextTests.cpp | 2 * drawElements Quality Program EGL Module 48 namespace egl namespace in namespace:deqp 97 const Library& egl = m_eglTestCtx.getLibrary(); local 107 EGLU_CHECK_MSG(egl, "eglGetCurrentContext"); 139 const Library& egl = m_eglTestCtx.getLibrary(); local 149 EGLU_CHECK_MSG(egl, "eglGetCurrentSurface(EGL_READ)"); 152 EGLU_CHECK_MSG(egl, "eglGetCurrentSurface(EGL_DRAW)"); 181 const Library& egl = m_eglTestCtx.getLibrary(); local 190 EGLU_CHECK_MSG(egl, "eglGetCurrentDisplay"); 222 const Library& egl = m_eglTestCtx.getLibrary() local 231 const Library& egl = m_eglTestCtx.getLibrary(); local 319 const Library& egl = m_eglTestCtx.getLibrary(); local [all...] |
teglNativeCoordMappingTests.cpp | 2 * drawElements Quality Program EGL Module 66 namespace egl namespace in namespace:deqp 71 EGLContext createGLES2Context (const Library& egl, EGLDisplay display, EGLConfig config) 80 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); 82 context = egl.createContext(display, config, EGL_NO_CONTEXT, attribList); 83 EGLU_CHECK_MSG(egl, "eglCreateContext() failed"); 350 void logConfigInfo (TestLog& log, const Library& egl, EGLDisplay display, EGLConfig config, NativeCoordMappingCase::NativeType nativeType, int waitFrames) 352 log << TestLog::Message << "EGL_RED_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL_RED_SIZE) << TestLog::EndMessage; 353 log << TestLog::Message << "EGL_GREEN_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL_GREEN_SIZE) << TestLog::EndMessage; 354 log << TestLog::Message << "EGL_BLUE_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL_BLUE_SIZE) << TestLog::EndMessage 371 const Library& egl = nativeDisplay.getLibrary(); local 420 const Library& egl = nativeDisplay.getLibrary(); local 505 const Library& egl = m_eglTestCtx.getLibrary(); local [all...] |
teglInfoTests.cpp | 2 * drawElements Quality Program EGL Module 21 * \brief EGL Implementation Information Tests 38 namespace egl namespace in namespace:deqp 125 const Library& egl = m_eglTestCtx.getLibrary(); local 126 const char* result = egl.queryString(m_display, m_query); 127 EGLU_CHECK_MSG(egl, "eglQueryString() failed"); 151 const Library& egl = m_eglTestCtx.getLibrary(); local 152 vector<string> extensions = eglu::getDisplayExtensions(egl, m_display); 174 addChild(new QueryStringCase(m_eglTestCtx, "version", "EGL Version", EGL_VERSION)); 175 addChild(new QueryStringCase(m_eglTestCtx, "vendor", "EGL Vendor", EGL_VENDOR)) [all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidPlatformCapabilityQueryJNI.cpp | 126 const eglw::DefaultLibrary egl; local 127 const eglw::EGLDisplay display = egl.getDisplay(EGL_DEFAULT_DISPLAY); 137 if (egl.initialize(display, &eglMajor, &eglMinor) != EGL_TRUE) 139 tcu::print("failed to initialize egl"); 140 TCU_THROW(Exception, "failed to initialize egl"); 142 tcu::print("EGL initialized, major=%d, minor=%d", eglMajor, eglMinor); 147 (void)eglu::chooseConfig(egl, display, renderConfig); 152 egl.terminate(display); 157 egl.terminate(display); 160 egl.terminate(display) [all...] |
/device/generic/goldfish-opengl/system/egl/ |
Android.mk | 7 $(call emugl-set-shared-library-subpath,egl) 13 egl.cpp \ 39 #### egl.cfg #### 43 # version of this file to point to the appropriate HW EGL libraries. 48 LOCAL_MODULE := egl.cfg 51 LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/egl
|
/external/swiftshader/src/OpenGL/libEGL/ |
Config.h | 15 // Config.h: Defines the egl::Config class, describing the format, type 16 // and size for an egl::Surface. Implements EGLConfig and related functionality. 17 // [EGL 1.4] section 3.4 page 15. 24 #include <EGL/egl.h> 28 namespace egl namespace 71 EGLint mSurfaceType; // Which types of EGL surfaces are supported. 96 const egl::Config *get(EGLConfig configHandle);
|
/cts/tests/openglperf2/jni/graphics/ |
GLUtils.h | 19 #include <EGL/egl.h>
|