m1 Graphic Problems with PB, please check - important

Mac OSX specific forum
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

m1 Graphic Problems with PB, please check - important

Post by Saki »

地球上の平和
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: m1 Graphic Problems with PB, please check - important

Post by davido »

@Saki,
I checked this code you posted, third post in linked thread:

Code: Select all

OpenWindow(0, 0, 0, 800, 600, "", #PB_Window_SystemMenu |#PB_Window_ScreenCentered)
ImageGadget(0, 10, 10, 780, 580, 0)
CreateImage(0, 780, 580, 32, #PB_Image_Transparent)
StartVectorDrawing(ImageVectorOutput(0))
MovePathCursor(10, 10)
AddPathLine(700, 500)
VectorSourceColor(#Red|$FF000000)
StrokePath(1)
StopVectorDrawing()
SetGadgetState(0,ImageID(0))
Repeat
Until WaitWindowEvent()=#PB_Event_CloseWindow
It seemed to run ok: A red diagonal line from Top-left to Bottom-right.

Have I tested the correct code?
If not please post the code you want testing.

My system:Hardware Overview:

Model Name: MacBook Pro
Model Identifier: MacBookPro17,1
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 8 GB
DE AA EB
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: m1 Graphic Problems with PB, please check - important

Post by Saki »

Hi Davido, many thanks.

Very interesting, it may well work with the Vector Lib.

Please test the other codes in the thread without VectorLib Using.

Look the latest Postings, there seems to be other graphic errors.

Best Regards Saki
地球上の平和
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: m1 Graphic Problems with PB, please check - important

Post by davido »

@Saki,

I've checked out all the posted code in the linked thread.
I am pleased to inform you that they all run, with png files they can find on my machine.

If you want more detailed comments please inform me and I'll be pleased to take more time to check them out. (When some time has elapsed after the few beers I have just enjoyed.)
DE AA EB
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: m1 Graphic Problems with PB, please check - important

Post by Saki »

Hi Davido,
many Thanks.
This are good News !

Well, let's wait and see if anyone else has problems with it, or if it goes primary.

Best Regards Saki
地球上の平和
Post Reply