Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: src/pdf/SkPDFDevice.cpp

Issue 211043002: remove all references to legacy Config8888 (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/utils/SkDeferredCanvas.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkPDFDevice.h" 8 #include "SkPDFDevice.h"
9 9
10 #include "SkAnnotation.h" 10 #include "SkAnnotation.h"
(...skipping 2289 matching lines...) Expand 10 before | Expand all | Expand 10 after
2300 SkAutoTUnref<SkPDFImage> image( 2300 SkAutoTUnref<SkPDFImage> image(
2301 SkPDFImage::CreateImage(*bitmap, subset, fEncoder)); 2301 SkPDFImage::CreateImage(*bitmap, subset, fEncoder));
2302 if (!image) { 2302 if (!image) {
2303 return; 2303 return;
2304 } 2304 }
2305 2305
2306 SkPDFUtils::DrawFormXObject(this->addXObjectResource(image.get()), 2306 SkPDFUtils::DrawFormXObject(this->addXObjectResource(image.get()),
2307 &content.entry()->fContent); 2307 &content.entry()->fContent);
2308 } 2308 }
2309 2309
2310 #ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG
2311 bool SkPDFDevice::onReadPixels(const SkBitmap& bitmap, int x, int y,
2312 SkCanvas::Config8888) {
2313 return false;
2314 }
2315 #endif
2316
2317 bool SkPDFDevice::allowImageFilter(const SkImageFilter*) { 2310 bool SkPDFDevice::allowImageFilter(const SkImageFilter*) {
2318 return false; 2311 return false;
2319 } 2312 }
OLDNEW
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/utils/SkDeferredCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698