Searched refs:SkBaseMutex (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/skia/include/core/
H A DSkThread.h36 explicit SkAutoMutexAcquire(SkBaseMutex& mutex) : fMutex(&mutex) {
41 SkAutoMutexAcquire(SkBaseMutex* mutex) : fMutex(mutex) {
65 SkBaseMutex* fMutex;
H A DSkThread_platform.h139 // A SkBaseMutex is a POD structure that can be directly initialized
144 struct SkBaseMutex { struct
152 #define SK_DECLARE_STATIC_MUTEX(name) static SkBaseMutex name = { PTHREAD_MUTEX_INITIALIZER }
155 #define SK_DECLARE_GLOBAL_MUTEX(name) SkBaseMutex name = { PTHREAD_MUTEX_INITIALIZER }
159 class SK_API SkMutex : public SkBaseMutex, SkNoncopyable {
167 // In the generic case, SkBaseMutex and SkMutex are the same thing, and we
186 typedef SkMutex SkBaseMutex; typedef
188 #define SK_DECLARE_STATIC_MUTEX(name) static SkBaseMutex name
189 #define SK_DECLARE_GLOBAL_MUTEX(name) SkBaseMutex name
H A DSkPixelRef.h51 explicit SkPixelRef(SkBaseMutex* mutex = NULL);
207 SkBaseMutex* mutex() const { return fMutex; }
210 SkPixelRef(SkFlattenableReadBuffer&, SkBaseMutex*);
220 SkBaseMutex* fMutex; // must remain in scope for the life of this object
238 void setMutex(SkBaseMutex* mutex);
/external/skia/include/core/
H A DSkThread.h36 explicit SkAutoMutexAcquire(SkBaseMutex& mutex) : fMutex(&mutex) {
41 SkAutoMutexAcquire(SkBaseMutex* mutex) : fMutex(mutex) {
65 SkBaseMutex* fMutex;
H A DSkThread_platform.h139 // A SkBaseMutex is a POD structure that can be directly initialized
144 struct SkBaseMutex { struct
152 #define SK_DECLARE_STATIC_MUTEX(name) static SkBaseMutex name = { PTHREAD_MUTEX_INITIALIZER }
155 #define SK_DECLARE_GLOBAL_MUTEX(name) SkBaseMutex name = { PTHREAD_MUTEX_INITIALIZER }
159 class SK_API SkMutex : public SkBaseMutex, SkNoncopyable {
167 // In the generic case, SkBaseMutex and SkMutex are the same thing, and we
186 typedef SkMutex SkBaseMutex; typedef
188 #define SK_DECLARE_STATIC_MUTEX(name) static SkBaseMutex name
189 #define SK_DECLARE_GLOBAL_MUTEX(name) SkBaseMutex name
H A DSkPixelRef.h51 explicit SkPixelRef(SkBaseMutex* mutex = NULL);
207 SkBaseMutex* mutex() const { return fMutex; }
210 SkPixelRef(SkFlattenableReadBuffer&, SkBaseMutex*);
220 SkBaseMutex* fMutex; // must remain in scope for the life of this object
238 void setMutex(SkBaseMutex* mutex);
/external/chromium_org/third_party/skia/src/core/
H A DSkPixelRef.cpp17 static SkBaseMutex gPixelRefMutexRing[] = {
46 static SkBaseMutex gPixelRefMutexRing[PIXELREF_MUTEX_RING_COUNT];
50 static SkBaseMutex* get_default_mutex() {
78 void SkPixelRef::setMutex(SkBaseMutex* mutex) {
88 SkPixelRef::SkPixelRef(SkBaseMutex* mutex) : fPreLocked(false) {
98 SkPixelRef::SkPixelRef(SkFlattenableReadBuffer& buffer, SkBaseMutex* mutex)
H A DSkMemory_stdlib.cpp32 static SkBaseMutex& get_block_mutex() {
/external/skia/src/core/
H A DSkPixelRef.cpp17 static SkBaseMutex gPixelRefMutexRing[] = {
46 static SkBaseMutex gPixelRefMutexRing[PIXELREF_MUTEX_RING_COUNT];
50 static SkBaseMutex* get_default_mutex() {
78 void SkPixelRef::setMutex(SkBaseMutex* mutex) {
88 SkPixelRef::SkPixelRef(SkBaseMutex* mutex) : fPreLocked(false) {
98 SkPixelRef::SkPixelRef(SkFlattenableReadBuffer& buffer, SkBaseMutex* mutex)
H A DSkMemory_stdlib.cpp32 static SkBaseMutex& get_block_mutex() {
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFShader.h59 static SkBaseMutex& CanonicalShadersMutex();
H A DSkPDFGraphicState.h97 static SkBaseMutex& CanonicalPaintsMutex();
H A DSkPDFFont.h200 static SkBaseMutex& CanonicalFontsMutex();
H A DSkPDFGraphicState.cpp94 SkBaseMutex& SkPDFGraphicState::CanonicalPaintsMutex() {
H A DSkPDFFont.cpp839 SkBaseMutex& SkPDFFont::CanonicalFontsMutex() {
H A DSkPDFShader.cpp594 SkBaseMutex& SkPDFShader::CanonicalShadersMutex() {
/external/skia/src/pdf/
H A DSkPDFShader.h59 static SkBaseMutex& CanonicalShadersMutex();
H A DSkPDFGraphicState.h97 static SkBaseMutex& CanonicalPaintsMutex();
H A DSkPDFFont.h200 static SkBaseMutex& CanonicalFontsMutex();
H A DSkPDFGraphicState.cpp93 SkBaseMutex& SkPDFGraphicState::CanonicalPaintsMutex() {
H A DSkPDFFont.cpp839 SkBaseMutex& SkPDFFont::CanonicalFontsMutex() {
/external/chromium_org/third_party/skia/include/images/
H A DSkImageRef.h37 SkImageRef(SkStream*, SkBitmap::Config config, int sampleSize = 1, SkBaseMutex* mutex = NULL);
78 SkImageRef(SkFlattenableReadBuffer&, SkBaseMutex* mutex = NULL);
/external/skia/include/images/
H A DSkImageRef.h37 SkImageRef(SkStream*, SkBitmap::Config config, int sampleSize = 1, SkBaseMutex* mutex = NULL);
78 SkImageRef(SkFlattenableReadBuffer&, SkBaseMutex* mutex = NULL);
/external/chromium_org/third_party/skia/src/images/
H A DSkImageRef.cpp22 int sampleSize, SkBaseMutex* mutex)
167 SkImageRef::SkImageRef(SkFlattenableReadBuffer& buffer, SkBaseMutex* mutex)
/external/skia/src/images/
H A DSkImageRef.cpp22 int sampleSize, SkBaseMutex* mutex)
170 SkImageRef::SkImageRef(SkFlattenableReadBuffer& buffer, SkBaseMutex* mutex)

Completed in 466 milliseconds

12