mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
4f43cff5ca
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing Let's also move net while we're at it. Move the ZIM/PNG loaders over to Common. Move the UI framework into Common iOS buildfix * Buildfix * Buildfixes * Apple buildfix * This typo again.. * UWP buildfix * Fix build of PPSSPPQt, such as it is (it's not in good condition...) * Guess what? Another buildfix.
27 lines
534 B
C++
27 lines
534 B
C++
// See header for documentation.
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <cmath>
|
|
#include <cstring>
|
|
|
|
#include "Common/Data/Color/RGBAUtil.h"
|
|
#include "Common/UI/UI.h"
|
|
#include "Common/UI/Context.h"
|
|
#include "gfx/texture_atlas.h"
|
|
#include "gfx_es2/draw_buffer.h"
|
|
|
|
// TODO: UI should probably not own these.
|
|
DrawBuffer ui_draw2d;
|
|
DrawBuffer ui_draw2d_front;
|
|
|
|
void UIBegin(Draw::Pipeline *pipeline) {
|
|
ui_draw2d.Begin(pipeline);
|
|
ui_draw2d_front.Begin(pipeline);
|
|
}
|
|
|
|
void UIFlush() {
|
|
ui_draw2d.Flush();
|
|
ui_draw2d_front.Flush();
|
|
}
|