summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated Portuguese translationcogl-1.18Pedro Albuquerque2015-11-241-123/+124
|
* Updated Occitan translationCédric Valmary2015-05-301-182/+193
|
* Added Occitan translationCédric Valmary2015-05-221-0/+360
|
* Added Bosnian translationSamir Ribic2015-03-141-0/+344
|
* kms-winsys: Remove a few unused variablesRui Matos2015-02-231-4/+0
|
* kms-winsys: Defer setting new surfaces until swap buffersRui Matos2015-02-231-8/+26
| | | | | | | | | | | | | We can't just destroy and replace the EGL and gbm surfaces while they are still in use i.e. while there is a pending flip. In fact, in that case, we were calling gbm_surface_destroy() on a surface that still had the front buffer locked and then, on the flip handler, gbm_surface_release_buffer() for a buffer that didn't belong to the new surface. Instead, we still allocate new surfaces when requested but they only replace the old ones on the next swap buffers when we're sure that the previous flip has been handled and buffers properly released.
* Updated Turkish translationNecdet Yücel2015-02-211-159/+192
|
* glx: Precisely wait for the next vblankChris Wilson2015-02-041-3/+1
| | | | | | | | | | | | | | | Currently the code queries the current msc then tries to approximate the value of the next msc satisfing the modulus 2 for when to wait. This introduces some instability as the msc may tick over during the roundtrip leading to a 32ms wait instead of a 16ms wait. This happens often enough to cause jerky animations, and affect gnome-shell-perf-tool. A simpler solution is just use a single roundtrip by using WaitForMsc to ask the driver to compute the next vblank itself. Cc: Owen W. Taylor <otaylor@fishsoup.net> Cc: Robert Bragg <robert@linux.intel.com> Reviewed-by: Robert Bragg <robert@sixbynine.org>
* wayland-winsys: Provide a wl_registry.global_remove callbackRui Matos2015-01-301-0/+9
| | | | | | Otherwise libwayland-client will abort() when we get that event. https://bugzilla.gnome.org/show_bug.cgi?id=743594
* kms-winsys: Mark the framebuffer to be bound when setting a new layoutRui Matos2015-01-301-0/+2
| | | | | | We need to bind the context to the new EGL surface we just created. https://bugzilla.gnome.org/show_bug.cgi?id=741881
* Support automake 1.15Ting-Wei Lan2015-01-291-1/+1
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=743688 Reviewed-by: Robert Bragg <robert@sixbynine.org>
* mir: use output names that are more conformat to the one used by XmirMarco Trevisan (Treviño)2014-12-121-13/+9
| | | And by X itself...
* mir: add renderer event listener supportMarco Trevisan (Treviño)2014-12-102-11/+99
|
* mir: don't always allocate when getting the mir surfaceMarco Trevisan (Treviño)2014-12-092-1/+16
| | | Add proper documentation on header file
* mir: fix mir surface recreation on resize, bind and update pointersMarco Trevisan (Treviño)2014-12-091-6/+22
| | | | | | don't try to read from free'd memory allocation, copy stuff before deinitializing the old onscreen. Also, don't try to resize a foreign surface.
* mir: correctly init/clear mutex and use prgname for surfaceMarco Trevisan (Treviño)2014-12-091-1/+3
|
* mir: return proper surface / connection only when valid, without failingMarco Trevisan (Treviño)2014-12-091-3/+6
|
* mir: release surfaces on errorsMarco Trevisan (Treviño)2014-11-211-0/+2
|
* mir: add public method to resize a cogl onscreenMarco Trevisan (Treviño)2014-11-212-9/+113
| | | This will internally recreate a new surface with proper parameters
* cogl.h: include mir renderer if the platform is supportedMarco Trevisan (Treviño)2014-11-201-0/+3
|
* mir: only allow to set foreign surfaces with hardware bufferMarco Trevisan (Treviño)2014-11-202-4/+12
| | | And return a CoglBool accordingly.
* mir: return whether a foreign connection has been set or notMarco Trevisan (Treviño)2014-11-202-6/+9
|
* mir: release a connection on errorMarco Trevisan (Treviño)2014-11-181-0/+1
|
* mir: improve error loggingMarco Trevisan (Treviño)2014-11-181-8/+16
|
* mir: use standard c typeswip/mirMarco Trevisan (Treviño)2014-11-181-7/+7
|
* mir: add support for Mir OutputsMarco Trevisan (Treviño)2014-11-171-2/+120
|
* mir: update the framebuffer size on resize eventsMarco Trevisan (Treviño)2014-11-171-0/+91
| | | | | We need to use a mutex as mir handles these on different threads, also using an event idle prevents to get initialization errors on cogl side.
* mir: set last state after initializing the surfaceMarco Trevisan (Treviño)2014-11-171-2/+2
|
* mir: add support for foreign surfacesMarco Trevisan (Treviño)2014-11-173-10/+51
|
* mir: add support for foreign displayMarco Trevisan (Treviño)2014-11-174-7/+142
|
* cogl: add Mir EGL platformMarco Trevisan (Treviño)2014-11-178-0/+531
|
* cogl-kms-display: Fix doc commentAdel Gadllah2014-10-031-1/+1
|
* Updated Swedish translationSebastian Rasmussen2014-09-191-169/+190
|
* Updated Korean translationSeong-ho Cho2014-09-121-166/+195
|
* examples/cogl-texture-pixmap-x11: Add a --stereo command line optionOwen W. Taylor2014-07-171-4/+32
| | | | | | | | If --stereo is passed, then the texture pixmap is created as a stereo texture pixmap, and also, if passed in conjunction with --gears, glxgears is also run with the -stereo option. Reviewed-by: Robert Bragg <robert.bragg@intel.com>
* examples/cogl-x11-tfp: Add a --gears option to run glxgearsOwen W. Taylor2014-07-171-27/+152
| | | | | | | | If --gears is passed on the command line, glxgears is run, and is used for the source window rather than drawing solid rectangles into a window we create outselves. Reviewed-by: Robert Bragg <robert.bragg@intel.com>
* CoglTexturePixmapX11: add support for stereo contentOwen W. Taylor2014-07-177-44/+253
| | | | | | | | | | Add cogl_texture_pixmap_x11_new_left() and cogl_texture_pixmap_x11_new_right() (which takes the left texture as an argument) for texture pixmap rendering with stereo content. The underlying GLXPixmap is created using a stereo visual and shared between the left and right textures. Reviewed-by: Robert Bragg <robert.bragg@intel.com>
* Add a simple example of stereo drawingOwen W. Taylor2014-07-172-1/+155
| | | | | | | Add a new example that draws a triangle floating in the air in front of the screen. Reviewed-by: Robert Bragg <robert.bragg@intel.com>
* Add support for setting up stereo CoglOnscreensOwen W. Taylor2014-07-1710-3/+185
| | | | | | | | | | | | | | | If we want to show quad-buffer stereo with Cogl, we need to pick an appropriate fbconfig for creating the CoglOnscreen objects. Add cogl_onscreen_template_set_stereo_enabled() to indicate whether stereo support is needed. Add cogl_framebuffer_get_stereo_mode() to see if a framebuffer was created with stereo support. Add cogl_framebuffer_get_stereo_mode() to pick whether to draw to the left, right, or both buffers. Reviewed-by: Robert Bragg <robert.bragg@intel.com>
* Post-release version bump to 1.18.3Robert Bragg2014-07-041-2/+2
|
* Release 1.18.2 (release)1.18.2Robert Bragg2014-07-041-4/+4
|
* Updates NEWS for the 1.18.2 releaseRobert Bragg2014-07-041-0/+28
|
* examples/cogl-x11-tfp: Fix compilationOwen W. Taylor2014-07-031-1/+3
| | | | | Fix a couple of minor compilation problems from a bad rebase - a missing label and a missing variable.
* examples/cogl-x11-tfp.c: Handle WM_DELETE_WINDOWOwen W. Taylor2014-07-031-0/+12
| | | | | | | | Clean up cleanly when closed rather than dying with an X Error - we do this by advertising support for the WM_DELETE_WINDOW protocol and handling the client message. Reviewed-by: Robert Bragg <robert.bragg@intel.com>
* examples/cogl-x11-tfp.c: Wait for the window to be mappedOwen W. Taylor2014-07-031-1/+10
| | | | | | | | | | Wait for the main window (and hence the window we create within the main window to redirect) to be mapped and become viewable before we try to call XCompositeNameWindowPixmap() - XComposeNameWindowPixmap() produces a BadMatch error on a non-viewable window. Reviewed-by: Robert Bragg <robert.bragg@intel.com>
* kms-winsys: Add api that tells cogl to ignore a crtcAdel Gadllah2014-06-303-2/+42
| | | | | | | | An application might for whatever reason want to control a specific output directly and have cogl only swap the other outputs if any. So add an api that allows setting a crtc to be ignored. https://bugzilla.gnome.org/show_bug.cgi?id=730536
* kms_winsys: Add cogl_kms_renderer_get_gbm apiAdel Gadllah2014-06-302-0/+15
| | | | | | Applications might want to get the underlying gbm device so add a getter for it. https://bugzilla.gnome.org/show_bug.cgi?id=730536
* Use the EGL_KHR_surfacless_context extensionNeil Roberts2014-06-178-71/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The surfaceless context extension can be used to bind a context without a surface. We can use this to avoid creating a dummy surface when the CoglContext is first created. Otherwise we have to have the dummy surface so that we can bind it before the first onscreen is created. The main awkward part of this patch is that theoretically according to the GL and GLES spec if you first bind a context without a surface then the default state for glDrawBuffers is GL_NONE instead of GL_BACK. In practice Mesa doesn't seem to do this but we need to be robust against a GL implementation that does. Therefore we track when the CoglContext is first used with a CoglOnscreen and force the glDrawBuffers state to be GL_BACK. There is a further awkward part in that GLES2 doesn't actually have a glDrawBuffers state but GLES3 does. GLES3 also defaults to GL_NONE in this case so if GLES3 is available then we have to be sure to set the state to GL_BACK. As far as I can tell that actually makes GLES3 incompatible with GLES2 because in theory if the application is not aware of GLES3 then it should be able to assume the draw buffer is always GL_BACK. Reviewed-by: Robert Bragg <robert.bragg@intel.com> (cherry picked from commit e5f28f1e75db9bdc4f2688f420a74f908f96cf76) Conflicts: cogl/winsys/cogl-winsys-egl-kms.c cogl/winsys/cogl-winsys-egl-x11.c
* Add a COGL_EXT_IN_GLES3 option to specify extensions that are in GLES3Neil Roberts2014-06-176-42/+102
| | | | | | | | | | | Some features that were previously available as an extension in GLES2 are now in core in GLES3 so we should be able to specify that with the gles_availability mask of COGL_EXT_BEGIN so that GL implementations advertising GLES3 don't have to additionally advertise the extension for us to take advantage of it. Reviewed-by: Robert Bragg <robert.bragg@intel.com> (cherry picked from commit 4d892cd97558da61ba526f947ac0555ebab632d2)
* MSVC 2010+ Projects: Update "Installation" ProcessChun-wei Fan2014-06-092-39/+47
| | | | | | | | | | | | | | | Currently, due to the way that Visual Studio 2010+ projects are handled, the "install" project does not re-build upon changes to the sources, as it does not believe that its dependencies have changed, although the changed sources are automatically recompiled. This means that if a part or more of the solution does not build, or if the sources need some other fixes or enhancements, the up-to-date build is not copied automatically, which can be misleading. Improve on the situation by forcing the "install" project to trigger its rebuild, so that the updated binaries can be copied. This does trigger an MSBuild warning, but having that warning is way better than not having an up-to-date build, especially during testing and development.