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

  /external/skia/src/gpu/
GrDrawTarget.h 89 GrDrawState* drawState() { return &fCurrDrawState; }
92 * Shortcut for drawState()->preConcatSamplerMatrices() on all enabled
99 this->drawState()->preConcatSamplerMatrices(stageMask, matrix);
    [all...]
GrTextContext.cpp 28 GrDrawState* drawState = fDrawTarget->drawState();
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);
GrDefaultPathRenderer.cpp 348 GrDrawState* drawState = target->drawState();
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->getRenderTarget()->height()))
    [all...]
GrInOrderDrawBuffer.cpp 82 GrDrawState* drawState = this->drawState();
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();
600 GrSafeRef(drawState.getTexture(s))
    [all...]
GrAAConvexPathRenderer.cpp 433 GrDrawState* drawState = target->drawState();
436 GrMatrix vm = drawState->getViewMatrix();
443 drawState->preConcatSamplerMatrices(stageMask, ivm);
445 drawState->setViewMatrix(GrMatrix::I());
481 drawState->setVertexEdgeType(GrDrawState::kQuad_EdgeType);
GrAAHairLinePathRenderer.cpp 509 const GrDrawState& drawState = target->getDrawState();
510 int rtHeight = drawState.getRenderTarget()->height();
528 GrMatrix viewM = drawState.getViewMatrix();
610 GrDrawState* drawState = target->drawState();
613 if (!drawState->getViewMatrix().hasPerspective()) {
616 if (drawState->getViewInverse(&ivm)) {
617 drawState->preConcatSamplerMatrices(stageMask, ivm);
619 drawState->setViewMatrix(GrMatrix::I());
629 drawState->setVertexEdgeType(GrDrawState::kHairLine_EdgeType)
    [all...]
GrGpu.cpp 188 GrDrawState::AutoRenderTargetRestore artr(this->drawState(), rt);
446 #define SET_RANDOM_COLOR drawState->setColor(0xff000000 | gRandom.nextU());
545 GrDrawState* drawState = this->drawState();
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->disableState(kModifyStencilClip_StateBit)
    [all...]
GrTesselatedPathRenderer.cpp 358 GrDrawState* drawState = target->drawState();
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->getViewInverse(&inverse)
    [all...]
GrContext.cpp 345 GrDrawState* drawState = fGpu->drawState();
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();
605 if (!drawState->getViewInverse(&inverse))
    [all...]
  /external/skia/src/gpu/gl/
GrGpuGLShaders.cpp 447 const GrDrawState& drawState = this->getDrawState();
449 const GrRect &texDom = drawState.getSampler(s).getTextureDomain();
464 static_cast<const GrGLTexture*>(drawState.getTexture(s));
483 const GrDrawState& drawState = this->getDrawState();
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 = this->getDrawState()
    [all...]
GrGpuGL.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 301 milliseconds