summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-29remove unused structMarkus Mohrhard
Change-Id: I446b2f5739f95634ebff9447d0af108b1dedf6a2
2014-01-29more work for text renderingMarkus Mohrhard
Change-Id: I4c94757de59722b7dfec9e2d0db83fc5734ba942
2014-01-29add more debugging for text renderingMarkus Mohrhard
Change-Id: I1cb43c8a02313acf2a48ba91e88534c17f5f86c8
2014-01-29try to use alpha background in text renderingMarkus Mohrhard
Change-Id: I9750117a72d05c7325580a1f93e5db3b9e0fdeb6
2014-01-29we only need one of the BMP header functionsMarkus Mohrhard
Additionally we don't need them when we don't write to a file. Change-Id: Ib38f68f8f88490f6dfff9fffe7924a707438a040
2014-01-29no need for a member variable if only used in one methodMarkus Mohrhard
Change-Id: If82cb7ff43932c6d37d4b3100c2bd5228f6109ce
2014-01-29let us be a bit more conservative and deal with floating point correctlyMarkus Mohrhard
Change-Id: I22e21c1550982458f1a2c464a8b82e1d71e0525d
2014-01-29no need for the bitmap header, we ignore it anyway in the next stageMarkus Mohrhard
Change-Id: I007434264bd5649c55d195d30c5447704f930fe0
2014-01-29more work on correct rectangle handlingMarkus Mohrhard
We now render black borders around rectangles and correctly handle rectangles with just fill or just borders. Still to be done: * correct border style handling * correct border color handling (maybe switch GLSL program) * gradient handling * still using GL_QUADS * border line widths * transparence Change-Id: I3912ccf3dc5df686142a5d1758ee9b97fe435d7b
2014-01-29fix windowsMarkus Mohrhard
Change-Id: I6ca5967fd84851bb2ee5af1325b70a6a5e160644
2014-01-29extract ugly function pointer initializationMarkus Mohrhard
Change-Id: I4bce735da5f4d9f9b3aaae92ec0cce6725f2016d
2014-01-29make multisampling available on linux if availableMarkus Mohrhard
This also greatly reduces the complexity of the OpenGL initialization on Linux. We now require a RGBA framebuffer with 8 bits per channeland 24 bit depth. Change-Id: I12d4bd6c15cbf95c6211c7af6a81ffbb228f05be
2014-01-29create symbols for glew in the debug caseMarkus Mohrhard
Change-Id: Ia40d4477344f9fc0f9942a9d942b97a416ff11d7
2014-01-29split the windows and linux intialization bitsMarkus Mohrhard
This makes it much esier now to simplify the Linux selection logic. Change-Id: I7db0daf81b1c9047d4ef95527c7b51c09e6ab80a
2014-01-29even the baseline supports glx 1.3Markus Mohrhard
We won't support glx < 1.3!!!! Change-Id: Icc5d15d682223b1fab3165d279b596446c920e9b
2014-01-29it should be chart2.opengl for the loggingMarkus Mohrhard
Change-Id: Id1a2c990c8510e70a465e648b3d3ed1120ab283a
2014-01-29we only need one variable for the current colorPeilin
Change-Id: I322199a8bb2ee654d155a1d09473a71847486ac4
2014-01-29no need for a member variableMarkus Mohrhard
Change-Id: I58b22d123e4ba0dddeef5054492a1f851447857b
2014-01-29fix z ordering problemsMarkus Mohrhard
Change-Id: Ia1c9ea521029f871c8b0bdfd078d986d3e0f40e8
2014-01-29finally fix rectangle renderingMarkus Mohrhard
Change-Id: Iaf0467ce4d9eb12ac3e84c2f1059b859ee9c4de1
2014-01-29does not need to be a member variableMarkus Mohrhard
Change-Id: Ib5b61f724c9df974d02875cde76079094cb59c38
2014-01-29first fixes for rectangle renderingMarkus Mohrhard
Change-Id: I7705f8fd0472ad482d2292438d264eb0b641758e
2014-01-29Fix the error of shutdownicon.cxx.yangzhang
Change-Id: I91d62edd72e884a0139d3aca46aff0db88b202be Signed-off-by: shaochunfang <shaochun@multicorewareinc.com>
2014-01-29modify the color property and adjust bitmap pos&sizePeilin
Change-Id: I487d2b12acda6fe25913d2488110afc63ba1e37e
2014-01-29another two unused variablesMarkus Mohrhard
Change-Id: Ib6fdcd8a541f98e3e7a3e1cb7407bb497a104914
2014-01-29remove unused variablesMarkus Mohrhard
Change-Id: I52be4e3a6539392bbe030e1a77fcbb61960eeab8
2014-01-29make a few variables local, no need for member variablesMarkus Mohrhard
Change-Id: I2559756acf655f73c782db023b7502f969346171
2014-01-29disable my debug codeMarkus Mohrhard
Change-Id: Iea6824c08ee88334bc0acb4b2bee9323c8995520
2014-01-29remove unused variablesMarkus Mohrhard
Change-Id: Ic6a1ce2ac9e45d28cc0c9186859988c5085d44cd
2014-01-29fix the line color againMarkus Mohrhard
still was set to my debug values Change-Id: I1b993450fee7be75a0a9e98fb99ffdea0c23baca
2014-01-29fix line widthMarkus Mohrhard
Change-Id: I9db787af08ef646d978106a9c91b95d6c57cf5ba
2014-01-29fix missing clearing of rendering areaMarkus Mohrhard
Now there are no artifacts left from earlier renderings. Change-Id: I48e6585d838cdf9547c150e1484a967fc9b69329
2014-01-29fix rectangle renderingMarkus Mohrhard
I had to disable it at the same time as it renders a white space over the whole chart right now. Before the fix it was just the top left quadrant. Change-Id: I499767bcc302e6d6c82437535b4ea10ba212b82d
2014-01-29fix bubble renderingMarkus Mohrhard
Change-Id: Ice371673554a88b69866179b6b16944d6171e45d
2014-01-29fix the remaining projection issuesMarkus Mohrhard
Change-Id: I3d6b7126b8c23e5cd1e60d49fa8cd6ebb0c9a6d1
2014-01-29try to use orthographic projectionMarkus Mohrhard
Change-Id: I6e0baf23cea7d1883ca910ee13819ea58bbf7695
2014-01-29only use one variable for alphaMarkus Mohrhard
It was confusing and in some places we already used the wrong variable. Change-Id: Ib3a0f0e500530be0b502301233e5e853abe9f889
2014-01-29a bit more clean-upMarkus Mohrhard
Change-Id: Ib6a3ef54fdd7b0582b691ae5e4d2ff998bd17b54
2014-01-29fix size of graphicMarkus Mohrhard
Change-Id: I2317083eca1034fe1d69b8716304c9f6d5cf5067
2014-01-29don't render to the fileMarkus Mohrhard
Change-Id: I8cf4b25c84564c0cb3195c5b63d0dde6d78d7080
2014-01-29delete all programs at the endMarkus Mohrhard
Change-Id: I6a2e0a70e9b6eadcb869596471f702bca4145336
2014-01-29use std::minMarkus Mohrhard
Change-Id: I8ffaf5e5ed418901658ca6b7e3d1ad369ee0baba
2014-01-29formattingMarkus Mohrhard
Change-Id: I3806d3b74e850812ccb24dea0580759529c154cc
2014-01-29remove unused variableMarkus Mohrhard
Change-Id: Ia563d4628e322bfde82ccca02b107c5e954a0205
2014-01-29we are rendering to FBO so no need for two objectsMarkus Mohrhard
Change-Id: I6a900244160c974feefb45ecb41d581050e955e2
2014-01-29next stepMarkus Mohrhard
Change-Id: I4307175107bc5ead4e74ee9fa9acfc6375e8260e
2014-01-29one more errorMarkus Mohrhard
Change-Id: I7a40d5583a76d0b553a828bd2657c77fdca0f59a
2014-01-29ahh, think errorMarkus Mohrhard
Change-Id: I400115ad802c1d00ec5f99e4f5fc952938de450a
2014-01-29fix code for writting png filesMarkus Mohrhard
Change-Id: I96244b99b2f5a9f22ca09c133687661b06229359
2014-01-29try to fix line renderingMarkus Mohrhard
The line rendering was not associated with a OpenGL program. This resulted in runtime errros. Change-Id: If0d0f015c3505eda908156743ce8bd6a43f644e4