Browsing this Thread:
1 Anonymous Users
|
Re: What could i be doing wrong?
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Yep! That was exactly the problem - Hurray!
http://aros-exec.org/modules/xcgal/displayimage.php?pid=127&pos=-127
Posted on: 2006/4/18 23:20
|
|||
|
||||
|
Re: What could i be doing wrong?
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Thanks again Georg,
I'll update the code soon and commit the newer version to SVN for your perusal =D Mesa 3.4.2 contains functions to set mesa's internal rendering area within the buffers - i dont make use of them atm though i plan to at some time. Do you have any idea what might be giving the displayed image a blue tinge? (try demos-old/morph3d)
Posted on: 2006/4/18 17:38
Edited by Kalamatee on 2006/4/18 18:00:48
Edited by Kalamatee on 2006/4/18 18:06:20 |
|||
|
||||
|
Re: What could i be doing wrong?
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
overpainting window border:
don't use window->RPort, but make a clone of it with CloneRastPort() (free with FreeRastPort()) and tell it to clip to the inside of the borders (AROS only feature):
struct Rectangle rect;
Posted on: 2006/4/18 11:24
|
|||
|
||||
|
Re: What could i be doing wrong?
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
aros8bit_Standard_resize() has same error.
Posted on: 2006/4/18 11:17
|
|||
|
||||
|
Re: What could i be doing wrong?
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
window resizing (arosTC_Standard_resize()):
if (amesa->visual->db_flag)
amesa->back_rp and amesa->rp can point to same rastport, so after destroying amesa->back_rp, amesa->rp->BitMap is not valid anymore.
Posted on: 2006/4/18 11:15
|
|||
|
||||
|
Re: What could i be doing wrong?
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Well, ive managed to fix the initial crashing however theres still issues causing it to crash (and some visual errors).
http://aros-exec.org/modules/xcgal/displayimage.php?pid=125&pos=-125 Mazze: ive aaltered the rastport allocation already when i started reworking the aros rasterizer. Georg: thanx for the info - atm im mostly working on the true color functionality.
Posted on: 2006/4/17 21:26
|
|||
|
||||
|
Re: What could i be doing wrong?
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
AROSMesa_8bit.c:
void AllocOneLine( struct arosmesa_context *c) {
And some demos need more than default stack.
Posted on: 2006/4/17 21:20
|
|||
|
||||
|
Re: What could i be doing wrong?
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Just an idea (I haven't looked in the mesa source): Under AROS you need special functions/macros to clone a rastport.
Click: Rastport cloning
Posted on: 2006/4/17 19:29
|
|||
|
AROS - Make code, not war :knuddel:
|
||||
|
||||
|
What could i be doing wrong?
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Hi!
Ive spent the last week merging the svn mesa port with Mesa 3.4.2, but im having some sticky problems and was wondering if anyone might have a clue what im doing wrong... Basically the problem is this - I have 2 functions which reside in seperate files, AROSMesaCreateContext(), and arosTC_Standard_Init() AROSMesaCreateContext creates an internal context structure, and stores the used rastports pointer in it. It then calls arosTC_Standard_Init, and my debug output shows the correct address for the context - however data in it has now become corrupt/dissappeared ... In particular the rastport pointer is now NULL which I cant understand. I can tell from the debug output the values are correctly stored in the context prior to calling arosTC's func, however its all corrupt after calling it. HELP!?!?!?!
Posted on: 2006/4/17 18:24
|
|||
|
||||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.






