Skip to content

Commit

Permalink
Even more VBO refactoring (openscad#5585)
Browse files Browse the repository at this point in the history
* Renamed CGAL_OGL_VBO_helper to VBOPolyhedron
* Renamed VertexArray to VBOBuilder
* Flattened inheritance hierarchy; removed unnecessary CGAL_OGL_VBOPolyhedron
* Merged CGAL_OGL_Polyhedron into VBOPolyhedron
* Remove wireframe-only support
  • Loading branch information
kintel authored Jan 22, 2025
1 parent 97a7d86 commit e6cca91
Show file tree
Hide file tree
Showing 42 changed files with 262 additions and 853 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ else()
src/glview/fbo.cc
src/glview/Renderer.cc
src/glview/system-gl.cc
src/glview/VertexArray.cc
src/glview/VBOBuilder.cc
src/glview/VertexState.cc
src/glview/VBORenderer.cc
src/glview/GLView.cc
Expand Down
2 changes: 1 addition & 1 deletion doc/openscad.1
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ If exporting an image, use an OpenCSG preview (optionally in throwntogether mode
.B \-\-animate[=N]
Export N animated frames as PNG images.
.TP
.B \-\-view[=axes|crosshairs|edges|scales|wireframe]
.B \-\-view[=axes|crosshairs|edges|scales]
View options
.TP
.B \-\-csglimit=limit
Expand Down
4 changes: 0 additions & 4 deletions locale/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -945,10 +945,6 @@ msgstr "Povrchy"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "Drátové zobrazení"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -946,10 +946,6 @@ msgstr "&Flächen anzeigen"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "&Gittermodell"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -955,10 +955,6 @@ msgstr "Superficies"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "Estructura"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -955,10 +955,6 @@ msgstr "Surfaces"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "Fil de fer"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/hy.po
Original file line number Diff line number Diff line change
Expand Up @@ -951,10 +951,6 @@ msgstr "Հարթություններ"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "Սխեմատիկ տեսքը"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/ka.po
Original file line number Diff line number Diff line change
Expand Up @@ -931,10 +931,6 @@ msgstr "ზედაპირები"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "მოდელი"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/openscad.pot
Original file line number Diff line number Diff line change
Expand Up @@ -911,10 +911,6 @@ msgstr ""
msgid "F10"
msgstr ""

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr ""

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr ""
Expand Down
4 changes: 0 additions & 4 deletions locale/pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -956,10 +956,6 @@ msgstr "Ściany"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "Szkielet"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/ru.po
Original file line number Diff line number Diff line change
Expand Up @@ -928,10 +928,6 @@ msgstr "Поверхности"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "Каркас"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/tr.po
Original file line number Diff line number Diff line change
Expand Up @@ -938,10 +938,6 @@ msgstr "Yüzeyler"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "Tel kafes"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/uk.po
Original file line number Diff line number Diff line change
Expand Up @@ -952,10 +952,6 @@ msgstr "Поверхні"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "Каркас"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -940,10 +940,6 @@ msgstr "面"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "线框图"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
4 changes: 0 additions & 4 deletions locale/zh_TW.po
Original file line number Diff line number Diff line change
Expand Up @@ -950,10 +950,6 @@ msgstr "表面"
msgid "F10"
msgstr "F10"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1075
msgid "Wireframe"
msgstr "線框"

#: build/OpenSCAD_autogen/include/ui_MainWindow.h:1077
msgid "F11"
msgstr "F11"
Expand Down
8 changes: 0 additions & 8 deletions src/core/lexer.l
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,7 @@ extern YYLTYPE parserlloc;
} \
}

#ifdef DEBUG
#define YY_USER_ACTION parserlloc.last_column += yyleng; \
PRINTDB("YY_USER_ACTION(): %3d, %3d - %3d, %3d | %3d: %s", \
parserlloc.first_line % parserlloc.first_column % \
parserlloc.last_line % parserlloc.last_column % \
yyleng % quoted_string(yytext));
#else
#define YY_USER_ACTION parserlloc.last_column += yyleng;
#endif

extern void parsererror(char const *s);
void to_utf8(const char *, char *);
Expand Down
Loading

0 comments on commit e6cca91

Please sign in to comment.