Reynaldo H. Verdejo Pinochet
eeb3b84d07
eglglessink: Use PAR/DAR to set viewport
2012-10-18 14:35:15 +02:00
Sebastian Dröge
2b2ae0fd6f
eglglessink: More consistent naming of shader related variables
2012-10-18 14:35:15 +02:00
Sebastian Dröge
1ad253b9b7
eglglessink: Some variable name cleanup
2012-10-18 14:35:15 +02:00
Sebastian Dröge
e8f4829c13
eglglessink: Remove default-width/height properties
...
These are completely unneeded
2012-10-18 14:35:15 +02:00
Reynaldo H. Verdejo Pinochet
bab81de275
eglglessink: Put EGL/GLES context vars on their own struct
2012-10-18 14:35:15 +02:00
Sebastian Dröge
18e473307f
eglglessink: Allow setting another window for the next time we reconfigure everything
2012-10-18 14:35:14 +02:00
Sebastian Dröge
aa463f0274
eglglessink: Also unref current caps after usage
2012-10-18 14:35:14 +02:00
Sebastian Dröge
d91621d2ce
eglglessink: More cleanup and making the element reusable
2012-10-18 14:35:14 +02:00
Sebastian Dröge
15c93da54e
eglglessink: Generate the sink caps exactly once
2012-10-18 14:35:14 +02:00
Reynaldo H. Verdejo Pinochet
0c681dc2a6
eglglessink: Minor formatting and comment fixes
2012-10-18 14:35:13 +02:00
Reynaldo H. Verdejo Pinochet
63d8cd88c7
eglglessink: Clean-up gl/egl allocations at _stop()
...
Also, conditionaly destroy window if the sink created its own.
2012-10-18 14:35:13 +02:00
Sebastian Dröge
72d05a681f
eglglessink: Add support for I420 and YV12 color formats
2012-10-18 14:35:13 +02:00
Sebastian Dröge
3f734aafc7
eglglessink: Use the attrib locations as really used inside the shader
2012-10-18 14:35:13 +02:00
Sebastian Dröge
dafcdb0da3
eglglessink: Decouple texture and vertex positions
2012-10-18 14:35:13 +02:00
Reynaldo H. Verdejo Pinochet
8018681187
eglglessink: Handle frame scaling to fill surface
2012-10-18 14:35:13 +02:00
Reynaldo H. Verdejo Pinochet
90d5b76dc5
eglglessink: Draft set_render_rectangle() from the xOverlay interface
2012-10-18 14:35:13 +02:00
Reynaldo H. Verdejo Pinochet
22eb374b57
eglglessink: Fix EGL attribs var naming
2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
391137a20e
eglglessink: GlViewPort() should use actual surface size
2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
2a84a72fe7
eglglessink: Fix setup chain logic
...
Mostly a procedural reordering. Idea is to avoid
trying to setup a surface without a display.This
change relies on the asumption that:
1.- set_window_handle() can happen at any time
2.- setcaps will never get called before _start()
is done.
If both conditions are meet the new procedure
should work as expected.
2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
a8f60690aa
eglglessink: Caps nego. Start extending RGB support to a set.
2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
75d4bf420a
eglglessink: Support RGB24 by default
2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
086563195c
eglglessink: Rename stale android leftover
2012-10-18 14:35:09 +02:00
Reynaldo H. Verdejo Pinochet
ea03067f3f
eglglessink: Move eglgles Sink to ext/ #2
2012-10-18 14:35:09 +02:00