[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz] 2nd
From: |
Tero Mayranen |
Subject: |
Re: [Gzz] 2nd |
Date: |
Mon, 9 Sep 2002 21:43:09 +0300 (EEST) |
> Tero: how's the imagecache stuff?
there's about a million "little things" about it... =/ I'll try to list
them or think them out, but for now I hope these "UML"'s work as some kind
of overview (I hope everyone has fixed width fonts =)):
+----------------------------+
|CachedImage.cxx |
+----------------------------+
|string urx |
|int hits |
|int locks |
|GdkPixbuf pixels |
|boolean loaded |
|GdkPixbufLoader loader |
+----------------------------+
|int getWidth() |
|int getHeight() |
|int[] getPixels() |
|write(data,size) |
+----------------------------+
+-------------------------------+
|ImageCache.cxx |
+-------------------------------+
|GdkPixbuf loader-image |
|CachedImage images[] |
+-------------------------------+
|GdkPixbuf getAsPixbuf(urx,lod) |
| |
|int getWidth(urx,lod) |
|int getHeight(urx,lod) |
|int[] getPixels(urx,lod) |
| |
|free(urx,lod) |
| |
|write(urx,data[],size) |
+-------------------------------+
+--------------------------+
|ImageCache.java |
+--------------------------+
|Image getAsImage(urx,lod) |
|free(urx,lod) |
+--------------------------+
+--------------------------+
|BackgroundLoader.java |
+--------------------------+
|startLoading(urx) |
+--------------------------+
+--------------+ +---------------------+
|ImageCache.cxx| |BackgroundLoader.java|
+--------------+ +---------------------+
getAsPixbuf(urx,lod)|| :
------------------->|| : +---------------+
||------------------------------|CachedImage.cxx|
|| : +---------------+
||startLoading(urx) : :
loader-image||--------------------->|| :
<-------------------|| || :
: || :
: write(urx,data[],size)|| :
||<---------------------|| :
|| || :
|| write(data,size) || :
||----------------------++------------>||
: || :
: write(urx,data[],size)|| :
||<---------------------|| :
|| || :
|| write(data,size) || :
||----------------------++------------>||
etc.
+---------------+ +--------------+ +---------------------+
|ImageCache.java| |ImageCache.cxx| |BackgroundLoader.java|
+---------------+ +--------------+ +---------------------+
getAsImage(urx,lod) || : :
------------------->|| getWidth(urx,lod) : :
||------------------->||startLoading(urx) :
|| ||----------------->||
|| loader-image.width || ||
||<-------------------|| ||
|| : ||
|| getHeight(urx,lod) : ||
||------------------->|| ||
|| || ||
|| loader-image.height|| ||
||<-------------------|| ||
|| : ||
|| getPixels(urx,lod) : ||
||------------------->|| ||
|| || ||
|| loader-image.pixels|| ||
||<-------------------|| ||
loader-image || : write(data,size) ||
<-------------------|| ||<-----------------||
etc.
- [Gzz] 2nd, Tero Mayranen, 2002/09/02
- Re: [Gzz] 2nd, Tuomas Lukka, 2002/09/06
- Re: [Gzz] 2nd,
Tero Mayranen <=
- Re: [Gzz] 2nd, Tuomas Lukka, 2002/09/10
- [Gzz] 911, Tero Mayranen, 2002/09/11
- [Gzz] Re: 911, Tuomas Lukka, 2002/09/11
- [Gzz] Imagecache, Tuomas Lukka, 2002/09/13
- [Gzz] Re: Imagecache, Tero Mayranen, 2002/09/13
- Re: [Gzz] Re: Imagecache, Benja Fallenstein, 2002/09/13
- Re: [Gzz] Re: Imagecache, Tero Mayranen, 2002/09/16
- [Gzz] Re: Imagecache, Tuomas Lukka, 2002/09/13
- [Gzz] Re: ImageCache, Tero Mayranen, 2002/09/17
- [Gzz] Re: ImageCache, Tuomas Lukka, 2002/09/18