/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 511 bool doFrame(EGLSurface surface) { argument 529 result = mGLHelper->makeCurrent(surface); 544 result = mGLHelper->swapBuffers(surface); 574 // The surface into which layers are composited 578 // Used for displaying the surface to a window.
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 169 static EGLSurface surface; variable 343 list->sur = surface; 536 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
|
H A D | hwcStress.cpp | 197 static EGLSurface surface; variable 495 list->sur = surface; 536 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
|
H A D | hwcTestLib.h | 105 void hwcTestInitDisplay(bool verbose, EGLDisplay *dpy, EGLSurface *surface,
|
/frameworks/native/vulkan/libvulkan/ |
H A D | api_gen.cpp | 419 VKAPI_ATTR void DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator); 420 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported); 421 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities); 422 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats); 423 VKAPI_ATTR VkResult GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes); 1175 VKAPI_ATTR void DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) { argument 1176 GetData(instance).dispatch.DestroySurfaceKHR(instance, surface, pAllocator); 1179 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported) { argument 1180 return GetData(physicalDevice).dispatch.GetPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported); 1183 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKH argument 1187 GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) argument 1191 GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes) argument 1915 vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) argument 1920 vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported) argument 1925 vkGetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities) argument 1930 vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) argument 1935 vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.h | 195 const sp<Surface>& surface) const;
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 128 * Surface creation flag: The surface contains secure content, special 129 * measures will be taken to disallow the surface's content to be copied 132 * surface might not be hardware accelerated. 138 * Surface creation flag: Creates a surface where color components are interpreted 152 * composited on top of each-other into the surface. A pre-multiplied 153 * surface can never lower the value of the alpha component of a given 156 * In some rare situations, a non pre-multiplied surface is preferable. 162 * Surface creation flag: Indicates that the surface must be considered opaque, 167 * This flag is ignored if setAlpha() is used to make the surface non-opaque. 183 * then this surface wil 737 setDisplaySurface(IBinder displayToken, Surface surface) argument [all...] |
H A D | Surface.java | 89 Log.e(TAG, "Exception creating surface from parcel", e); 159 * Create an empty surface, which will later be filled in by readFromParcel(). 174 * @throws OutOfResourcesException if the surface could not be created. 207 * Release the local reference to the server-side surface. 209 * This will make the surface invalid. 225 * Free all server-side state associated with this surface and 235 * Returns true if this object holds a valid surface. 237 * @return True if it holds a physical surface, so lockCanvas() will succeed. 248 * Gets the generation number of this surface, incremented each time 249 * the native surface containe 751 nHwuiCreate(long rootNode, long surface) argument 752 nHwuiSetSurface(long renderer, long surface) argument [all...] |
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
H A D | VideoDumpView.java | 61 * It uses a renderer to display each video frame over a surface texture, read pixels, 267 * A renderer to read each video frame from a media player, draw it over a surface 462 * Called when the surface changed size. 463 * Called after the surface is created and whenever the OpenGL surface size changes. 473 // TODO: adjust video_width and video_height with the surface size. 512 * Called when the surface is created or recreated. 551 // Create our texture. This has to be done each time the surface is created. 578 Surface surface = new Surface(mSurface); 579 mMediaPlayer.setSurface(surface); 593 onFrameAvailable(SurfaceTexture surface) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindowSession.java | 92 Rect rect6, Rect rect7, MergedConfiguration mergedConfig, Surface surface) 90 relayout(IWindow iWindow, int i, LayoutParams layoutParams, int i2, int i3, int i4, int i5, Rect rect, Rect rect2, Rect rect3, Rect rect4, Rect rect5, Rect rect6, Rect rect7, MergedConfiguration mergedConfig, Surface surface) argument
|
/frameworks/native/include/gui/ |
H A D | ISurfaceComposer.h | 80 /* create connection with surface flinger, requires 85 /** create a scoped connection with surface flinger. 128 const sp<IGraphicBufferProducer>& surface) const = 0;
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.h | 187 EGLBoolean validate_display_surface(EGLDisplay dpy, EGLSurface surface);
|
/frameworks/av/include/media/stagefright/ |
H A D | CameraSource.h | 71 * @param surface the preview surface for display where preview 92 const sp<IGraphicBufferProducer>& surface, 214 const sp<IGraphicBufferProducer>& surface,
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | CameraSource.h | 71 * @param surface the preview surface for display where preview 92 const sp<IGraphicBufferProducer>& surface, 214 const sp<IGraphicBufferProducer>& surface,
|
/frameworks/av/media/libstagefright/include/ |
H A D | CameraSource.h | 71 * @param surface the preview surface for display where preview 92 const sp<IGraphicBufferProducer>& surface, 214 const sp<IGraphicBufferProducer>& surface,
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputSessionWrapper.java | 261 public void setSurface(Surface surface) { argument 262 mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_SET_SURFACE, surface));
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputHardwareManager.java | 458 public boolean captureFrame(String inputId, Surface surface, final TvStreamConfig config, argument 476 boolean result = hardwareImpl.startCapture(surface, config); 837 public boolean setSurface(Surface surface, TvStreamConfig config) argument 845 if (surface == null) { 846 // The value of config is ignored when surface == null. 855 // It's impossible to set a non-null surface with a null config. 868 result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config); 1039 private boolean startCapture(Surface surface, TvStreamConfig config) { argument 1044 if (surface == null || config == null) { 1051 int result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, confi [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | InCallService.java | 532 * Sets the surface to be used for displaying a preview of what the user's camera is 538 * @param surface The {@link Surface}. 540 public abstract void setPreviewSurface(Surface surface); argument 543 * Sets the surface to be used for displaying the video received from the remote device. 547 * @param surface The {@link Surface}. 549 public abstract void setDisplaySurface(Surface surface); argument
|
/frameworks/native/opengl/libagl/ |
H A D | primitives.cpp | 492 int width = c->textures.tmu[i].texture->surface.width; 497 int height = c->textures.tmu[i].texture->surface.height; 704 const int w = c->textures.tmu[i].texture->surface.width; 705 const int h = c->textures.tmu[i].texture->surface.height; 742 const int width = tmu.surface.width; 748 const int height = tmu.surface.height; 799 const int width = tmu.surface.width; 805 const int height = tmu.surface.height;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | StreamConfigurationMap.java | 275 * each output {@code surface} target may or may not itself support that {@code format}. 276 * Refer to the class which provides the surface for additional documentation.</p> 283 * {@code true} iff using a {@code surface} with this {@code format} will be 365 * Determine whether or not the {@code surface} in its current state is suitable to be included 369 * of that {@code surface} are compatible. Some classes that provide the {@code surface} are 372 * {@code surface} into a state that will be compatible with the {@link CameraDevice}.</p> 374 * <p>Reasons for a {@code surface} being specifically incompatible might be: 378 * <li>The {@code surface} itself is not in a state where it can service a new producer.</p> 392 * @param surface 401 isOutputSupportedFor(Surface surface) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 230 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface)); 231 if (surface == NULL) { 234 "The surface has been released"); 237 sp<IGraphicBufferProducer> bufferProducer = surface->getIGraphicBufferProducer(); 273 // Query surface format if no valid user format is specified, otherwise, override surface format 500 sp<Surface> surface = ctx->getProducer(); local 518 res = surface->attachBuffer(buffer->mGraphicBuffer.get()); 532 sp < ANativeWindow > anw = surface;
|
/frameworks/rs/script_api/ |
H A D | rs_graphics.spec | 401 summary: Clear the specified color from the surface 403 Clears the rendering surface to the specified color. 425 summary: Clear the depth surface 627 summary: Get the surface height 629 Get the height of the current rendering surface. 638 summary: Get the surface width 640 Get the width of the current rendering surface.
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraDevice.cpp | 288 sp<Surface> surface; local 289 ret = getSurfaceFromANativeWindow(anw, surface); 294 req->mSurfaceList.push_back(surface); 485 const sp<Surface> surface(static_cast<Surface*>(anw)); 486 out = surface->getIGraphicBufferProducer(); 503 sp<Surface> surface(static_cast<Surface*>(anw)); 504 out = surface;
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 279 // create the native surface 300 EGLSurface surface; local 307 surface = eglCreateWindowSurface(display, config, s.get(), NULL); 309 eglQuerySurface(display, surface, EGL_WIDTH, &w); 310 eglQuerySurface(display, surface, EGL_HEIGHT, &h); 312 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) 317 mSurface = surface; 439 // Allow surface flinger to gracefully request shutdown
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 72 sp<Surface> surface; local 74 surface = new Surface(bufferProducer); 77 msg->setObject("surface", surface); 135 CHECK(msg->findObject("surface", &obj));
|