skia: Fix command buffer support on the mac
authorhendrikw <hendrikw@chromium.org>
Tue, 27 Oct 2015 17:04:34 +0000 (10:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 27 Oct 2015 17:04:34 +0000 (10:04 -0700)
commit855dc9395f3b13e1087aae3351a2a368fb89c11e
treef0c32b2ab534f081e81af3d0976793cd190f29db
parent423e337782f65b6861a45a4ecff84192994ced1d
skia: Fix command buffer support on the mac

The extension on the mac is .dylib, updated the name.

EGL.h isn't available on mac (unless we include skia_angle.h).
I've got a somewhat bad hack of defining the types that I need
to get this running.

GetProcedureAddress was somehow successfully grabbing gl
functions from another lib.  Removed this call, I copied it
from ANGLE impl, but it isn't required.

lib load path works differently, fixed in GYP

BUG=skia:2992

Review URL: https://codereview.chromium.org/1403153002
gyp/common_conditions.gypi
src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp