aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLGpu.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-03-07 07:59:52 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-07 14:55:32 +0000
commit894d5611e54cbf62a03ff9ffb48a2302dda9ab86 (patch)
treea8401c5aa20710ee8b706fc6e7ec2ec2a3175831 /src/gpu/gl/GrGLGpu.h
parentbd7c551a0f65cb79fe4ed188ce5b594d653bddad (diff)
Back to code as data arrays, this time in .text.
This technique lets us generate a single source file, use the C++ preprocessor, and avoid the pain of working with assemblers. By using the section attribute or declspec allocate, we can put these data arrays into the .text section, making them ordinary code. This is like the previous solution, except it should actually run. CQ_INCLUDE_TRYBOTS=skia.primary:Test-Win2k8-MSVC-GCE-CPU-AVX2-x86_64-Debug,Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Debug,Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug,Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug Change-Id: Ide7675f6cf32eb4831ff02906acbdc3faaeaa684 Reviewed-on: https://skia-review.googlesource.com/9336 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
0 files changed, 0 insertions, 0 deletions