Commit Graph

1376 Commits

Author SHA1 Message Date
97a5ba4a71 remove comments why a file gets included
also remove some commented out code

Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-21 18:08:28 +02:00
8afabd3942 Extract code of BitmapEx -> RGBA buffer conversion to OpenGLHelper
Needed by gltf rendering.

Change-Id: I1aa974f3c515c5fb19a07b54ff655331138553cb
2014-04-18 18:53:22 +02:00
95f4d0fed1 Try harder to bypass OpenGL 3D stuff on non-desktop for now
At least while the OpenGL chart feature is a work in progress, and
nobody is working on it for iOS or Android anyway.

Change-Id: I9de5c6647e6db42b330e593089e296aa9a346afb
2014-04-17 17:27:14 +03:00
c79a5f87b1 remove executable bit
Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
2014-04-17 15:11:14 +02:00
cd385f2480 coverity#1202945 Uninitialized scalar field
Change-Id: I282620ab4efc6da7eaed909c9c95910c63186970
2014-04-16 11:23:11 +01:00
168f26572a remove some crap that should not have been pushed
Change-Id: I92b9aa565fc04fb095cedc2a89df468b2f568ea1
2014-04-15 20:40:49 +02:00
329332ba52 chart2: sal_Bool->bool
Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
2014-04-15 15:23:29 +02:00
618a0f8c03 whitespace for include statements
Change-Id: I76bd0ef07a2fa134e948724cecdf539ffe6ccb8a
2014-04-15 13:43:13 +02:00
2be4ee6672 don't try to init OpenGLRender in the constructor
wait until the context has been created and we can actually render

Change-Id: I841d64ae847a2fdc74954887d3a6fcfcd06fc6a3
2014-04-15 01:51:29 +02:00
34bd4798c5 remove the glew part in OpenGLRender.cxx
The glew init part is now in vcl"s OpenGLContext class.

Change-Id: I423e45cf7297df87cb8668b43f9243589b7e26ff
2014-04-15 01:51:28 +02:00
cd56c7bcf3 move some common OpenGL methods to vcl
Change-Id: Ic96487afce64bfb0c1dfcc03c088e5d6e1b34ad3
2014-04-15 01:51:28 +02:00
ce9f9de197 move the opengl headers to vcl/opengl for better separation
Change-Id: I1bdd0fe0d27674da69a61bd8b438f0c9b050a337
2014-04-15 01:51:28 +02:00
3bd173af50 only render through OpenGL after successful context creation
Change-Id: I60ebceee2bf0eca1c7022e14fc43128347d682b5
2014-04-15 01:51:27 +02:00
d321709feb extract method
Change-Id: I95aacfa9dacd42936ca648ed42b55aa9ec50ebde
2014-04-15 01:51:27 +02:00
d5e1fcdea3 remove include and using
Change-Id: I329e02d1e91b8c566d147cd753dca48bf2abf23a
2014-04-15 01:51:27 +02:00
a3125e805b switch to IOpenGLRenderer in chart2 2D rendering
Change-Id: If2351186e6e6612a84b1c98c28bbb7f2c3dc49ab
2014-04-15 01:51:27 +02:00
64dada7268 remove unused include
Change-Id: I6303f9b1f0aa8a01a20275c92df026d69632db1d
2014-04-15 01:51:26 +02:00
0e970f3ba2 typo: occuring -> occurring 2014-04-14 12:33:14 +02:00
fa1f7d27c1 typo: attribut -> attribute 2014-04-14 12:32:59 +02:00
6bdeee7884 typo: suiteable -> suitable 2014-04-14 12:32:26 +02:00
e052009df1 Remove unused code
Change-Id: I9d407fcdbee66b44504c5d092d32113114e2ac46
2014-04-14 10:37:24 +02:00
42d494e792 Fix encoding (iso-8859-1 -> utf8)
Change-Id: I3ce449b6be30edbe99a72a66d18225482e091236
2014-04-12 23:59:06 +02:00
a3354ecf4f Separate mouse event handlers for GL3D bar chart.
They are just skeletons for now.

Change-Id: I7e5e95ad8a2809125cbcf3affd17e663aafa99b0
2014-04-11 09:36:40 -04:00
6835d9f307 It's "its", not "it's"
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
b49e42f358 Rename 3DBarChart and Bar3DChart to GL3DBarChart.
Change-Id: If0449e00549d8e2f4a8cfac325a5f8c5e4ea3dcd
2014-04-10 11:47:08 -04:00
085ab6263e Remove the old GL3DBarChart code.
Change-Id: Id7039021f252fb45464b5e42248cf3c68edc7be4
2014-04-10 11:47:08 -04:00
b7c7bd3de0 add teh rounded corners property back
This has been removed because it was unused.

