Home
last modified time | relevance | path

Searched refs:pixmap (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp123 SkPixmap pixmap; in getColor() local
124 if (!surface->peekPixels(&pixmap)) { in getColor()
127 switch (pixmap.colorType()) { in getColor()
129 const uint8_t* addr = pixmap.addr8(x, y); in getColor()
133 const uint8_t* addr = pixmap.addr8(x, y); in getColor()
137 const uint16_t* addr = pixmap.addr16(x, y); in getColor()
141 const uint16_t* addr = pixmap.addr16(x, y); in getColor()
146 const uint32_t* addr = pixmap.addr32(x, y); in getColor()
151 const uint32_t* addr = pixmap.addr32(x, y); in getColor()
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp375 SkPixmap pixmap{info, addr, rowBytes}; in computePalette() local
385 const int x_step = std::max(1, pixmap.width() / 10); in computePalette()
386 const int y_step = std::max(1, pixmap.height() / 10); in computePalette()
387 for (int x = 0; x < pixmap.width(); x += x_step) { in computePalette()
388 for (int y = 0; y < pixmap.height(); y += y_step) { in computePalette()
389 SkColor color = pixmap.getColor(x, y); in computePalette()
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreatePixmapSurface.java7 int pixmap, in eglCreatePixmapSurface() argument
DeglCreatePixmapSurface.cpp4 …(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint pixmap, jintArray attrib_list_ref,… in android_eglCreatePixmapSurface() argument
/frameworks/base/cmds/screencap/
Dscreencap.cpp238 SkPixmap pixmap(info, base, s * bytesPerPixel(f)); in main() local
249 (void)SkEncodeImage(&fdStream, pixmap, SkEncodedImageFormat::kPNG, 100); in main()
/frameworks/native/opengl/libagl/
Degl.cpp670 egl_native_pixmap_t const * pixmap);
686 egl_native_pixmap_t const * pixmap) in egl_pixmap_surface_t() argument
687 : egl_surface_t(dpy, config, depthFormat), nativePixmap(*pixmap) in egl_pixmap_surface_t()
690 depth.width = pixmap->width; in egl_pixmap_surface_t()
691 depth.height = pixmap->height; in egl_pixmap_surface_t()
1336 NativePixmapType pixmap, const EGLint* /*attrib_list*/) in createPixmapSurface() argument
1340 if (pixmap == 0) in createPixmapSurface()
1350 if (static_cast<egl_native_pixmap_t*>(pixmap)->version != in createPixmapSurface()
1365 if (pixmap->format != pixelFormat) in createPixmapSurface()
1370 static_cast<egl_native_pixmap_t*>(pixmap)); in createPixmapSurface()
[all …]
/frameworks/native/opengl/tools/glgen/specs/egl/
DEGL14.spec11 EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, c…
/frameworks/native/opengl/tests/angeles/include/GLES/
Degl.h207 …lCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *att…
/frameworks/base/opengl/java/android/opengl/
DEGL14.java293 int pixmap, in eglCreatePixmapSurface() argument
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestBuffer.cpp735 SkPixmap pixmap(info, img, mGraphicBuffer->getStride()); in writeBufferToFile() local
736 bool result = file.isValid() && SkEncodeImage(&file, pixmap, in writeBufferToFile()
/frameworks/native/opengl/include/EGL/
Deglext.h968 …EGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
970 …NTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
1101 …TRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
1105 … EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
Degl.h125 …eatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *att…
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt91 or copied to a native pixmap then the presentation time of the surface at
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp123 EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, in eglCreatePixmapSurface() argument
128 return cnx->platform.eglCreatePixmapSurface(dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp272 bitmap.pixmap(), reinterpret_cast<AHardwareBuffer*>(graphicBuffer.get())); in onUploadHardwareBitmap()
/frameworks/base/core/jni/
Dandroid_opengl_EGL14.cpp737 …(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint pixmap, jintArray attrib_list_ref,… in android_eglCreatePixmapSurface() argument