ManaPlus
Macros | Variables
graphics.cpp File Reference

(986a3bf)

#include "render/graphics.h"
#include "configuration.h"
#include "graphicsmanager.h"
#include "resources/openglimagehelper.h"
#include "resources/safeopenglimagehelper.h"
#include "render/opengl/mgldefines.h"
#include "debug.h"

Go to the source code of this file.

Macros

#define GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX   0x9049
 

Variables

GraphicsmainGraphics = 0
 

Macro Definition Documentation

◆ GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX

#define GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX   0x9049

Definition at line 105 of file graphics.cpp.

Variable Documentation

◆ mainGraphics

Graphics* mainGraphics = 0

Definition at line 109 of file graphics.cpp.

Referenced by Setup_Video::action(), Game::addWatermark(), Window::adjustPositionAfterResize(), Window::adjustSizeToScreen(), AmbientLayer::AmbientLayer(), WindowManager::applyGamma(), WindowManager::applyGrabMode(), WindowManager::applyScale(), Setup_Video::cancel(), CharacterDisplay::CharacterDisplay(), CharSelectDialog::CharSelectDialog(), ChatWindow::ChatWindow(), GraphicsManager::createRenderers(), Game::createScreenshot(), GraphicsManager::deleteRenderers(), GraphicsManager::detectGraphics(), GraphicsManager::detectPixelSize(), WindowManager::doResizeVideo(), TouchManager::draw(), Map::draw(), WindowMenu::drawChildren(), TouchManager::drawText(), Window::ensureOnScreen(), Game::Game(), Client::gameExec(), Client::gameInit(), Gui::getMouseState(), Viewport::getMouseTile(), MobileOpenGLScreenshotHelper::getScreenshot(), OpenGLScreenshotHelper::getScreenshot(), SdlScreenshotHelper::getScreenshot(), TouchManager::init(), Client::initGraphics(), WindowManager::initTitle(), InventoryWindow::InventoryWindow(), TouchManager::loadTouchItem(), EventsManager::logEvent(), MapDebugTab::logic(), ModeListModel::ModeListModel(), Window::mouseDragged(), ChatWindow::mouseDragged(), ShortcutWindow::mouseDragged(), WindowManager::newChatMessage(), Popup::position(), PRAGMA45(), MobileOpenGLScreenshotHelper::prepare(), OpenGLScreenshotHelper::prepare(), SDLInput::pushInput(), Setup_Input::refreshAssignedKey(), TouchManager::resize(), WindowManager::resizeVideo(), TouchManager::safeDraw(), WindowMenu::safeDrawChildren(), CharCreateDialog::setButtonsPosition(), setConfigDefaults2(), Window::setDefaultSize(), WindowManager::setFullScreen(), WindowManager::setIcon(), WindowManager::setIsMinimized(), Window::setLocationRelativeTo(), Setup_Theme::Setup_Theme(), Setup_Video::Setup_Video(), GraphicsManager::setVideoMode(), ShopWindow::ShopWindow(), TextBoxPopup::show(), TextPopup::show(), CutInWindow::show(), PopupList::show(), PopupMenu::showPopup(), Game::slowLogic(), Client::stateGame(), Client::stateGame1(), TestLauncher::testBackend(), TestLauncher::testDraw(), TestLauncher::testFps2(), TestLauncher::testFps3(), TestLauncher::testTextures(), UserAgent::update(), WindowMenu::updateButtons(), Viewport::updateMaxVars(), Viewport::updateMidVars(), GraphicsManager::updatePlanformExtensions(), WindowManager::updateTitle(), Gui::videoResized(), SpellPopup::view(), StatusPopup::view(), and WindowMenu::WindowMenu().