X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=sdlgit%2FSDL-Site.git;a=blobdiff_plain;f=pages%2Ftags-Pack.html-inc;h=26a45f3ebc18e5a4c1ca1bb2bd4fe54922cf7957;hp=c37e2be4d1eae918ed3c88daaa6e7cc2c9ab3190;hb=6855e5615bff699e656bdd67be71ac965fc77f54;hpb=1ef7d8eae2f140cdb37d8ff99453f27252f31f9a diff --git a/pages/tags-Pack.html-inc b/pages/tags-Pack.html-inc index c37e2be..26a45f3 100644 --- a/pages/tags-Pack.html-inc +++ b/pages/tags-Pack.html-inc @@ -1 +1 @@ -

Results for tag: Pack

Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on SDLx::Surface . So far I have only start on the 32 bpp surfaces.
The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]

\ No newline at end of file +

Results for tag: Pack

Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on SDLx::Surface . So far I have only start on the 32 bpp surfaces.
The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]

\ No newline at end of file