2
0
mirror of synced 2025-02-23 06:48:15 +00:00

2 Commits

Author SHA1 Message Date
Alex Brainman
a91f1aade3 x/mobile/gl: include textflag.h in work_windows_amd64.s
Fixes golang/go#13649

Change-Id: Ic552c74489e6aa11c0d2316073f623e2936d608d
Reviewed-on: https://go-review.googlesource.com/17922
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-12-17 17:59:11 +00:00
David Crawshaw
8851c9af31 gl: add windows implementation based on ANGLE
ANGLE is an open source project that implements OpenGL ES on top of
DirectX. It is used by Chrome to implement WebGL:

	https://github.com/google/angle

It can be compiled into libGLESv2.dll/libEGL.dll and used directly
from Go. This CL includes the changes necessary to the gl package
to use ANGLE.

For the EGL changes, I intend to get x/exp/shiny/driver/gldriver
working, and then make x/mobile/app use it when compiling for
GOOS=windows. (The dependency on shiny's screen package will only
hold when building for desktop OSs.)

For golang/go#9306

Change-Id: I01cb39bc8b56547584b7992eab437bd7ed0312b5
Reviewed-on: https://go-review.googlesource.com/17675
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
2015-12-14 15:00:07 +00:00