icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -876,19 +876,16 @@ void WebRenderAPI::WaitFlushed() {
|
|||
void WebRenderAPI::Capture() {
|
||||
// see CaptureBits
|
||||
// SCENE | FRAME | TILE_CACHE
|
||||
uint8_t bits = 15; // TODO: get from JavaScript
|
||||
const char* path = "wr-capture"; // TODO: get from JavaScript
|
||||
wr_api_capture(mDocHandle, path, bits);
|
||||
uint8_t bits = 15; // TODO: get from JavaScript
|
||||
wr_api_capture(mDocHandle, bits);
|
||||
}
|
||||
|
||||
void WebRenderAPI::StartCaptureSequence(const nsACString& aPath,
|
||||
uint32_t aFlags) {
|
||||
void WebRenderAPI::StartCaptureSequence(uint32_t aFlags) {
|
||||
if (mCaptureSequence) {
|
||||
wr_api_stop_capture_sequence(mDocHandle);
|
||||
}
|
||||
|
||||
wr_api_start_capture_sequence(mDocHandle, PromiseFlatCString(aPath).get(),
|
||||
aFlags);
|
||||
wr_api_start_capture_sequence(mDocHandle, aFlags);
|
||||
|
||||
mCaptureSequence = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue