[Mesa-dev] OpenCL in Mesa3d

2020-11-30 Thread Hải Võ Phan Phước
Hello, I'm wanna ask about how I use Mesa as OpenCL implementation. Is it possible? If yes, how it work on Windows? Thank you! ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] frontends/va/postproc: Use the actual image height when blitting

2020-11-30 Thread Liu, Leo
+Thong. -Original Message- From: mesa-dev On Behalf Of Ilia Mirkin Sent: November 25, 2020 5:48 PM To: ML Mesa-dev ; Thai, Thong Subject: Re: [Mesa-dev] frontends/va/postproc: Use the actual image height when blitting Hi Thong, In this change: https://nam11.safelinks.protection.outl

Re: [Mesa-dev] frontends/va/postproc: Use the actual image height when blitting

2020-11-30 Thread Thong Thai
Hi Ilia, This was the issue I was trying to fix: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6736#note_626808 It's doing a blit from 1088px (the actual video is only 1080px) to 1440px. The blit code scales and uses both the 1080 box height and 1088 resource height, but I'm gues

Re: [Mesa-dev] frontends/va/postproc: Use the actual image height when blitting

2020-11-30 Thread Ilia Mirkin
Many (most?) codecs decode stuff in 16px increments. So even though the video is 1080 in height, the decoded surface is 1088. However the video decoder should know that only 1080 pixels are valid. The src/dst regions should account for this. I suspect that there's an issue in the vl_compositor_cs

Re: [Mesa-dev] frontends/va/postproc: Use the actual image height when blitting

2020-11-30 Thread Thong Thai
Doh, sorry. I just found out, the problem is not with the height0 and scaling, it's with the y offset calculation: (blit_info->src.box.y + 0.5) / (float)src->height0 Everything seems to work if I revert the offending code that modifies height0, and just use this for the y offset: blit_info-

[Mesa-dev] [ANNOUNCE] mesa 20.3.0-rc3

2020-11-30 Thread Dylan Baker
Hi list, Mesa 20.3-rc3 is now available for general consumption. This is a few days late thanks to the US Thanksgiving holiday. I think we're pretty close to having .0 this week, just one issue left on the tracker. Dylan git tag: mesa-20.3.0-rc3 https://mesa.freedesktop.org/archive/mesa-20.3.0-

Re: [Mesa-dev] gl4_gears - SPIR-V and shader module reflection

2020-11-30 Thread Michael Clark
On 11/30/20 3:38 PM, Michael Clark wrote: Hi again, On 11/24/20 9:43 PM, Michael Clark wrote: - kitty_gears - OS Mesa gears using kitty terminal graphics protocol - gl1_gears - OpenGL 1.x gears using GLFW similar to the original - gl2_gears - OpenGL 2.x gears using VAO/VBO, programmable shad

Re: [Mesa-dev] gl4_gears - SPIR-V and shader module reflection

2020-11-30 Thread Michael Clark
On 12/1/20 11:27 AM, Michael Clark wrote: On 11/30/20 3:38 PM, Michael Clark wrote: Hi again, On 11/24/20 9:43 PM, Michael Clark wrote: - kitty_gears - OS Mesa gears using kitty terminal graphics protocol - gl1_gears - OpenGL 1.x gears using GLFW similar to the original - gl2_gears - OpenG