Commit Graph

88 Commits

Author SHA1 Message Date
laurentgom
800638ed82 Each window now has its own X display, which solves potential multithreading issues (on Linux)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1192 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 14:11:50 +00:00
laurentgom
d3125eecd7 Better handling of X display in OpenGL contexts, which solves some multithreading issues (on Linux)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1191 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 13:41:28 +00:00
laurentgom
42a3027d7c The internal code of VideoMode now uses its own connection to the display instead of a global one (on Linux)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1190 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 12:56:04 +00:00
LaurentGom
07c0318493 Fixed compile errors
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1178 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-17 06:43:27 +00:00
LaurentGom
ac773e8161 FS#109 - Fix sf::Listener's target being actually a relative direction
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1176 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 19:33:56 +00:00
LaurentGom
374af05d5f Replaces glColor4f with glColor4ub in internal code
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1174 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 13:28:44 +00:00
LaurentGom
0f7cb43902 Got rid of glBlendFuncSeparate which caused problems on old hardware -- need to find a proper fix for incorrect alpha values when rendering to a RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1172 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 10:27:28 +00:00
laurentgom
5869b916ef P-Buffer implementation fixed and validated on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1169 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 09:37:35 +00:00
laurentgom
1ce18ed1b9 Fixed compile errors on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1168 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 08:07:30 +00:00
LaurentGom
1bf35973be Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1167 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-11 22:38:46 +00:00
LaurentGom
45b150648d Changed internal naming convention (local variables now start with a lower case character)
Removed the AudioResource class

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1166 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-11 22:17:24 +00:00
LaurentGom
e3973714b2 FS#122 - Http::Response::GetField should be case insensitive
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1160 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-10 12:01:51 +00:00
LaurentGom
06525907c1 FS#121 - Improve accuracy of rendering
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1157 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-04 19:20:13 +00:00
LaurentGom
e2ddadb395 Fixed ending slash not added to a Http::Request URI when specified in the constructor
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1156 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-04 16:44:36 +00:00
LaurentGom
7cc00085d8 Added viewport handling in sf::View
Upgraded SFML.Net project files to VS2008

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1155 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-26 13:24:29 +00:00
LaurentGom
1bb96087ad FS#10 - Add rotation to sf::View
Slightly changed the public interface of sf::View

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1152 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-21 21:23:30 +00:00
LaurentGom
5978d015eb Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1151 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-19 09:36:49 +00:00
LaurentGom
f04086c72b FS#118 - Add "Connection: close" by default for HTTP 1.1 requests
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1148 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-18 16:13:42 +00:00
LaurentGom
e4042e8b4f FS#117 - Fix POST requests not working with sf::Http
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1147 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-18 10:34:11 +00:00
laurentgom
9342dc77bb Added the Linux P-Buffer implementation (WIP)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1146 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-17 08:49:20 +00:00
laurentgom
0ad6295ff4 Fixed the Linux makefile of the Qt sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1145 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-17 07:55:46 +00:00
laurentgom
470963326e Fixed Linux makefile
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1144 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-17 07:40:22 +00:00
ceylo
4af909c207 Fixed issue with beep produced by Esc and functions keys.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1142 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-14 14:36:11 +00:00
laurentgom
ab580aa35b PostFx::SetTexture now takes a const sf::Image*
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1141 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-14 11:00:48 +00:00
laurentgom
e6483d2165 Added initialization of GLEW in sf::Drawable (for glBlendFuncSeparate)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1140 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-14 06:47:25 +00:00
laurentgom
b86c4627ab Added functions and overloads to sf::Rect
Slightly changed the sf::View interface


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1138 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-13 21:13:43 +00:00
laurentgom
92e79b8123 Fixed blending functions so that alpha is properly forwarded when rendered to a RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1137 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-13 19:09:02 +00:00
laurentgom
0704e242c0 Disabled smoothing on RenderImage's underlying images
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1136 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-13 07:57:42 +00:00
laurentgom
2deb8bd021 Added RenderImage
Cleaned internal CSFML code
Synchronized with trunk

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1135 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-11 15:49:36 +00:00
laurentgom
42c5800d4c FS#88 - Replace Set/GetCenter with Set/GetOrigin in sf::Drawable
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1121 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-01 15:58:13 +00:00
laurentgom
f624f16350 Fixed windows' context not activated by default after their creation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1119 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-01 13:41:38 +00:00
laurentgom
d8dc34b199 Fixed Linux implementation of ContextGL and ThreadLocalImpl
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1117 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-31 11:53:28 +00:00
laurentgom
23bf546b6a FS#84 - Rewrite the OpenGL context handling
FS#66 - Free the global rendering context
Added thread-local storage classes

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1116 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-31 11:38:54 +00:00
laurentgom
520169fdc6 tagged version 1.5, trunk is now version 1.6
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1113 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 16:05:07 +00:00
laurentgom
05259e95de Updated copyrights again
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1109 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 15:41:18 +00:00
ceylo
6e09596e70 Added user notice about antialiasing issues.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1102 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 14:10:28 +00:00
ceylo
cb511644db Fixed problem with fullscreen/windowed display mode. Added check for Cocoa window import.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1094 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-21 15:07:33 +00:00
ceylo
40fd859590 Fixed crash with Cocoa window import.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1091 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-17 12:10:16 +00:00
laurentgom
cb0f429167 FS#111 - Fixed joysticks sometimes not working at all on Vista
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1090 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-13 18:12:33 +00:00
laurentgom
494c8e6d0f FS#110 - Fixed 1 pixel offset in Sprite::GetPixel when FlipX or FlipY is set
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1088 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-08 09:58:07 +00:00
laurentgom
635f92d98d Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1087 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-06 20:06:14 +00:00
laurentgom
19de148351 Updated copyright
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1085 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-06 18:37:14 +00:00
laurentgom
5c09eb64b4 Fixed a comment :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1083 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-04 12:47:49 +00:00
laurentgom
4d44a91ced FS#107 - Got rid of whatismyip.org as the default server for public IP retrieval
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1081 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-04 07:17:04 +00:00
laurentgom
8a993dca06 FS#106 - Fixed undefined behaviour when rendering a sprite bound to an empty image
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1080 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-04 07:05:13 +00:00
laurentgom
22c225c64f Added SetPlayingOffset to sf::SoundStream and sf::Music
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1076 4e206d99-4929-0410-ac5d-dfc041789085
2009-04-10 22:50:08 +00:00
laurentgom
137ef64f2a Upgraded to libsndfile 1.0.19
Removed stb_vorbis

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1071 4e206d99-4929-0410-ac5d-dfc041789085
2009-04-07 12:11:11 +00:00
laurentgom
392eb219f2 Completed implementation of OpenGL context on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1069 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-28 20:39:38 +00:00
laurentgom
b194b9969a Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1068 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-28 19:24:12 +00:00
laurentgom
19ae448f13 Added Linux implementation of OpenGL context (work in progress)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1066 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-28 18:04:18 +00:00