skia2/tools/gpu/gl
martina.kollarova 7b70156334 Fix context creation problems in dm
Fixes these issues:

1. The glXCreateContextAttribsARB call seems to modify the
context_attrib parameter upon failure. Since context_attrib was static,
if it first tried to create an OpenGL 4.4 context and it failed, further
attempts to create a context with lower versions would also fail.

2. Getting an OpenGL 3.0 context was never tried.

3. Context creation for ES 3.0 was failing on my machine. Since ES 2.0
looks like the intended version from the surrounding code, I set it to
that. It could be rewritten to use a similar loop as standard OpenGL and
try from the highest version to the lowest.

BUG=skia:5403
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2147513002

Review-Url: https://codereview.chromium.org/2147513002
2016-07-20 07:01:46 -07:00
..
angle Fix compilation of GLTestContext_angle.cpp" 2016-03-31 14:30:08 -04:00
command_buffer Remove NVPR related env var from command buffer GL context creation 2016-05-17 22:15:39 -07:00
debug Support GL_SAMPLES queries in null contexts 2016-06-23 13:42:13 -07:00
egl Implement vulkan fence syncs for nanobench 2016-05-16 14:09:56 -07:00
glx Fix context creation problems in dm 2016-07-20 07:01:46 -07:00
iOS rename sk_gpu_test::GLContext to sk_gpu_test::GLTestContext 2016-03-31 10:59:06 -07:00
mac rename sk_gpu_test::GLContext to sk_gpu_test::GLTestContext 2016-03-31 10:59:06 -07:00
mesa rename sk_gpu_test::GLContext to sk_gpu_test::GLTestContext 2016-03-31 10:59:06 -07:00
none Add CreatePlatformGLTestContext_none.cpp for Google3 build 2016-04-01 04:50:45 -07:00
null Enable NV_path_rendering in the Null GL. 2016-04-20 00:36:53 -07:00
win Define LEAN_AND_MEAN and NOMINMAX for all windows builds 2016-06-10 06:42:45 -07:00
GLTestContext.cpp Implement vulkan fence syncs for nanobench 2016-05-16 14:09:56 -07:00
GLTestContext.h Nanobench running on Vulkan 2016-05-11 11:55:36 -07:00