Remove notion of default rendertarget. This doesn't map well to usage patterns outsid...
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 18 Jan 2011 20:57:22 +0000 (20:57 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 18 Jan 2011 20:57:22 +0000 (20:57 +0000)
commit2e7b43d33cc495663cb814a7a9d1ecdc09c31828
tree10d01113bbac30d6e3b121d4a9ab5552a6567fd6
parent44b2c73ca6358ba9c4a413d7b39db7991612a6a2
Remove notion of default rendertarget. This doesn't map well to usage patterns outside sample app. Make binding between SkGpuDevice and a GrRenderTarget more explicit. Create method on GrContext to wrap the current target in the 3D API with a GrRenderTarget.

git-svn-id: http://skia.googlecode.com/svn/trunk@706 2bbb7eff-a529-9590-31e7-b0007b416f81
17 files changed:
gpu/include/GrContext.h
gpu/include/GrGpu.h
gpu/src/GrContext.cpp
gpu/src/GrGpu.cpp
gpu/src/GrGpuGL.cpp
gpu/src/GrGpuGL.h
gpu/src/GrGpuGLFixed.cpp
gpu/src/GrGpuGLShaders.cpp
gpu/src/GrGpuGLShaders2.cpp
include/gpu/SkGpuCanvas.h
include/gpu/SkGpuDevice.h
include/gpu/SkGpuDeviceFactory.h
samplecode/SampleApp.cpp
src/gpu/SkGpuCanvas.cpp
src/gpu/SkGpuDevice.cpp
src/utils/mac/SkOSWindow_Mac.cpp
src/utils/win/SkOSWindow_Win.cpp