Home | History | Annotate | Download | only in gl

Lines Matching defs:SkGLDevice

1 #include "SkGLDevice.h"
7 static void TRACE_DRAW(const char func[], SkGLDevice* device,
72 SkGLDevice::SkGLDevice(const SkBitmap& bitmap, bool offscreen)
77 SkGLDevice::~SkGLDevice() {
83 void SkGLDevice::setMatrixClip(const SkMatrix& matrix, const SkRegion& clip) {
92 SkGLDevice::TexOrientation SkGLDevice::bindDeviceAsTexture() {
96 void SkGLDevice::gainFocus(SkCanvas* canvas) {
109 SkGLClipIter* SkGLDevice::updateMatrixClip() {
144 SkGLDevice::AutoPaintShader::AutoPaintShader(SkGLDevice* device,
150 SkGLDevice::AutoPaintShader::~AutoPaintShader() {
152 SkGLDevice::UnlockTexCache(fTexCache);
156 SkGLDevice::TexCache* SkGLDevice::setupGLPaintShader(const SkPaint& paint) {
184 TexCache* cache = SkGLDevice::LockTexCache(bitmap, &name, &max);
213 void SkGLDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) {
243 void SkGLDevice::drawPoints(const SkDraw& draw, SkCanvas::PointMode mode,
307 void SkGLDevice::drawRect(const SkDraw& draw, const SkRect& rect,
357 void SkGLDevice::drawPath(const SkDraw& draw, const SkPath& path,
370 void SkGLDevice::drawBitmap(const SkDraw& draw, const SkBitmap& bitmap,
407 // move this guy into SkGL, so we can call it from SkGLDevice
439 void SkGLDevice::drawSprite(const SkDraw& draw, const SkBitmap& bitmap,
457 void SkGLDevice::drawDevice(const SkDraw& draw, SkDevice* dev,
461 SkGLDevice::TexOrientation to = ((SkGLDevice*)dev)->bindDeviceAsTexture();
462 if (SkGLDevice::kNo_TexOrientation != to) {
473 if (SkGLDevice::kBottomToTop_TexOrientation == to) {
490 void SkGLDevice::drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode,
547 cache = SkGLDevice::LockTexCache(bitmap, &name, &max);
578 SkGLDevice::UnlockTexCache(cache);
587 void SkGLDevice::GlyphCacheAuxProc(void* data) {
621 if (gcache->getAuxProcData(SkGLDevice::GlyphCacheAuxProc, &auxData)) {
627 gcache->setAuxProc(SkGLDevice::GlyphCacheAuxProc, textCache);
738 void SkGLDevice::setupForText(SkDraw* draw, const SkPaint& paint) {
768 void SkGLDevice::drawText(const SkDraw& draw, const void* text,
791 void SkGLDevice::drawPosText(const SkDraw& draw, const void* text,
808 void SkGLDevice::drawTextOnPath(const SkDraw& draw, const void* text,