/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_blorp.cpp | 132 /* SURFACE_STATE for renderbuffer or texture surface (see 138 const brw_blorp_surface_info *surface, 145 uint32_t width = surface->width; 146 uint32_t height = surface->height; 152 struct intel_region *region = surface->mt->region; 160 if (surface->mt->align_h == 4) 162 if (surface->mt->align_w == 8) 165 surf->ss0.surface_format = surface->brw_surfaceformat; 167 surf->ss0.surface_array_spacing = surface->array_spacing_lod0 ? 171 surf->ss1.base_addr = surface->compute_tile_offsets(&tile_x, &tile_y) [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_blit.c | 365 /* Initialize the surface. */ 391 unsigned dst_tile_mode = dst->surface.level[info->dst.level].mode; 582 orig->npix0_x = rtex->surface.level[0].npix_x; 583 orig->npix0_y = rtex->surface.level[0].npix_y; 584 orig->npix_x = rtex->surface.level[level].npix_x; 585 orig->npix_y = rtex->surface.level[level].npix_y; 598 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x); 599 rtex->surface.level[0].npix_y = util_format_get_nblocksy(orig->format, orig->npix0_y); 600 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x); 601 rtex->surface.level[level].npix_y = util_format_get_nblocksy(orig->format, orig->npix_y) [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SurfaceTextureRenderer.java | 35 import android.view.Surface; 48 * {@link Surface}s. 71 Surface surface; field in class:SurfaceTextureRenderer.EGLSurfaceHolder 134 * tells the fragment shader to interpolate over it. Each surface pixel position 263 throw new IllegalStateException("Surface abandoned, skipping drawFrame...", e); 292 width + "x" + height + " surface, intermediate buffer size is " + texWidth + 350 * Initializes GL state. Call this after the EGL surface has been created and made current. 406 LegacyCameraDevice.disconnectSurface(holder.surface); 408 Log.w(TAG, "Surface abandoned, skipping...", e) [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
FramebufferTest.java | 31 import android.view.Surface; 147 * Constructor flag: surface must be recordable. This discourages EGL from using a 259 // The actual surface is generally RGBA or RGBX, so situationally omitting alpha 309 // the EGL state, so if a surface or context is still current on another 321 * Destroys the specified surface. Note the EGLSurface won't actually be destroyed if it's 329 * Creates an EGL surface associated with a Surface. 333 public EGLSurface createWindowSurface(Object surface) { 334 if (!(surface instanceof Surface) && !(surface instanceof SurfaceTexture)) 451 EGLSurface surface; local [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkConcreteInstanceInterface.inl | 17 virtual void destroySurfaceKHR (VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) const; 18 virtual VkResult getPhysicalDeviceSurfaceSupportKHR (VkPhysicalDevice physicalDevice, deUint32 queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported) const; 19 virtual VkResult getPhysicalDeviceSurfaceCapabilitiesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities) const; 20 virtual VkResult getPhysicalDeviceSurfaceFormatsKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, deUint32* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) const; 21 virtual VkResult getPhysicalDeviceSurfacePresentModesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, deUint32* pPresentModeCount, VkPresentModeKHR* pPresentModes) const;
|
vkVirtualInstanceInterface.inl | 17 virtual void destroySurfaceKHR (VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) const = 0; 18 virtual VkResult getPhysicalDeviceSurfaceSupportKHR (VkPhysicalDevice physicalDevice, deUint32 queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported) const = 0; 19 virtual VkResult getPhysicalDeviceSurfaceCapabilitiesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities) const = 0; 20 virtual VkResult getPhysicalDeviceSurfaceFormatsKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, deUint32* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) const = 0; 21 virtual VkResult getPhysicalDeviceSurfacePresentModesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, deUint32* pPresentModeCount, VkPresentModeKHR* pPresentModes) const = 0;
|
/external/deqp/modules/egl/ |
teglQueryContextTests.cpp | 95 void executeForContext (EGLDisplay display, EGLContext context, EGLSurface surface, const Config& config) 101 DE_UNREF(surface); 137 void executeForContext (EGLDisplay display, EGLContext context, EGLSurface surface, const Config& config) 154 if (gotReadSurface == surface && gotDrawSurface == surface) 160 log << TestLog::Message << " Fail, read surface: " << tcu::toHex(gotReadSurface) 161 << ", draw surface: " << tcu::toHex(gotDrawSurface) 162 << ", expected: " << tcu::toHex(surface) << TestLog::EndMessage; 163 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Invalid surface"); 179 void executeForContext (EGLDisplay display, EGLContext context, EGLSurface surface, const Config& config [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
VirtualDisplayAdapter.java | 33 import android.view.Surface; 65 String name, int width, int height, int densityDpi, Surface surface, int flags) { 73 ownerUid, ownerPackageName, name, width, height, densityDpi, surface, flags, 103 public void setVirtualDisplaySurfaceLocked(IBinder appToken, Surface surface) { 106 device.setSurfaceLocked(surface); 180 private Surface mSurface; 190 String name, int width, int height, int densityDpi, Surface surface, int flags [all...] |
/hardware/intel/img/psb_video/src/android/ |
psb_output_android.c | 53 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id )) 150 VASurfaceID surface, 170 obj_surface = SURFACE(surface); 176 psb_putsurface_textureblit(ctx, data, surface, srcx, srcy, srcw, srch, 191 VASurfaceID surface, 233 ctx, surface, srcx, srcy, srcw, srch, 280 VASurfaceID surface, 293 int srf_rotate; /* primary surface rotation */ 294 psb_surface_p rotate_surface; /* rotate surface */ [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
vktWsiSurfaceTests.cpp | 190 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, *instHelper.instance, wsiType, *native.display, *native.window)); 192 return tcu::TestStatus::pass("Creating surface succeeded"); 203 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, 223 return tcu::TestStatus::pass("Creating surface succeeded using custom allocator"); 242 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, 266 log << TestLog::Message << "Creating surface succeeded!" << TestLog::EndMessage; 275 return tcu::TestStatus(QP_TEST_RESULT_QUALITY_WARNING, "Creating surface did not succeed, callback limit exceeded"); 294 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, *instHelper.instance, wsiType, *native.display, *native.window)); 297 // On Android surface must be supported by all devices and queue families 307 const VkBool32 isSupported = getPhysicalDeviceSurfaceSupport(instHelper.vki, physicalDevice, queueFamilyNdx, *surface); [all...] |
/external/vulkan-validation-layers/loader/ |
wsi.c | 206 vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, 210 disp->DestroySurfaceKHR(instance, surface, pAllocator); 219 terminator_DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, 223 loader_heap_free(ptr_instance, (void *)surface); 233 VkSurfaceKHR surface, 240 unwrapped_phys_dev, queueFamilyIndex, surface, pSupported); 251 VkSurfaceKHR surface, 265 phys_dev->phys_dev, queueFamilyIndex, surface, pSupported); 274 VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, 282 unwrapped_phys_dev, surface, pSurfaceCapabilities) [all...] |
/development/ndk/platforms/android-9/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/external/icu/icu4c/source/samples/layout/ |
clayout.c | 124 static rs_surface *surface = NULL; local 135 surface = rs_gdiRenderingSurfaceOpen(hdc); 137 fontMap = fm_gdiFontMapOpen(surface, "FontMap.GDI", 24, guiSupport, &fontStatus); 247 rs_gdiRenderingSurfaceSetHDC(surface, hdc); 254 pf_draw(context->paragraph, surface, firstLine, lastLine); 297 rs_gdiRenderingSurfaceSetHDC(surface, hdc); 349 rs_gdiRenderingSurfaceClose(surface);
|
layout.cpp | 123 static GDISurface *surface = NULL; local 133 surface = new GDISurface(hdc); 135 fontMap = new GDIFontMap(surface, "FontMap.GDI", 24, guiSupport, fontStatus); 245 surface->setHDC(hdc); 252 context->paragraph->draw(surface, firstLine, lastLine); 293 surface->setHDC(hdc); 345 delete surface;
|
/external/mesa3d/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/frameworks/native/opengl/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/packages/apps/TV/tests/input/src/com/android/tv/testinput/ |
TestTvInputService.java | 36 import android.view.Surface; 79 private Surface mSurface = null; 152 public boolean onSetSurface(Surface surface) { 154 mSurface = surface; 156 if (surface != null) { 158 Log.v(TAG, "Surface set"); 162 Log.v(TAG, "Surface unset"); 277 Surface currentSurface; 322 private void draw(Surface surface, ChannelInfo currentChannel) [all...] |
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|