Home | History | Annotate | Download | only in gpu

Lines Matching defs:SkGpuDevice

8 #include "SkGpuDevice.h"
62 class SkGpuDevice::SkAutoCachedTexture : public ::SkNoncopyable {
69 SkAutoCachedTexture(SkGpuDevice* device,
85 GrTexture* set(SkGpuDevice* device,
103 SkGpuDevice* fDevice;
151 SkGpuDevice* SkGpuDevice::Create(GrSurface* surface) {
157 return SkNEW_ARGS(SkGpuDevice, (surface->getContext(), surface->asTexture()));
159 return SkNEW_ARGS(SkGpuDevice, (surface->getContext(), surface->asRenderTarget()));
163 SkGpuDevice::SkGpuDevice(GrContext* context, GrTexture* texture)
168 SkGpuDevice::SkGpuDevice(GrContext* context, GrRenderTarget* renderTarget)
173 void SkGpuDevice::initFromRenderTarget(GrContext* context,
201 SkGpuDevice::SkGpuDevice(GrContext* context,
245 SkGpuDevice::~SkGpuDevice() {
266 void SkGpuDevice::makeRenderTargetCurrent() {
302 bool SkGpuDevice::onReadPixels(const SkBitmap& bitmap,
324 void SkGpuDevice::writePixels(const SkBitmap& bitmap, int x, int y,
357 void SkGpuDevice::onAttachToCanvas(SkCanvas* canvas) {
366 void SkGpuDevice::onDetachFromCanvas() {
409 void SkGpuDevice::prepareDraw(const SkDraw& draw, bool forceIdentity) {
432 GrRenderTarget* SkGpuDevice::accessRenderTarget() {
458 inline bool skPaint2GrPaintNoShader(SkGpuDevice* dev,
529 inline bool skPaint2GrPaintShader(SkGpuDevice* dev,
567 void SkGpuDevice::clear(SkColor color) {
573 void SkGpuDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) {
591 void SkGpuDevice::drawPoints(const SkDraw& draw, SkCanvas::PointMode mode,
625 void SkGpuDevice::drawRect(const SkDraw& draw, const SkRect& rect,
681 void SkGpuDevice::drawRRect(const SkDraw& draw, const SkRRect& rect,
714 void SkGpuDevice::drawOval(const SkDraw& draw, const SkRect& oval,
878 void SkGpuDevice::drawPath(const SkDraw& draw, const SkPath& origSrcPath,
1034 bool SkGpuDevice::shouldTileBitmap(const SkBitmap& bitmap,
1080 void SkGpuDevice::drawBitmap(const SkDraw& draw,
1088 void SkGpuDevice::drawBitmapCommon(const SkDraw& draw,
1179 void SkGpuDevice::drawTiledBitmap(const SkBitmap& bitmap,
1287 void SkGpuDevice::internalDrawBitmap(const SkBitmap& bitmap,
1390 void SkGpuDevice::drawSprite(const SkDraw& draw, const SkBitmap& bitmap,
1441 void SkGpuDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
1471 void SkGpuDevice::drawDevice(const SkDraw& draw, SkDevice* device,
1474 SkGpuDevice* dev = static_cast<SkGpuDevice*>(device);
1531 bool SkGpuDevice::canHandleImageFilter(SkImageFilter* filter) {
1535 bool SkGpuDevice::filterImage(SkImageFilter* filter, const SkBitmap& src,
1539 if (!this->SkGpuDevice::canHandleImageFilter(filter)) {
1566 void SkGpuDevice::drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode,
1653 SkDrawProcs* SkGpuDevice::initDrawForText(GrTextContext* context) {
1668 void SkGpuDevice::drawText(const SkDraw& draw, const void* text,
1689 void SkGpuDevice::drawPosText(const SkDraw& draw, const void* text,
1713 void SkGpuDevice::drawTextOnPath(const SkDraw& draw, const void* text,
1724 bool SkGpuDevice::filterTextFlags(const SkPaint& paint, TextFlags* flags) {
1747 void SkGpuDevice::flush() {
1754 SkDevice* SkGpuDevice::onCreateCompatibleDevice(SkBitmap::Config config,
1780 return SkNEW_ARGS(SkGpuDevice,(fContext, texture, needClear));
1787 SkGpuDevice::SkGpuDevice(GrContext* context,