Log of /trunk/graf3d/gl/src/TGLContext.cxx
Parent Directory
Revision
47033 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 5 11:48:24 2012 UTC (2 years, 2 months ago) by
tpochep
File length: 17139 byte(s)
Diff to
previous 44626
I do not remember, how this happend, that all #include "RConfigure.h" are commented,
but this is wrong, if something changes in TGLWSIncludes.h, all cocoa related code will be silently
excluded.
Revision
44288 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 18 13:01:42 2012 UTC (2 years, 8 months ago) by
tpochep
File length: 16998 byte(s)
Diff to
previous 44274
1. MakeCurrent, SwapBuffers for TGLContext.
2. Add some methods to ROOTOpenGLView (not to have exception on non-existing selector).
Revision
44274 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 16 13:32:57 2012 UTC (2 years, 8 months ago) by
tpochep
File length: 16534 byte(s)
Diff to
previous 44231
Implement CreateOpenGLContext. For the moment, I have 1 to 1 relation between GL view and GL context
(and it looks like we never create several GL context for 1 TGLWidget).
Revision
44231 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon May 14 12:13:56 2012 UTC (2 years, 8 months ago) by
tpochep
File length: 16026 byte(s)
Diff to
previous 36675
Add gl code section for R__HAS_COCOA case.
Thanks to Matevz, all system headers are hidden so I can smoothly switch between
different GL implementation without need to modify code, no changes are needed in glew/ftgl/eve at all.
Revision
36675 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 15 20:33:58 2010 UTC (4 years, 2 months ago) by
matevz
File length: 14934 byte(s)
Diff to
previous 34286
* TGLFormat, TGLWidget
Add handling of multi-sampling formats for GLX.
WGL implementation is still missing.
The value is taken from TEnv "OpenGL.Framebuffer.Multisample".
* TGLViewerBase
Use TGLCapabilityEnabler for switching on bleniding.
* TGLViewer
Remove flas fInitGL and associated functions.
Set sane GL state on every Draw().
Consolidate image extraction from frame-buffers.
* TGLEmbeddedViewer, TGLSAViewer
Remove calls to ResetInitGL().
* TGLRnrCtx
Remove fGrabBuffer and fGrabbedImage members, only keep fGrabImage flag.
All the rest is handled internally in TGLViewer now.
* TGLFBO
Add support for multi-sampling FBOs.
Revision
30887 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 27 13:49:01 2009 UTC (5 years, 2 months ago) by
matevz
File length: 14854 byte(s)
Diff to
previous 29332
* TEveManager - add checks to see if we are running in batch mode and if
GUI lib initialization has been successful.
* TGLContext - only write info about successful GLEW initialization if gDebug
is set.
Revision
29332 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 3 17:02:46 2009 UTC (5 years, 6 months ago) by
matevz
File length: 14838 byte(s)
Diff to
previous 28662
- TGLContext: Initialize GLEW the first time any context is made current.
- TGLWidget: Fix method-name in error print-out.
Revision
26250 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 17 20:56:44 2008 UTC (6 years, 2 months ago) by
matevz
File length: 16087 byte(s)
Diff to
previous 24204
TGLContext, TGLWidget
---------------------
Add method ClearCurrent() to set current GL context to 0.
TGLLogicalShape
---------------
Change how number of required display-lists per object is handled:
before it was a virtual function, now it is a data member.
Fixes a severe memory leak due wrong number of released display-lists
when called from the destructor, which was calling a virtual function
to determine their number.
Fix accordingly the following classes: TGLSphere, TGLCylinder,
TEveCaloLegoGL and TEveBoxSetGL.
Revision
24204 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 10 18:24:40 2008 UTC (6 years, 7 months ago) by
matevz
File length: 15710 byte(s)
Diff to
previous 24162
- TGLContext, TGLWidget
Fix creation of TGLWidget so that it also works with software
rendering where few visuals are available.
This means that we have to break TGLWidget construction into three
phases (required for software rendering on X11):
1. find appropriate visual and create window;
2. create widget using the above window;
3. create gl-context binding them together.
To avoid unexpected behaviour the construction is now done via
static constructor 'TGLWidget* TGLWidget::Create()' and the
actual constructor has been made protected.
- TGLEmbeddedViewer, TGLSAViewer
Use new TGLWidget construction syntax.
- TGLPShapeObjEditor
Use new TGLWidget construction syntax.
Fix rendering and update of color-sphere.
Revision
24162 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 6 11:33:13 2008 UTC (6 years, 7 months ago) by
matevz
File length: 15779 byte(s)
Diff to
previous 23869
From Bertrand:
Remove TGLWidgetContainer class and change inheritance of
TGLWidget as following:
before: class TGLWidget : public TGCanvas, public TGLPaintDevice
now: class TGLWidget : public TGFrame, public TGLPaintDevice
Now TGFrame base class is used directly to tie with the GL Context,
instead of creating an external window and registering it in TVirtualX
window list.
Revision
23140 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by
rdm
File length: 15929 byte(s)
Diff to
previous 23087
move the following directories to "graf2d":
asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf
move the following directories to "graf3d":
eve, ftgl, g3d, gl, x3d
Revision
23087 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 9 14:10:56 2008 UTC (6 years, 9 months ago) by
rdm
Original Path:
trunk/gl/src/TGLContext.cxx
File length: 15929 byte(s)
Diff to
previous 22539
From Alja, Bertrand and Matevz - merged branches/dev/fireworks 22550:23082.
Major changes imported by this merge are:
gl/
====
- reorganization of scene rendering in TGLViewer - render opaque
objects from all scenes first, then all transparent ones;
- improve saving of images from the GL-viewer so that the dialog boxes
and other windows do not result in black areas on the saved image;
- improved management of FTGL fonts accross GL contexts.
eve/
====
- new classes for visualization of calorimeter data in lego mode;
- allow fixed scale beyond given radius for fish-eye projections.
Revision
22539 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 8 14:36:37 2008 UTC (6 years, 10 months ago) by
rdm
Original Path:
trunk/gl/src/TGLContext.cxx
File length: 15865 byte(s)
Diff to
previous 21830
From Alja, Bertrand & Matevz: merged branches/dev/fireworks 21757:22514.
This includes:
- development for event-displays of ALICE and CMS since 5.18 in eve/,
gl/ and gui/;
- many new tutorials and demos for eve/;
- fix in TQObject to support class-signals from all base-classes.
Revision
21812 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 22 20:52:31 2008 UTC (7 years ago) by
matevz
Original Path:
trunk/gl/src/TGLContext.cxx
File length: 15784 byte(s)
Diff to
previous 21453
From Alja:
New class TFTGLManager for management of FTGL fonts.
New classes TEveText, TEveTextEditor and TEveTextGL for display and
configuration of a 3D text.
New test macro 'tutorials/eve/text_test.C'.
From Matevz:
Reenable smart-refresh during redraw of TEveScenes.
Minor code-layout changes.
Revision
19153 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Jun 23 21:23:22 2007 UTC (7 years, 7 months ago) by
brun
Original Path:
trunk/gl/src/TGLContext.cxx
File length: 15023 byte(s)
Diff to
previous 19049
From Matevz:
1. TGLViewer performs internal loop on pad-primitives.
2. Timur: generalization of gl-plot-painters to allow external access.
3. Support usage of gl-plot-painters in gl-viewer.
4. Provide a default gl-sharing context for resource optimization.
Revision
19049 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 18 07:02:16 2007 UTC (7 years, 7 months ago) by
brun
Original Path:
trunk/gl/src/TGLContext.cxx
File length: 12456 byte(s)
Diff to
previous 19018
From Matev and Timur:
Timur:
1. Allow unique identification of shared GL contexts via
TGLContextIdentity class.
Matevz:
1. Improved overlay selection handling.
2. Perform GL context check before rendering, possibly invalidating
registered display-lists.
3. Minimize updates for window expose and resize events.
Revision
19000 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Mon Jun 11 19:56:34 2007 UTC (7 years, 7 months ago) by
brun
Original Path:
trunk/gl/src/TGLContext.cxx
File length: 7528 byte(s)
From Matevz:
Major restructuring of GL viewer-scene relationship (Matevz)
===================================================
The main idea was to generalize current GL infrustructure so that the
following features can be done in the future:
1. Full pad rendering via GL including 3D histo/func painters and 2D graphics.
2. Implementation of GL canvas (with independent viewers serving as pads).
3. Multi-view event-visualization front-end.
4. Inclusion of external scenes (non-ROOT-gl) in ROOT viewer.
Rendering of ROOT scenes in external GL frameworks.
Changes on the code level
-------------------------
0. Extend current scene/viewer classes into a 2-level class hierarchy.
New classes TGLViewerBase and TGLSceneBase.
1. Allow scenes to be shared among viewers. View-specific scene-cache
needs to be kept at the viewer side.
2. Viewer now manages a list of scenes. It is possible to put together
a combination of scenes (e.g. one showing geometry, another one tracks
and yet another clusters). Each scene can define its own clipping object.
3. Provide API for fine-grained control over rendered object removal,
creation and update. This allows for efficient scene-updates.
4. Disentangle selection, clipping and other markup objects from
within viewer-scene singleton.
New classes TGLClipSet, TGLManipSet.
6. Disentangle selection management.
7. Separate overlay rendering to allow any number of active GL-GUI
elements (like manipulators are now).
New classes TGLOverlayElement.
8. Trailing white space has been removed in all files.
Restructure low-level interface to OpenGL (Timur)
=========================================
1. Allow sharing GL resources among viewers.
2. Do not bind GL-output (windowed or offscreen) to ROOT GUI.
New classes TGLContext, TGLFormat, TGLWidget.
This oboletes TGLKernel and TVirtualGL classes.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.