skia2/bench
kkinnunen 9e61bb7815 Make the Sk GL context class an abstract base class
Make the Sk GL context class, SkGLNativeContext, an abstract base class. Before,
it depended on ifdefs to implement the platform dependent polymorphism.  Move
the logic to subclasses of the various platform implementations.

This a step to enable Skia embedders to compile dm and bench_pictures. The
concrete goal is to support running these test apps with Chromium command buffer.

With this change, Chromium can implement its own version of SkGLNativeContext
that uses command buffer, and host the implementation in its own repository.

Implements the above by renaming the SkGLContextHelper to SkGLContext and
removing the unneeded SkGLNativeContext. Also removes
SkGLNativeContext::AutoRestoreContext functionality, it appeared to be unused:
no use in Skia code, and no tests.

BUG=skia:2992

Committed: https://skia.googlesource.com/skia/+/a90ed4e83897b45d6331ee4c54e1edd4054de9a8

Review URL: https://codereview.chromium.org/630843002
2014-10-09 05:24:15 -07:00
..
AAClipBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
AlternatingColorPatternBench.cpp Remove gpu shader optimatization for solid white or trans black colors 2014-07-21 11:37:28 -07:00
bench_compare.py Make bench_compare executable. 2013-11-12 15:25:31 +00:00
bench_util.py Restore bench_util.py 2014-08-08 17:28:53 -04:00
BenchLogger.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
BenchLogger.h Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
Benchmark.cpp Save/Restore around bench runs. 2014-10-02 13:03:58 -07:00
Benchmark.h Distinguish common and unique names for skiaperf.com. 2014-09-10 12:05:59 -07:00
BitmapBench.cpp remove alphatype from colortable 2014-09-29 12:10:27 -07:00
BitmapRectBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
BitmapScaleBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
BlurBench.cpp 2D kernel initial wiring for Guassian 2014-08-11 13:55:34 -07:00
BlurImageFilterBench.cpp 2D kernel initial wiring for Guassian 2014-08-11 13:55:34 -07:00
BlurRectBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
BlurRoundRectBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
ChartBench.cpp "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
check_bench_regressions.py Adds dashboard link for one-line plot on each alert item. 2014-05-13 17:38:17 +00:00
ChecksumBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
ChromeBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
CmapBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
ColorFilterBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
ColorPrivBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
CoverageBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
DashBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
DecodeBench.cpp Cleanup: Rename SkOSPath functions. 2014-07-28 19:26:58 -07:00
DeferredSurfaceCopyBench.cpp check for newSurface failure 2014-10-02 12:58:49 -07:00
DisplacementBench.cpp remove unnecessary bitmapdevice references 2014-06-27 05:49:54 -07:00
ETCBitmapBench.cpp "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
FontCacheBench.cpp Slim Skia down to just one murmur3 implementation. 2014-07-10 06:03:46 -07:00
FontScalerBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
FSRectBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
GameBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
gen_bench_expectations.py Added in framework to get more bench data 2014-06-12 11:27:40 -07:00
GMBench.cpp SKPs-as-benches in nanobench 2014-08-01 07:46:53 -07:00
GMBench.h SKPs-as-benches in nanobench 2014-08-01 07:46:53 -07:00
GradientBench.cpp remove internal repeat count from gradient benches 2014-08-14 12:24:46 -07:00
GrMemoryPoolBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
GrOrderedSetBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
GrResourceCacheBench.cpp GrResourceCache2 manages scratch texture. 2014-10-08 08:40:09 -07:00
gUniqueGlyphIDs.h switch array to uint16_t to fix overflows 2013-06-11 19:53:19 +00:00
HairlinePathBench.cpp "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
ImageCacheBench.cpp Change SkResourceCache to take a Visitor inside its find(). 2014-09-15 11:39:45 -07:00
ImageDecodeBench.cpp Cleanup: Rename SkOSPath functions. 2014-07-28 19:26:58 -07:00
ImageFilterDAGBench.cpp draft gpu support in nanobench 2014-07-01 08:43:42 -07:00
InterpBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
LightingBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
LineBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
MagnifierBench.cpp remove unnecessary bitmapdevice references 2014-06-27 05:49:54 -07:00
MathBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
Matrix44Bench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
MatrixBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
MatrixConvolutionBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
MemcpyBench.cpp Clean up some benches that answer questions we're no longer asking. 2014-08-27 06:34:16 -07:00
MemoryBench.cpp Clean up some benches that answer questions we're no longer asking. 2014-08-27 06:34:16 -07:00
MemsetBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
MergeBench.cpp remove unnecessary bitmapdevice references 2014-06-27 05:49:54 -07:00
microbench.json Fix the other microbench schema 2014-07-25 08:30:11 -07:00
MorphologyBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
MutexBench.cpp Fix thread unsafe mutex initialization. 2014-07-25 11:52:48 -07:00
nanobench.cpp Make the Sk GL context class an abstract base class 2014-10-09 05:24:15 -07:00
PatchBench.cpp Added bench for grid of patches. 2014-08-15 13:30:47 -07:00
PatchGridBench.cpp Added bench for grid of patches. 2014-08-15 13:30:47 -07:00
PathBench.cpp (temporarily?) disable no-oped benches 2014-07-16 20:23:43 -04:00
PathIterBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
PathUtilsBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
PerlinNoiseBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
PictureNestingBench.cpp Tag recording picture nesting bench as nonrendering. 2014-09-16 10:12:42 -07:00
PicturePlaybackBench.cpp Change SkPicture::draw to playback 2014-09-04 08:42:50 -07:00
PictureRecordBench.cpp Remove DEPRECATED_beginRecording(). 2014-10-01 09:29:35 -07:00
PremulAndUnpremulAlphaOpsBench.cpp Use unpremul for premul_and_unpremul_alpha_ bench. 2014-07-11 10:45:11 -07:00
ReadPixBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
RecordingBench.cpp Measure picture recording speed in nanobench. 2014-09-10 12:19:30 -07:00
RecordingBench.h Measure picture recording speed in nanobench. 2014-09-10 12:19:30 -07:00
RectanizerBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
RectBench.cpp Remove aarects benchmark. Redundant with rotated_rects* bench and *much* slower. 2014-08-14 13:03:58 -07:00
RectoriBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
RefCntBench.cpp Add support for 64bit atomic inc/dec/cas 2014-07-11 08:42:11 -07:00
RegionBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
RegionContainBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
RepeatTileBench.cpp remove alphatype from colortable 2014-09-29 12:10:27 -07:00
ResultsWriter.h "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
RotatedRectBench.cpp Make the rotated rects bench allow more alpha/color variations and an arbitrary xfermode::mode. 2014-08-08 07:43:29 -07:00
RTreeBench.cpp Demote getCount, getDepth, and clear to RTree-only methods. 2014-10-02 09:53:04 -07:00
ScalarBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
ShaderMaskBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
SkipZeroesBench.cpp Cleanup: Rename SkOSPath functions. 2014-07-28 19:26:58 -07:00
SKPBench.cpp Distinguish common and unique names for skiaperf.com. 2014-09-10 12:05:59 -07:00
SKPBench.h Distinguish common and unique names for skiaperf.com. 2014-09-10 12:05:59 -07:00
skpbench.json Fix scale type in JSON format 2014-06-26 15:39:31 -07:00
SortBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
StrokeBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
TableBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
TextBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
tile_analyze.py Script to plot tile vs. viewport comparison for given platform and revision. 2013-02-13 23:22:29 +00:00
TileBench.cpp Disable bogus _scaled benches until we can figure out why they're bogus. 2014-06-24 15:19:26 -07:00
VertBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
WritePixelsBench.cpp Hide fields in SkImageInfo 2014-09-03 11:54:58 -07:00
WriterBench.cpp Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
XfermodeBench.cpp "NULL !=" = NULL 2014-09-05 13:34:00 -07:00