Home
last modified time | relevance | path

Searched refs:fState (Results 1 – 25 of 74) sorted by relevance

123

/third_party/skia/modules/particles/include/
DSkParticleEffect.h152 bool isAlive() const { return (fState.fAge >= 0 && fState.fAge <= 1); } in isAlive()
155 float getRate() const { return fState.fRate; } in getRate()
156 int getBurst() const { return fState.fBurst; } in getBurst()
157 SkPoint getPosition() const { return fState.fPosition; } in getPosition()
158 SkVector getHeading() const { return fState.fHeading; } in getHeading()
159 float getScale() const { return fState.fScale; } in getScale()
160 SkVector getVelocity() const { return fState.fVelocity; } in getVelocity()
161 float getSpin() const { return fState.fSpin; } in getSpin()
162 SkColor4f getColor() const { return fState.fColor; } in getColor()
163 float getFrame() const { return fState.fFrame; } in getFrame()
[all …]
/third_party/skia/modules/particles/src/
DSkParticleEffect.cpp225 fState.fAge = -1.0f; in SkParticleEffect()
273 fState.fAge = 0.0f; in start()
278 fState.fLifetime = 1.0f; in start()
279 fState.fLoopCount = 0; in start()
280 fState.fRate = 0.0f; in start()
281 fState.fBurst = 0; in start()
283 fState.fPosition = position; in start()
284 fState.fHeading = heading; in start()
285 fState.fScale = scale; in start()
286 fState.fVelocity = velocity; in start()
[all …]
/third_party/skia/src/gpu/
DGrBackendSurfaceMutableStateImpl.h18 : fState(layout, queueFamilyIndex) {} in GrBackendSurfaceMutableStateImpl()
21 : fState(sharedInfo.getImageLayout(), sharedInfo.getQueueFamilyIndex()) {} in GrBackendSurfaceMutableStateImpl()
24 void set(const GrBackendSurfaceMutableState& state) { fState = state; } in set()
28 SkASSERT(fState.fBackend == GrBackend::kVulkan); in getImageLayout()
29 return fState.fVkState.getImageLayout(); in getImageLayout()
33 SkASSERT(fState.fBackend == GrBackend::kVulkan); in setImageLayout()
34 fState.fVkState.setImageLayout(layout); in setImageLayout()
38 SkASSERT(fState.fBackend == GrBackend::kVulkan); in getQueueFamilyIndex()
39 return fState.fVkState.getQueueFamilyIndex(); in getQueueFamilyIndex()
43 SkASSERT(fState.fBackend == GrBackend::kVulkan); in setQueueFamilyIndex()
[all …]
/third_party/skia/tests/
DPathOpsThreadedCommon.h58 fState.fA = (a & 0xFF); in PathOpsThreadedRunnable()
59 fState.fB = (b & 0xFF); in PathOpsThreadedRunnable()
60 fState.fC = (c & 0xFF); in PathOpsThreadedRunnable()
61 fState.fD = (d & 0xFF); in PathOpsThreadedRunnable()
62 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
68 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
69 strcpy(fState.fSerialNo, str); in PathOpsThreadedRunnable()
70 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
76 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
77 fState.fA = dirNo; in PathOpsThreadedRunnable()
[all …]
DSkTOptionalTest.cpp164 : fState(kConstructed) in SkTOptionalTestPayload()
168 : fState(kCopyConstructed) in SkTOptionalTestPayload()
172 : fState(kMoveConstructed) in SkTOptionalTestPayload()
174 other.fState = kMovedFrom; in SkTOptionalTestPayload()
178 fState = kCopyAssigned; in operator =()
184 fState = kMoveAssigned; in operator =()
186 other.fState = kMovedFrom; in operator =()
189 State fState; member in SkTOptionalTestPayload
196 REPORTER_ASSERT(r, o->fState == SkTOptionalTestPayload::kConstructed); in DEF_TEST()
201 REPORTER_ASSERT(r, copy->fState == SkTOptionalTestPayload::kCopyConstructed); in DEF_TEST()
[all …]
/third_party/flutter/skia/tests/
DPathOpsThreadedCommon.h58 fState.fA = (a & 0xFF); in PathOpsThreadedRunnable()
59 fState.fB = (b & 0xFF); in PathOpsThreadedRunnable()
60 fState.fC = (c & 0xFF); in PathOpsThreadedRunnable()
61 fState.fD = (d & 0xFF); in PathOpsThreadedRunnable()
62 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
68 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
69 strcpy(fState.fSerialNo, str); in PathOpsThreadedRunnable()
70 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
76 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
77 fState.fA = dirNo; in PathOpsThreadedRunnable()
[all …]
/third_party/skia/src/utils/
DSkJSONWriter.h55 , fState(State::kStart) { in fBlock()
87 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in appendName()
88 if (State::kObjectValue == fState) { in appendName()
95 fState = State::kObjectName; in appendName()
112 fState = State::kObjectBegin;
120 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in endObject()
121 bool emptyObject = State::kObjectBegin == fState; in endObject()
144 fState = State::kArrayBegin;
152 SkASSERT(State::kArrayBegin == fState || State::kArrayValue == fState); in endArray()
153 bool emptyArray = State::kArrayBegin == fState; in endArray()
[all …]
/third_party/flutter/skia/src/utils/
DSkJSONWriter.h55 , fState(State::kStart) { in fBlock()
87 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in appendName()
88 if (State::kObjectValue == fState) { in appendName()
95 fState = State::kObjectName; in appendName()
112 fState = State::kObjectBegin;
120 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in endObject()
121 bool emptyObject = State::kObjectBegin == fState; in endObject()
144 fState = State::kArrayBegin;
152 SkASSERT(State::kArrayBegin == fState || State::kArrayValue == fState); in endArray()
153 bool emptyArray = State::kArrayBegin == fState; in endArray()
[all …]
/third_party/flutter/skia/src/core/
DSkDocument.cpp12 SkDocument::SkDocument(SkWStream* stream) : fStream(stream), fState(kBetweenPages_State) {} in SkDocument()
33 if (width <= 0 || height <= 0 || kClosed_State == fState) { in beginPage()
36 if (kInPage_State == fState) { in beginPage()
39 SkASSERT(kBetweenPages_State == fState); in beginPage()
40 fState = kInPage_State; in beginPage()
45 if (kInPage_State == fState) { in endPage()
46 fState = kBetweenPages_State; in endPage()
53 switch (fState) { in close()
55 fState = kClosed_State; in close()
74 fState = kClosed_State; in abort()
DSkMiniRecorder.cpp68 SkMiniRecorder::SkMiniRecorder() : fState(State::kEmpty) {} in SkMiniRecorder()
70 if (fState != State::kEmpty) { in ~SkMiniRecorder()
75 SkASSERT(fState == State::kEmpty); in ~SkMiniRecorder()
79 if (fState != State::kEmpty) { return false; } \
80 fState = State::k##Type; \
101 fState = State::kEmpty; \ in detachAsPicture()
107 switch (fState) { in detachAsPicture()
123 fState = State::kEmpty; \ in flushAndReset()
129 switch (fState) { in flushAndReset()
/third_party/skia/src/core/
DSkDocument.cpp12 SkDocument::SkDocument(SkWStream* stream) : fStream(stream), fState(kBetweenPages_State) {} in SkDocument()
33 if (width <= 0 || height <= 0 || kClosed_State == fState) { in beginPage()
36 if (kInPage_State == fState) { in beginPage()
39 SkASSERT(kBetweenPages_State == fState); in beginPage()
40 fState = kInPage_State; in beginPage()
45 if (kInPage_State == fState) { in endPage()
46 fState = kBetweenPages_State; in endPage()
53 switch (fState) { in close()
55 fState = kClosed_State; in close()
74 fState = kClosed_State; in abort()
DSkMiniRecorder.cpp68 SkMiniRecorder::SkMiniRecorder() : fState(State::kEmpty) {} in SkMiniRecorder()
70 if (fState != State::kEmpty) { in ~SkMiniRecorder()
75 SkASSERT(fState == State::kEmpty); in ~SkMiniRecorder()
79 if (fState != State::kEmpty) { return false; } \
80 fState = State::k##Type; \
104 fState = State::kEmpty; \ in detachAsPicture()
111 switch (fState) { in detachAsPicture()
127 fState = State::kEmpty; \ in flushAndReset()
133 switch (fState) { in flushAndReset()
/third_party/flutter/skia/include/private/
DSkOnce.h26 auto state = fState.load(std::memory_order_acquire); in operator()
33 if (state == NotStarted && fState.compare_exchange_strong(state, Claimed, in operator()
38 return fState.store(Done, std::memory_order_release); in operator()
43 while (fState.load(std::memory_order_acquire) != Done) { /*spin*/ } in operator()
48 std::atomic<uint8_t> fState{NotStarted};
/third_party/skia/include/private/
DSkOnce.h26 auto state = fState.load(std::memory_order_acquire); in operator()
33 if (state == NotStarted && fState.compare_exchange_strong(state, Claimed, in operator()
38 return fState.store(Done, std::memory_order_release); in operator()
44 while (fState.load(std::memory_order_acquire) != Done) { /*spin*/ } in operator()
50 std::atomic<uint8_t> fState{NotStarted};
/third_party/skia/samplecode/
DSampleCowboy.cpp34 State fState = kZoomIn; member in __anon4b7921ab0111::AnimatedSVGSample
61 switch (fState) { in onDrawContent()
101 switch (fState) { in onAnimate()
103 fState = kScroll; in onAnimate()
107 fState = kZoomOut; in onAnimate()
111 fState = kZoomIn; in onAnimate()
/third_party/flutter/skia/samplecode/
DSampleCowboy.cpp33 State fState = kZoomIn; member in __anon695f4f400111::AnimatedSVGSample
66 switch (fState) { in onDrawContent()
106 switch (fState) { in onAnimate()
108 fState = kScroll; in onAnimate()
112 fState = kZoomOut; in onAnimate()
116 fState = kZoomIn; in onAnimate()
/third_party/node/deps/icu-small/source/common/
Dumutex.h100 u_atomic_int32_t fState;
102 void reset() {fState = 0;}
103 UBool isReset() {return umtx_loadAcquire(fState) == 0;}
115 if (umtx_loadAcquire(uio.fState) == 2) {
128 if (umtx_loadAcquire(uio.fState) == 2) {
143 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
159 if (umtx_loadAcquire(uio.fState) == 2) {
174 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
/third_party/icu/icu4c/source/common/
Dumutex.h100 u_atomic_int32_t fState;
102 void reset() {fState = 0;}
103 UBool isReset() {return umtx_loadAcquire(fState) == 0;}
115 if (umtx_loadAcquire(uio.fState) == 2) {
128 if (umtx_loadAcquire(uio.fState) == 2) {
143 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
159 if (umtx_loadAcquire(uio.fState) == 2) {
174 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
/third_party/skia/third_party/externals/icu/source/common/
Dumutex.h100 u_atomic_int32_t fState;
102 void reset() {fState = 0;}
103 UBool isReset() {return umtx_loadAcquire(fState) == 0;}
115 if (umtx_loadAcquire(uio.fState) == 2) {
128 if (umtx_loadAcquire(uio.fState) == 2) {
143 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
159 if (umtx_loadAcquire(uio.fState) == 2) {
174 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
/third_party/skia/src/gpu/d3d/
DGrD3DResourceState.h16 GrD3DResourceState(D3D12_RESOURCE_STATES state) : fState(state) {} in GrD3DResourceState()
20 fState.store(state); in setResourceState()
25 return fState.load(); in getResourceState()
29 std::atomic<D3D12_RESOURCE_STATES> fState;
DGrD3DTextureResource.h27 , fState(std::move(state)) in GrD3DTextureResource()
48 sk_sp<GrD3DResourceState> grD3DResourceState() const { return fState; } in grD3DResourceState()
51 return fState->getResourceState(); in currentState()
66 fState->setResourceState(newState); in updateResourceState()
82 sk_sp<GrD3DResourceState> fState; variable
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dumutex.cpp65 &uio.fState, // Destination in umtx_initImplPreInit()
82 previousState = umtx_loadAcquire(uio.fState); in umtx_initImplPreInit()
92 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
258 int32_t state = uio.fState; in umtx_initImplPreInit()
260 umtx_storeRelease(uio.fState, 1); in umtx_initImplPreInit()
264 while (uio.fState == 1) { in umtx_initImplPreInit()
270 U_ASSERT(uio.fState == 2); in umtx_initImplPreInit()
286 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
/third_party/skia/tools/viewer/
DAnimTimer.h32 State state() const { return fState; } in state()
56 fState = kRunning_State; in run()
61 fState = kPaused_State; in pause()
95 State fState = kStopped_State; variable
/third_party/flutter/skia/tools/viewer/
DAnimTimer.h32 State state() const { return fState; } in state()
56 fState = kRunning_State; in run()
61 fState = kPaused_State; in pause()
95 State fState = kStopped_State; variable
/third_party/skia/src/shaders/
DSkBitmapProcShader.cpp20 , fState(state) in BitmapProcShaderContext()
23 if (fState->fPixmap.isOpaque() && (255 == this->getPaintAlpha())) { in BitmapProcShaderContext()
32 if (1 == fState->fPixmap.height() && only_scale_and_translate(this->getTotalInverse())) { in BitmapProcShaderContext()
40 const SkBitmapProcState& state = *fState; in shadeSpan()
70 SkBitmapProcState* fState; member in BitmapProcShaderContext

123