Searched refs:drawState (Results 1 - 13 of 13) sorted by relevance

/external/skia/src/gpu/
H A DGrContext.cpp345 GrDrawState* drawState = fGpu->drawState(); local
346 drawState->reset();
347 drawState->setRenderTarget(texture->asRenderTarget());
348 drawState->setTexture(0, clampEntry.texture());
359 drawState->sampler(0)->reset(GrSamplerState::kClamp_WrapMode,
572 fGpu->drawState()->enableState(GrDrawState::kClip_StateBit);
598 GrDrawState* drawState = fGpu->drawState(); local
605 if (!drawState
909 const GrDrawState& drawState = target->getDrawState(); local
1014 GrDrawState* drawState = target->drawState(); local
1030 GrDrawState* drawState = target->drawState(); local
1067 GrDrawState* drawState = target->drawState(); local
1641 GrDrawState* drawState = fGpu->drawState(); local
1685 GrDrawState* drawState = fGpu->drawState(); local
1777 GrDrawState* drawState = fGpu->drawState(); local
1806 GrDrawState* drawState = target->drawState(); local
2016 GrDrawState* drawState = fGpu->drawState(); local
2041 GrDrawState* drawState = fGpu->drawState(); local
[all...]
H A DGrDefaultPathRenderer.cpp348 GrDrawState* drawState = target->drawState(); local
367 bool colorWritesWereDisabled = drawState->isColorWriteDisabled();
369 GrAssert(GrDrawState::kBoth_DrawFace == drawState->getDrawFace());
465 drawState->setDrawFace(drawFace[p]);
467 *drawState->stencil() = *passes[p];
472 drawState->disableState(GrDrawState::kNoColorWrites_StateBit);
476 GrAssert(NULL != drawState->getRenderTarget());
479 GrIntToScalar(drawState->getRenderTarget()->width()),
480 GrIntToScalar(drawState
[all...]
H A DGrDrawTarget.cpp746 const GrDrawState& drawState = this->getDrawState();
747 if (NULL == drawState.getRenderTarget()) {
750 if (GrPixelConfigIsUnpremultiplied(drawState.getRenderTarget()->config())) {
751 if (kOne_BlendCoeff != drawState.getSrcBlendCoeff() ||
752 kZero_BlendCoeff != drawState.getDstBlendCoeff()) {
764 GrPixelConfigIsUnpremultiplied(drawState.getTexture(s)->config()) &&
766 drawState.getSampler(s).getFilter()) {
818 const GrDrawState& drawState = this->getDrawState();
822 0xff != GrColorUnpackA(drawState.getColor())) {
828 if (SkXfermode::kDst_Mode != drawState
[all...]
H A DGrTesselatedPathRenderer.cpp358 GrDrawState* drawState = target->drawState(); local
360 GrAssert(GrDrawState::kBoth_DrawFace == drawState->getDrawFace());
362 GrMatrix viewM = drawState->getViewMatrix();
444 GrAssert(NULL != drawState->getRenderTarget());
446 GrIntToScalar(drawState->getRenderTarget()->width()),
447 GrIntToScalar(drawState->getRenderTarget()->height()));
449 if (drawState->getViewInverse(&vmi)) {
471 GrMatrix inverse, matrix = drawState->getViewMatrix();
472 drawState
[all...]
H A DGrTextContext.cpp28 GrDrawState* drawState = fDrawTarget->drawState(); local
36 drawState->sampler(kGlyphMaskStage)->reset(
42 drawState->setTexture(kGlyphMaskStage, fCurrTexture);
51 drawState->setBlendConstant(fPaint.fColor);
52 drawState->setBlendFunc(kConstC_BlendCoeff, kISC_BlendCoeff);
55 drawState->setColor(0xffffffff);
58 drawState->setBlendFunc(fPaint.fSrcBlendCoeff, fPaint.fDstBlendCoeff);
59 drawState->setColor(fPaint.fColor);
H A DGrAAHairLinePathRenderer.cpp509 const GrDrawState& drawState = target->getDrawState(); local
510 int rtHeight = drawState.getRenderTarget()->height();
528 GrMatrix viewM = drawState.getViewMatrix();
610 GrDrawState* drawState = target->drawState(); local
613 if (!drawState->getViewMatrix().hasPerspective()) {
616 if (drawState->getViewInverse(&ivm)) {
617 drawState->preConcatSamplerMatrices(stageMask, ivm);
619 drawState->setViewMatrix(GrMatrix::I());
629 drawState
[all...]
H A DGrInOrderDrawBuffer.cpp82 GrDrawState* drawState = this->drawState(); local
95 GrMatrix combinedMatrix = drawState->getViewMatrix();
96 GrDrawState::AutoViewMatrixRestore avmr(drawState, GrMatrix::I());
107 if (drawState->isClipState() && fClip.isRect()) {
114 const GrRenderTarget* target = drawState->getRenderTarget();
137 drawState->disableState(GrDrawState::kClip_StateBit);
181 drawState->enableState(GrDrawState::kClip_StateBit);
598 const GrDrawState& drawState = this->getDrawState(); local
600 GrSafeRef(drawState
[all...]
H A DGrGpu.cpp188 GrDrawState::AutoRenderTargetRestore artr(this->drawState(), rt);
446 #define SET_RANDOM_COLOR drawState->setColor(0xff000000 | gRandom.nextU());
545 GrDrawState* drawState = this->drawState(); local
546 const GrRenderTarget* rt = drawState->getRenderTarget();
551 if (drawState->isClipState()) {
597 drawState->setViewMatrix(GrMatrix::I());
600 drawState->enableState(GrDrawState::kNoColorWrites_StateBit);
602 drawState->disableState(GrDrawState::kNoColorWrites_StateBit);
625 drawState
[all...]
H A DGrAAConvexPathRenderer.cpp433 GrDrawState* drawState = target->drawState(); local
436 GrMatrix vm = drawState->getViewMatrix();
443 drawState->preConcatSamplerMatrices(stageMask, ivm);
445 drawState->setViewMatrix(GrMatrix::I());
481 drawState->setVertexEdgeType(GrDrawState::kQuad_EdgeType);
H A DGrDrawTarget.h89 GrDrawState* drawState() { return &fCurrDrawState; } function in class:GrDrawTarget
92 * Shortcut for drawState()->preConcatSamplerMatrices() on all enabled
99 this->drawState()->preConcatSamplerMatrices(stageMask, matrix);
/external/skia/src/gpu/gl/
H A DGrGpuGLShaders.cpp447 const GrDrawState& drawState = this->getDrawState(); local
449 const GrRect &texDom = drawState.getSampler(s).getTextureDomain();
464 static_cast<const GrGLTexture*>(drawState.getTexture(s));
483 const GrDrawState& drawState = this->getDrawState(); local
485 static_cast<const GrGLTexture*>(drawState.getTexture(s));
489 this->getHWSamplerMatrix(s) != drawState.getSampler(s).getMatrix())) {
491 GrMatrix m = drawState.getSampler(s).getMatrix();
493 drawState.getSampler(s).getSampleMode();
519 this->recordHWSamplerMatrix(s, drawState.getSampler(s).getMatrix());
652 const GrDrawState& drawState local
701 const GrDrawState& drawState = this->getDrawState(); local
746 const GrDrawState& drawState = this->getDrawState(); local
956 const GrDrawState& drawState = this->getDrawState(); local
[all...]
H A DGrGpuGL.cpp1218 const GrDrawState& drawState = this->getDrawState(); local
1220 static_cast<const GrGLRenderTarget*>(drawState.getRenderTarget());
1252 const GrDrawState& drawState = this->getDrawState(); local
1253 const GrRenderTarget* rt = drawState.getRenderTarget();
1306 const GrDrawState& drawState = this->getDrawState(); local
1307 const GrRenderTarget* rt = drawState.getRenderTarget();
1396 artr.set(this->drawState(), target);
1495 static_cast<GrGLRenderTarget*>(this->drawState()->getRenderTarget());
1703 const GrDrawState& drawState = this->getDrawState(); local
1705 const GrStencilSettings* settings = &drawState
1983 GrDrawState* drawState = this->drawState(); local
2165 GrDrawState* drawState = this->drawState(); local
2176 GrDrawState* drawState = this->drawState(); local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 144 milliseconds