Searched refs:dstCopy (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLProgram.cpp98 const GrDeviceCoordTexture* dstCopy,
107 if (dstCopy) {
110 static_cast<GrGLfloat>(dstCopy->offset().fX),
111 static_cast<GrGLfloat>(dstCopy->offset().fY));
113 1.f / dstCopy->texture()->width(),
114 1.f / dstCopy->texture()->height());
115 GrGLTexture* texture = static_cast<GrGLTexture*>(dstCopy->texture());
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 DGrGpuGL_program.cpp207 bool GrGpuGL::flushGraphicsState(DrawType type, const GrDeviceCoordTexture* dstCopy) { argument
239 dstCopy,
272 dstCopy,
H A DGrGLProgram.h160 const GrDeviceCoordTexture* dstCopy, // can be NULL
H A DGrGLProgramDesc.cpp200 const GrDeviceCoordTexture* dstCopy,
345 SkASSERT(dstCopy || gpu->caps()->dstReadInShaderSupport());
347 if (dstCopy) {
348 dstCopyTexture = dstCopy->texture();
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
H A DGrGLProgramDesc.h70 const GrDeviceCoordTexture* dstCopy,
/external/skia/src/gpu/gl/
H A DGrGLProgram.cpp99 const GrDeviceCoordTexture* dstCopy,
120 if (NULL != dstCopy) {
123 static_cast<GrGLfloat>(dstCopy->offset().fX),
124 static_cast<GrGLfloat>(dstCopy->offset().fY));
126 1.f / dstCopy->texture()->width(),
127 1.f / dstCopy->texture()->height());
128 GrGLTexture* texture = static_cast<GrGLTexture*>(dstCopy->texture());
96 setData(GrDrawState::BlendOptFlags blendOpts, const GrEffectStage* colorStages[], const GrEffectStage* coverageStages[], const GrDeviceCoordTexture* dstCopy, SharedGLState* sharedState) argument
H A DGrGLProgramDesc.cpp45 const GrDeviceCoordTexture* dstCopy,
176 SkASSERT(NULL != dstCopy || gpu->caps()->dstReadInShaderSupport());
178 if (NULL != dstCopy) {
179 dstCopyTexture = dstCopy->texture();
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
H A DGrGpuGL_program.cpp213 bool GrGpuGL::flushGraphicsState(DrawType type, const GrDeviceCoordTexture* dstCopy) { argument
243 dstCopy,
273 dstCopy,
H A DGrGLProgram.h161 const GrDeviceCoordTexture* dstCopy, // can be NULL
H A DGrGLProgramDesc.h73 const GrDeviceCoordTexture* dstCopy,
H A DGrGLShaderBuilder.cpp391 GrGLShaderBuilder::DstReadKey GrGLShaderBuilder::KeyForDstRead(const GrTexture* dstCopy, argument
397 SkASSERT(NULL != dstCopy);
398 if (!caps.textureSwizzleSupport() && GrPixelConfigIsAlphaOnly(dstCopy->config())) {
402 if (kTopLeft_GrSurfaceOrigin == dstCopy->origin()) {
/external/skia/src/gpu/
H A DGrDrawTarget.h512 const GrDeviceCoordTexture* dstCopy) {
513 this->onDrawPath(path, fill, dstCopy);
522 const GrDeviceCoordTexture* dstCopy) {
523 this->onDrawPaths(pathCount, paths, transforms, fill, stroke, dstCopy);
911 const GrDeviceCoordTexture* dstCopy) = 0;
914 const GrDeviceCoordTexture* dstCopy) = 0;
939 bool setupDstReadIfNecessary(GrDeviceCoordTexture* dstCopy, const SkRect* drawBounds);
511 executeDrawPath(const GrPath* path, SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) argument
519 executeDrawPaths(int pathCount, const GrPath** paths, const SkMatrix* transforms, SkPath::FillType fill, SkStrokeRec::Style stroke, const GrDeviceCoordTexture* dstCopy) argument
H A DGrGpu.cpp343 bool GrGpu::setupClipAndFlushState(DrawType type, const GrDeviceCoordTexture* dstCopy, argument
350 if (!this->flushGraphicsState(type, dstCopy)) {
409 const GrDeviceCoordTexture* dstCopy) {
415 if (!this->setupClipAndFlushState(kDrawPath_DrawType, dstCopy, &are, NULL)) {
425 const GrDeviceCoordTexture* dstCopy) {
431 if (!this->setupClipAndFlushState(kDrawPaths_DrawType, dstCopy, &are, NULL)) {
408 onDrawPath(const GrPath* path, SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) argument
422 onDrawPaths(int pathCount, const GrPath** paths, const SkMatrix* transforms, SkPath::FillType fill, SkStrokeRec::Style style, const GrDeviceCoordTexture* dstCopy) argument
H A DGrGpu.h365 const GrDeviceCoordTexture* dstCopy,
478 virtual bool flushGraphicsState(DrawType, const GrDeviceCoordTexture* dstCopy) = 0;
490 const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE;
493 const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE;
H A DGrDrawTarget.cpp416 bool GrDrawTarget::setupDstReadIfNecessary(GrDeviceCoordTexture* dstCopy, const SkRect* drawBounds) { argument
455 dstCopy->setTexture(ast.texture());
456 dstCopy->setOffset(copyRect.fLeft, copyRect.fTop);
543 GrDeviceCoordTexture dstCopy; local
544 if (!this->setupDstReadIfNecessary(&dstCopy, &devBounds)) {
548 this->onDrawPath(path, fill, dstCopy.texture() ? &dstCopy : NULL);
572 GrDeviceCoordTexture dstCopy; local
573 if (!this->setupDstReadIfNecessary(&dstCopy, &devBounds)) {
578 dstCopy
[all...]
H A DGrInOrderDrawBuffer.cpp443 SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) {
455 if (NULL != dstCopy) {
456 cp->fDstCopy = *dstCopy;
464 const GrDeviceCoordTexture* dstCopy) {
487 if (NULL != dstCopy) {
488 dp->fDstCopy = *dstCopy;
632 const GrDeviceCoordTexture* dstCopy = local
636 dstCopy);
442 onDrawPath(const GrPath* path, SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) argument
460 onDrawPaths(int pathCount, const GrPath** paths, const SkMatrix* transforms, SkPath::FillType fill, SkStrokeRec::Style stroke, const GrDeviceCoordTexture* dstCopy) argument
H A DGrInOrderDrawBuffer.h157 const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE;
160 const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE;
/external/chromium_org/third_party/skia/src/gpu/
H A DGrDrawTarget.h494 const GrDeviceCoordTexture* dstCopy) {
495 this->onDrawPath(path, fill, dstCopy);
505 const GrDeviceCoordTexture* dstCopy) {
506 this->onDrawPaths(pathRange, indices, count, transforms, transformsType, fill, dstCopy);
892 const GrDeviceCoordTexture* dstCopy) = 0;
921 bool setupDstReadIfNecessary(GrDeviceCoordTexture* dstCopy, const SkRect* drawBounds);
493 executeDrawPath(const GrPath* path, SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) argument
501 executeDrawPaths(const GrPathRange* pathRange, const uint32_t indices[], int count, const float transforms[], PathTransformType transformsType, SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) argument
H A DGrGpu.cpp289 bool GrGpu::setupClipAndFlushState(DrawType type, const GrDeviceCoordTexture* dstCopy, argument
296 if (!this->flushGraphicsState(type, dstCopy)) {
355 const GrDeviceCoordTexture* dstCopy) {
361 if (!this->setupClipAndFlushState(kDrawPath_DrawType, dstCopy, &are, NULL)) {
371 SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) {
377 if (!this->setupClipAndFlushState(kDrawPaths_DrawType, dstCopy, &are, NULL)) {
354 onDrawPath(const GrPath* path, SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) argument
368 onDrawPaths(const GrPathRange* pathRange, const uint32_t indices[], int count, const float transforms[], PathTransformType transformsType, SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) argument
H A DGrGpu.h352 const GrDeviceCoordTexture* dstCopy,
463 virtual bool flushGraphicsState(DrawType, const GrDeviceCoordTexture* dstCopy) = 0;
475 const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE;
H A DGrDrawTarget.cpp426 bool GrDrawTarget::setupDstReadIfNecessary(GrDeviceCoordTexture* dstCopy, const SkRect* drawBounds) { argument
465 dstCopy->setTexture(ast.texture());
466 dstCopy->setOffset(copyRect.fLeft, copyRect.fTop);
553 GrDeviceCoordTexture dstCopy; local
554 if (!this->setupDstReadIfNecessary(&dstCopy, &devBounds)) {
558 this->onDrawPath(path, fill, dstCopy.texture() ? &dstCopy : NULL);
574 GrDeviceCoordTexture dstCopy; local
575 if (!this->setupDstReadIfNecessary(&dstCopy, NULL)) {
580 dstCopy
[all...]
H A DGrInOrderDrawBuffer.cpp372 SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) {
380 if (dstCopy) {
381 cp->fDstCopy = *dstCopy;
388 SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) {
409 if (dstCopy) {
410 dp->fDstCopy = *dstCopy;
545 const GrDeviceCoordTexture* dstCopy = local
553 dstCopy);
371 onDrawPath(const GrPath* path, SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) argument
385 onDrawPaths(const GrPathRange* pathRange, const uint32_t indices[], int count, const float transforms[], PathTransformType transformsType, SkPath::FillType fill, const GrDeviceCoordTexture* dstCopy) argument
H A DGrInOrderDrawBuffer.h206 const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE;
/external/chromium_org/third_party/skia/src/gpu/gl/builders/
H A DGrGLFragmentShaderBuilder.cpp46 const GrTexture* dstCopy, const GrGLCaps& caps) {
51 SkASSERT(dstCopy);
52 if (!caps.textureSwizzleSupport() && GrPixelConfigIsAlphaOnly(dstCopy->config())) {
56 if (kTopLeft_GrSurfaceOrigin == dstCopy->origin()) {
45 KeyForDstRead( const GrTexture* dstCopy, const GrGLCaps& caps) argument
H A DGrGLFragmentShaderBuilder.h77 static DstReadKey KeyForDstRead(const GrTexture* dstCopy, const GrGLCaps&);

Completed in 192 milliseconds

12