Home
last modified time | relevance | path

Searched refs:pixmap (Results 1 – 13 of 13) 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.cpp424 SkPixmap pixmap{info, addr, rowBytes}; in computePalette() local
434 const int x_step = std::max(1, pixmap.width() / 10); in computePalette()
435 const int y_step = std::max(1, pixmap.height() / 10); in computePalette()
436 for (int x = 0; x < pixmap.width(); x += x_step) { in computePalette()
437 for (int y = 0; y < pixmap.height(); y += y_step) { in computePalette()
438 SkColor color = pixmap.getColor(x, y); in computePalette()
508 return SkWebpEncoder::Encode(stream, bitmap.pixmap(), options); in compress()
/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/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/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.cpp281 bitmap.pixmap(), reinterpret_cast<AHardwareBuffer*>(graphicBuffer.get())); in onUploadHardwareBitmap()
/frameworks/native/opengl/include/EGL/
Degl.h125 …eatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *att…
/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