mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
Boo resource tracing
This commit is contained in:
@@ -649,7 +649,7 @@ boo::ObjToken<boo::ITextureSA> FontAtlas::texture(boo::IGraphicsDataFactory* gf)
|
||||
return {};
|
||||
if (m_tex)
|
||||
return m_tex;
|
||||
gf->commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx)
|
||||
gf->BooCommitTransaction([&](boo::IGraphicsDataFactory::Context& ctx)
|
||||
{
|
||||
if (m_subpixel)
|
||||
const_cast<boo::ObjToken<boo::ITextureSA>&>(m_tex) =
|
||||
|
||||
@@ -292,7 +292,7 @@ ModalWindow::ModalWindow(ViewResources& res, View& parentView,
|
||||
m_windowBgClear[3] = 0.0;
|
||||
m_line2Clear[3] = 0.0;
|
||||
|
||||
res.m_factory->commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) -> bool
|
||||
res.m_factory->BooCommitTransaction([&](boo::IGraphicsDataFactory::Context& ctx)
|
||||
{
|
||||
buildResources(ctx, res);
|
||||
m_viewBlockBuf = res.m_viewRes.m_bufPool.allocateBlock(res.m_factory);
|
||||
|
||||
@@ -374,7 +374,7 @@ void View::draw(boo::IGraphicsCommandQueue* gfxQ)
|
||||
|
||||
void View::commitResources(ViewResources& res, const boo::FactoryCommitFunc& commitFunc)
|
||||
{
|
||||
res.m_factory->commitTransaction(commitFunc);
|
||||
res.m_factory->BooCommitTransaction(commitFunc);
|
||||
}
|
||||
|
||||
void View::VertexBufferBindingSolid::init(boo::IGraphicsDataFactory::Context& ctx,
|
||||
|
||||
@@ -16,7 +16,7 @@ void ViewResources::init(boo::IGraphicsDataFactory* factory, FontCache* fcache,
|
||||
|
||||
m_curveFont = fcache->prepCurvesFont(AllCharFilter, false, 8.f, dpi);
|
||||
|
||||
factory->commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) -> bool {
|
||||
factory->BooCommitTransaction([&](boo::IGraphicsDataFactory::Context& ctx) {
|
||||
switch (ctx.platform())
|
||||
{
|
||||
#if BOO_HAS_GL
|
||||
|
||||
Submodule specter/zeus updated: e94de160ad...d135dee556
Reference in New Issue
Block a user