I have added support for OpenFL to calculate GPU memory usage based on BitmapData, which is very useful for detecting GPU memory leaks.
Use:
haxelib install webgl-memory
<haxelib name="webgl-memory"/>
var gpuMemory = this.stage.context3D.totalGPUMemory;
trace('GPU Memory: $gpuMemory');