Searched refs:fDrawState (Results 1 – 14 of 14) sorted by relevance
/external/skia/src/gpu/ |
D | GrDrawState.h | 156 fDrawState = drawState; in AutoVertexAttribRestore() 159 fDrawState->setDefaultVertexAttribs(); in AutoVertexAttribRestore() 163 fDrawState->setVertexAttribs(fVAPtr, fVACount); in ~AutoVertexAttribRestore() 167 GrDrawState* fDrawState; 272 AutoColorRestore() : fDrawState(NULL), fOldColor(0) {} in AutoColorRestore() 275 fDrawState = NULL; in AutoColorRestore() 280 if (NULL != fDrawState) { in reset() 281 fDrawState->setColor(fOldColor); in reset() 282 fDrawState = NULL; in reset() 288 fDrawState = drawState; in set() [all …]
|
D | GrDrawState.cpp | 393 if (NULL != fDrawState) { in restore() 394 SkDEBUGCODE(--fDrawState->fBlockEffectRemovalCnt;) in restore() 395 fDrawState->fCommon.fViewMatrix = fViewMatrix; in restore() 396 SkASSERT(fDrawState->numColorStages() >= fNumColorStages); in restore() 398 SkASSERT(fDrawState->numCoverageStages() >= numCoverageStages); in restore() 402 fDrawState->fColorStages[s].restoreCoordChange(fSavedCoordChanges[i]); in restore() 405 fDrawState->fCoverageStages[s].restoreCoordChange(fSavedCoordChanges[i]); in restore() 407 fDrawState = NULL; in restore() 415 SkASSERT(NULL == fDrawState); in set() 419 fDrawState = drawState; in set() [all …]
|
D | GrContext.cpp | 89 fDrawState = NULL; in GrContext() 114 fDrawState = SkNEW(GrDrawState); in init() 115 fGpu->setDrawState(fDrawState); in init() 164 fDrawState->unref(); in ~GrContext() 1630 SkASSERT(0 == fDrawState->numColorStages() && 0 == fDrawState->numCoverageStages()); in prepareToDraw() 1640 are->set(fDrawState); in prepareToDraw() 1641 fDrawState->setFromPaint(*paint, fViewMatrix, fRenderTarget.get()); in prepareToDraw() 1649 fDrawState->reset(fViewMatrix); in prepareToDraw() 1650 fDrawState->setRenderTarget(fRenderTarget.get()); in prepareToDraw() 1661 fDrawState->setState(GrDrawState::kClip_StateBit, NULL != fClip && in prepareToDraw() [all …]
|
D | GrDrawTarget.h | 76 const GrDrawState& getDrawState() const { return *fDrawState; } in getDrawState() 82 GrDrawState* drawState() { return fDrawState; } in drawState() 887 GrDrawState* fDrawState; variable
|
D | GrDrawTarget.cpp | 94 fDrawState = &fDefaultDrawState; in GrDrawTarget() 113 fDrawState->unref(); in ~GrDrawTarget() 136 SkASSERT(NULL != fDrawState); in setDrawState() 140 if (fDrawState != drawState) { in setDrawState() 141 fDrawState->unref(); in setDrawState() 143 fDrawState = drawState; in setDrawState()
|
D | GrInOrderDrawBuffer.cpp | 299 AutoClipReenable() : fDrawState(NULL) {} in AutoClipReenable() 301 if (NULL != fDrawState) { in ~AutoClipReenable() 302 fDrawState->enableState(GrDrawState::kClip_StateBit); in ~AutoClipReenable() 307 fDrawState = drawState; in set() 312 GrDrawState* fDrawState; member in AutoClipReenable
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrDrawState.h | 156 fDrawState = drawState; in AutoVertexAttribRestore() 159 fDrawState->setDefaultVertexAttribs(); in AutoVertexAttribRestore() 163 fDrawState->setVertexAttribs(fVAPtr, fVACount); in ~AutoVertexAttribRestore() 167 GrDrawState* fDrawState; 272 AutoColorRestore() : fDrawState(NULL), fOldColor(0) {} in AutoColorRestore() 275 fDrawState = NULL; in AutoColorRestore() 280 if (NULL != fDrawState) { in reset() 281 fDrawState->setColor(fOldColor); in reset() 282 fDrawState = NULL; in reset() 288 fDrawState = drawState; in set() [all …]
|
D | GrDrawState.cpp | 393 if (NULL != fDrawState) { in restore() 394 SkDEBUGCODE(--fDrawState->fBlockEffectRemovalCnt;) in restore() 395 fDrawState->fCommon.fViewMatrix = fViewMatrix; in restore() 396 SkASSERT(fDrawState->numColorStages() >= fNumColorStages); in restore() 398 SkASSERT(fDrawState->numCoverageStages() >= numCoverageStages); in restore() 402 fDrawState->fColorStages[s].restoreCoordChange(fSavedCoordChanges[i]); in restore() 405 fDrawState->fCoverageStages[s].restoreCoordChange(fSavedCoordChanges[i]); in restore() 407 fDrawState = NULL; in restore() 415 SkASSERT(NULL == fDrawState); in set() 419 fDrawState = drawState; in set() [all …]
|
D | GrContext.cpp | 89 fDrawState = NULL; in GrContext() 114 fDrawState = SkNEW(GrDrawState); in init() 115 fGpu->setDrawState(fDrawState); in init() 164 fDrawState->unref(); in ~GrContext() 1630 SkASSERT(0 == fDrawState->numColorStages() && 0 == fDrawState->numCoverageStages()); in prepareToDraw() 1640 are->set(fDrawState); in prepareToDraw() 1641 fDrawState->setFromPaint(*paint, fViewMatrix, fRenderTarget.get()); in prepareToDraw() 1649 fDrawState->reset(fViewMatrix); in prepareToDraw() 1650 fDrawState->setRenderTarget(fRenderTarget.get()); in prepareToDraw() 1661 fDrawState->setState(GrDrawState::kClip_StateBit, NULL != fClip && in prepareToDraw() [all …]
|
D | GrDrawTarget.h | 76 const GrDrawState& getDrawState() const { return *fDrawState; } in getDrawState() 82 GrDrawState* drawState() { return fDrawState; } in drawState() 887 GrDrawState* fDrawState; variable
|
D | GrDrawTarget.cpp | 94 fDrawState = &fDefaultDrawState; in GrDrawTarget() 113 fDrawState->unref(); in ~GrDrawTarget() 136 SkASSERT(NULL != fDrawState); in setDrawState() 140 if (fDrawState != drawState) { in setDrawState() 141 fDrawState->unref(); in setDrawState() 143 fDrawState = drawState; in setDrawState()
|
D | GrInOrderDrawBuffer.cpp | 299 AutoClipReenable() : fDrawState(NULL) {} in AutoClipReenable() 301 if (NULL != fDrawState) { in ~AutoClipReenable() 302 fDrawState->enableState(GrDrawState::kClip_StateBit); in ~AutoClipReenable() 307 fDrawState = drawState; in set() 312 GrDrawState* fDrawState; member in AutoClipReenable
|
/external/chromium_org/third_party/skia/include/gpu/ |
D | GrContext.h | 870 GrDrawState* fDrawState; variable
|
/external/skia/include/gpu/ |
D | GrContext.h | 870 GrDrawState* fDrawState; variable
|