Kaydet (Commit) 270fdd6b authored tarafından Markus Mohrhard's avatar Markus Mohrhard

add two options for OpenGL rendering

Change-Id: I1b37d8332e9a5b779c27373b2ec038ccdf2b90df
üst 1990c751
...@@ -570,6 +570,8 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet) ...@@ -570,6 +570,8 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
get(m_pFontHistoryCB, "showfonthistory"); get(m_pFontHistoryCB, "showfonthistory");
get(m_pUseHardwareAccell, "useaccel"); get(m_pUseHardwareAccell, "useaccel");
get(m_pUseAntiAliase, "useaa"); get(m_pUseAntiAliase, "useaa");
get(m_pUseOpenGL, "useopengl");
get(m_pForceOpenGL, "forceopengl");
get(m_pMousePosLB, "mousepos"); get(m_pMousePosLB, "mousepos");
get(m_pMouseMiddleLB, "mousemiddle"); get(m_pMouseMiddleLB, "mousemiddle");
// #i97672# // #i97672#
......
...@@ -97,6 +97,8 @@ private: ...@@ -97,6 +97,8 @@ private:
CheckBox* m_pUseHardwareAccell; CheckBox* m_pUseHardwareAccell;
CheckBox* m_pUseAntiAliase; CheckBox* m_pUseAntiAliase;
CheckBox* m_pUseOpenGL;
CheckBox* m_pForceOpenGL;
ListBox* m_pMousePosLB; ListBox* m_pMousePosLB;
ListBox* m_pMouseMiddleLB; ListBox* m_pMouseMiddleLB;
......
...@@ -82,6 +82,34 @@ ...@@ -82,6 +82,34 @@
<property name="top_attach">1</property> <property name="top_attach">1</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkCheckButton" id="useopengl">
<property name="label" translatable="yes">Use OpenGL for all rendering</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="forceopengl">
<property name="label" translatable="yes">Force OpenGL even if blacklisted (might expose driver bugs)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
</packing>
</child>
</object> </object>
</child> </child>
</object> </object>
...@@ -139,7 +167,7 @@ ...@@ -139,7 +167,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="invisible_char"></property> <property name="invisible_char"></property>
<property name="text" translatable="no">75</property> <property name="text">75</property>
<property name="adjustment">adjustment3</property> <property name="adjustment">adjustment3</property>
<property name="value">75</property> <property name="value">75</property>
</object> </object>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment