Add ANGLE Platform implementation.
commitefe950c2db75b0cfd043e068a4cfc68ab393dac4
authorjmadill <jmadill@chromium.org>
Tue, 10 Mar 2015 18:46:17 +0000 (10 11:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 10 Mar 2015 18:46:55 +0000 (10 18:46 +0000)
treef3c2a70b5d7077291842fbcda90fbd8e281242e7
parentae752c047c2ac5682340a7f0e719a5f542cfe552
Add ANGLE Platform implementation.

This logic allows us to record traces and histograms easily within
ANGLE's code. It also gives a flexible design that we can extend
with further methods later, without breaking compilation. The
design is based on blink::Platform.

Also add two new histogram descriptions to histograms.xml, and
move the GPU Process metrics init to before InitializeOneOff, so
ANGLE can record histograms during Renderer initialization.

BUG=436191

Review URL: https://codereview.chromium.org/923223002

Cr-Commit-Position: refs/heads/master@{#319930}
18 files changed:
ash/ash_unittests.isolate
cc/cc_unittests.isolate
chrome/sync_integration_tests.isolate
chrome/unit_tests.isolate
components/components_unittests.isolate
content/content_browsertests.isolate
content/content_gpu.gypi
content/content_unittests.isolate
content/gpu/gpu_main.cc
extensions/extensions_browsertests.isolate
gpu/gpu_unittests.isolate
tools/metrics/histograms/histograms.xml
ui/gl/BUILD.gn
ui/gl/DEPS
ui/gl/angle_platform_impl.cc [new file with mode: 0644]
ui/gl/angle_platform_impl.h [new file with mode: 0644]
ui/gl/gl.gyp
ui/gl/gl_implementation_win.cc