From e253831ee0f3f85c5143e5ac39325400b145106f Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Thu, 24 Aug 2017 17:47:23 +0000 Subject: Revert "Switch atlas clients over to using absolute texture coordinates" This reverts commit e84c087e621978e6d298b8ca950521601a0366cb. Reason for revert: ANGLE is unhappy Original change's description: > Switch atlas clients over to using absolute texture coordinates > > This is a prerequisite for being able to resize the atlas with impunity. > > Change-Id: I509816c8d6f38fbc92fa39aeab303b42ab09f58b > Reviewed-on: https://skia-review.googlesource.com/37560 > Reviewed-by: Robert Phillips > Commit-Queue: Robert Phillips TBR=egdaniel@google.com,jvanverth@google.com,robertphillips@google.com,brianosman@google.com Change-Id: I329efd642c22e11a5c576a4632fc557759b200d5 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/38400 Reviewed-by: Robert Phillips Commit-Queue: Robert Phillips --- src/gpu/ccpr/GrCCPRPathProcessor.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gpu/ccpr/GrCCPRPathProcessor.cpp') diff --git a/src/gpu/ccpr/GrCCPRPathProcessor.cpp b/src/gpu/ccpr/GrCCPRPathProcessor.cpp index 54ffb9b5ca..1292553824 100644 --- a/src/gpu/ccpr/GrCCPRPathProcessor.cpp +++ b/src/gpu/ccpr/GrCCPRPathProcessor.cpp @@ -56,7 +56,6 @@ GrCCPRPathProcessor::GrCCPRPathProcessor(GrResourceProvider* rp, sk_spaddInstanceAttrib("view_matrix", kVec4f_GrVertexAttribType, kHigh_GrSLPrecision); this->addInstanceAttrib("view_translate", kVec2f_GrVertexAttribType, kHigh_GrSLPrecision); // FIXME: this could be a vector of two shorts if it were supported by Ganesh. - // Note: this should be doable now with kVec2us_uint_GrVertexAttribType this->addInstanceAttrib("atlas_offset", kVec2i_GrVertexAttribType, kHigh_GrSLPrecision); this->addInstanceAttrib("color", kVec4ub_GrVertexAttribType, kLow_GrSLPrecision); -- cgit v1.2.3