Make GrGLInterface a per-GrContext refcounted object rather than a global
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 19 Aug 2011 13:28:54 +0000 (13:28 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 19 Aug 2011 13:28:54 +0000 (13:28 +0000)
commit0b77d6892b067ad402c9678b0226bff70599fbe2
treec3659ba65d516bedf2d3a021f2b9f4be94d3f04b
parent098660020cf06ef9a95934b9635ab6996145b3e2
Make GrGLInterface a per-GrContext refcounted object rather than a global

Review URL: http://codereview.appspot.com/4901046/

git-svn-id: http://skia.googlecode.com/svn/trunk@2140 2bbb7eff-a529-9590-31e7-b0007b416f81
31 files changed:
gpu/include/GrGLConfig.h
gpu/include/GrGLInterface.h
gpu/include/GrTypes.h
gpu/src/GrGLDefaultInterface_none.cpp
gpu/src/GrGLIRect.h
gpu/src/GrGLIndexBuffer.cpp
gpu/src/GrGLInterface.cpp
gpu/src/GrGLProgram.cpp
gpu/src/GrGLProgram.h
gpu/src/GrGLRenderTarget.cpp
gpu/src/GrGLStencilBuffer.cpp [new file with mode: 0644]
gpu/src/GrGLStencilBuffer.h
gpu/src/GrGLTexture.cpp
gpu/src/GrGLTexture.h
gpu/src/GrGLUtil.cpp
gpu/src/GrGLVertexBuffer.cpp
gpu/src/GrGpuFactory.cpp
gpu/src/GrGpuGL.cpp
gpu/src/GrGpuGL.h
gpu/src/GrGpuGLFixed.cpp
gpu/src/GrGpuGLFixed.h
gpu/src/GrGpuGLShaders.cpp
gpu/src/GrGpuGLShaders.h
gpu/src/android/GrGLDefaultInterface_android.cpp
gpu/src/ios/GrGLDefaultInterface_iOS.cpp
gpu/src/mac/GrGLDefaultInterface_mac.cpp
gpu/src/mesa/GrGLDefaultInterface_mesa.cpp
gpu/src/unix/GrGLDefaultInterface_unix.cpp
gpu/src/win/GrGLDefaultInterface_win.cpp
gyp/gpu.gyp
samplecode/SampleApp.cpp