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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user