Home | History | Annotate | Download | only in gpu

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)
109 GrDrawTarget::~GrDrawTarget() {
117 void GrDrawTarget::releaseGeometry() {
127 void GrDrawTarget::setClip(const GrClipData* clip) {
132 const GrClipData* GrDrawTarget::getClip() const {
136 void GrDrawTarget::setDrawState(GrDrawState* drawState) {
148 bool GrDrawTarget::reserveVertexSpace(size_t vertexSize,
172 bool GrDrawTarget::reserveIndexSpace(int indexCount,
193 bool GrDrawTarget::reserveVertexAndIndexSpace(int vertexCount,
218 bool GrDrawTarget::geometryHints(int32_t* vertexCount,
229 void GrDrawTarget::releasePreviousVertexSource() {
252 void GrDrawTarget::releasePreviousIndexSource() {
275 void GrDrawTarget::setVertexSourceToArray(const void* vertexArray,
285 void GrDrawTarget::setIndexSourceToArray(const void* indexArray,
294 void GrDrawTarget::setVertexSourceToBuffer(const GrVertexBuffer* buffer) {
303 void GrDrawTarget::setIndexSourceToBuffer(const GrIndexBuffer* buffer) {
311 void GrDrawTarget::resetVertexSource() {
317 void GrDrawTarget::resetIndexSource() {
323 void GrDrawTarget::pushGeometrySource() {
336 void GrDrawTarget::popGeometrySource() {
348 bool GrDrawTarget::checkDraw(GrPrimitiveType type, int startVertex,
416 bool GrDrawTarget::setupDstReadIfNecessary(GrDeviceCoordTexture* dstCopy, const SkRect* drawBounds) {
463 void GrDrawTarget::drawIndexed(GrPrimitiveType type,
492 void GrDrawTarget::drawNonIndexed(GrPrimitiveType type,
519 void GrDrawTarget::stencilPath(const GrPath* path, SkPath::FillType fill) {
527 void GrDrawTarget::drawPath(const GrPath* path, SkPath::FillType fill) {
551 void GrDrawTarget::drawPaths(int pathCount, const GrPath** paths,
582 void GrDrawTarget::saveActiveTraceMarkers() {
592 void GrDrawTarget::restoreActiveTraceMarkers() {
604 void GrDrawTarget::addGpuTraceMarker(const GrGpuTraceMarker* marker) {
613 void GrDrawTarget::removeGpuTraceMarker(const GrGpuTraceMarker* marker) {
624 bool GrDrawTarget::willUseHWAALines() const {
637 bool GrDrawTarget::canApplyCoverage() const {
646 void GrDrawTarget::drawIndexedInstances(GrPrimitiveType type,
713 void GrDrawTarget::onDrawRect(const SkRect& rect,
749 void GrDrawTarget::clipWillBeSet(const GrClipData* clipData) {
754 GrDrawTarget::AutoStateRestore::AutoStateRestore() {
758 GrDrawTarget::AutoStateRestore::AutoStateRestore(GrDrawTarget* target,
765 GrDrawTarget::AutoStateRestore::~AutoStateRestore() {
772 void GrDrawTarget::AutoStateRestore::set(GrDrawTarget* target, ASRInit init, const SkMatrix* vm) {
796 bool GrDrawTarget::AutoStateRestore::setIdentity(GrDrawTarget* target, ASRInit init) {
824 GrDrawTarget::AutoReleaseGeometry::AutoReleaseGeometry(
825 GrDrawTarget* target,
832 GrDrawTarget::AutoReleaseGeometry::AutoReleaseGeometry() {
836 GrDrawTarget::AutoReleaseGeometry::~AutoReleaseGeometry() {
840 bool GrDrawTarget::AutoReleaseGeometry::set(GrDrawTarget* target,
861 void GrDrawTarget::AutoReleaseGeometry::reset() {
875 GrDrawTarget::AutoClipRestore::AutoClipRestore(GrDrawTarget* target, const SkIRect& newClip) {
937 bool GrDrawTarget::copySurface(GrSurface* dst,
962 bool GrDrawTarget::canCopySurface(GrSurface* dst,
983 bool GrDrawTarget::onCanCopySurface(GrSurface* dst,
997 bool GrDrawTarget::onCopySurface(GrSurface* dst,
1001 if (!GrDrawTarget::onCanCopySurface(dst, src, srcRect, dstPoint)) {
1008 GrDrawTarget::AutoStateRestore asr(this, kReset_ASRInit);
1023 void GrDrawTarget::initCopySurfaceDstDesc(const GrSurface* src, GrTextureDesc* desc) {