From 72d5d09c290c021b9439ece9decd41072b8bba1b Mon Sep 17 00:00:00 2001 From: kkapsner Date: Tue, 14 Oct 2014 23:52:08 +0200 Subject: [PATCH] Added WebGLRenderingContext.readPixels to readout API --- canvasblocker.xpi | Bin 22304 -> 22322 bytes data/inject.js | 4 ++++ 2 files changed, 4 insertions(+) diff --git a/canvasblocker.xpi b/canvasblocker.xpi index 2575fe0bbdcb0ef0d008dc2b59cae23b01b69a94..89abdf0274e3c3c5bfe2e59d8a64149d2480d0d5 100644 GIT binary patch delta 1528 zcmVGlL%Fm)%>G?4mvN`rx2Duv+7l zARLqeRpL&{N)*cV4Au??@b$YfET8v>=(Tp((R#4(2?#=`aayusG{fZxh!J`S+RhJu zd)w9C*SajCDyc>xSJ$E5g}+`8B{NK?WP)t8+$6)STk`VVOe_FSf4`<|TubOuu<;j? zfVAHm@t;>`rz1?iV*WlS1)-v*kzmJI;J+?UcR4UT`#;vTY>MZSKh3)88j00H79E$< zO3L%=gB$eyI|?$%hTeisb?sa>g9%{l2T*#YxsQUu7<2OWO(fUGg5l7kldgu}D}wz2 zgXBj?m_X}|aWa2Wf23v*jX{`_rI~fHgzbkGp>NV+U)f!oKs(lPC=J-?HAFoW&lieS zkN`CuMn)bML|G9pQ3d<=0})63B+JP&rmJ=UbX9>!(mmaQHhxK9p2%J`4RCn8wJiKD zLVN}Pa7OT%U!2S$X(rtP42_Ccq8vo|655{6;Ny+i**auefAgi&aqePC=j-gIIoga= zXUl*wTNcQ=(Hzd~2JK}cFS0w5^QWi!GZ}w4ZD+bY+|QL}JSQt2wntevhU~n@$*dmn z6c?l(^DPBPO54P>RJd^yo|V}&qd4D`jCBa{qGW=}7V$I0Z@$b#GP6ajQ<=aS=kPfDrtNJP44Tq%_-zWegO*b7+Dvpx z8x0}Fqk6k>@7}G|ID4E}w_o1_J={9k4mb$lDi<4pG*nIg*3CD8ZaoGSA=cjg>k8&7 z&#^>ge{Np4P@XM=$+)}K14JI#@?l_So_ryRWppuU1)K=aa1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}5$jYYZ~!?x&c5kM+Xcg>w46-a!tJ1?)VnqlozhlANb#uNZd{7@Yc&oAC)OR* zmoyKzPPPLM0=UY>Rv-;klfO;#n%=Evlp@5&yBuA?(BnClh|IO<7Rs|@Fd28ZdVt9D zR6Y#tf6SA=7GfD)3|avv!ZRF1O@k5e!)H8+*1pj(fBjh zBGw5Mmn4gelhaV;5E?-{ksUl`iMkX>{tNiNf@u~P7}yr}{^>2J>Ce5aYY11zM2bv= zLB_!*1mmpgw42O0&ihwVHS1Iy8e%g|=7&w4e;qg&5>kUzuQJs?xrmI8g}CcZ8oO3+ zH0;({@5$+oa_Du^n^@%xZ6l448H4vj2BE()p26^cENXJx>gIRb zQ_5pi9~*6r=w9SrHTNNxbLnZoea&aattRk8Qcc14a5mfMWa&&;u{4309TW^Rb>LsNRv=Q8k0~-1d}~h3<4(#lS@_{0tiWy zP(vD%P)Q4uj#erH)lHL7LmHDEP6(6SRtf?&3X|wo90CzelRr)tlN?tN1|m`b00010 C2)+dX diff --git a/data/inject.js b/data/inject.js index bac2baa..b3e8544 100644 --- a/data/inject.js +++ b/data/inject.js @@ -74,6 +74,10 @@ } return imageData; } + }, + readPixels: { + mode: blockMode.readAPI, + object: unsafeWindow.WebGLRenderingContext } };