mirror of https://github.com/AxioDL/metaforce.git
Boo resource tracing
This commit is contained in:
parent
00945a44d7
commit
f41f0e0e77
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit e94de160ad681fa6c8d943faa22f22c619555ee7
|
||||
Subproject commit d135dee556590fee0d5569c0ad7db426274ef1a4
|
Loading…
Reference in New Issue