Home | History | Annotate | Download | only in core

Lines Matching refs:SkPixelRef

10 #include "SkPixelRef.h"
43 SkPixelRef::SkPixelRef(const SkImageInfo& info)
61 SkPixelRef::~SkPixelRef() {
72 void SkPixelRef::needsNewGenID() {
77 void SkPixelRef::cloneGenID(const SkPixelRef& that) {
102 void SkPixelRef::setPreLocked(void* pixels, size_t rowBytes, SkColorTable* ctable) {
115 bool SkPixelRef::lockPixelsInsideMutex() {
137 bool SkPixelRef::lockPixels() {
141 TRACE_EVENT_BEGIN0("skia", "SkPixelRef::lockPixelsMutex");
143 TRACE_EVENT_END0("skia", "SkPixelRef::lockPixelsMutex");
163 bool SkPixelRef::lockPixels(LockRec* rec) {
171 void SkPixelRef::unlockPixels() {
190 bool SkPixelRef::requestLock(const LockRequest& request, LockResult* result) {
220 bool SkPixelRef::lockPixelsAreWritable() const {
224 bool SkPixelRef::onLockPixelsAreWritable() const {
228 uint32_t SkPixelRef::getGenerationID() const {
243 void SkPixelRef::addGenIDChangeListener(GenIDChangeListener* listener) {
253 void SkPixelRef::callGenIDChangeListeners() {
254 // We don't invalidate ourselves if we think another SkPixelRef is sharing our genID.
270 void SkPixelRef::notifyPixelsChanged() {
281 void SkPixelRef::changeAlphaType(SkAlphaType at) {
285 void SkPixelRef::setImmutable() {
289 void SkPixelRef::setImmutableWithID(uint32_t genID) {
300 void SkPixelRef::setTemporarilyImmutable() {
305 void SkPixelRef::restoreMutability() {
313 void SkPixelRef::onNotifyPixelsChanged() { }
315 size_t SkPixelRef::getAllocatedSizeInBytes() const {
320 SkPixelRef* pr = (SkPixelRef*)ctx;
325 bool SkPixelRef::onRequestLock(const LockRequest& request, LockResult* result) {