[webkit-dev] compile failure when I try to introduce GLContextEGL to MediaPlayerPrivateGStreamer

2012-11-08 Thread Zhao, Halley
Hi experts: I want to introduce EGL context to GStreamer Media player (MediaPlayerPrivateGStreamer), However, a simple '#include "GLContextEGL.h"' in MediaPlayerPrivateGStreamer.cpp fail to compile. "MediaPlayerPrivateGStreamer.cpp:321:35: error: expected unqualified-id before numeric constant"

Re: [webkit-dev] compile failure when I try to introduce GLContextEGL to MediaPlayerPrivateGStreamer

2012-11-08 Thread Zhao, Halley
, I do think it is not good habit to use 'None' in such as big project; so I try to replace 'None' to PlatformMedia::PlayerTypeNone and MediaPlayer::PreloadLoadNone. It fixed my issue: Here is the patch for your reference: >From d684bbbc34ea241f123544711bbad4ff58a06ebf Mon

[webkit-dev] how could I use std::cout in webkit?

2012-11-12 Thread Zhao, Halley
Nothing shows in terminal when I added some std::cout in source code, any hints to print some log in webkit? My build command line: "./build-webkit --gtk --3d-rendering 2>&1 | tee build.log" My run command line: "./run-launcher --gtk --enable-accelerated-compositing=1 http://localhost/test.html

Re: [webkit-dev] how could I use std::cout in webkit?

2012-11-12 Thread Zhao, Halley
The same code works for me when I'm back to work today. It is amazing, and I remember that used to work for me days ago. -Original Message- From: Thiago Marcos P. Santos [mailto:tmpsan...@gmail.com] Sent: Tuesday, November 13, 2012 1:36 AM To: Zhao, Halley Cc: webki