| Index: src/gpu/SkGpuDevice.cpp
|
| ===================================================================
|
| --- src/gpu/SkGpuDevice.cpp (revision 10711)
|
| +++ src/gpu/SkGpuDevice.cpp (working copy)
|
| @@ -161,12 +161,12 @@
|
| }
|
|
|
| SkGpuDevice::SkGpuDevice(GrContext* context, GrTexture* texture)
|
| -: SkDevice(make_bitmap(context, texture->asRenderTarget())) {
|
| +: SkRasterDevice(make_bitmap(context, texture->asRenderTarget())) {
|
| this->initFromRenderTarget(context, texture->asRenderTarget(), false);
|
| }
|
|
|
| SkGpuDevice::SkGpuDevice(GrContext* context, GrRenderTarget* renderTarget)
|
| -: SkDevice(make_bitmap(context, renderTarget)) {
|
| +: SkRasterDevice(make_bitmap(context, renderTarget)) {
|
| this->initFromRenderTarget(context, renderTarget, false);
|
| }
|
|
|
| @@ -203,7 +203,7 @@
|
| int width,
|
| int height,
|
| int sampleCount)
|
| - : SkDevice(config, width, height, false /*isOpaque*/) {
|
| + : SkRasterDevice(config, width, height, false /*isOpaque*/) {
|
|
|
| fDrawProcs = NULL;
|
|
|
| @@ -1787,7 +1787,7 @@
|
| SkGpuDevice::SkGpuDevice(GrContext* context,
|
| GrTexture* texture,
|
| bool needClear)
|
| - : SkDevice(make_bitmap(context, texture->asRenderTarget())) {
|
| + : SkRasterDevice(make_bitmap(context, texture->asRenderTarget())) {
|
|
|
| GrAssert(texture && texture->asRenderTarget());
|
| // This constructor is called from onCreateCompatibleDevice. It has locked the RT in the texture
|
|
|