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

Side by Side Diff: src/core/SkPixelRef.cpp

Issue 374743003: Skia side RGB to YUV gpu conversion (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixing Windows build Created 6 years, 5 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
« no previous file with comments | « src/core/SkImageGenerator.cpp ('k') | src/gpu/SkGr.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 "SkPixelRef.h" 8 #include "SkPixelRef.h"
9 #include "SkThread.h" 9 #include "SkThread.h"
10 10
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 } 246 }
247 247
248 bool SkPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) { 248 bool SkPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) {
249 return false; 249 return false;
250 } 250 }
251 251
252 SkData* SkPixelRef::onRefEncodedData() { 252 SkData* SkPixelRef::onRefEncodedData() {
253 return NULL; 253 return NULL;
254 } 254 }
255 255
256 bool SkPixelRef::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBy tes[3]) {
257 return false;
258 }
259
256 size_t SkPixelRef::getAllocatedSizeInBytes() const { 260 size_t SkPixelRef::getAllocatedSizeInBytes() const {
257 return 0; 261 return 0;
258 } 262 }
259 263
260 /////////////////////////////////////////////////////////////////////////////// 264 ///////////////////////////////////////////////////////////////////////////////
261 265
262 #ifdef SK_BUILD_FOR_ANDROID 266 #ifdef SK_BUILD_FOR_ANDROID
263 void SkPixelRef::globalRef(void* data) { 267 void SkPixelRef::globalRef(void* data) {
264 this->ref(); 268 this->ref();
265 } 269 }
266 270
267 void SkPixelRef::globalUnref() { 271 void SkPixelRef::globalUnref() {
268 this->unref(); 272 this->unref();
269 } 273 }
270 #endif 274 #endif
OLDNEW
« no previous file with comments | « src/core/SkImageGenerator.cpp ('k') | src/gpu/SkGr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698