Commit Graph

2285 Commits

Author SHA1 Message Date
Camilla Berglund
3fd17741bc Added macro for including the GLES2 header. 2012-07-19 23:20:47 +02:00
Camilla Berglund
be12cbca15 Added separate platform headers for EGL and GLX. 2012-07-19 23:06:15 +02:00
Camilla Berglund
f004aa0f82 Formatting. 2012-07-19 22:29:01 +02:00
Camilla Berglund
311b9df102 Added error for unsupported call. 2012-07-19 22:11:45 +02:00
Camilla Löwy Berglund
11143baa95 Merge pull request #9 from Cloudef/EGL
EGL work.
2012-07-19 07:49:07 -07:00
Camilla Berglund
5e36fb0e38 Formatting. 2012-07-19 02:35:34 +02:00
Camilla Berglund
c1931eda37 Formatting, limited to MSVC. 2012-07-19 02:15:01 +02:00
Jorge Rodriguez
0627a2c2eb Added option for MSVC static runtime library. 2012-07-19 02:12:33 +02:00
Jari Vetoniemi
6b1344af3c Use GLFWglproc return type 2012-07-17 23:06:30 +03:00
Jari Vetoniemi
db0a4b599d Fix GLubyte warning, by casting to (char*) 2012-07-17 22:29:09 +03:00
Jari Vetoniemi
739be03373 Obey the OPENGL_ES2_PROFILE hint 2012-07-17 22:27:01 +03:00
Jari Vetoniemi
2e7d91ea5a Only consider OpenGL ES contexes
EGL_WINDOW_BIT is compared agaist wrong attribute
2012-07-17 22:27:01 +03:00
Cloudef
5cf8b8d3fa Remove useless define 2012-07-17 22:27:01 +03:00
Cloudef
2815630688 Reflect X visual changes to EGL code 2012-07-17 22:27:01 +03:00
Cloudef
819b09d479 Add member struct defines for window's context members so code can be shared 2012-07-17 22:25:47 +03:00
Cloudef
478eac2fe0 Create window surface and add fallback for visual info retival 2012-07-17 22:25:47 +03:00
Cloudef
e06515eaa0 Improve OpenGL version parsing from string 2012-07-17 22:25:47 +03:00
Cloudef
28db982d0a Add x11_fullscreen.c to the source list 2012-07-17 22:25:47 +03:00
Cloudef
d99e2385c1 Add temporary #ifdef in x11_fullscreen so EGL compiles 2012-07-17 22:25:47 +03:00
Cloudef
29b4ed4e9a Don't build tests and examples when building with EGL 2012-07-17 22:25:47 +03:00
Cloudef
c878281487 Add EGL platform opengl implentation 2012-07-17 22:25:47 +03:00
Cloudef
812ebe200d Add EGL X11 platform header 2012-07-17 22:25:47 +03:00
Cloudef
27a7cc5aa8 Add FindEGL.cmake module 2012-07-17 22:25:47 +03:00
Cloudef
778a76683a Add EGL X11 platform header 2012-07-17 22:25:47 +03:00
Cloudef
85067ede2e Add EGL related configurations 2012-07-17 22:25:47 +03:00
Cloudef
1327c124a4 Seperate Context from Window in CMakeLists, add option to build for EGL 2012-07-17 22:25:47 +03:00
Camilla Löwy Berglund
7fb251c626 Merge pull request #8 from Mith/master
Fixed MESA_swap_control copy-pasta.
2012-07-17 04:44:44 -07:00
Simon Voordouw
173e321ea6 fix MESA_swap_control copy-pasta 2012-07-17 08:28:43 +02:00
Camilla Berglund
ddc4d5e8a2 Removed OS name from MinGW files. 2012-07-15 16:56:50 +02:00
Camilla Berglund
aa328c0bbd Added support for GLX_MESA_swap_interval. 2012-07-15 16:49:05 +02:00
Camilla Berglund
bd630c4e83 Added missing newline. 2012-07-11 00:33:32 +02:00
Camilla Berglund
a0429e4b6e Removed duplicate type declarations. 2012-07-11 00:33:19 +02:00
Camilla Berglund
9498ac52b9 Simplified Win32 video mode enumeration. 2012-07-06 22:52:53 +02:00
Camilla Berglund
c68a4aa2ef Formatting. 2012-07-06 17:47:09 +02:00
Camilla Berglund
e188f6c4e1 Replaced manual duplication with strdup. 2012-07-06 14:37:02 +02:00
Camilla Berglund
73622a2f3c Formatting. 2012-07-06 14:36:29 +02:00
Camilla Berglund
247ee76b5c Added monitor physical dimensions to output. 2012-07-06 14:08:01 +02:00
Camilla Berglund
db066b4f46 Win32 Unicode fixes. 2012-07-06 14:04:57 +02:00
Camilla Berglund
78bc624ba9 Fixed use of removed functions. 2012-07-05 18:52:06 +02:00
Camilla Berglund
c06f838d88 Merge branch 'master' into multi-monitor
Conflicts:
	.gitignore
	examples/CMakeLists.txt
	include/GL/glfw3.h
	src/CMakeLists.txt
	src/internal.h
	src/win32_platform.h
	src/win32_window.c
	src/x11_fullscreen.c
	src/x11_platform.h
	tests/listmodes.c
2012-07-05 16:15:01 +02:00
Camilla Berglund
34c93a5124 Disabled window restoration on Cocoa. 2012-07-02 15:38:29 +02:00
Camilla Berglund
e7c4e77214 Fixed cursor positioning in fullscreen on Cocoa. 2012-07-02 15:23:36 +02:00
Camilla Berglund
ee66e5fa10 Merged fix for bug #3528964. 2012-07-02 00:36:20 +02:00
Camilla Berglund
cef9dea1d2 Unified nomenclature for cursor positions. 2012-06-22 13:57:25 +02:00
Camilla Berglund
e6896a499c Merge branch 'master' of github.com:elmindreda/glfw 2012-06-21 13:36:04 +02:00
Camilla Berglund
cea0e30499 Fixed cursor centering using wrong mode. 2012-06-21 13:35:35 +02:00
Camilla Berglund
acdda3ef4f Added toolchain files for MinGW-w64 on Cygwin. 2012-06-17 16:35:48 +02:00
Camilla Berglund
14bcc51f3b Removed config macro values. 2012-06-12 03:00:16 +02:00
Camilla Berglund
41be34eadf Fixed window position on Win32. 2012-06-12 02:29:18 +02:00
Camilla Berglund
11743758f8 Merge branch 'master' of github.com:elmindreda/glfw 2012-06-11 14:30:19 +02:00