File: SurfaceTexture.patch

package info (click to toggle)
opencv 2.4.9.1%2Bdfsg-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 126,800 kB
  • ctags: 62,729
  • sloc: xml: 509,055; cpp: 490,794; lisp: 23,208; python: 21,174; java: 19,317; ansic: 1,038; sh: 128; makefile: 72
file content (37 lines) | stat: -rw-r--r-- 1,513 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
*** src4.0.3/src/frameworks/base/include/gui/SurfaceTexture.h	2012-01-18 16:32:41.424750385 +0400
--- src_mock3.0.1/frameworks/base/include/gui/SurfaceTexture.h	2012-01-12 21:28:14.000000000 +0400
***************
*** 68,75 ****
      // texture will be bound in updateTexImage. useFenceSync specifies whether
      // fences should be used to synchronize access to buffers if that behavior
      // is enabled at compile-time.
!     SurfaceTexture(GLuint tex, bool allowSynchronousMode = true,
!             GLenum texTarget = GL_TEXTURE_EXTERNAL_OES, bool useFenceSync = true);
  
      virtual ~SurfaceTexture();
  
--- 68,74 ----
      // texture will be bound in updateTexImage. useFenceSync specifies whether
      // fences should be used to synchronize access to buffers if that behavior
      // is enabled at compile-time.
!     SurfaceTexture(GLuint tex);
  
      virtual ~SurfaceTexture();
  
***************
*** 280,286 ****
                mBufferState(BufferSlot::FREE),
                mRequestBufferCalled(false),
                mTransform(0),
!               mScalingMode(NATIVE_WINDOW_SCALING_MODE_FREEZE),
                mTimestamp(0),
                mFrameNumber(0),
                mFence(EGL_NO_SYNC_KHR) {
--- 279,285 ----
                mBufferState(BufferSlot::FREE),
                mRequestBufferCalled(false),
                mTransform(0),
!               mScalingMode(0),
                mTimestamp(0),
                mFrameNumber(0),
                mFence(EGL_NO_SYNC_KHR) {