Home | History | Annotate | Download | only in image

Lines Matching refs:device

20 SkSurface_Gpu::SkSurface_Gpu(SkGpuDevice* device)
21 : INHERITED(device->width(), device->height(), &device->surfaceProps())
22 , fDevice(SkRef(device)) {
38 // legacy: need to dirty the bitmap's genID in our device (curse it)
136 SkAutoTUnref<SkGpuDevice> device(
138 if (!device) {
141 return new SkSurface_Gpu(device);
147 SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(
150 if (!device) {
153 return new SkSurface_Gpu(device);
169 SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(surface->asRenderTarget(), props,
171 if (!device) {
174 return new SkSurface_Gpu(device);
187 SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(rt, props,
189 if (!device) {
192 return new SkSurface_Gpu(device);
206 SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(rt, props,
208 if (!device) {
211 return new SkSurface_Gpu(device);