HomeSort by relevance Sort by last modified time
    Searched refs:drawState (Results 1 - 22 of 22) sorted by null

  /external/skia/src/gpu/
GrStencilAndCoverPathRenderer.cpp 67 GrDrawState* drawState = target->drawState();
68 GrAssert(drawState->getStencil().isDisabled());
80 SkScalar bloat = drawState->getViewMatrix().getMaxStretch() * SK_ScalarHalf;
91 *drawState->stencil() = kStencilPass;
105 SkIntToScalar(drawState->getRenderTarget()->width()),
106 SkIntToScalar(drawState->getRenderTarget()->height()));
108 if (!drawState->getViewMatrix().hasPerspective() && drawState->getViewInverse(&vmi)) {
113 adcd.set(drawState);
    [all...]
GrClipMaskManager.cpp 37 GrDrawState* drawState = gpu->drawState();
38 GrAssert(drawState);
46 mat.preConcat(drawState->getViewMatrix());
50 drawState->setEffect(kMaskStage,
116 GrDrawState* drawState = fGpu->drawState();
118 const GrRenderTarget* rt = drawState->getRenderTarget();
122 bool ignoreClip = !drawState->isClipState() || clipDataIn->fClipStack->isWideOpen();
224 #define SET_RANDOM_COLOR drawState->setColor(0xff000000 | gRandom.nextU())
    [all...]
GrPathRenderer.h 121 GrAssert(target->drawState()->getStencil().isDisabled() ||
163 GrDrawState* drawState = target->drawState();
171 drawState->setStencil(kIncrementStencil);
172 drawState->enableState(GrDrawState::kNoColorWrites_StateBit);
GrDrawTarget.cpp 127 void GrDrawTarget::setDrawState(GrDrawState* drawState) {
129 if (NULL == drawState) {
130 drawState = &fDefaultDrawState;
132 if (fDrawState != drawState) {
134 drawState->ref();
135 fDrawState = drawState;
345 const GrDrawState& drawState = this->getDrawState();
383 GrAssert(NULL != drawState.getRenderTarget());
385 if (drawState.isStageEnabled(s)) {
386 const GrEffectRef& effect = *drawState.getStage(s).getEffect()
    [all...]
GrTextContext.cpp 30 GrDrawState* drawState = fDrawTarget->drawState();
36 drawState->createTextureEffect(kGlyphMaskStage, fCurrTexture, SkMatrix::I(), params);
45 drawState->setBlendConstant(fPaint.getColor());
46 drawState->setBlendFunc(kConstC_GrBlendCoeff, kISC_GrBlendCoeff);
49 drawState->setColor(0xffffffff);
52 drawState->setBlendFunc(fPaint.getSrcBlendCoeff(), fPaint.getDstBlendCoeff());
53 drawState->setColor(fPaint.getColor());
67 drawState->disableStages();
105 fDrawTarget->drawState()->disableStages()
    [all...]
GrSoftwarePathRenderer.cpp 85 GrDrawState::AutoDeviceCoordDraw adcd(target->drawState());
125 GrDrawState* drawState = target->drawState();
127 SkMatrix vm = drawState->getViewMatrix();
GrDefaultPathRenderer.cpp 352 GrDrawState* drawState = target->drawState();
353 bool colorWritesWereDisabled = drawState->isColorWriteDisabled();
355 GrAssert(GrDrawState::kBoth_DrawFace == drawState->getDrawFace());
451 drawState->setDrawFace(drawFace[p]);
453 *drawState->stencil() = *passes[p];
458 drawState->disableState(GrDrawState::kNoColorWrites_StateBit);
463 GrAssert(NULL != drawState->getRenderTarget());
466 SkIntToScalar(drawState->getRenderTarget()->width()),
467 SkIntToScalar(drawState->getRenderTarget()->height()))
    [all...]
GrSWMaskHelper.cpp 144 GrDrawState::AutoRenderTargetRestore artr(fContext->getGpu()->drawState(),
188 GrDrawState* drawState = target->drawState();
190 GrDrawState::AutoDeviceCoordDraw adcd(drawState);
199 GrAssert(!drawState->isStageEnabled(kPathMaskStage));
200 drawState->createTextureEffect(kPathMaskStage, texture, SkMatrix::I());
214 drawState->disableStage(kPathMaskStage);
GrDrawState.h 421 AutoColorRestore(GrDrawState* drawState, GrColor color) {
423 this->set(drawState, color);
433 void set(GrDrawState* drawState, GrColor color) {
435 fDrawState = drawState;
778 void set(GrDrawState* drawState,
807 AutoDeviceCoordDraw(GrDrawState* drawState,
810 this->set(drawState, explicitCoordStageMask);
815 bool set(GrDrawState* drawState, uint32_t explicitCoordStageMask = 0);
825 * Returns the matrix that was set previously set on the drawState. This is only valid
    [all...]
GrContext.cpp 199 GrRenderTarget* rt = target->drawState()->getRenderTarget();
201 GrDrawState* drawState = target->drawState();
202 drawState->setRenderTarget(rt);
207 drawState->setEffect(0, conv);
303 GrDrawState* drawState = fGpu->drawState();
304 drawState->setRenderTarget(texture->asRenderTarget());
310 drawState->createTextureEffect(0, clampedTexture, SkMatrix::I(), params);
660 const GrDrawState& drawState = target->getDrawState()
    [all...]
GrDrawState.cpp 573 void GrDrawState::AutoViewMatrixRestore::set(GrDrawState* drawState,
578 fDrawState = drawState;
579 if (NULL == drawState) {
584 fViewMatrix = drawState->getViewMatrix();
585 drawState->preConcatViewMatrix(preconcatMatrix);
587 if (!(explicitCoordStageMask & (1 << s)) && drawState->isStageEnabled(s)) {
590 drawState->fStages[s].preConcatCoordChange(preconcatMatrix);
609 bool GrDrawState::AutoDeviceCoordDraw::set(GrDrawState* drawState,
611 GrAssert(NULL != drawState);
615 fDrawState = drawState;
    [all...]
GrAAHairLinePathRenderer.cpp 498 const GrDrawState& drawState = target->getDrawState();
499 int rtHeight = drawState.getRenderTarget()->height();
502 target->getClip()->getConservativeBounds(drawState.getRenderTarget(),
506 SkMatrix viewM = drawState.getViewMatrix();
583 GrDrawState* drawState = target->drawState();
586 if (!drawState->getViewMatrix().hasPerspective()) {
587 adcd.set(drawState);
596 GrDrawState::VertexEdgeType oldEdgeType = drawState->getVertexEdgeType();
601 drawState->setVertexEdgeType(GrDrawState::kHairLine_EdgeType)
    [all...]
GrInOrderDrawBuffer.cpp 80 GrColor color = this->drawState()->getColor();
95 acr.set(this->drawState(), 0xFFFFFFFF);
123 combinedMatrix.postConcat(this->drawState()->getViewMatrix());
127 GrDrawState::AutoDeviceCoordDraw adcd(this->drawState(), explicitCoordMask);
275 void set(GrDrawState* drawState) {
276 if (drawState->isClipState()) {
277 fDrawState = drawState;
278 drawState->disableState(GrDrawState::kClip_StateBit);
293 acr.set(this->drawState());
378 renderTarget = this->drawState()->getRenderTarget()
    [all...]
GrAAConvexPathRenderer.cpp 448 GrDrawState* drawState = target->drawState();
450 GrDrawState::AutoDeviceCoordDraw adcd(drawState);
493 GrDrawState::VertexEdgeType oldEdgeType = drawState->getVertexEdgeType();
494 drawState->setVertexEdgeType(GrDrawState::kQuad_EdgeType);
500 drawState->setVertexEdgeType(oldEdgeType);
GrGpu.cpp 166 GrDrawState::AutoRenderTargetRestore artr(this->drawState(), rt);
217 art.set(this->drawState(), renderTarget);
386 GrAutoTRestore<GrStencilSettings> asr(this->drawState()->stencil());
388 this->setStencilPathSettings(*path, fill, this->drawState()->stencil());
GrDrawTarget.h 122 void setDrawState(GrDrawState* drawState);
133 GrDrawState* drawState() { return fDrawState; }
508 * the previous one in the destructor. The caller should call drawState() to
511 * GrDrawState* state = target->drawState();
    [all...]
  /external/skia/src/gpu/gl/
GrGpuGL_program.cpp 166 const GrDrawState& drawState = this->getDrawState();
204 fCurrentProgram->fColorFilterColor != drawState.getColorFilterColor()) {
206 GrColorToRGBAFloat(drawState.getColorFilterColor(), c);
208 fCurrentProgram->fColorFilterColor = drawState.getColorFilterColor();
214 // const GrDrawState& drawState = this->getDrawState();
258 const GrDrawState& drawState = this->getDrawState();
262 GrAssert(NULL != drawState.getRenderTarget());
276 stages[i] = drawState.isStageEnabled(i) ? &drawState.getStage(i) : NULL;
302 coverage = drawState.getCoverage()
    [all...]
GrGpuGL.cpp     [all...]
GrGLProgram.cpp     [all...]
  /prebuilts/tools/linux-x86/swt/
swt.jar 
  /prebuilts/tools/linux-x86_64/swt/
swt.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 

Completed in 491 milliseconds