Commit Graph

41 Commits

Author SHA1 Message Date
BearOso fa03a2c5b2 Gtk: Remove some superfluous graphics options.
PBOs aren't generally faster any more.
NPOT textures are widely supported.
Giving control over to Gtk while waiting for a swap doesn't really work
that well, so the sync control extension options are removed.

This means the OpenGL and Vulkan backends are in parity with regard to
options.
2023-03-07 13:58:21 -06:00
Brandon Wright e17ff69533 Gtk: Switch codebase to gtkmm.
GTK: Remove support for GTK+ 2.0.

GTK 3 is stable and widespread enough now.

GTK: Rearrange headers to eliminate gtk_s9xcore.h

Gtk: Initial gtkmm conversion work.

Gtk: More gtkmm conversion and bug fixing.

Gtk: More gtkmm fixes.

Gtk: More Fixes

OpenGL no longer creates a second window.
Accelerators are fixed.

Gtk: More fixes

Removed GLX context dependency on Gtk.

Gtk: Fix formatting.

Gtk: Remove a #pragma once
2020-07-17 14:48:34 -05:00
Brandon Wright 3c3ea985ef GTK: Refactoring of display output code.
Moves buffer management to single location.
2020-06-30 17:28:10 -05:00
Brandon Wright 7dde81a77d GTK:OpenGL: Remove fences variable. 2019-03-06 11:10:06 -06:00
Brandon Wright 7b310a0cf4 GTK: Swap glFenceSync for sync control extension. 2019-03-02 15:25:59 -06:00
Brandon Wright fcdead0028 GTK+: Use lowercase true/false, bool in more places. 2018-12-28 17:07:32 -06:00
Brandon Wright 8106c284d5 GTK+: OpenGL: Use fence to allow GTK+ to run during wait. 2018-12-03 20:03:53 -06:00
Brandon Wright dc4de5b7c7 GTK+: OpenGL: Add fences as glFinish alternative. 2018-12-03 17:32:12 -06:00
Brandon Wright 4471bacf18 GTK+: Silence NULL pointer arithmetic warning. 2018-11-17 15:24:56 -06:00
Brandon Wright f0ddb097f9 Mark all of GTK+ with header stub, and a couple others. 2018-11-15 17:42:29 -06:00
Brandon Wright 21c1863782 GTK+: OpenGL: Allow legacy, no shader, paths. 2018-11-09 15:46:13 -06:00
Brandon Wright 0f15a398f9 GTK+: Fix GTK+ 2.0 compatibility again. 2018-11-06 18:04:10 -06:00
Brandon Wright c4412fa77b GTK+: Use a GLSL 1.10 shader for OpenGL < 3.0. 2018-10-28 11:22:00 -05:00
Brandon Wright 09498e72e0 GTK+: Modernize OpenGL code.
Requires OpenGL 2.0 or above. Everything is core-compatible now.
2018-10-27 18:13:51 -05:00
Brandon Wright 8c8e04fec2 Remove support for old-style XML shaders. 2018-10-27 16:16:41 -05:00
Brandon Wright aa2db4c186 Remove excess styling. 2018-10-27 16:06:16 -05:00
Brandon Wright 0ce6970cd6 GTK+: Force OpenGL 2.0 compatibility. 2018-10-27 15:56:22 -05:00
Brandon Wright 94c2c4c460 Remove 24-bit PBO format. It's actually useless. 2018-10-27 15:33:55 -05:00
Brandon Wright 752da257b8 Remove reconfigure method. 2018-10-26 19:14:25 -05:00
Brandon Wright f9b553638f Make OpenGL context management separate. 2018-10-26 18:22:51 -05:00
Brandon Wright b35d8d9ae5 Rename Wayland helpers to Wayland egl context. 2018-10-26 15:49:56 -05:00
Brandon Wright daec5ccc57 Better Wayland OpenGL.
Still breaks with scale factors.
2018-10-21 17:05:37 -05:00
Brandon Wright 5b76a2b6c7 EGL X11 leaks badly. Revert Wayland/GL stuff ATM. 2018-10-20 16:47:43 -05:00
Brandon Wright 434c943a0b Pass input through subsurface. 2018-10-18 18:08:01 -05:00
Brandon Wright e70675db98 Basic OpenGL on Wayland. Fullscreen is broken. 2018-10-18 17:47:39 -05:00
Brandon Wright 55723df0a6 GTK: Add EGL WSI for OpenGL. 2018-10-15 14:04:28 -05:00
Brandon Wright 8200a7bb5f Drop Cg shaders from GTK+ port. 2018-05-24 13:00:49 -05:00
Brandon Wright a1fa47a978 Remove GUI specifics in save function. 2018-05-13 11:02:52 -05:00
Brandon Wright fac1174f6b Save shader parameters. 2018-05-12 16:22:27 -05:00
Brandon Wright 6ad137aca2 Work towards configurable parameters. 2018-05-12 15:07:07 -05:00
Brandon Wright 9da5a83550 Rudimentary GLSL Shader support. 2018-05-10 18:47:55 -05:00
Brandon Wright e0de36dbb6 Rename some functions. 2018-05-08 17:56:13 -05:00
Brandon Wright f7bf180b39 Use libepoxy to cut out the OpenGL loading cruft. 2018-05-08 17:52:40 -05:00
Brandon Wright b34ecf8973 Add rudimentary Cg support for Gtk+ based on the Win32 port. 2018-05-08 16:56:54 -05:00
Brandon Wright 4cdb8f6e65 Overscan issues. 2018-05-04 17:12:22 -05:00
Brandon Wright dcfb7c3ad0 Use 16-bit instead of 15-bit pixel format on Gtk+. Add splash screen with test patterns. 2018-05-04 14:29:13 -05:00
Brandon Wright a1e9887d58 Add support for glXSwapIntervalEXT. 2011-01-09 03:32:38 -06:00
Brandon Wright ab6f76a9a3 Use CLAMP_TO_BORDER with shaders and POT textures. 2010-10-28 11:27:07 -05:00
Brandon Wright 007f73c2b3 Change GLSL to use bsnes 071's unified files. 2010-10-21 21:18:56 -05:00
Brandon Wright 31f45619a5 Import of GTK port changes. 2010-09-26 04:19:15 -05:00
OV2 d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00