Jump to content

What about Jelly Bean on Skate???


Guest whashnez

Recommended Posts

Guest plegdroid

Lolwut, I'm tots racist now ;)

Well, I don't see how putting the screen upside down saves on manufacturing costs -.-' it's just a damned display...

it may help with manufacturing cost as to where the conectors connect to the mother board ect, just may be cheaper to manufacture with components they've already got than to build with components they've got to specifically design at extra cost.

Link to comment
Share on other sites

Guest omegavesko

Is this related to one of the common line in build.prop for skate:

ro.sf.hwrotation=180

Can we fix that upside down problem using this line?

Hm, sounds like it could help. What happens if you remove the line?

Link to comment
Share on other sites

Guest PaulOBrien

Why. Just because they're Chinese and such... :/

We have many Chinese members who would find this rather offensive, even if said in jest. Be nice.

P

Link to comment
Share on other sites

Guest iReece

We have many Chinese members who would find this rather offensive, even if said in jest. Be nice.

P

No.

I meant it in the sense that, just because they're Chinese, they cannot flip a display.

No offence was meant to be dealt :/

Edit,

Actually, that was offensive.

Try this,

Just because they're Chinese, they cannot flip a display?

Edited by iReece
Link to comment
Share on other sites

Guest plegdroid

No.

I meant it in the sense that, just because they're Chinese, they cannot flip a display.

No offence was meant to be dealt :/

Edit,

Actually, that was offensive.

Try this,

Just because they're Chinese, they cannot flip a display?

I'd have phrased that as, Zte cannot flip a display :) then there's no mention of nationality.

Link to comment
Share on other sites

Guest iReece

I'd have phrased that as, Zte cannot flip a display :) then there's no mention of nationality.

Well, zte is a Chinese company. I'd have done the same for any company in any country.

My apologies if I have offended you.

Link to comment
Share on other sites

Guest plegdroid

Well, zte is a Chinese company. I'd have done the same for any company in any country.

My apologies if I have offended you.

no offence taken :D

Link to comment
Share on other sites

Probably a small change to surfaceflinger would be enough to solve the flipped screen issue. (note the HAS_FLIPPED_SCREEN conditional compilation statement)

This is taken from CM7 sources for surfaceflinger. It really is related to ro.sf.hwrotation parameter.

But I am not 100% sure :)


void GraphicPlane::setDisplayHardware(DisplayHardware *hw)

{

	mHw = hw;

	// initialize the display orientation transform.

	// it's a constant that should come from the display driver.

	int displayOrientation = ISurfaceComposer::eOrientationDefault;

	char property[PROPERTY_VALUE_MAX];

	if (property_get("ro.sf.hwrotation", property, NULL) > 0) {

		//displayOrientation

		switch (atoi(property)) {

		case 90:

			displayOrientation = ISurfaceComposer::eOrientation90;

			break;

#ifdef HAS_FLIPPED_SCREEN

		case 180:

			displayOrientation = ISurfaceComposer::eOrientation180;

			break;

#endif

		case 270:

			displayOrientation = ISurfaceComposer::eOrientation270;

			break;

		}

	}

	const float w = hw->getWidth();

	const float h = hw->getHeight();

	GraphicPlane::orientationToTransfrom(displayOrientation, w, h,

			&mDisplayTransform);

	if (displayOrientation & ISurfaceComposer::eOrientationSwapMask) {

		mDisplayWidth = h;

		mDisplayHeight = w;

	} else {

		mDisplayWidth = w;

		mDisplayHeight = h;

	}

	setOrientation(ISurfaceComposer::eOrientationDefault);

}

Edited by C3C0
Link to comment
Share on other sites

Guest tilal6991

Another progress update:

I have it on the Skate and I have (pretty much) everything working bar OpenGL acceleration (ie. Project Butter)

Link to comment
Share on other sites

Guest zukriaksah

Another progress update:

I have it on the Skate and I have (pretty much) everything working bar OpenGL acceleration (ie. Project Butter)

u r so fast... hows camera?

Link to comment
Share on other sites

Guest ukgnome

Another progress update:

I have it on the Skate and I have (pretty much) everything working bar OpenGL acceleration (ie. Project Butter)

Seriously - jeepers man, lightning fast. So much so I spat coffee over my keyboard!

Link to comment
Share on other sites

Guest ElrOnDPT

Another progress update:

I have it on the Skate and I have (pretty much) everything working bar OpenGL acceleration (ie. Project Butter)

That means you have Project Butter up and running on skate, or that "bar" is a "but"?

If its working...how would you describe the speed difference?

Huge thumbs up for your work...you are indeed THE man....ZTE should pay you for the support you provide ^^

Link to comment
Share on other sites

Guest Josh92
I think zte would rather kill him for bringing android 4 to skate ;)
Why? He's sold a bunch of skates for it. Edited by Josh92
Link to comment
Share on other sites

Guest ElrOnDPT

Why? He's sold them a bunch for skates for it.

Exactly :) He is adding value to the ZTE products...so he should be rewarded for it ;)

Link to comment
Share on other sites

Guest sasa_gm

Another progress update:

I have it on the Skate and I have (pretty much) everything working bar OpenGL acceleration (ie. Project Butter)

Wow..Awesome!

What about general performance? Is it already faster?

Link to comment
Share on other sites

Guest hugobosslives

Why? He's sold a bunch of skates for it.

for example. i definitely would have bought a new phone by now if we didn't have such an awesome community for ics/jb

therefore i might have bought a new zte phone... thus giving them money.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.