Change-Id: If8fdf87cec1cd5fb5ee1924396643b152e6f3431
2014-04-10 00:11:23 +02:00
ceec6e1ac9 make sure the unique id is set correctly
Change-Id: I1b846e79c2fdd718b7c67f39cb67ca2916520cb3
2014-04-10 00:11:23 +02:00
f6406c910a Need 3 points to define a rectangle in 3D.
Change-Id: I47e212f922b67ced6c6cd63bf90133c024cf0af4
2014-04-08 13:06:07 +02:00
cab4831d02 Fix typo.
Change-Id: I37c0c48e19b43189b9cae3a1adcf875127859804
2014-04-08 08:44:47 +02:00
a264dcebe8 WaE: private field is not used
Change-Id: I555a1513db76ae561c34734a1723d8225f258ef6
2014-04-08 08:19:04 +03:00
0e57fb6eee change debug output
Change-Id: Ia0b9f3b3aff6ceff04d42a94b2d08f0a63bb7560
2014-04-08 05:11:43 +02:00
a52940655d clear the container to be safe
Change-Id: Ifa90e2839898079da4dc09e55feba6626e6a8fa8
2014-04-08 05:06:52 +02:00
39c74649f6 add camera control
Change-Id: Ie641a916f62e80f390514f91de23873364df89a6
2014-04-08 05:06:31 +02:00
d47d8fb222 remove unused variable
Change-Id: I8291aa433fb8f9d8fd3a5c2c756c006321a6deb4
2014-04-08 04:38:23 +02:00
b6e5907f5a temporarily render to a file
Change-Id: Ibfc8101f261489bf11f990ea3fe6ae2e74b99df9
2014-04-08 04:38:23 +02:00
0869626e2b improve the code for temporary OpenGl context
Change-Id: Ia66bf54539e67066a56bb50fb606e50e581bee73
2014-04-08 04:38:22 +02:00
375659b864 e temporarily a local OpenGL context
Change-Id: I086d826456d77bf978c3877ed6da92850878ad97
2014-04-08 04:38:22 +02:00
4d5d61e454 remove some OpenGL traces from OpenGLRender and DummyXShape
Change-Id: Ibc4877a7c98a0ee1920d6ff0137009f489e2e9a9
2014-04-08 04:38:21 +02:00
cc8f652121 remove file
Change-Id: I74d1116ae0d5f99bcfbbe67ec1ecbe1a5a89ad8f
2014-04-08 04:38:19 +02:00
f92ee8f9b0 no need to swap buffers in the offscreen rendering
Change-Id: Ibe25afaa71acc0a0c8995c6f0644eb08fe8920cf
2014-04-08 04:38:19 +02:00
dfb2ab0cee add initial code for creating 3D bar shapes
Change-Id: I55489fad8723f204003fe502eea5e02de4c8d6ef
2014-04-08 04:38:19 +02:00
e7b79ef045 most likley nobody has used that profiling code in years
Change-Id: I6ad7aea0d77b54509c3c919d0015f3a94118a398
2014-04-08 04:38:18 +02:00
46edb178cb put some functions into an anonzmous namespace
Change-Id: I39357685bfd3b2e556d0c6f83a3833fd64bc7e52
2014-04-08 04:38:18 +02:00
4b243d2201 whitespace cleanup in chart2
Change-Id: I85fdb62ff0e6606e2ac8537f477e7cb5bec3827a
2014-04-06 17:19:55 +02:00
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
c03c9da8c2 fdo#43157 : clean up OSL_POSTCOND
Conflicts:
	include/sal/log-areas.dox

Change-Id: I770b8b9fb82f873ccb88dc26ac05206f703ddf33
Reviewed-on: https://gerrit.libreoffice.org/8805
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-03 11:23:49 +00:00
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
6162ce7feb set first position and then size, fdo#75075
Change-Id: Ica8a82619f492bd30929ce88198f621f7a1f88a2
2014-03-30 17:08:47 +02:00
3d9920bfb8 Add missing header.
Change-Id: I15f43e18bc20b8ddfd20b39bd4725519a2a8ae61
2014-03-29 10:33:05 -04:00