chart2: remove dead code
Change-Id: I67bc3785eb0fd2030626becd1ffb6a80bd97d861 Reviewed-on: https://gerrit.libreoffice.org/47491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
committed by
Markus Mohrhard
parent
cfd78dadbb
commit
16ea77bc4d
@@ -54,13 +54,8 @@ const float TEXT_HEIGHT = 10.0f;
|
||||
float DEFAULT_CAMERA_HEIGHT = 500.0f;
|
||||
const sal_uInt32 ID_STEP = 10;
|
||||
|
||||
#if 0
|
||||
const float BAR_SIZE_X = 15.0f;
|
||||
const float BAR_SIZE_Y = 15.0f;
|
||||
#else
|
||||
const float BAR_SIZE_X = 30.0f;
|
||||
const float BAR_SIZE_Y = 5.0f;
|
||||
#endif
|
||||
const float BAR_DISTANCE_X = 5.0f;
|
||||
const float BAR_DISTANCE_Y = 5.0;
|
||||
|
||||
|
@@ -406,11 +406,7 @@ private:
|
||||
glm::mat4 m_3DMVP;
|
||||
|
||||
GLuint m_3DUBOBuffer;
|
||||
#if 0
|
||||
GLint m_3DLightBlockIndex;
|
||||
|
||||
GLint m_3DMaterialBlockIndex;
|
||||
#endif
|
||||
GLint m_3DActualSizeLight;
|
||||
|
||||
GLuint m_NormalBuffer;
|
||||
|
@@ -1088,11 +1088,7 @@ void DummyChart::render()
|
||||
|
||||
SAL_INFO("chart2.opengl", "render chart");
|
||||
m_GLRender.prepareToRender();
|
||||
#if 0
|
||||
m_GLRender.renderDebug();
|
||||
#else
|
||||
DummyXShapes::render();
|
||||
#endif
|
||||
}
|
||||
|
||||
void DummyChart::clear()
|
||||
|
@@ -109,10 +109,6 @@ public:
|
||||
void SetBackGroundColor(sal_uInt32 color1, sal_uInt32 color2, css::drawing::FillStyle fillstyle);
|
||||
|
||||
private:
|
||||
#if 0
|
||||
//for performance
|
||||
double m_dFreq;
|
||||
#endif
|
||||
int m_iWidth;
|
||||
|
||||
int m_iHeight;
|
||||
@@ -128,22 +124,13 @@ private:
|
||||
glm::mat4 m_Model;
|
||||
// Our ModelViewProjection : multiplication of our 3 matrices
|
||||
glm::mat4 m_MVP;
|
||||
#if 0
|
||||
GLint m_RenderProID;
|
||||
#endif
|
||||
|
||||
GLuint m_VertexBuffer;
|
||||
|
||||
GLuint m_ColorBuffer;
|
||||
|
||||
GLint m_MatrixID;
|
||||
#if 0
|
||||
GLint m_RenderVertexID;
|
||||
|
||||
GLint m_RenderTexCoordID;
|
||||
|
||||
GLint m_RenderTexID;
|
||||
#endif
|
||||
GLuint m_RenderVertexBuf;
|
||||
|
||||
GLuint m_RenderTexCoordBuf;
|
||||
|
Reference in New Issue
Block a user