skia2/tools/timer
kkinnunen 30bc88ccd5 Refactor SkGLContext to be actually extendable
Refactor SkGLContext to be actually extendable. Before, non-trivial subclass
would need to destroy the GL connection upon running the destructor. However,
the base class would run GL commands in its own destructor (with destroyed GL
connection)

Refactor so that SkGLContext subclass object creation is completely done by
the factory function. If the factory function returns a non-NULL ptr, it means the context
is usable.

The destruction is done with the destructor instead of virtual function called
upon destruction. Make the destructors not to call virtual functions, for
clarity.

Remove custom 1x1 FBO setup code from the base class. It appears not to be used
anymore.

BUG=skia:2992

Review URL: https://codereview.chromium.org/640283004
2014-10-15 23:03:54 -07:00
..
GpuTimer.cpp Refactor SkGLContext to be actually extendable 2014-10-15 23:03:54 -07:00
GpuTimer.h Make the Sk GL context class an abstract base class 2014-10-09 05:24:15 -07:00
SysTimer_mach.cpp Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
SysTimer_mach.h Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
SysTimer_posix.cpp Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
SysTimer_posix.h Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
SysTimer_windows.cpp Use __rdtsc on Windows. 2014-07-16 19:59:32 -04:00
SysTimer_windows.h Use __rdtsc on Windows. 2014-07-16 19:59:32 -04:00
Timer.cpp Make the Sk GL context class an abstract base class 2014-10-09 05:24:15 -07:00
Timer.h Make the Sk GL context class an abstract base class 2014-10-09 05:24:15 -07:00
TimerData.cpp Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
TimerData.h Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00