Merge "No-op isolatedZVolumen property"

This commit is contained in:
John Reck
2014-03-12 22:21:38 +00:00
committed by Android (Google) Code Review
3 changed files with 1 additions and 8 deletions

View File

@@ -100,8 +100,7 @@ static void android_view_DisplayList_setClipToBounds(JNIEnv* env,
static void android_view_DisplayList_setIsolatedZVolume(JNIEnv* env,
jobject clazz, jlong displayListPtr, jboolean shouldIsolate) {
RenderNode* displayList = reinterpret_cast<RenderNode*>(displayListPtr);
displayList->setIsolatedZVolume(shouldIsolate);
// No-op, TODO: Remove Java usage of this method
}
static void android_view_DisplayList_setProjectBackwards(JNIEnv* env,

View File

@@ -57,7 +57,6 @@ RenderNode::RenderNode() :
mRight = 0;
mBottom = 0;
mClipToBounds = true;
mIsolatedZVolume = true;
mProjectBackwards = false;
mProjectionReceiver = false;
mOutline.rewind();

View File

@@ -204,10 +204,6 @@ public:
mClipToBounds = clipToBounds;
}
void setIsolatedZVolume(bool shouldIsolate) {
mIsolatedZVolume = shouldIsolate;
}
void setCastsShadow(bool castsShadow) {
mCastsShadow = castsShadow;
}
@@ -617,7 +613,6 @@ private:
// Rendering properties
bool mClipToBounds;
bool mIsolatedZVolume;
bool mProjectBackwards;
bool mProjectionReceiver;
SkPath mOutline;