summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-02use SystemWindowData to request a NSOpenGLWindowMarkus Mohrhard
Change-Id: Ief50a2fc533846cd61be66b1ea166a992942083b
2014-09-02replace check with GLEW variableMarkus Mohrhard
Change-Id: I818d099c70f2f886908584e67a73934dee5dbef8
2014-09-02switch to a NSOpenGLView implementationMarkus Mohrhard
Change-Id: Ifed59a9e899abc900ddf27378eec6b641be061d3
2014-09-02use size_t instead of unsigned int for container indicesMarkus Mohrhard
Change-Id: Iff2f797915f1558ea23336e273bd26e0c0edc63e
2014-09-02the values are float nowMarkus Mohrhard
actually OpenGL does not like double that much Change-Id: I3267f46072194bb6b2d4705733408e3db44c8c08
2014-09-02remove that ugly underscore at the end of the method namesMarkus Mohrhard
Change-Id: I3c81c9d8b89ddf18bdc5ae700b721ca71f2700bb
2014-09-02basegfx -> glm in OGLTransMarkus Mohrhard
Change-Id: I3f3002d975f3ee2732c5e132b3b67531356aad5c
2014-09-02use constructor initializer listMarkus Mohrhard
Change-Id: I0bb1345f05dbd835e3f7debc66a824ccf44ef88b
2014-09-02improve readabilityMarkus Mohrhard
Change-Id: I7a8791c661cbd3c602c0d12d228b63ffc416a96c
2014-09-02no need to make these variables publicMarkus Mohrhard
Change-Id: I9b57d6811252c75186e03ed6928bd8829fa0307c
2014-09-02more OpenGL error checking in OGLTransMarkus Mohrhard
Change-Id: I7eff84d18be92423b3d8616162bfaf5be5203a9d
2014-09-02add invalid framebuffer operation to OpenGL error messagesMarkus Mohrhard
Change-Id: I359ec166e9bf0585842fb436a1edd20720b89a9b
2014-09-02check framebuffer statusMarkus Mohrhard
Change-Id: Ieb36804247b4e2790d625585661a1c85586348f1
2014-09-02simplify codeMarkus Mohrhard
Change-Id: If0b1c47a1e0f6084795fb5ca4a2acced736d4523
2014-09-02add OpenGL error checking to OGLTransMarkus Mohrhard
Change-Id: I9e511221e3da54b44935ebde22c49e5a151f6961
2014-09-02extract some shared codeMarkus Mohrhard
Change-Id: I062ea860f695189ab1d59615f1d2390710a21d44
2014-09-02some temporary debug outputMarkus Mohrhard
2014-09-02add more notes about deprecated OpenGL featuresMarkus Mohrhard
Change-Id: Ic83ec7e99c8b666b755b93f315019754f9d9757f
2014-09-02add warning about bad inputMarkus Mohrhard
Change-Id: I7018813740460c79d09318770fbdcb24a24a441e
2014-09-02remove old OSX OGLTransMarkus Mohrhard
Change-Id: Icdb3a5f998d69727247c3fc4803c46803f2fa199
2014-09-02make the shaders compliant to GLSL 1.2Markus Mohrhard
Change-Id: Ic15760ca40d719ae333003c9bc241c813cb284fa
2014-09-02use generic implementation for OSXMarkus Mohrhard
Change-Id: I9b82ca8bb6c1c6453bbedac2c60bec4d6a98c009
2014-09-02fix shader names, the .glsl is attached in OpenGLHelper::LoadShaderMarkus Mohrhard
Change-Id: I267c1fefa5330359f3aea0d57d38a153232b655f
2014-09-02request a legacy context for OGLTransMarkus Mohrhard
Change-Id: If001121da14ca9d15f6c36af30428f1851710524
2014-09-02don't try to use X11 functions on OSXMarkus Mohrhard
Change-Id: Ife987833a52c7ed0b55f1003df1ee0dad2011cc0
2014-09-02use glew instead of directly including OpenGL headersMarkus Mohrhard
Change-Id: I7337d2d2f116f465bf6988dd9c7997b0267ca1cc
2014-09-02add possibility to request a compatibility contextMarkus Mohrhard
Change-Id: I0135e81f925fda19c06144d21d2f2b0efc9e57be
2014-09-02WIP debug statementsMarkus Mohrhard
2014-09-02add a note about deprecated functionalityMarkus Mohrhard
Change-Id: Ic980e633f7c9cdcbb3a1b512d66bfd8279d16339
2014-09-02don't even try to create a shape for non existing valuesMarkus Mohrhard
Change-Id: I0af9285c2fa0371607e9ec750bb07968244c44d8
2014-09-02fixed pipeline functions are not available in core contextMarkus Mohrhard
Change-Id: I50f5e876da902181f8ab5c9571df61f035630218
2014-09-02GL_LIGHTING is deprecatedMarkus Mohrhard
Change-Id: I6280af7182f4afefe39ef676024caa9c21f089ff
2014-09-02GL_TEXTURE_WRAP_* is deprecatedMarkus Mohrhard
Change-Id: I2604a6d647c912a91da156072b9821b2abe52b48
2014-09-02GL_POINT_SMOOTH is deprecatedMarkus Mohrhard
Change-Id: Id81a238ed71c8c2f9297e14f6f37d148f29cfbca
2014-09-02glEnable(GL_TEXTURE_2D) is deprecatedMarkus Mohrhard
Change-Id: Ic4ee5414fbbea3d73655b52e66cb397220e61566
2014-09-02fix my last core shader errorMarkus Mohrhard
Now all shaders compile cleanly against a core context without deprecated functions. Change-Id: I53c1fe04e07247f94ad5e3a17819cebea0a9f535
2014-09-02texture*D in GLSL is deprecated and not available in core contextsMarkus Mohrhard
Change-Id: Ia5da0899d73aea22fe7bae735e57e30dcd37b254
2014-09-02replace all attribute and varying in chart shadersMarkus Mohrhard
Next step to a pure OpenGL 3.2 core context. Change-Id: Ifcfccd9ffc8adcc3b7338e10cb25aeb8496909a3
2014-09-02we need to switch to OpenGL 3.2 core for OSXMarkus Mohrhard
A 3.2 core context only supports GLSL 150 core and above. This at least removes all vompile errors related to missing or wrong version requirements. In a next step we need to make use of modern GLSL features now. Change-Id: I59f1bc84ab4f64cc6520309b7da25adc3e116997
2014-09-02make sure that all shaders contain a version stringMarkus Mohrhard
This is necessary for OSX where we are using a core context that does not implement any legacy features anymore. Change-Id: I59536e99761691d910fef62cf82ceb03e57725ae
2014-09-01Partially revert: fixincludeguards.sh: sdThomas Arnhold
Doesn't look this sane... commit 3b58ababc566adef48d8ab600489e554c4585b1d Author: Thomas Arnhold <thomas@arnhold.org> Date: Wed Oct 23 22:38:46 2013 +0200 fixincludeguards.sh: sd Change-Id: Ia6836deaa1982febf71cd8abd89e93ea0a844721
2014-09-01correct include guard commentThomas Arnhold
Change-Id: Ie94573f7c43c834cd636493bed32f07aa792da49
2014-09-01fix typo Sufface->SurfaceThomas Viehmann
Change-Id: I90847d0edbc2c13e405562647b150012bc5df7e2 Reviewed-on: https://gerrit.libreoffice.org/11249 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-09-01Avoid invalid premature downcastsStephan Bergmann
Change-Id: Ifc6d84a63719b141ddc9bd89349d4a605d2b3e00
2014-09-01Consistency around SvxB3DVectorItem in svx/svx3ditems.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I7f2348d82c76f6f231e34f0dfc4b6ee6fddffe55
2014-09-01Consistency around SvxColorItem in svx/svx3ditems.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: If26ab3229871d2d6a7e4e7e8f79f4cb927b96930
2014-09-01Missing Clone overridesStephan Bergmann
Change-Id: I0dda3dc849fce9ba994baa82f7e25497ea995c75
2014-09-01fdo#75757: remove inheritance to std::vectorTakeshi Abe
from SwLayCacheImpl. Change-Id: I77520495aab1d6a572b25433396202b11e478636 Reviewed-on: https://gerrit.libreoffice.org/11158 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-09-01Consistency around SfxUInt16Item in svx/svx3ditems.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I2e467df03a34d694214e0560476cb7fd76ef0735
2014-09-01Consistency around SfxBoolItem in svx/svx3ditems.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I3253b4cc5657a7d6b960ee892584109d373eed3d