#include "base/logging.h"
#include "mojo/examples/pepper_container_app/mojo_ppapi_globals.h"
#include "mojo/examples/pepper_container_app/plugin_instance.h"
-#include "mojo/public/gles2/gles2.h"
+#include "mojo/public/c/gles2/gles2.h"
#include "ppapi/c/pp_errors.h"
namespace mojo {
return PP_FALSE;
}
-gpu::CommandBuffer::State Graphics3DResource::GetState() {
+scoped_refptr<gpu::Buffer> Graphics3DResource::CreateTransferBuffer(
+ uint32_t size,
+ int32* id) {
NOTIMPLEMENTED();
- return GetErrorState();
-}
-
-int32_t Graphics3DResource::CreateTransferBuffer(uint32_t size) {
- NOTIMPLEMENTED();
- return PP_FALSE;
+ return NULL;
}
PP_Bool Graphics3DResource::DestroyTransferBuffer(int32_t id) {
return PP_FALSE;
}
-PP_Bool Graphics3DResource::GetTransferBuffer(int32_t id,
- int* shm_handle,
- uint32_t* shm_size) {
- NOTIMPLEMENTED();
- return PP_FALSE;
-}
-
PP_Bool Graphics3DResource::Flush(int32_t put_offset) {
NOTIMPLEMENTED();
return PP_FALSE;