DescriptionAvoid GetState IPC call during AllocateRingbuffer.
SetGetBuffer(id) resets get and put offsets to 0.
So no need to ask CommandBuffer::State through GetState() IPC call.
CreateTransferBuffer() allocates new cmd buffer of size 1MB.
No need to check for num_entries after new allocation of ring_buffer, as always state.num_entries==num_ring_buffer_entries after this new allocation.
BUG=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264166
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|