ManaPlus
Macros | Variables
graphics.cpp File Reference

(642df39)

#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 104 of file graphics.cpp.

Variable Documentation

◆ mainGraphics

Graphics* mainGraphics = 0

Definition at line 108 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(), OpenGLGraphicsVertexes::clear(), GraphicsManager::createRenderers(), Game::createScreenshot(), GraphicsManager::deleteRenderers(), GraphicsManager::detectGraphics(), GraphicsManager::detectPixelSize(), WindowManager::doResizeVideo(), Map::draw(), TouchManager::draw(), WindowMenu::drawChildren(), TouchManager::drawText(), Window::ensureOnScreen(), Game::Game(), Client::gameExec(), Client::gameInit(), Gui::getMouseState(), Viewport::getMouseTile(), SdlScreenshotHelper::getScreenshot(), MobileOpenGLScreenshotHelper::getScreenshot(), OpenGLScreenshotHelper::getScreenshot(), TouchManager::init(), Client::initGraphics(), WindowManager::initTitle(), InventoryWindow::InventoryWindow(), TouchManager::loadTouchItem(), EventsManager::logEvent(), MapDebugTab::logic(), ModeListModel::ModeListModel(), ShortcutWindow::mouseDragged(), ChatWindow::mouseDragged(), Window::mouseDragged(), WindowManager::newChatMessage(), Popup::position(), PRAGMA45(), OpenGLScreenshotHelper::prepare(), MobileOpenGLScreenshotHelper::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(), CutInWindow::show(), PopupList::show(), TextBoxPopup::show(), TextPopup::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(), StatusPopup::view(), SpellPopup::view(), and WindowMenu::WindowMenu().