Bug 709120 - Add tiled buffer support for Android/native. r=pcwalton

This adds support for rendering to a tiled software buffer when using the
Java compositor. Tiles are assumed to be packed tight and stored sequentially,
by row.
This commit is contained in:
Chris Lord
2012-01-06 11:22:11 +00:00
parent fa5197a652
commit 67266f3ae3
3 changed files with 55 additions and 24 deletions

View File

@@ -408,6 +408,10 @@ AndroidGeckoEvent::Init(JNIEnv *jenv, jobject jobj)
mType = jenv->GetIntField(jobj, jTypeField);
switch (mType) {
case TILE_SIZE:
ReadP0Field(jenv);
break;
case SIZE_CHANGED:
ReadP0Field(jenv);
ReadP1Field(jenv);