Home
last modified time | relevance | path

Searched refs:fShaderIndex (Results 1 – 2 of 2) sorted by relevance

/external/skia/samplecode/
DSampleCamera.cpp24 int fShaderIndex; member in CameraView
29 fShaderIndex = 0; in CameraView()
81 fShaderIndex = (fShaderIndex + 1) % fShaders.count(); in onDrawContent()
85 paint.setShader(fShaders[fShaderIndex]); in onDrawContent()
/external/skia/src/pdf/
DSkPDFDevice.cpp206 int fShaderIndex; member
220 fShaderIndex(-1), in GraphicStateEntry()
229 fShaderIndex == cur.fShaderIndex && in compareInitialState()
529 if (state.fShaderIndex >= 0) { in updateDrawingState()
530 if (state.fShaderIndex != currentEntry()->fShaderIndex) { in updateDrawingState()
531 SkPDFUtils::ApplyPattern(state.fShaderIndex, fContentStream); in updateDrawingState()
532 currentEntry()->fShaderIndex = state.fShaderIndex; in updateDrawingState()
536 currentEntry()->fShaderIndex >= 0) { in updateDrawingState()
542 currentEntry()->fShaderIndex = -1; in updateDrawingState()
2080 entry->fShaderIndex = -1; in populateGraphicStateEntryFromPaint()
[all …]