--- Log opened Sun Aug 01 00:00:26 2010 |
00:04 | | You're now known as TheWatcher[T-2] |
00:09 | | You're now known as TheWatcher[zZzZ] |
00:10 | | cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
00:13 | | cpux- [Moo@Nightstar-20a84089.dyn.optonline.net] has joined #code |
00:14 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code |
00:14 | | cpux- is now known as cpux |
00:55 | | Zed [Zed@Nightstar-e4835f03.or.comcast.net] has quit [Ping timeout: 121 seconds] |
01:09 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
01:12 | | VOrnicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
01:12 | | mode/#code [+o VOrnicus] by Reiver |
01:14 | | VOrnicus is now known as Vornicus |
01:20 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ] |
01:21 | | VOrnicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
01:21 | | VOrnicus is now known as Vornicus |
01:21 | | mode/#code [+o Vornicus] by Reiver |
01:33 | | Attilla [Obsolete@Nightstar-5ec5595a.threembb.co.uk] has quit [Ping timeout: 121 seconds] |
01:41 | | Attilla [Obsolete@Nightstar-5ec5595a.threembb.co.uk] has joined #code |
01:41 | | mode/#code [+o Attilla] by Reiver |
02:06 | | Orthia [orthianz@Nightstar-033a1116.xnet.co.nz] has joined #code |
03:54 | | cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
04:32 | | cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has joined #code |
04:33 | | Zed [Zed@Nightstar-e4835f03.or.comcast.net] has joined #code |
05:59 | | Stalker [Z@2C3C9C.B2A300.F245DE.859909] has quit [Ping timeout: 121 seconds] |
06:46 | | Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
07:36 | | aoanla [AndChat@37647E.0002A6.6691A5.8C0C92] has joined #code |
08:22 | | Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
09:31 | | AndChat| [AndChat@Nightstar-f255011a.range81-156.btcentralplus.com] has joined #code |
09:35 | | aoanla [AndChat@37647E.0002A6.6691A5.8C0C92] has quit [Ping timeout: 121 seconds] |
10:41 | | You're now known as TheWatcher |
10:47 | | Vornicus is now known as Vornicus-Latens |
12:43 | | * TheWatcher stabs the authors of libjpeg until they lear what "proper API documentation" is |
12:48 | <@TheWatcher> | +n |
13:27 | | * jerith stabs Elcipse and its bzr plugin until he convinves them to use an actual local and not keep spamming his console log with spurious errors. |
14:39 | | * TheWatcher blarghs at SDL_LockSurface |
14:43 | <@TheWatcher> | "No operating system or library calls should be made between the lock/unlock pairs", so, do I basically have to copy the entire pixel data by hand (can't use SDL_Blit...) to write it out elsewhere? |
14:44 | | * TheWatcher eyes several pieces of sample code /all of which/ are making system and library calls between lock/unlock pairs, bleeeghs |
15:07 | <@ToxicFrog> | pretty sure SDL_Blit* autolocks |
15:52 | | cpux- [Moo@Nightstar-20a84089.dyn.optonline.net] has joined #code |
15:55 | | cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
15:55 | | cpux- is now known as cpux |
16:15 | | Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
16:37 | | Orthia [orthianz@Nightstar-033a1116.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
16:37 | | Orthia [orthianz@Nightstar-41d64078.xnet.co.nz] has joined #code |
17:15 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
17:44 | | AndChat| [AndChat@Nightstar-f255011a.range81-156.btcentralplus.com] has quit [[NS] Quit: ] |
17:45 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed] |
18:10 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed] |
18:40 | | Orthia [orthianz@Nightstar-41d64078.xnet.co.nz] has quit [Client closed the connection] |
18:41 | | Orthia [orthianz@Nightstar-41d64078.xnet.co.nz] has joined #code |
19:23 | | Vornicus-Latens is now known as Vornicus |
20:24 | <@McMartin> | SDL_Blit* and SDL_FillRect both autolock. |
20:25 | <@McMartin> | The only time you need to lock the surface yourself is when you're messing with the contents of the SDL_Surface personally, AFAIK. |
20:27 | | Orth [orthianz@Nightstar-3f0fc805.xnet.co.nz] has joined #code |
20:29 | | Orthia [orthianz@Nightstar-41d64078.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
20:40 | <@McMartin> | I think TW is offended by the fact that you're putting the thread in a position where it might sleep with the lock held, a traditionally Bad Thing. |
20:42 | | * McMartin bothers *actually reading backscroll* |
20:42 | <@McMartin> | Aha |
20:42 | <@McMartin> | TW: What do you mean by "write it out elsewhere"? |
20:44 | <@McMartin> | Because even though it is a "library call", I can tell you right now that memcpy()ing SDL_Surface::data is safe. |
20:45 | | * McMartin ponders. |
20:45 | <@McMartin> | Let me see what UQM does, actually. |
20:45 | <@McMartin> | Since we basically do have to do that as part of our scaling code. |
20:50 | <@McMartin> | I take it back. We do essentially hand-roll our own memcpy()s as needed, but that's also because we're usually doing math along the way and so we can use MMX or SSE if they're available. |
20:51 | | * McMartin looks at the code we lifted from SDL_gfx |
20:51 | <@McMartin> | SDL_SetColorKey can apparently be safely called on a locked surface |
20:53 | <@McMartin> | Yeah, it looks like mem* from libc are all safe to call on the data object during a lock. |
20:53 | | * McMartin sees calls to memset and memcpy in SDL_gfx. |
20:55 | <@TheWatcher> | Thanks McM. |
20:55 | <@McMartin> | (Well, in rotozoom.c, which we copied verbatim from SDL_gfx) |
20:56 | <@TheWatcher> | (and I'm writing jpeg, png, and maybe tiff writers for SDL surfaces) |
20:56 | <@ToxicFrog> | (doesn't SDL_Image already have those?) |
20:56 | <@McMartin> | (It has readers, not writers) |
20:56 | <@ToxicFrog> | (aah) |
20:57 | <@TheWatcher> | (and the couple of writer implementations I've found are full of spiders) |
20:57 | <@McMartin> | I'm reminded that I'd been meaning to do something similar to SDL_image but for OpenGL surfaces. |
20:57 | <@McMartin> | I'd gotten as far as the libpng reader, and then decided I didn't want to contend with Xgl and WGL just then. |
20:59 | <@McMartin> | I suspect whoever wrote that warning you quoted intended to write "Be careful what you do between lock and unlock; any such span of code should be treated as a critical section in which the code should not loiter" |
20:59 | <@McMartin> | That said, UQM put another synchronization layer above that so that it could ensure that sets of graphics primitives all happened atomically |
21:03 | | * TheWatcher nods |
21:04 | | You're now known as TheWatcher[afk] |
21:10 | | Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds] |
21:19 | | Stalker [Z@5E691D.FC7C16.75EF63.1C6143] has joined #code |
21:36 | | Stalker [Z@5E691D.FC7C16.75EF63.1C6143] has quit [Ping timeout: 121 seconds] |
21:40 | | Derakon [Derakon@Nightstar-5213d778.ca.comcast.net] has joined #code |
21:40 | | mode/#code [+o Derakon] by Reiver |
21:40 | | * Derakon tries to remember how to use SVN. |
21:40 | <@Derakon> | Specifically, I want to grab http://trac.rephial.org/browser/branches/angband-3.1.2 |
21:41 | <@jerith> | svn co <url> [local dir] |
21:41 | <@Derakon> | Sure, but SVN doesn't think that that URL is valid for checkout. |
21:42 | <@Derakon> | I guess I need to find the SVN server instead of the source browser. |
21:42 | <@Derakon> | Oh, found it. svn://rephial.org/angband/trunk |
21:42 | <@McMartin> | You'll probably want to replace "trunk" there with "branches/angband-3.1.2" or you'll be getting something else |
21:43 | <@Derakon> | Danke. |
21:43 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
21:44 | <@McMartin> | I probably don't have to explain this, but just in case: "trunk" is the default SVN name for the unstable development branch; you then branch off of the trunk to do your branches and either reintegrate them later, or keep them out as branches that become release branches. |
21:44 | | Stalker [Z@2C3C9C.B2A300.F245DE.859909] has joined #code |
21:45 | <@Derakon> | Yeah. |
21:45 | <@Derakon> | My goal here is to try out the changes that have been made since the last stable release. |
21:46 | <@Derakon> | Since there've been a lot of 'em~ |
21:50 | <@Derakon> | Oop...looks like that means I want trunk after all. |
22:05 | | * Vornicus decides, randomly, to look into Pyglet. goes \o/ at the first line of the "about" |
22:05 | <@Vornicus> | "No external dependencies or installation requirements. For most application and game requirements, pyglet needs nothing else besides Python, simplifying distribution and installation." |
22:05 | <@Derakon> | Heh. |
22:06 | <@jerith> | Doesn't it do opengl? |
22:06 | <@Vornicus> | After trying and failing several times to suss out the requirements of pyopengl and then getting numeric or pynum or whatever the shit it's called now going? Yeah, I want to Not Fucking Worry About It |
22:06 | <@Vornicus> | OpenGL, yes. |
22:08 | <@jerith> | numpy |
22:09 | <@jerith> | I have a habit of rhyming "numpy" with "grumpy" and pronouncing "scipy" as "skippy". |
22:09 | <@Vornicus> | Hee |
22:10 | | * Vornicus now tries to remember how to use bzr |
22:12 | <@jerith> | bzr branch <url> [local dir] |
22:18 | | * Vornicus ...actually has to install bzr on this side, and also remember his login to that site. Whatever that site is. |
22:18 | <@jerith> | What's the thing you're bzring? |
22:19 | <@Vornicus> | I'm building myself a Very Simple Fluid Simulator Thingy. |
22:21 | <@jerith> | If it's your own project, you can just make a dir for it and "bzr init" inside that. |
22:22 | <@Vornicus> | aha |
22:25 | <@jerith> | Setting up a remote bzr server is a little tricky. |
22:25 | <@jerith> | I generally just stick my stuff in launchpad. |
22:25 | <@jerith> | (launchpad.net) |
22:26 | <@Vornicus> | ah, that is the site I was looking for. |
23:24 | | You're now known as TheWatcher |
23:34 | | Vornicus is now known as Vornotron |
23:34 | | Vornotron is now known as Vornicus |
23:55 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
23:55 | | SmithKurosaki [Smith@Nightstar-308b86b8.dsl.teksavvy.com] has quit [Ping timeout: 121 seconds] |
--- Log closed Mon Aug 02 00:00:27 2010 |