ppsspp/Common/UI/UI.cpp

27 lines
548 B
C++
Raw Normal View History

2012-04-10 10:36:38 +00:00
// See header for documentation.
#include <string>
#include <vector>
#include <cmath>
#include <cstring>
2012-04-10 10:36:38 +00:00
#include "Common/Data/Color/RGBAUtil.h"
#include "Common/UI/UI.h"
#include "Common/UI/Context.h"
#include "Common/Render/TextureAtlas.h"
#include "Common/Render/DrawBuffer.h"
2012-04-10 10:36:38 +00:00
2012-05-13 22:42:42 +00:00
// TODO: UI should probably not own these.
2012-04-10 10:36:38 +00:00
DrawBuffer ui_draw2d;
2012-04-12 20:16:30 +00:00
DrawBuffer ui_draw2d_front;
2012-07-26 11:47:15 +00:00
void UIBegin(Draw::Pipeline *pipeline) {
ui_draw2d.Begin(pipeline);
ui_draw2d_front.Begin(pipeline);
2012-04-10 10:36:38 +00:00
}
2013-03-30 18:23:02 +00:00
void UIFlush() {
ui_draw2d.Flush();
ui_draw2d_front.Flush();
}