MCPcopy Create free account
hub / github.com/Tencent/tgfx / ProxyProvider

Method ProxyProvider

src/gpu/ProxyProvider.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36namespace tgfx {
37ProxyProvider::ProxyProvider(Context* context)
38 : context(context), vertexBlockBuffer(1 << 14, 1 << 21) { // 16kb, 2MB
39}
40
41std::shared_ptr<IndexBufferProxy> ProxyProvider::createIndexBufferProxy(
42 std::unique_ptr<DataSource<Data>> source, uint32_t renderFlags) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected