Searched defs:drawType (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/skia/src/gpu/
H A DGrPathRendererChain.cpp37 DrawType drawType,
42 bool antiAlias = (kColorAntiAlias_DrawType == drawType ||
43 kStencilAndColorAntiAlias_DrawType == drawType);
50 if (kStencilOnly_DrawType == drawType) {
52 } else if (kStencilAndColor_DrawType == drawType ||
53 kStencilAndColorAntiAlias_DrawType == drawType) {
34 getPathRenderer(const SkPath& path, const SkStrokeRec& stroke, const GrDrawTarget* target, DrawType drawType, StencilSupport* stencilSupport) argument
H A DGrContext.cpp1794 GrPathRendererChain::DrawType drawType,
1804 drawType,
1790 getPathRenderer(const SkPath& path, const SkStrokeRec& stroke, const GrDrawTarget* target, bool allowSW, GrPathRendererChain::DrawType drawType, GrPathRendererChain::StencilSupport* stencilSupport) argument
/external/skia/src/gpu/
H A DGrPathRendererChain.cpp37 DrawType drawType,
42 bool antiAlias = (kColorAntiAlias_DrawType == drawType ||
43 kStencilAndColorAntiAlias_DrawType == drawType);
50 if (kStencilOnly_DrawType == drawType) {
52 } else if (kStencilAndColor_DrawType == drawType ||
53 kStencilAndColorAntiAlias_DrawType == drawType) {
34 getPathRenderer(const SkPath& path, const SkStrokeRec& stroke, const GrDrawTarget* target, DrawType drawType, StencilSupport* stencilSupport) argument
H A DGrContext.cpp1765 GrPathRendererChain::DrawType drawType,
1775 drawType,
1761 getPathRenderer(const SkPath& path, const SkStrokeRec& stroke, const GrDrawTarget* target, bool allowSW, GrPathRendererChain::DrawType drawType, GrPathRendererChain::StencilSupport* stencilSupport) argument
/external/chromium_org/third_party/skia/tests/
H A DGLProgramsTest.cpp44 GrGpu::DrawType drawType) {
45 bool isPathRendering = GrGpu::IsPathRenderingDrawType(drawType);
261 GrGpu::DrawType drawType = usePathRendering ? GrGpu::kDrawPath_DrawType :
331 drawType)) {
35 setRandom(SkRandom* random, GrGpuGL* gpu, const GrRenderTarget* dstRenderTarget, const GrTexture* dstCopyTexture, const GrGeometryStage* geometryProcessor, const GrFragmentStage* stages[], int numColorStages, int numCoverageStages, int currAttribIndex, GrGpu::DrawType drawType) argument
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLProgram.cpp94 GrGpu::DrawType drawType,
105 this->setMatrixAndRenderTargetHeight(drawType, optState);
130 fGeometryProcessor->setData(fGpu, drawType, fProgramDataManager, geometryProcessor);
132 fColorEffects->setData(fGpu, drawType, fProgramDataManager, colorStages);
133 fCoverageEffects->setData(fGpu, drawType, fProgramDataManager, coverageStages);
220 void GrGLProgram::setMatrixAndRenderTargetHeight(GrGpu::DrawType drawType, argument
233 if (GrGpu::IsPathRenderingDrawType(drawType)) {
93 setData(const GrOptDrawState& optState, GrGpu::DrawType drawType, const GrGeometryStage* geometryProcessor, const GrFragmentStage* colorStages[], const GrFragmentStage* coverageStages[], const GrDeviceCoordTexture* dstCopy, SharedGLState* sharedState) argument
H A DGrGLProgramEffects.cpp92 GrGpu::DrawType drawType,
98 this->setDataInternal(gpu, drawType, programDataManager, *effectStages, 0);
102 GrGpu::DrawType drawType,
109 this->setDataInternal(gpu, drawType, programDataManager, *effectStages[e], e);
114 GrGpu::DrawType drawType,
120 if (GrGpu::IsPathRenderingDrawType(drawType)) {
91 setData(GrGpuGL* gpu, GrGpu::DrawType drawType, const GrGLProgramDataManager& programDataManager, const GrGeometryStage* effectStages) argument
101 setData(GrGpuGL* gpu, GrGpu::DrawType drawType, const GrGLProgramDataManager& programDataManager, const GrFragmentStage* effectStages[]) argument
113 setDataInternal(GrGpuGL* gpu, GrGpu::DrawType drawType, const GrGLProgramDataManager& programDataManager, const GrProcessorStage& effectStage, int index) argument
H A DGrGLProgramDesc.cpp196 GrGpu::DrawType drawType,
299 header->fEmitsPointSize = GrGpu::kDrawPoints_DrawType == drawType;
312 GrGpu::IsPathRenderingDrawType(drawType) &&
320 bool defaultToUniformInputs = GrGpu::IsPathRenderingDrawType(drawType) ||
195 Build(const GrOptDrawState& optState, GrGpu::DrawType drawType, GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff, GrGpuGL* gpu, const GrDeviceCoordTexture* dstCopy, const GrGeometryStage** geometryProcessor, SkTArray<const GrFragmentStage*, true>* colorStages, SkTArray<const GrFragmentStage*, true>* coverageStages, GrGLProgramDesc* desc) argument
/external/chromium_org/third_party/skia/bench/
H A DAlternatingColorPatternBench.cpp96 AlternatingColorPatternBench(ColorPattern pattern1, ColorPattern pattern2, DrawType drawType) argument
102 kRect_DrawType == drawType ? "rect" : "path");
103 fDrawType = drawType;
/external/chromium_org/third_party/skia/src/core/
H A DSkPictureRecord.h132 * Write the 'drawType' operation and chunk size to the skp. 'size'
143 size_t addDraw(DrawType drawType, size_t* size) { argument
150 SkASSERT(((uint8_t) drawType) == drawType);
153 fWriter.writeInt(PACK_8_24(drawType, MASK_24));
157 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size)));
H A DSkCanvas.cpp319 bool next(SkDrawFilter::Type drawType) { argument
326 return this->doNext(drawType);
344 bool doNext(SkDrawFilter::Type drawType);
347 bool AutoDrawLooper::doNext(SkDrawFilter::Type drawType) { argument
364 if (!fFilter->filter(paint, drawType)) {
/external/skia/src/core/
H A DSkPictureRecord.h133 * Write the 'drawType' operation and chunk size to the skp. 'size'
144 size_t addDraw(DrawType drawType, size_t* size) { argument
150 SkDebugf("add %s\n", DrawTypeToString(drawType));
154 SkASSERT(((uint8_t) drawType) == drawType);
157 fWriter.writeInt(PACK_8_24(drawType, MASK_24));
161 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size)));
H A DSkPicture.cpp57 const char* DrawTypeToString(DrawType drawType) { argument
58 switch (drawType) {
97 SkDebugf("DrawType error 0x%08x\n", drawType);
H A DSkCanvas.cpp353 bool next(SkDrawFilter::Type drawType) { argument
361 return this->doNext(drawType);
378 bool doNext(SkDrawFilter::Type drawType);
381 bool AutoDrawLooper::doNext(SkDrawFilter::Type drawType) { argument
397 if (!fFilter->filter(paint, drawType)) {
/external/skia/src/gpu/gl/
H A DGrGLProgramDesc.cpp40 GrGpu::DrawType drawType,
117 bool hasVertexCode = !(GrGpu::kDrawPath_DrawType == drawType ||
118 GrGpu::kDrawPaths_DrawType == drawType);
138 header->fEmitsPointSize = GrGpu::kDrawPoints_DrawType == drawType;
39 Build(const GrDrawState& drawState, GrGpu::DrawType drawType, GrDrawState::BlendOptFlags blendOpts, GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff, const GrGpuGL* gpu, const GrDeviceCoordTexture* dstCopy, SkTArray<const GrEffectStage*, true>* colorStages, SkTArray<const GrEffectStage*, true>* coverageStages, GrGLProgramDesc* desc) argument
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DRegionTracker.cpp148 static inline bool paintIsOpaque(const SkPaint& paint, RegionTracker::DrawType drawType, const SkBitmap* bitmap) argument
152 bool checkFillOnly = drawType != RegionTracker::FillOrStroke;
302 void RegionTracker::didDraw(const GraphicsContext* context, const SkRect& rect, const SkPaint& paint, const SkBitmap* sourceBitmap, bool fillsBounds, DrawType drawType) argument
323 bool drawsOpaque = paintIsOpaque(paint, drawType, sourceBitmap);
333 void RegionTracker::didDrawUnbounded(const GraphicsContext* context, const SkPaint& paint, DrawType drawType) argument
335 bool drawsOpaque = paintIsOpaque(paint, drawType, 0);
/external/deqp/modules/egl/
H A DteglPreservingSwapTests.cpp105 void render (int width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType);
204 void GLES2Program::render (int width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) argument
206 if (drawType == PreservingSwapTest::DRAWTYPE_GLES2_RENDER)
251 else if (drawType == PreservingSwapTest::DRAWTYPE_GLES2_CLEAR)
281 void render (tcu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType);
296 void ReferenceProgram::render (tcu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) argument
298 if (drawType == PreservingSwapTest::DRAWTYPE_GLES2_RENDER || drawType == PreservingSwapTest::DRAWTYPE_GLES2_CLEAR)
/external/deqp/modules/glshared/
H A DglsStateChangePerfTestCases.cpp211 StateChangePerformanceCase::StateChangePerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, DrawType drawType, int drawCallCount, int triangleCount) argument
214 , m_drawType (drawType)

Completed in 7018 milliseconds