[Mesa-dev] Question in wsi_common_x11.c

2021-02-21 Thread vivek pandya
Hello,

In the following code why mage->base.row_pitches[0] is divided by 4 and
passed as width to xcb_put_function() ?

26 static VkResult
  25 x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t
image_index,
...
  15
  14cookie = xcb_put_image(chain->conn, XCB_IMAGE_FORMAT_Z_PIXMAP,
  13   chain->window,
  12   chain->gc,
  11   image->base.row_pitches[0] / 4,
  10   chain->extent.height,
   9   0,0,0,24,
   8   image->base.row_pitches[0] *
chain->extent.height,
   7   myptr);

Thanks,
Vivek
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Small problem with my Mesa install (via Re: [ANNOUNCE] mesa 20.2.2)

2021-02-21 Thread Timothy Arceri
Looks like it might have been this bug 
https://gitlab.freedesktop.org/mesa/mesa/-/issues/3990 which should be 
fixed by 
https://gitlab.freedesktop.org/mesa/mesa/-/commit/58e43594fc457eaaf1b1e01e48948959a82080bc


On 2/11/21 10:40 PM, Ed B wrote:

Dear Dylan / Mesa Developer(s),

I have just managed to find this contact email for someone who is something to 
do with Mesa development / repair :-)

I have a problem with my computer crashing - probably due to Mesa updating from 
version 20.0.8 to 20.2.6, please see my enquiry to the KDE Forum 
https://forum.kde.org/viewtopic.php?f=63&t=169662  For further details.

I would be very grateful if you would you point me to the right person / Forum 
for dealing with this issue please (you will notice I am not a software person) 
?
And you are welcome to pass on this email.

For the person who can tell me, I would like to know -

Is this a "bug" which will be fixed ?
Is this old hardware which was removed from programming, and might be 
re-instated in the programming ?
Am I at a "dead-end" ?  and will have to forgo further Updates permanently - I 
do hope not :-/

I didn't mention on the Forum that I was having memory "segmentation" faults.   I have 
looked those up and they seem to be very and awkward to deal with - so I am hoping it is 
"just" a software bug which is fixable.

Currently I am using Kubuntu 20-10, I have moved from K-20-04, and tried Ubuntu 
20-04 on the way, to no avail.

Many thanks,  Regards,  Ed G8BQR
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev