Home
last modified time | relevance | path

Searched refs:kNumStages (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/gpu/
DGrDrawState.cpp35 for (int s = GrPaint::kTotalStages; s < GrDrawState::kNumStages; ++s) { in setFromPaint()
64 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in gen_mask_arrays()
72 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in gen_mask_arrays()
87 GrVertexLayout stageTexCoordMasks[GrDrawState::kNumStages];
92 for (int s = 0; s < GrDrawState::kNumStages; ++s) {
115 GR_STATIC_ASSERT(GrDrawState::kNumStages == GR_ARRAY_COUNT(gStageTexCoordMasks));
129 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in check_layout()
322 int texCoordOffsetsByStage[GrDrawState::kNumStages], in VertexSizeAndOffsetsByStage() argument
337 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in VertexSizeAndOffsetsByStage()
357 GrAssert(stageIdx < GrDrawState::kNumStages); in VertexTexCoordsForStage()
[all …]
DGrDrawState.h57 kNumStages = 5, enumerator
58 kMaxTexCoords = kNumStages
94 fCommon.fFirstCoverageStage = kNumStages; in reset()
145 GrAssert(stageIdx < kNumStages); in StageTexCoordVertexLayoutBit()
147 return 1 << (stageIdx + (texCoordIdx * kNumStages)); in StageTexCoordVertexLayoutBit()
154 static const int STAGE_BIT_CNT = kNumStages * kMaxTexCoords;
302 int texCoordOffsetsByStage[kNumStages],
502 for (int i = 0; i < kNumStages; ++i) { in stagesDisabled()
516 for (int i = 0; i < kNumStages; ++i) { in disableStages()
537 GrAssert((unsigned)stageIdx < kNumStages); in getStage()
[all …]
DGrDrawTarget.cpp384 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in checkDraw()
546 !hasCoverage && s < GrDrawState::kNumStages; in getBlendOpts()
679 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in drawRect()
700 int stageOffsets[GrDrawState::kNumStages]; in drawRect()
704 for (int i = 0; i < GrDrawState::kNumStages; ++i) { in drawRect()
DGrInOrderDrawBuffer.cpp100 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in drawRect()
132 int stageOffsets[GrDrawState::kNumStages], colorOffset; in drawRect()
144 for (int i = 0; i < GrDrawState::kNumStages; ++i) { in drawRect()
DGrSWMaskHelper.cpp206 const GrRect* srcRects[GrDrawState::kNumStages] = { NULL }; in DrawToTargetWithPathMask()
DGrContext.cpp852 const GrRect* srcRects[GrDrawState::kNumStages] = {NULL}; in drawRectToRect()
853 const SkMatrix* srcMatrices[GrDrawState::kNumStages] = {NULL}; in drawRectToRect()
/external/skia/tests/
DGLProgramsTest.cpp79 pdesc.fFirstCoverageStage = random_int(&random, GrDrawState::kNumStages); in programUnitTest()
109 GrEffectStage stages[GrDrawState::kNumStages]; in programUnitTest()
111 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in programUnitTest()
136 const GrEffectStage* stagePtrs[GrDrawState::kNumStages]; in programUnitTest()
137 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in programUnitTest()
/external/skia/src/gpu/gl/
DGrGLProgram.h123 GrGLEffect::EffectKey fEffectKeys[GrDrawState::kNumStages];
186 SamplerUniSArray fSamplerUnis[GrDrawState::kNumStages];
213 GrGLEffect* fEffects[GrDrawState::kNumStages];
DGrGpuGL_program.cpp274 const GrEffectStage* stages[GrDrawState::kNumStages]; in flushGraphicsState()
275 for (int i = 0; i < GrDrawState::kNumStages; ++i) { in flushGraphicsState()
549 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in buildProgram()
573 int firstCoverageStage = GrDrawState::kNumStages; in buildProgram()
574 desc->fFirstCoverageStage = GrDrawState::kNumStages; in buildProgram()
DGrGLProgram.cpp71 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in GrGLProgram()
92 for (int i = 0; i < GrDrawState::kNumStages; ++i) { in ~GrGLProgram()
701 for (int s = startStage; s < GrDrawState::kNumStages; ++s) { in genProgram()
884 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in initSamplerUniforms()
908 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in setData()
DGrGpuGL.h340 GrTexture* fHWBoundTextures[GrDrawState::kNumStages];
DGrGpuGL.cpp25 static const int SPARE_TEX_UNIT = GrDrawState::kNumStages;
213 GrAssert(maxTextureUnits > GrDrawState::kNumStages); in initCaps()
413 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in onResetContext()
2154 for (int s = 0; s < GrDrawState::kNumStages; ++s) { in notifyTextureDelete()
2274 GrAssert(unit >= 0 && unit < GrDrawState::kNumStages); in setTextureUnit()