Commit Graph

58 Commits

Author SHA1 Message Date
Ariel Abreu
f7ebb81c44
Fix glMultiDrawElements and glShaderSource declarations in gl.h
My compiler was complaining about conflicting declarations between gl.h and glext.h

Honestly, I'm not sure why those functions are in both headers, but 🤷
2020-08-01 22:08:23 -04:00
TheBrokenRail
cda40d9947 Code Formatting Using Patched ClangFormat 2020-05-12 17:04:15 -04:00
Andrew Hyatt
b2a54b1871 Revert "Link to CF using the new way"
This reverts commit a8364108d4.
2017-08-22 12:20:24 -07:00
Andrew Hyatt
a8364108d4 Link to CF using the new way 2017-08-10 17:46:00 -07:00
Andrew Hyatt
1c81808e25 Create include directories 2017-08-07 23:33:12 -07:00
Sergey Bugaev
13da68a5db Build OpenGL 2017-07-14 00:34:28 +03:00
Rolf Jansen
bbba7c2199 in the *.xcodeproj files, set indent and tab width to 4 and use tabs to 0, so file editing within the respective projects will honour these settings instead of any custom user settings 2015-10-05 08:11:19 -03:00
Christopher Lloyd
631462795d Reformat entire project using newer style 2015-05-23 20:15:45 -04:00
Christopher Lloyd
426eaa4bcd overhaul of targets and configurations, move from multiple targets to single targets and multiple configurations 2015-05-16 11:07:53 -04:00
Christopher Lloyd
51d6f4b24c merge c97fca6 andyvn22-cocotron 2015-04-11 22:39:49 -04:00
Christopher Lloyd
a4cf947897 merge 0e5bc1f andyvn22-cocotron 2015-04-11 22:14:17 -04:00
Christopher Lloyd
1063458a2a merge b3ac04b 2015-03-29 23:01:12 -04:00
Christopher Lloyd
9918958baa fix __declspec use 2013-05-26 01:07:20 -04:00
Christopher Lloyd
2ad3151efb upgrade some projects to 4.6, remove xcconfigs from resources build phase 2013-04-05 11:24:24 -04:00
Christopher Lloyd
54c3412526 move bulk of build settings to xcconfigs, clean out unneeded build rules, phases and settings 2013-04-05 11:01:56 -04:00
Christopher Lloyd
a797940597 delete MacOS AppKit target and move some settings to xcconfig 2013-04-04 09:37:30 -04:00
Christopher Lloyd
794364bc65 add xcconfigs to projects 2013-03-31 23:27:37 -04:00
Andy Van Ness
c97fca60a0 Added kCGLCPSurfaceFrame and kCGLCPWindowNumber 2013-02-11 22:49:34 -05:00
Airy ANDRE
8f07b0bdc6 Merge with the trunk with a few fixes
- make the JPEG exporters to work by including proper library-installation detection and not using unimplemented API
- disable/comment special observing on addXXX: & removeXXX: method, that throw exceptions when you have some of these methods not using NSSet
- repair the NS<geometry>FromString methods ('{%g,%g}' is a good scan string, not '{"%g","%g"}')
- keep our branch changes on Win32 keyboard handling as it supports dead-keys
2012-11-28 18:34:54 +01:00
Andy Van Ness
0e5bc1f800 fixed Linux AppKit dependencies & build settings 2012-07-13 18:56:18 -04:00
Christopher Lloyd
f442357e0d validated projects with Xcode 4 2012-03-06 09:56:28 -05:00
Christopher Lloyd
be53f5e0b9 replace build rule with compiler variable in build setting for Windows 386 2012-03-05 22:12:14 -05:00
Christopher Lloyd
8d9e281df4 merge in OpenGL fixes, zooming behavior change 2012-01-27 01:04:05 -05:00
Christopher Lloyd
77beebf4ef remove use of opengl context for window final surface, force child window option on context 2012-01-07 23:32:37 -05:00
Christopher Lloyd
57b73c6421 improve painting, implement hidden surface 2011-11-27 15:14:03 -05:00
Christopher Lloyd
6cb59ad148 concurrency fixes 2011-11-12 20:56:33 -05:00
Christopher Lloyd
aa8fc188a5 move opengl surface sizing out of overlay into context 2011-10-13 10:23:28 -04:00
Autorelease Pool
b3ac04b9f4 fix issue 658 2011-10-09 14:48:28 +02:00
Christopher Lloyd
16d286b6de move generic OTHER_LDFLAGS for windows to xcconfig 2011-09-28 10:55:06 -04:00
Christopher Lloyd
1200b1f942 remove almost all top-level configuration build variables 2011-09-28 10:14:44 -04:00
Christopher Lloyd
5fbac7dc5c move deployment options to xcconfig 2011-09-27 10:25:49 -04:00
Christopher Lloyd
1fc511eda0 remove EXECUTABLE_SUFFIX, fix Foundation base xcconfig 2011-09-26 23:28:47 -04:00
Christopher Lloyd
028364941e move DEPLOYMENT_LOCATION to xcconfig 2011-09-26 23:19:53 -04:00
Christopher Lloyd
a9a5306e07 add framework xcconfig 2011-09-26 18:06:39 -04:00
Christopher Lloyd
fe2733fa5a move Windows INSTALL_PATH to xcconfig 2011-09-26 14:32:36 -04:00
Christopher Lloyd
2d69bdf6a3 add basic xcconfig's for current targets and update build paths to use EFFECTIVE_PLATFORM_NAME 2011-09-26 14:16:24 -04:00
Christopher Lloyd
bf2422bea6 almost pbuffer backing store 2011-03-30 13:08:24 -04:00
Christopher Lloyd
2dab550273 Fix NSTextField regression due to previous NSCell changes, Win32Window flushBuffer locking 2011-03-25 11:42:04 -04:00
Christopher Lloyd
bb52b16c47 OpenGLView fixes 2010-11-30 14:40:27 -05:00
Christopher Lloyd
8037820806 OpenGLView/Context/CGL fixes to not use child windows 2010-11-08 13:08:06 -05:00
Christopher Lloyd
75ad100e06 OpenGL fixes/additions 2010-11-03 15:48:20 -04:00
Christopher Lloyd
78c061c1ec - retain fix in initWithFrame: in NSOpenGLView
- fixed mouseDragged: behavior when outside view
- fixed NSOpenGLView WM_PAINT message flooding
- CGLPBufferObj rough-in
- fix NSOpenGLView mouse coordinates
2010-05-27 21:59:11 -04:00
Christopher Lloyd
f878c01001 Substantial NSOpenGL/CGL/Win32Window changes for alpha blended NSOpenGLView's in alpha blend windows. Includes:
- Removed NSOpenGLDrawable_gdiView, moved private child window to CGLContext
- Added some more CGL calls
- NSWindow/Win32Window frame is now actual frame
- X11 OpenGL and Window frame broken
2010-04-26 22:56:25 -04:00
Christopher Lloyd
61d3e2f55e standardize all build directories as in project directory 2010-04-01 13:01:05 -04:00
Christopher Lloyd
de66b31dd0 - pthread.h additions
- CGLContextParameter, kCGLCPSwapInterval kCGLCPSurfaceOpacity added
- CGLSetParameter, CGLGetParameter skeletons
- NSOpenGLContext, getValues: forParameter:, setValues: forParameter:
- NSGoRightTemplate.pdf, NSGoLeftTemplate.pdf and their .ai originals added
- Julian Mayer's implementation fix for kCGLCPSwapInterval in CGLSetParameter
- NSFileManager_win32, stringWithFileSystemRepresentation:length: added
2010-03-22 14:10:49 +00:00
Christopher Lloyd
31c3129d21 OpenGL.framework header fixes 2010-01-09 21:55:16 +00:00
Christopher Lloyd
c3dead2920 - add FreeBSD targets to all frameworks
- brought X11 back to current for Darwin and FreeBSD
- removed CairoCacheImage, added O2Surface_cairo
- separated TTFFont into O2FontState_cairo/O2Font_FT/TTFFont
- renamed CairoContext O2Context_cairo
- added O2Context_builtin_FT which implements Onyx2D+FreeType
- moved font queries to X11Display
- added NSPlatform_bsd.m to AppKit
- encoding change/fix(?) in NSColor.m
- moved showText: into abstract class O2Context from _gdi classes
- fix for ObjCModule.m to get executable path
2009-12-16 19:27:00 +00:00
Christopher Lloyd
0b947d7536 (fixes issue 426) by Julian Mayer, fixed struct tags for C++ 2009-10-29 16:12:17 +00:00
Christopher Lloyd
00f59e8b51 i379, CGLCreateContext/CGLDestroyContext/CGLLockContext/CGLUnlockContext/CGLGetCurrentContext/CGLSetCurrentContext implemented for Windows, NSOpenGLContext currentContext is now per-thread 2009-09-02 20:25:49 +00:00
Christopher Lloyd
e0e4944c45 added glext.h to OpenGL.h, implemented CGRectContainsPoint 2009-08-23 18:13:36 +00:00