Lines Matching defs:GrDrawTarget
11 #include "GrDrawTarget.h"
23 GrDrawTarget::DrawInfo& GrDrawTarget::DrawInfo::operator =(const DrawInfo& di) {
48 bool GrDrawTarget::DrawInfo::isInstanced() const {
65 void GrDrawTarget::DrawInfo::adjustInstanceCount(int instanceOffset) {
73 void GrDrawTarget::DrawInfo::adjustStartVertex(int vertexOffset) {
78 void GrDrawTarget::DrawInfo::adjustStartIndex(int indexOffset) {
89 GrDrawTarget::GrDrawTarget(GrContext* context)
108 GrDrawTarget::~GrDrawTarget() {
116 void GrDrawTarget::releaseGeometry() {
126 void GrDrawTarget::setClip(const GrClipData* clip) {
131 const GrClipData* GrDrawTarget::getClip() const {
135 void GrDrawTarget::setDrawState(GrDrawState* drawState) {
147 bool GrDrawTarget::reserveVertexSpace(size_t vertexSize,
171 bool GrDrawTarget::reserveIndexSpace(int indexCount,
192 bool GrDrawTarget::reserveVertexAndIndexSpace(int vertexCount,
217 bool GrDrawTarget::geometryHints(int32_t* vertexCount,
228 void GrDrawTarget::releasePreviousVertexSource() {
251 void GrDrawTarget::releasePreviousIndexSource() {
274 void GrDrawTarget::setVertexSourceToArray(const void* vertexArray,
284 void GrDrawTarget::setIndexSourceToArray(const void* indexArray,
293 void GrDrawTarget::setVertexSourceToBuffer(const GrVertexBuffer* buffer) {
302 void GrDrawTarget::setIndexSourceToBuffer(const GrIndexBuffer* buffer) {
310 void GrDrawTarget::resetVertexSource() {
316 void GrDrawTarget::resetIndexSource() {
322 void GrDrawTarget::pushGeometrySource() {
335 void GrDrawTarget::popGeometrySource() {
347 bool GrDrawTarget::checkDraw(GrPrimitiveType type, int startVertex,
415 bool GrDrawTarget::setupDstReadIfNecessary(GrDeviceCoordTexture* dstCopy, const SkRect* drawBounds) {
462 void GrDrawTarget::drawIndexed(GrPrimitiveType type,
491 void GrDrawTarget::drawNonIndexed(GrPrimitiveType type,
518 void GrDrawTarget::stencilPath(const GrPath* path, SkPath::FillType fill) {
526 void GrDrawTarget::drawPath(const GrPath* path, SkPath::FillType fill) {
552 bool GrDrawTarget::willUseHWAALines() const {
565 bool GrDrawTarget::canApplyCoverage() const {
574 void GrDrawTarget::drawIndexedInstances(GrPrimitiveType type,
641 void GrDrawTarget::onDrawRect(const SkRect& rect,
680 void GrDrawTarget::clipWillBeSet(const GrClipData* clipData) {
685 GrDrawTarget::AutoStateRestore::AutoStateRestore() {
689 GrDrawTarget::AutoStateRestore::AutoStateRestore(GrDrawTarget* target,
696 GrDrawTarget::AutoStateRestore::~AutoStateRestore() {
703 void GrDrawTarget::AutoStateRestore::set(GrDrawTarget* target, ASRInit init, const SkMatrix* vm) {
727 bool GrDrawTarget::AutoStateRestore::setIdentity(GrDrawTarget* target, ASRInit init) {
755 GrDrawTarget::AutoReleaseGeometry::AutoReleaseGeometry(
756 GrDrawTarget* target,
763 GrDrawTarget::AutoReleaseGeometry::AutoReleaseGeometry() {
767 GrDrawTarget::AutoReleaseGeometry::~AutoReleaseGeometry() {
771 bool GrDrawTarget::AutoReleaseGeometry::set(GrDrawTarget* target,
792 void GrDrawTarget::AutoReleaseGeometry::reset() {
806 GrDrawTarget::AutoClipRestore::AutoClipRestore(GrDrawTarget* target, const SkIRect& newClip) {
868 bool GrDrawTarget::copySurface(GrSurface* dst,
893 bool GrDrawTarget::canCopySurface(GrSurface* dst,
914 bool GrDrawTarget::onCanCopySurface(GrSurface* dst,
928 bool GrDrawTarget::onCopySurface(GrSurface* dst,
932 if (!GrDrawTarget::onCanCopySurface(dst, src, srcRect, dstPoint)) {
939 GrDrawTarget::AutoStateRestore asr(this, kReset_ASRInit);
954 void GrDrawTarget::initCopySurfaceDstDesc(const GrSurface* src, GrTextureDesc* desc) {