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

  /external/skia/gpu/include/
GrTesselatedPathRenderer.h 26 virtual void drawPath(GrDrawTarget* target,
27 GrDrawTarget::StageBitfield stages,
31 virtual bool canDrawPath(const GrDrawTarget* target,
35 virtual bool requiresStencilPass(const GrDrawTarget* target,
38 virtual void drawPathToStencil(GrDrawTarget* target,
42 virtual bool supportsAA(GrDrawTarget* target,
GrPathRenderer.h 20 #include "GrDrawTarget.h"
26 * Base class for drawing paths into a GrDrawTarget.
40 virtual bool canDrawPath(const GrDrawTarget* target, const SkPath& path,
57 virtual void drawPath(GrDrawTarget* target,
58 GrDrawTarget::StageBitfield stages,
81 virtual bool requiresStencilPass(const GrDrawTarget* target,
103 virtual void drawPathToStencil(GrDrawTarget* target,
114 virtual bool supportsAA(GrDrawTarget* target,
139 virtual bool canDrawPath(const GrDrawTarget* target,
143 virtual void drawPath(GrDrawTarget* target
    [all...]
GrTextContext.h 29 class GrDrawTarget;
47 GrDrawTarget* fDrawTarget;
GrInOrderDrawBuffer.h 21 #include "GrDrawTarget.h"
30 * GrInOrderDrawBuffer is an implementation of GrDrawTarget that queues up
41 class GrInOrderDrawBuffer : public GrDrawTarget {
62 void initializeDrawStateAndClip(const GrDrawTarget& target);
81 void playback(GrDrawTarget* target);
83 // overrides from GrDrawTarget
183 typedef GrDrawTarget INHERITED;
GrDrawTarget.h 36 class GrDrawTarget : public GrRefCnt {
200 GrDrawTarget();
482 friend class GrDrawTarget;
511 void copyDrawState(const GrDrawTarget& srcTarget);
650 * GrDrawTarget to decide whether to put data in buffers, to group vertex
789 * geometry. The GrDrawTarget subclass may be able to perform additional
844 AutoStateRestore(GrDrawTarget* target);
    [all...]
GrContext_impl.h 31 GrDrawTarget::SavedDrawState fSavedState;
43 GrDrawTarget::AutoReleaseGeometry geo;
45 GrDrawTarget* target = this->prepareToDraw(paint, kUnbuffered_DrawCategory);
54 layout |= GrDrawTarget::kColor_VertexLayoutBit;
65 int texOffsets[GrDrawTarget::kMaxTexCoords];
67 int vsize = GrDrawTarget::VertexSizeAndOffsetsByIdx(layout,
GrContext.h 506 GrDrawTarget* getTextTarget(const GrPaint& paint);
538 void fillAARect(GrDrawTarget* target,
542 void strokeAARect(GrDrawTarget* target,
557 static void SetPaint(const GrPaint& paint, GrDrawTarget* target);
563 GrDrawTarget* prepareToDraw(const GrPaint& paint, DrawCategory drawType);
567 GrPathRenderer* getPathRenderer(const GrDrawTarget*, const GrPath&, GrPathFill);
571 bool doOffscreenAA(GrDrawTarget* target,
576 bool setupOffscreenAAPass1(GrDrawTarget* target,
583 void offscreenAAPass2(GrDrawTarget* target,
GrGpu.h 20 #include "GrDrawTarget.h"
59 class GrGpu : public GrDrawTarget {
258 // GrDrawTarget overrides
358 * Extensions to GrDrawTarget::StateBits to implement stencil clipping
365 // GrDrawTarget override
417 // GrDrawTarget overrides
577 typedef GrDrawTarget INHERITED;
  /external/skia/gpu/src/
GrDrawTarget.cpp 18 #include "GrDrawTarget.h"
28 return GrDrawTarget::StageTexCoordVertexLayoutBit(stage, N) |
32 int stage_mask_recur<GrDrawTarget::kNumStages>(int) { return 0; }
42 GrDrawTarget::StagePosAsTexCoordVertexLayoutBit(stage);
49 return GrDrawTarget::StageTexCoordVertexLayoutBit(N, texCoordIdx) |
53 int tex_coord_mask_recur<GrDrawTarget::kMaxTexCoords>(int) { return 0; }
62 for (int s = 0; s < GrDrawTarget::kNumStages; ++s) {
73 size_t GrDrawTarget::VertexSize(GrVertexLayout vertexLayout) {
92 int GrDrawTarget::VertexStageCoordOffset(int stage, GrVertexLayout vertexLayout) {
116 int GrDrawTarget::VertexColorOffset(GrVertexLayout vertexLayout)
    [all...]
GrGLProgram.h 80 static int ColorAttributeIdx() { return 1 + GrDrawTarget::kMaxTexCoords; }
82 return 2 + GrDrawTarget::kMaxTexCoords;
85 return 5 + GrDrawTarget::kMaxTexCoords + 3 * stage;
158 StageDesc fStages[GrDrawTarget::kNumStages];
200 StageUniLocations fStages[GrDrawTarget::kNumStages];
206 for (int s = 0; s < GrDrawTarget::kNumStages; ++s) {
239 GrMatrix fTextureMatrices[GrDrawTarget::kNumStages];
241 int fTextureWidth[GrDrawTarget::kNumStages];
242 int fTextureHeight[GrDrawTarget::kNumStages];
243 GrScalar fRadial2CenterX1[GrDrawTarget::kNumStages]
    [all...]
GrPathRenderer.cpp 4 #include "GrDrawTarget.h"
155 static inline bool single_pass_path(const GrDrawTarget& target,
177 bool GrDefaultPathRenderer::requiresStencilPass(const GrDrawTarget* target,
183 void GrDefaultPathRenderer::onDrawPath(GrDrawTarget* target,
184 GrDrawTarget::StageBitfield stages,
190 GrDrawTarget::AutoStateRestore asr(target);
193 GrAssert(GrDrawTarget::kBoth_DrawFace == target->getDrawFace());
214 for (int s = 0; s < GrDrawTarget::kNumStages; ++s) {
216 layout |= GrDrawTarget::StagePosAsTexCoordVertexLayoutBit(s);
221 GrDrawTarget::AutoReleaseGeometry arg(target, layout, maxPts + 4, 0)
    [all...]
gr_files.mk 7 GrDrawTarget.cpp \
GrContext.cpp 123 layout |= GrDrawTarget::StageTexCoordVertexLayoutBit(i, i);
125 layout |= GrDrawTarget::StagePosAsTexCoordVertexLayoutBit(i);
241 GrDrawTarget::AutoStateRestore asr(fGpu);
248 fGpu->disableState(GrDrawTarget::kDither_StateBit |
249 GrDrawTarget::kClip_StateBit |
250 GrDrawTarget::kAntialias_StateBit);
266 GrDrawTarget::StageTexCoordVertexLayoutBit(0,0);
267 GrDrawTarget::AutoReleaseGeometry arg(fGpu, layout, 4, 0);
423 fGpu->enableState(GrDrawTarget::kClip_StateBit);
457 bool GrContext::doOffscreenAA(GrDrawTarget* target,
    [all...]
GrTesselatedPathRenderer.cpp 88 typedef GrTDArray<GrDrawTarget::Edge> EdgeArray;
112 GrDrawTarget::Edge edge(tangent.fX * scale,
118 GrDrawTarget::Edge prev_edge = *edges->back();
120 GrDrawTarget::Edge edge = edges->at(i);
128 void GrTesselatedPathRenderer::drawPath(GrDrawTarget* target,
129 GrDrawTarget::StageBitfield stages,
133 GrDrawTarget::AutoStateRestore asr(target);
135 GrAssert(GrDrawTarget::kBoth_DrawFace == target->getDrawFace());
156 for (int s = 0; s < GrDrawTarget::kNumStages; ++s) {
158 layout |= GrDrawTarget::StagePosAsTexCoordVertexLayoutBit(s)
    [all...]
GrTextContext.cpp 26 #include "GrDrawTarget.h"
34 GrDrawTarget::AutoStateRestore asr(fDrawTarget);
124 GrDrawTarget::kTextFormat_VertexLayoutBit |
125 GrDrawTarget::StageTexCoordVertexLayoutBit(kGlyphMaskStage, 0);
137 GrDrawTarget::StagePosAsTexCoordVertexLayoutBit(i);
GrInOrderDrawBuffer.cpp 57 void GrInOrderDrawBuffer::initializeDrawStateAndClip(const GrDrawTarget& target) {
343 void GrInOrderDrawBuffer::playback(GrDrawTarget* target) {
356 GrDrawTarget::AutoStateRestore asr(target);
357 GrDrawTarget::AutoClipRestore acr(target);
360 GrDrawTarget::AutoGeometrySrcRestore agsr(target);
GrGLProgram.cpp 412 GrStringBuilder texCoordAttrs[GrDrawTarget::kMaxTexCoords];
413 for (int t = 0; t < GrDrawTarget::kMaxTexCoords; ++t) {
414 if (GrDrawTarget::VertexUsesTexCoordIdx(t, layout)) {
436 if (GrDrawTarget::StagePosAsTexCoordVertexLayoutBit(s) &
440 int tcIdx = GrDrawTarget::VertexTexCoordsForStage(s, layout);
533 for (int s = startStage; s < GrDrawTarget::kNumStages; ++s) {
542 if (GrDrawTarget::StagePosAsTexCoordVertexLayoutBit(s) & layout) {
545 int tcIdx = GrDrawTarget::VertexTexCoordsForStage(s, layout);
794 for (int t = 0; t < GrDrawTarget::kMaxTexCoords; ++t) {
808 for (int s = 0; s < GrDrawTarget::kNumStages; ++s)
    [all...]
GrBufferAllocPool.cpp 348 size_t vSize = GrDrawTarget::VertexSize(layout);
371 GrDrawTarget::VertexSize(layout) * vertexCount);
380 GrDrawTarget::VertexSize(layout);
384 return currentBufferItems(GrDrawTarget::VertexSize(layout));
gr_unittests.cpp 18 #include "GrDrawTarget.h"
276 GrDrawTarget::VertexLayoutUnitTest();
  /external/skia/
Android.mk 283 gpu/src/GrDrawTarget.cpp \

Completed in 775 milliseconds