Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrTargetCommands.cpp30 db->fBatch->generateGeometry(&fBatchTarget, db->fState->getPipeline()); in flush()
69 if (!fState->fCompiled) { in execute()
70 gpu->buildProgramDesc(&fState->fDesc, *fState->fPrimitiveProcessor, *fState->getPipeline(), in execute()
71 fState->fBatchTracker); in execute()
72 fState->fCompiled = true; in execute()
74 DrawArgs args(fState->fPrimitiveProcessor.get(), fState->getPipeline(), in execute()
75 &fState->fDesc, &fState->fBatchTracker); in execute()
80 if (!fState->fCompiled) { in execute()
81 gpu->buildProgramDesc(&fState->fDesc, *fState->fPrimitiveProcessor, *fState->getPipeline(), in execute()
82 fState->fBatchTracker); in execute()
[all …]
DGrTargetCommands.h140 , fState(SkRef(state)) in DrawPath()
147 SkAutoTUnref<State> fState; member
156 , fState(SkRef(state)) in DrawPaths()
163 SkAutoTUnref<State> fState; member
229 , fState(SkRef(state)) in DrawBatch()
237 SkAutoTUnref<State> fState; member
DGrInOrderCommandBuilder.cpp33 if (previous->fState == state && previous->fBatch->combineIfPossible(batch)) { in recordDrawBatch()
107 previous->fState == state) { in recordDrawPaths()
/external/skia/tests/
DPathOpsThreadedCommon.h51 fState.fA = a; in PathOpsThreadedRunnable()
52 fState.fB = b; in PathOpsThreadedRunnable()
53 fState.fC = c; in PathOpsThreadedRunnable()
54 fState.fD = d; in PathOpsThreadedRunnable()
55 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
61 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
62 strcpy(fState.fSerialNo, str); in PathOpsThreadedRunnable()
63 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
69 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
70 fState.fA = dirNo; in PathOpsThreadedRunnable()
[all …]
DSkpSkGrTest.cpp142 SkASSERT(strlen(str) < sizeof(fState.fResult.fFilename) - 1); in SkpSkGrThreadedRunnable()
143 fState.init(dirNo); in SkpSkGrThreadedRunnable()
144 strcpy(fState.fResult.fFilename, str); in SkpSkGrThreadedRunnable()
145 fState.fReporter = runner->fReporter; in SkpSkGrThreadedRunnable()
151 (*fTestFun)(&fState); in run()
154 SkpSkGrThreadState fState; member in SkpSkGrThreadedRunnable
707 SkpSkGrThreadState& max = testRunner.fRunnables[0]->fState; in DEF_TEST()
709 SkpSkGrThreadState& state = testRunner.fRunnables[dirIndex - 1]->fState; in DEF_TEST()
/external/skia/gm/
DSkAnimTimer.h32 SkAnimTimer() : fBaseTime(0), fCurrTime(0), fState(kStopped_State) {} in SkAnimTimer()
34 bool isStopped() const { return kStopped_State == fState; } in isStopped()
35 bool isRunning() const { return kRunning_State == fState; } in isRunning()
36 bool isPaused() const { return kPaused_State == fState; } in isPaused()
57 if (kRunning_State == fState) { in togglePauseResume()
72 if (kRunning_State == fState) { in updateTime()
107 State fState; variable
113 fState = kStopped_State; in setState()
116 if (kRunning_State == fState) { in setState()
117 fState = kPaused_State; in setState()
[all …]
/external/skia/src/doc/
DSkDocument.cpp14 fState = kBetweenPages_State; in SkDocument()
39 switch (fState) { in beginPage()
41 fState = kInPage_State; in beginPage()
55 if (kInPage_State == fState) { in endPage()
56 fState = kBetweenPages_State; in endPage()
63 switch (fState) { in close()
65 fState = kClosed_State; in close()
88 fState = kClosed_State; in abort()
/external/skia/src/core/
DSkDeviceLooper.cpp29 fState = kDone_State; in SkDeviceLooper()
31 fState = kSimple_State; in SkDeviceLooper()
37 fState = kComplex_State; in SkDeviceLooper()
45 SkASSERT(kDone_State != fState); in mapRect()
55 SkASSERT(kDone_State != fState); in mapMatrix()
65 SkASSERT(kComplex_State == fState); in computeCurrBitmapAndClip()
102 switch (fState) { in next()
130 fState = kDone_State; in next()
DSkDeviceLooper.h38 SkASSERT(kDone_State != fState); in getBitmap()
44 SkASSERT(kDone_State != fState); in getRC()
82 State fState; variable
DSkBitmapProcShader.cpp118 , fState(state) in BitmapProcShaderContext()
120 const SkBitmap& bitmap = *fState->fBitmap; in BitmapProcShaderContext()
166 fState->~SkBitmapProcState(); in ~BitmapProcShaderContext()
182 const SkBitmapProcState& state = *fState; in shadeSpan()
226 if (fState->getShaderProc32()) { in asAShadeProc()
227 *ctx = fState; in asAShadeProc()
228 return (ShadeProc)fState->getShaderProc32(); in asAShadeProc()
235 const SkBitmapProcState& state = *fState; in shadeSpan16()
/external/skia/src/pdf/
DSkPDFStream.cpp16 SkPDFStream::SkPDFStream(SkStream* stream) : fState(kUnused_State) { in SkPDFStream()
20 SkPDFStream::SkPDFStream(SkData* data) : fState(kUnused_State) { in SkPDFStream()
29 if (fState == kUnused_State) { in emitObject()
30 fState = kNoCompression_State; in emitObject()
42 fState = kCompressed_State; in emitObject()
52 SkPDFStream::SkPDFStream() : fState(kUnused_State) {} in SkPDFStream()
DSkPDFStream.h66 fState = state; in setState()
71 State fState;
DSkPDFDevice.cpp596 GraphicStateEntry fState; member
784 if (!contentEntry->fState.fMatrix.invert(&inverse)) { in internalDrawPaint()
1164 SkPDFFont* font = content.entry()->fState.fFont; in drawText()
1210 SkPDFFont* font = content.entry()->fState.fFont; in drawPosText()
1216 font = content.entry()->fState.fFont; in drawPosText()
1376 gsState.updateClip(entry->fState.fClipStack, entry->fState.fClipRegion, in copyContentEntriesToData()
1378 gsState.updateMatrix(entry->fState.fMatrix); in copyContentEntriesToData()
1379 gsState.updateDrawingState(entry->fState); in copyContentEntriesToData()
1729 hasText, &entry->fState); in setUpContentEntry()
1731 entry->fState.compareInitialState(lastContentEntry->fState)) { in setUpContentEntry()
[all …]
/external/skia/src/animator/
DSkAnimateActive.cpp31 fState.setCount(animators); in init()
72 fState.setCount(total); in append()
78 SkActive::SkState& testState = fState[oldCount + index]; in append()
81 SkActive::SkState& oldState = fState[inner]; in append()
92 fState.remove(inner); in append()
144 SkState& state = fState[index]; in calcDurations()
202 SkState& state = fState[index]; in immediate()
249 fState[animatorIndex].fTicks = inTime; in getTime()
250 return inTime - fState[animatorIndex].fStartTime; in getTime()
270 int count = fState.count(); in initState()
[all …]
/external/skia/src/views/
DSkTouchGesture.cpp114 fState = kEmpty_State; in reset()
165 fState = kTranslate_State; in touchBegin()
168 fState = kZoom_State; in touchBegin()
206 if (kEmpty_State == fState) { in touchMoved()
241 SkASSERT(kZoom_State == fState); in touchMoved()
283 fState = kEmpty_State; in touchEnd()
287 SkASSERT(kZoom_State == fState); in touchEnd()
288 fState = kEmpty_State; in touchEnd()
291 SkASSERT(kZoom_State == fState); in touchEnd()
321 fState = kEmpty_State; in handleDblTap()
/external/icu/icu4c/source/common/
Dumutex.cpp74 &uio.fState, // Destination in umtx_initImplPreInit()
91 previousState = umtx_loadAcquire(uio.fState); in umtx_initImplPreInit()
101 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
267 int32_t state = uio.fState; in umtx_initImplPreInit()
269 umtx_storeRelease(uio.fState, 1); in umtx_initImplPreInit()
273 while (uio.fState == 1) { in umtx_initImplPreInit()
279 U_ASSERT(uio.fState == 2); in umtx_initImplPreInit()
295 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
Dumutex.h191 u_atomic_int32_t fState; member
193 void reset() {fState = 0;}; in reset()
194 UBool isReset() {return umtx_loadAcquire(fState) == 0;}; in isReset()
206 if (umtx_loadAcquire(uio.fState) == 2) { in umtx_initOnce()
219 if (umtx_loadAcquire(uio.fState) == 2) { in umtx_initOnce()
234 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) { in umtx_initOnce()
250 if (umtx_loadAcquire(uio.fState) == 2) { in umtx_initOnce()
265 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) { in umtx_initOnce()
/external/skia/src/effects/
DSkBlurDrawLooper.cpp111 : fLooper(looper), fState(SkBlurDrawLooper::kBeforeEdge) {} in BlurDrawLooperContext()
115 switch (fState) { in next()
119 fState = kDone; in next()
142 fState = kAfterEdge; in next()
146 fState = kDone; in next()
149 SkASSERT(kDone == fState); in next()
DSkColorMatrixFilter.cpp145 int32_t* array = fState.fArray; in initState()
161 fState.fShift = 16; // we are starting out as fixed 16.16 in initState()
164 fState.fShift -= bits; in initState()
175 bool shiftIs16 = (16 == fState.fShift); in initState()
209 int32_t add = 1 << (fState.fShift - 1); in initState()
329 const State& state = fState; in filterSpan()
/external/skia/src/pathops/
DSkOpContour.h144 return fState; in globalState()
204 fState = globalState; in init()
218 if (fState->angleCoincidence()) { in missingCoincidence()
302 fState = state; in setGlobalState()
354 SkOpGlobalState* fState;
/external/skia/include/views/
DSkWidget.h75 SkButtonWidget(uint32_t flags = 0) : SkHasLabelWidget(flags), fState(kOff_State) {} in SkHasLabelWidget()
82 State getButtonState() const { return fState; } in getButtonState()
93 State fState;
237 State getState() const { return fState; } in getState()
245 State fState;
/external/skia/src/gpu/gl/
DSkNullGLContext.cpp339 NullInterface(State* state) : fState(SkRef(state)) {} in NullInterface()
341 fState->unref(); in ~NullInterface()
343 State* fState; member in __anona79d883e0111::NullInterface
545 fState = SkNEW(ContextState); in SkNullGLContext()
546 GrGLInterface* interface = create_null_interface(fState); in SkNullGLContext()
550 interface->fCallbackData = reinterpret_cast<GrGLInterfaceCallbackData>(fState); in SkNullGLContext()
556 fState->unref(); in ~SkNullGLContext()
559 void SkNullGLContext::makeCurrent() const { set_current_context(fState); } in makeCurrent()
/external/skia/include/core/
DSkDocument.h130 State getState() const { return fState; } in getState()
135 State fState; variable
/external/skia/include/gpu/gl/
DSkNullGLContext.h26 ContextState* fState; variable
/external/skia/src/pipe/
DSkGPipeRead.cpp902 fState = NULL; in SkGPipeReader()
909 fState = NULL; in SkGPipeReader()
919 delete fState; in ~SkGPipeReader()
928 if (NULL == fState) { in playback()
929 fState = new SkGPipeState; in playback()
932 fState->setSilent(playbackFlags & kSilent_PlaybackFlag); in playback()
942 fState->setReader(&reader); in playback()
957 table[op](canvas, reader.getReader32(), op32, fState); in playback()

12