System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13
Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e
Worked: (optional)
Short description of error
So, I create gpu.types.GPUOffScreen and I want to make it context.scene.tool_settings.image_paint.clone_image. But to do this I need to call slow image.pixels = [v / 255 for v in buffer]
Why I can't access directry clone paint source? It works fine for images like 512x512 but I need to work at least with 2048x2048 textures.
Currently almost all of the execution time is spent in the last line. In the future this will hopefully be solved by implementing the Python buffer protocol for bgl.Buffer and bpy.types.Image.pixels (aka bpy_prop_array)