| 125 | } |
| 126 | |
| 127 | void ProxyProvider::uploadSharedVertexBuffer(std::shared_ptr<Data> data) { |
| 128 | DEBUG_ASSERT(sharedVertexBuffer != nullptr); |
| 129 | auto dataSource = |
| 130 | std::make_unique<AsyncVertexSource>(std::move(data), std::move(sharedVertexBufferTasks)); |
| 131 | auto task = context->drawingBuffer()->make<GPUBufferUploadTask>( |
| 132 | sharedVertexBuffer, BufferType::Vertex, std::move(dataSource)); |
| 133 | context->drawingManager()->addResourceTask(std::move(task)); |
| 134 | sharedVertexBuffer = nullptr; |
| 135 | } |
| 136 | |
| 137 | static UniqueKey AppendClipBoundsKey(const UniqueKey& uniqueKey, const Rect& clipBounds) { |
| 138 | static const auto ClipBoundsType = UniqueID::Next(); |
nothing calls this directly
no test coverage detected