DescriptionAdd GpuCommandBuffer support.
Currently this is not actually hooked into the system.
To give some context, in a follow up CL I'll add this to GrDrawTarget.
For this I will move the gpu onDraw command to the GpuCommandBuffer as well.
For GL this will end up just being a pass through to a non virtual draw(...)
on GrGLGpu, and for vulkan it will mostly do what it currently does but
adding commands to the secondary command buffer instead.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2038583002
Committed: https://skia.googlesource.com/skia/+/066df7ca911b65d416783f3bec6f4f1662948ad5
Patch Set 1 #Patch Set 2 : Add gpu hooks #Patch Set 3 : #Patch Set 4 : rebase #
Total comments: 4
Patch Set 5 : review cleanup #Patch Set 6 : add dtor #Patch Set 7 : fix clang #Patch Set 8 : #
Messages
Total messages: 26 (13 generated)
|