Questions tagged [egl]

EGL™ is an interface between Khronos rendering APIs such as OpenGL ES or OpenVG and the underlying native platform window system. It handles graphics context management, surface/buffer binding, and rendering synchronization and enables high-performance, accelerated, mixed-mode 2D and 3D rendering using other Khronos APIs.

EGL™ is an interface between Khronos rendering APIs such as OpenGL ES or OpenVG and the underlying native platform window system. It handles graphics context management, surface/buffer binding, and rendering synchronization and enables high-performance, accelerated, mixed-mode 2D and 3D rendering using other Khronos APIs.

EGL can be implemented on multiple operating systems (such as Android and Linux) and native window systems (such as X and Microsoft Windows). Implementations may also choose to allow rendering into specific types of EGL surfaces via other supported native rendering APIs, such as Xlib or GDI. EGL provides:

  • Mechanisms for creating rendering surfaces (windows, pbuffers, pixmaps) onto which client APIs can draw and share
  • Methods to create and manage graphics contexts for client APIs
  • Ways to synchronize drawing by client APIs as well as native platform rendering APIs.
397 questions
0
votes
0 answers

Best way to apply shader offscreen

I'm investigating in the past few days what is the best way to apply OpenGl shader over some images, offscreen, and to save the results as files in the sdcard. All of that should be in the background and the user shouldn't notice it. I came across…
Nativ
  • 3,092
  • 6
  • 38
  • 69
0
votes
1 answer

Android emulator EGL14 attribute EGL_RECORDABLE_ANDROID does not work

I am working Android Emulator with 4.3 on Emulator During create context of egl I give attribute EGL_RECORDABLE_ANDROID and it fails saying BAD_CONFIG? Any idea why it is failing?
Nehal Shah
  • 93
  • 2
  • 11
0
votes
2 answers

Getting Exception: FATAL EXCEPTION: GLThread No configs match configSpec

I am using the below code for the MultiSampling to make the smooth edge. Below code is working on some mobile and other mobile I am getting exception 'No configs match configSpec. Please help me to solve this issue. Thanks in advance. package…
user2695306
  • 589
  • 2
  • 7
  • 9
0
votes
0 answers

EGL display not valid in Native Activity on Android

I have the following Project I am working on. I am trying to do a simple 2D TriandleFan box. However, when I run the project the following line fails... this->display = display; I can't see why it is failing can anyone else see it? F/libc (…
Jackie
  • 21,969
  • 32
  • 147
  • 289
0
votes
1 answer

OpenGL ES 2.0 Objects disappearing when depth test enabled

Edit: This turned out to be correct, hopefully it still helps others with similar issues. Is there a piece I'm missing in setting up the depth testing pipeline in OpenGL ES 2.0 (using EGL)? I've found many questions about this but all were solved…
quornian
  • 9,495
  • 6
  • 30
  • 27
0
votes
2 answers

How to create context that does not support being bound without read and draw surfaces

In new extension of OpenGl ES 2.0 "surfaceless_context" its given the following: If Context does not support being bound without read and draw surfaces, and both and are EGL_NO_SURFACE, an EGL_BAD_MATCH error is generated. I am…
abhijit jagdale
  • 609
  • 2
  • 8
  • 21
0
votes
1 answer

Android GraphicBuffer with pixel format HAL_PIXEL_FORMAT_YV12

I try to create Android GraphicBuffer with this instruction new GraphicBuffer(160, 98, HAL_PIXEL_FORMAT_YV12, GraphicBuffer::USAGE_HW_TEXTURE | GraphicBuffer::USAGE_SW_WRITE_RARELY) It works well on my Android 4.0 device Huawei Mediapad, but…
ildaronline
  • 1
  • 2
  • 4
0
votes
1 answer

how to roate surfaceview 90?

I'm developing a movieplayer on android 4.2 and now facing a problem that how to rotate a surfaceview with 90 degree,the surfaceview is used to render decoded video,a difference from common use is ,i add surfaceview as a system view by…
fla888
  • 67
  • 1
  • 8
0
votes
2 answers

eglsurface is destroyed when entering an activity with no theme

So basically I have an app that does some open gl rendering but also some activities the user enters to set some things up. Curious thing, but if I enter in an activity that doesn't have the following…
user2164422
  • 91
  • 1
  • 3
0
votes
3 answers

EGL_BAD_PARAMETER results from calling eglSwapInterval()

I have an OpenGL program running on a few Android devices, without any issues. However, when I run my app on a Kindle Fire, my call to eglSwapInterval() returns EGL_BAD_PARAMETER. My call looks like: eglSwapInterval( eglGetDisplay(…
0
votes
1 answer

Raspberry Pi bcm_host include directories

I'm trying to write a simple program that uses EGL, but when I include bcm_host.h, gcc says it doesn't exist, so I add /opt/vc/include to the makefile, it says that another header is missing, I add another directory, and now, after 6 folders, I…
0
votes
2 answers

Android OpenGL live wallpaper crashes - Mali EGL error?

I've got a big problem with my OpenGL based Live Wallpaper project. I managed to move my 2d live wallpaper from canvas to opengl and all looks fine and fast but... damn there's allways something when I set my livewallpaper and reopen live wallpapers…
Lucass
  • 147
  • 3
  • 12
0
votes
0 answers

QEgl::display(): Cannot initialize EGL display: "Success (0x3000)" Error QML

I am building an App using Qt/QML. I can successfully compile it but while running I am getting this error: QEgl::display(): Cannot initialize EGL display: "Success (0x3000)" QEglContext::chooseConfig(): Could not find a suitable EGL configuration…
Sandy
  • 91
  • 1
  • 1
  • 11
0
votes
1 answer

EGL_BAD_CONFIG When Creating A PixelBuffer

I am having trouble creating a PixelBuffer in OpenGL ESv2. If my config specifies EGL_WINDOW_BIT I can successfully call eglCreateContext. However, when using EGL_PBUFFER_BIT I am getting an EGL_BAD_CONFIG. I am working with an embedded system…
Constantin
  • 16,812
  • 9
  • 34
  • 52
0
votes
2 answers

EGL support on linux

I have a cross platform app, I want to compile on Linux. The problem is that the binary nVidia driver does not expose EGL interface (which the app uses). So to change as little of the app as possible I was wondering whether there is a wrapper which…
abergmeier
  • 13,224
  • 13
  • 64
  • 120
1 2 3
26
27